Hi, I had been on vacation and I have just seen your answer. Thanks for the help, I'm just going to start reading what you suggested. Best Regards Hugo Mendes ___ De: Jozsef Kadlecsik [kadlec@xxxxxxxxxxxxxxxxx] Enviado: quarta-feira, 8 de Abril de 2009 19:44 Para: Hugo Miguel Mendes Cc: Jan Engelhardt; netfilter-devel@xxxxxxxxxxxxxxx Assunto: RE: full_cone_nat On Tue, 7 Apr 2009, Hugo Miguel Mendes wrote: > Can you tell me where can I find in the source code the function or > functions responsible for checking the matching table of active > connections present in the file ip_conntrack. You should first understand the internals of how netfilter connection tracking and NAT handle the packets and the connections. You should probably read the "Netfilter Hacking HOWTO" - it's outdated but still contains valuable information - and should definitely read the 'Writing netfilter modules' by Jan. Then you can easily find the relevant parts in net/netfilter/nf_conntrack_[standalone|core|expect].c and net/ipv4/netfilter/nf_nat_[standalone|core].c. Of course you should check out how expectations are created and used looking at the existing protocol helper modules. Best regards, Jozsef - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : KFKI Research Institute for Particle and Nuclear Physics H-1525 Budapest 114, POB. 49, Hungary -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html