adding counters
hi
I've created a new table with the following lines, and inserted a -j counters on top of INPUT. Wouldn't this allow me to count packets per port? All I get is the -j counters line increasing it's byte count, but none of the below does...
roy
Chain counters (1 references)
target prot opt source destination RETURN tcp -- anywhere anywhere tcp dpt:pop3s RETURN tcp -- anywhere anywhere tcp dpt:ircs RETURN tcp -- anywhere anywhere tcp dpt:https RETURN tcp -- anywhere anywhere tcp dpt:imap RETURN tcp -- anywhere anywhere tcp dpt:pop3 RETURN tcp -- anywhere anywhere tcp dpt:http RETURN tcp -- anywhere anywhere tcp dpt:smtp
and
Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.
Quoted 6 lines · Roy Sigurd Karlsbakk
hi
I've created a new table with the following lines, and inserted a -j counters on top of INPUT. Wouldn't this allow me to count packets per port? All I get is the -j counters line increasing it's byte count, but none of the below does...
Is this a server, providing pop3s, irc, https, imap, pop3, http and smtp services to other clients, or are you actually sending packets *through* this machine and the link should be from the FORWARD chain ?
If this really is a server, and the INPUT chain is correct, please post your ruleset (ie the commands which create the rules) instead of the output from iptables -L.
Antony.
Signature · 5 lines
You can spend the whole of your life trying to be popular, but at the end of the day the size of the crowd at your funeral will be largely dictated by the weather. - Frank Skinner