"client sent invalid request" when proxy protocol destination is 0.0.0.0
|Reported by:||Owned by:|
|uname -a:||Linux stag-tools-rp-0036ff11d4da02fbf 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux|
nginx version: nginx/1.6.2
TLS SNI support enabled
I recieve the following message in nginx error logs:
373 client sent invalid request while reading client request line, client: 10.0.0.129, server: , request: "PROXY TCP4 184.108.40.206 0.0.0.0 35978 443"
This seems to be the result of destination ip set to 0.0.0.0? The RFC does seem to suggest that this is a valid address for the argument (although not useful). To quote:
"the layer 3 source address in its canonical format. IPv4 addresses must be indicated as a series of exactly 4 integers in the range [0..255] inclusive written in decimal representation separated by exactly one dot between each other. Heading zeroes are not permitted in front of numbers in order to avoid any possible confusion with octal numbers."