Date: Thu, 28 Jan 1999 18:30:08 +0100 From: HERBELOT Thierry <Thierry.Herbelot@alcatel.fr> To: questions <questions@FreeBSD.ORG> Subject: Measuring 'net traffic Message-ID: <36B09EA0.1F1C3DEB@telspace.alcatel.fr>
next in thread | raw e-mail | index | archive | help
Hello, I would like to know the number of bytes sent to and received from an Ethernet NIC. I have installed ipfw (on a 3.0-Current) and 'ipfw show' shows counters of packets and bytes gone through the rule "ip allow any from any" (all that has not been denied before), BUT, I can't get it to show traffic in each direction. I have tried to replace the former rule by two (one for each direction : ip allow any from any in and ip allow any from any out), but this setup does not work at all (I can't get communication to the network and back). I have seen that pipes could be used to discriminate the two ways, but is it possible to Keep It Simple St.. and have separate counters without pipes ? TIA TfH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B09EA0.1F1C3DEB>