Skip to contentSkip to conversation

Conntrack Entries

DISCUSSION Ricky Foo 2 participants 2 messages Jun 12, 2003 – Jun 13, 2003 netfilter

lore
Share & tools
lore

Ricky Foo

author
#0 lore raw

Hi all,

I have written a netbios conntrack module for port 139. However when I tested it, it shows several entries because the source port on my side keeps changing.....e.g. 32900, then 32901, 32902.... in this case, there will be 3 lines as if there are 3 different connections are going on. Is this the correct expected behaviour or should they just go into 1 line?

What does the "use" field mean?

Ricky

_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage http://join.msn.com/?pgmarket=en-sg

#1 lore raw
Quoted 7 lines · Ricky Foo

Hi all,

I have written a netbios conntrack module for port 139. However when I tested it, it shows several entries because the source port on my side keeps changing.....e.g. 32900, then 32901, 32902.... in this case, there will be 3 lines as if there are 3 different connections are going on. Is this the correct expected behaviour or should they just go into 1 line?

I have no idea about the netbios protocol, so I don't know what the expected behaviour is. Is it really only one connection? Then you should probably make the 2nd an 3rd connection be siblings (ip_conntrack_expect_related()) of the master connection.

Quoted 1 line

What does the "use" field mean?

It's an internal reference counter indicating how many other objects in the kernel are still referencing this conntrack.

Quoted 1 line

Ricky

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie