Varnish: How to forward failed login client ip in auth.log?
-
Hello everybody,
I know my question is very specific, but…. I’ll give it a try here…
I am using Apache2 behind Varnish and I’ve managed to forward client ip in the access log of apache2, but I can’t forward the client ip in event of failed login attamt, in auth.log So when i try fake pass and user to login in wordpress in fail2ban log I see this:
2017-06-19 15:17:30,118 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 15:17:49,747 fail2ban.filter [24601]: INFO [wordpress-soft] Ignore 127.0.0.1 by ip
2017-06-19 15:24:57,385 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 15:37:06,575 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 15:38:33,003 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 15:44:10,889 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 15:53:49,466 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 16:03:26,089 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 16:03:42,792 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ip
2017-06-19 16:16:13,517 fail2ban.filter [24601]: INFO [wordpress-hard] Ignore 127.0.0.1 by ipIn my auth.log you see something like this:
Jun 19 16:03:42 [28003]: Authentication attempt for unknown user sddfgdf from 127.0.0.1Does someone completed such IT adventure? ??
Thanks!
- The topic ‘Varnish: How to forward failed login client ip in auth.log?’ is closed to new replies.