anyone got an *existing* script that could list
the ports being blocked by iptables in /var/log/messages
plus the number of hits. like this:
# chkhit /var/log/messages
port,hits
25,10
139,1
6112,20
#
sorting is not important.
I think I need to use perl if I am to write one.
can I do it with bash+utils only?
--
Swiftly. Silently. Invisibly. .~. In Linux we trust.
/ v \
news://news.hkpcug.org /( _ )\ http://www.linux-sxs.org
^ ^
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users