Skip to contentSkip to conversation

conntrack help

DISCUSSION zhaoyao 2 participants 2 messages Feb 17, 2004 netfilter

lore
Share & tools
lore

zhaoyao

author
#0 lore raw

netfilter-devel,您好!

conntrack IP_CT_DIR_ORIGINAL and IP_CT_DIR_REPLY
is the same conntrack?
I mean orignal and reply use same conntrack, and not two conntrack?
If it is same conntrack, why clean_from_lists LIST_DELETE twice, orignal and reply?

        致
礼!

        zhaoyao
        [email protected]
          2004-02-17

#1 lore raw
Quoted 2 lines · zhaoyao

conntrack IP_CT_DIR_ORIGINAL and IP_CT_DIR_REPLY
is the same conntrack?

Yes, but different address details.

Quoted 1 line

If it is same conntrack, why clean_from_lists LIST_DELETE twice, orignal and reply?

It is one conntrack that is being deleted, but there is two references in the lookup hash to the same conntrack, one per direction. This as the address details of the packet differs depending on the direction.

Regards
Henrik