aeav
09-21-2003, 09:16 AM
How I make in the IPTABLES it:
When some people try to acess any port, the IPTABLES make a log....
How I make it????
When some people try to acess any port, the IPTABLES make a log....
How I make it????
|
Click to See Complete Forum and Search --> : iptables with LOG... aeav 09-21-2003, 09:16 AM How I make in the IPTABLES it: When some people try to acess any port, the IPTABLES make a log.... How I make it???? seabass55 09-21-2003, 01:00 PM Here's how I log (and drop) all my low ports. $IPTABLES -A INPUT -p tcp -i eth0 --dport 1:1024 -j LOG --log-level info --log-prefix "TCP DROP " $IPTABLES -A INPUT -p tcp --dport 1:1024 -j DROP $IPTABLES -A INPUT -p udp -i eth0 --dport 1:1024 -j LOG --log-level info --log-prefix "UDP DROP " $IPTABLES -A INPUT -p udp --dport 1:1024 -j DROP Here's my chain for blocked specific IP's... $IPTABLES -N BlockedIP $IPTABLES -A BlockedIP -j LOG --log-level info --log-prefix "Blocked_IP" $IPTABLES -A BlockedIP -j DROP Search on google for some iptables howto's and tutorials. Sebastian justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |