On 10/25/06, anisha.chandrasekaran@xxxxxxxxx
[...] 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??????
Hi! I have no idea, but if I were you, I'd look at the source of the conntrack command line utility which does just that. Google code search for a string literal from its usage notes: http://www.google.com/codesearch?q=+%22Tool+to+manipulate+conntrack+and+expectations%22+show:RD63OKff6uI:4Aj5uJ7HKoA:cv34qD7QSD4&sa=N&cd=2&ct=rc&cs_p=http://ftp.netfilter.org/pub/conntrack/conntrack-1.00beta2.tar.bz2&cs_f=conntrack-1.00beta2/src/conntrack.c#a0 There, links to libnetfilter_conntrack, you continue :-) Hope it helps: Gabor Szokoli