Hi, the socket fifo works for me but using in init scipt:
tail -n +1 -f /var/run/fail2ban.com.sock | sh to force tail to read from the beginning (not only the last 10 lines), I have several jails and a very slow router. thanks, Isaias. >Rain (aka linuxoid.rain) in private communication did some "research" >and implemented it via a feeding iptables command to FIFO socket for execution >by a little listener on the other end. Something like > ># in init script >mkfifo -m 600 /var/run/fail2ban.com.sock >tail -f /var/run/fail2ban.com.sock | sh > ># in action scripts >echo "command" > /var/run/fail2ban.com.sock > >I am attaching his resultant init.d file and the iptables action configuration >for it. It would be great if someone could verify its functioning with stock >(without sleeps) fail2ban. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

