conntrack and nat questions
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · ?i ???_
Hi laforge,
I am spencer from taiwan.
After I read your "conntrack+nat how to" documentation, I got a few questions, hope you could give me advice...^^As we know, conntrack helper has nothing to do with nat helper, and nat helper will do the things as "nat" does, like changing the IP address and port. In that case, why we need conntrack?
because connection tracking is about tracking the state of a connection. only in very rare protocols you can live with _just_ a nat helper.
Quoted 1 line
If there is a alg without conntrack what fault the alg will get?
This totally depends on the protocol. if you just need to change ip addresses (like the SNMP module we have), you don't need conntrack. As soon as you have related connections (like ftp data connections), you'll need a conntrack helper.
Quoted 2 lines
In nat helper, it will call two functions,
ip_conntrack_change_expect()andip_nat_setup_info(). What are their purpose?
change_expect() alters the expectation issued by the conntrack heper.
nat_setup_info() set's up the nat bindings for a just-arrived new related connection (when the expectation was confirmed)
Quoted 2 lines
Thanks. ^^b
spencer.
Please direct further questions to the netfilter-devel mailinglist, as indicated on http://netfilter.org/contact.html
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie