Re: Logging real ip behind proxy
Eero Volotinen <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <CABzZrXencPUJ8Uy9qgOZ=wpfnr51dQrAQ1p8zWiL-r+VFwxebw@mail.gmail.com> |
how about this: http://www.loadbalancer.org/blog/iis-and-x-forwarded-for-header/ Eero Alexandros Kyrlis via mod-security-users < [email protected]> kirjoitti ke 2. tammik. 2019 klo 19.00: > Hello, > I'm using Mod Security with IIS 10. > When a rule is triggered, mod security creates an event log on event > viewer on Windows. > This log contais the REMOTE_ADDR value, but since we are behind a proxy > (Cloudflare) i would like it to log a custom header (CF_Connecting_IP) so > we get the real client IP. > Is it possible to do that? > Thanks > Alex > > > > _______________________________________________ > mod-security-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mod-security-users > Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: > http://www.modsecurity.org/projects/commercial/rules/ > http://www.modsecurity.org/projects/commercial/support/ > _______________________________________________ mod-security-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mod-security-users Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: http://www.modsecurity.org/projects/commercial/rules/ http://www.modsecurity.org/projects/commercial/support/