Bug 63893 - Bogus warning "unsupported command 20"
Summary: Bogus warning "unsupported command 20"
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_remoteip (show other bugs)
Version: 2.4.38
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2019-10-30 13:38 UTC by Charlemagne Lasse
Modified: 2019-11-05 23:08 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Charlemagne Lasse 2019-10-30 13:38:32 UTC
My log filled just my complete EC2 HDD because apache remoteip spams my logs full with "RemoteIPProxyProtocol: unsupported command 20". This is caused by the health checks of AWS's NLB - which sends LOCAL ver_cmd proxy headers to check for problems.

This is (according to the spec https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) a valid ver_cmd and shouldn't cause these kind of log spam.

See "9. Sample code" for details.