Hi! I want to count the traffic on my port 21 with iptables and the -c option (in KB). Can someone post me an example. i cant get it working. Thank you! Mario
On Aug 28, Mario Ohnewald
I want to count the traffic on my port 21 with iptables and the -c option (in KB). Can someone post me an example. i cant get it working. This is OT here, but here's your answer: Port 21 won't help you much, if you want to count FTP transfers ... 21 is only the control-port, data goes over another (random) port. You may have luck with port 20 (for passive ftp), but this is not 100%. Better use a tool like ipac-ng for ip accounting. It provides nice graphics, too.
Markus -- __________________ /"\ Markus Gaugusch \ / ASCII Ribbon Campaign markus@gaugusch.at X Against HTML Mail / \
participants (2)
-
Mario Ohnewald
-
Markus Gaugusch