Bash-scripting for iptables/munin
Hi,
I am trying to write this munin script to log all the accepted TCP/UDP/ICMP packets that are comming trough my iptable firewall.I then need a bash-script that will collect the packets that are comming trough the firewall. The IPtable output could briefly looks like this: Quote:
This is what i got for now: Quote:
|
Quote:
It seems to me that you'd want to know the current value whether it is 0 or not. Incidentally, here is an easier/quicker way to get a line of output for your script. Quote:
|
All times are GMT -5. The time now is 07:17 AM. |