Re: [users@httpd] x-forwarded-for logging

2020-03-25 Thread Antony Stone
On Wednesday 25 March 2020 at 13:33:01, Mark Lybarger wrote: > I'm logging x-forwarded-for traffic, and i get logs that show: > > 99.88.22.22%123 > > what is the %123 portion? Can you show us the LogFormat definition you're using? Antony. -- Having been asked for a reference for this man, I

[users@httpd] x-forwarded-for logging

2020-03-25 Thread Mark Lybarger
I'm logging x-forwarded-for traffic, and i get logs that show: 99.88.22.22%123 what is the %123 portion?

[users@httpd] X-Forwarded-For and If directive

2019-09-04 Thread Michael Nielsen
I am certain I'm missing something important about the directive and the -ipmatch operator when used in conjunction with %{HTTP:X-Forwarded-For}. Please permit me to illustrate the problem by way of example: LogMessage "Got IP match [%{HTTP:X-Forwarded-For}]" LogMessage "No IP match [%{

Re: [users@httpd] X-Forwarded-For header is missing

2017-11-08 Thread Konstantin Kolinko
2017-11-07 21:44 GMT+03:00 Surendhar Thallapelly : > Hi Konstantin, > >> Hi Team, >> >> I configured apache http web server to redirect incoming WEBSERVICE call >> to >> another backend application server, X-Forwarded-For is missing(webserver >> ip) >> in backend call. >> >> I have configured below

Re: [users@httpd] X-Forwarded-For header is missing

2017-11-08 Thread Daniel
That's odd because default behaviour is to add X-Forwarded-For, ProxyAddHeaders is the default even if you don't specify it. It should be there. Try adding it to LogFormat with: %{X-Forwarded-For}i Also try to log request headers reaching your backend and show logs. This is not a config issue if

Re: [users@httpd] X-Forwarded-For header is missing

2017-11-07 Thread Surendhar Thallapelly
Hi Konstantin, > Hi Team, > > I configured apache http web server to redirect incoming WEBSERVICE call to > another backend application server, X-Forwarded-For is missing(webserver ip) > in backend call. > > I have configured below in my webserver httpd.conf file. > > ProxyPass /TestProject http:/

Re: [users@httpd] X-Forwarded-For header is missing

2017-11-07 Thread Konstantin Kolinko
2017-11-07 9:34 GMT+03:00 Surendhar Thallapelly : > Hi Team, > > I configured apache http web server to redirect incoming WEBSERVICE call to > another backend application server, X-Forwarded-For is missing(webserver ip) > in backend call. > > I have configured below in my webserver httpd.conf file.

[users@httpd] X-Forwarded-For header is missing

2017-11-06 Thread Surendhar Thallapelly
Hi Team, I configured apache http web server to redirect incoming WEBSERVICE call to another backend application server, X-Forwarded-For is missing(webserver ip) in backend call. I have configured below in my webserver httpd.conf file. ProxyPass /TestProject http://10.160.160.33:2914/TestProject

Re: [users@httpd] X-Forwarded-For

2013-10-25 Thread Yehuda Katz
I thought each section has non-mod_cloudflare workarounds - I see only some do. The Apache documentation for mod_proxy has a suggestion for changing the format of the log file (can paste a link from this device, but it should e easy enough to find) to also include the header, but if you want to rep

Re: [users@httpd] X-Forwarded-For

2013-10-25 Thread Chris Arnold
> The X-Forwarded-For header is set by Apache automatically ( > http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers ). Your inside > servers need to know to use it. >CloudFlare has some documentation about how > to handle this on different servers: > https://support.cloudflare.com/hc/

Re: [users@httpd] X-Forwarded-For

2013-10-24 Thread Yehuda Katz
The X-Forwarded-For header is set by Apache automatically ( http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers). Your inside servers need to know to use it. CloudFlare has some documentation about how to handle this on different servers: https://support.cloudflare.com/hc/en-us/sections/2

[users@httpd] X-Forwarded-For

2013-10-24 Thread Chris Arnold
Apache 2.2 (i believe) on sles11. We have some servers behind our apache (reverse) proxy. When connections come in to apache and apache proxies the connections, the logs show the apache proxy ip. We need to see the originating ip. I have seen on the internet that x-forwarded-for will do this. Ca