Hi! I want to log all new ssh connections from Internet to syslogd. I added chain as follows but it doesn't log anything.
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 22 -m state --state NEW -j LOG --log-level DEBUG --log-prefix "NEW SSH IN logged" $IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 22 -j allowed However it works (logs all packets to syslogd) if I change state from NEW to ESTABLISHED. What could be wrong there? Thanx, Damijan
