how to monitor ip addresses from a log file
Jan 28
2009
2009
Comments Off
tail -f production.log | egrep "([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}"
my web space
tail -f production.log | egrep "([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}"
From tcpdump it becomes obvious that some kde apps are contacting jamaica.kde.org through http!?
I cannot understand this M$ type of behavior in UNIX env, neither I want , so here is a quick solution:
iptables -A OUTPUT -d 62.70.27.118 -p tcp -j DROP
iptables -A OUTPUT -j ACCEPT