Skip to contentSkip to conversation

Identifying if the packet has been conn tracked by the conn track module in the NAT module.

DISCUSSION sachin sanap 2 participants 2 messages Mar 5, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I want to know if its possible for the NAT module to know if the packet sent to it has been identified by conn track modules like FTP, H323 and is treated differently than simple NAT.

Thanks
-Sachin

#1 lore raw
Quoted 5 lines · sachin sanap

Hi,

I want to know if its possible for the NAT module to know if the packet sent to it has been identified by conn track modules like FTP, H323 and is treated differently than simple NAT.

if (skb->nfct != NULL && !nf_ct_is_untracked(skb))

	/* tracked */