strange behaivor ipfw2 counters

dawnshade h-k at mail.ru
Mon Aug 2 03:17:44 PDT 2004


Hello Gregory,

Monday, August 2, 2004, 11:14:13 AM, you wrote:

>> 00001  3565222  1636826036 count ip from any to any in recv cp1
>> 00002   384898   314601856 count ip from any to any out xmit cp1
>> 00003   473872   352073912 count ip from any to any in via fxp*
>> 00004  3584143  1645055815 count ip from any to any out via fxp*

>> I think that some bug, when code ipfw2 was MFC'ed to 4.X.

GB> I don't think so, these counters are pretty much what I'd expect to see if a
GB> client on fxp0 was FTPing through this machine.

GB> Why do you think this is wrong?

unfortunately, i can't remember behaivor this counters with ipfw1, but on
computer marked "<here i DL>" (running 4.9 with ipfw1) have same counters:

00001 120794245  61279699894 count ip from any to any in recv fxp0
00002 139895587  13633742418 count ip from any to any out xmit fxp0

(fxp0 - external if). And counter 1 show _real_ volume traffic.

So, the question: why download traffic showns real numbers, rather
upload - not?

----------
Best regards,
 dawnshade                            mailto:h-k at mail.ru



More information about the freebsd-ipfw mailing list