Bug 62866 - httpd do not correctly handle http request with proxy protocol LOCAL command ahead
Summary: httpd do not correctly handle http request with proxy protocol LOCAL command ...
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_remoteip (show other bugs)
Version: 2.4.35
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 07:40 UTC by cheng0201
Modified: 2018-10-30 07:40 UTC (History)
0 users



Attachments
httpd handle local proxy protocol failed (21.88 KB, application/vnd.tcpdump.pcap)
2018-10-30 07:40 UTC, cheng0201
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cheng0201 2018-10-30 07:40:13 UTC
Created attachment 36223 [details]
httpd handle local proxy protocol failed

I just test our application with proxy protocol data send to httpd 2.4.35. when set proxy protocol LOCAL command before http request for health check, httpd return 400 Bad Request, and httpd error_log print

[Tue Oct 30 13:57:58.426040 2018] [remoteip:warn] [pid 1746:tid 139783401600768] [client 172.16.90.19:64514] AH03496: RemoteIPProxyProtocol data is missing, but required! Aborting request.

the attached packet please check with wireshark 2.9.0 newest version under https://www.wireshark.org/download/automated/win64/ and enable proxy protocol referring https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14506.