netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* wrong order of received packets/bytes and sent packets/bytes with local incoming connections
@ 2012-04-21 18:33 alois.klingler
  2012-04-22 15:55 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: alois.klingler @ 2012-04-21 18:33 UTC (permalink / raw)
  To: netfilter-devel

hi,

in /proc/net/nf_conntrack (and also in conntrack -L) i can see received
packets/bytes and sent packets/bytes.
with connections, which are local incoming connections (i.e. a
ssh-connection from anywhere to my machine) these fields are mixed,
means that the received packets/bytes are the sent packets/bytes and vice versa.

with local outbound connections or forwarding connections these fields
are correct filled.

is there anywhere a configuation option to fix this?

I am using kernel 3.3.2 (I can see this issue already very long, not
since this kernel) and conntrack 0.9.14 (debian squeeze).

Thanks!

Best regards
Alois


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wrong order of received packets/bytes and sent packets/bytes with local incoming connections
  2012-04-21 18:33 wrong order of received packets/bytes and sent packets/bytes with local incoming connections alois.klingler
@ 2012-04-22 15:55 ` Jan Engelhardt
  2012-04-22 17:25   ` alois.klingler
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2012-04-22 15:55 UTC (permalink / raw)
  To: alois.klingler@chello.at; +Cc: netfilter-devel

On Saturday 2012-04-21 20:33, alois.klingler@chello.at wrote:

> in /proc/net/nf_conntrack (and also in conntrack -L) i can see received
> packets/bytes and sent packets/bytes.
> with connections, which are local incoming connections (i.e. a
> ssh-connection from anywhere to my machine) these fields are mixed,
> means that the received packets/bytes are the sent packets/bytes and vice
> versa.
>
> with local outbound connections or forwarding connections these fields
> are correct filled.
>
> is there anywhere a configuation option to fix this?

I do not see any error here. The first bytes/packet= field shows
bytes flowing in the "original direction", and the other
is the reply direction.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wrong order of received packets/bytes and sent packets/bytes with local incoming connections
  2012-04-22 15:55 ` Jan Engelhardt
@ 2012-04-22 17:25   ` alois.klingler
  0 siblings, 0 replies; 3+ messages in thread
From: alois.klingler @ 2012-04-22 17:25 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel



On 04/22/2012 05:55 PM, Jan Engelhardt wrote:
> On Saturday 2012-04-21 20:33, alois.klingler@chello.at wrote:
>
>    
>> in /proc/net/nf_conntrack (and also in conntrack -L) i can see received
>> packets/bytes and sent packets/bytes.
>> with connections, which are local incoming connections (i.e. a
>> ssh-connection from anywhere to my machine) these fields are mixed,
>> means that the received packets/bytes are the sent packets/bytes and vice
>> versa.
>>
>> with local outbound connections or forwarding connections these fields
>> are correct filled.
>>
>> is there anywhere a configuation option to fix this?
>>      
> I do not see any error here. The first bytes/packet= field shows
> bytes flowing in the "original direction", and the other
> is the reply direction.
>
>    
got it, it was my mistake ... thanks. ;)

Alois

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-22 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-21 18:33 wrong order of received packets/bytes and sent packets/bytes with local incoming connections alois.klingler
2012-04-22 15:55 ` Jan Engelhardt
2012-04-22 17:25   ` alois.klingler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).