how to monitor ip addresses from a log file

Jan 28
2009
tail -f production.log  | egrep "([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}"

Security Problems with KDE

Jan 18
2009

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

Calendar

January 2009
M T W T F S S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Tags