Re: understanding how conntrack works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 24 October 2006 20:14, anisha.chandrasekaran@xxxxxxxxx wrote:
> Hello all,
>      Alan, I jus read your below mail regarding the conntrack facility.
> I am sorry that I am not able to help you with an answer to your query.
> I am actually writing this mail to ask you if you could help me know
> what are the structures that store conntrack details, i.e, if I want to
> drop a particular connection that is established which structure entry I
> should be parsing and deleting??????

After some searching, I came across these parts of the code:
nfct_create_conntrack (libnetfilter_conntrack.c:951)
This code creates a struct nfct_conntrack. 

Then there is the nf_conntrack_tuple 
(linux/include/net/netfilter/nf_conntrack_tuple.h:64)
which contains "the information to distinguish a connection")

I *think* this is the right place in the code. I hope someone else will 
correct me if this answer is wrong or incomplete :-)



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux