Whole document tree 5. New connection tracking patchesIn this sections, we will show the available connection tracking/nat patches. To use them, simply load the corresponding modules (with options if needed) for them to be in effect. 5.1 eggdrop-conntrack patchThis patch by Magnus Sandin <magnus@sandin.cx> adds support for connection tracking for eggdrop bot networks. 5.2 ftp-fxp patchThis patch by Magnus Sandin <magnus@sandin.cx> adds FXP support to ftp connection tracking. FXP'ing to NAT'ed ftp daemons does not work yet. To enable FXP conntracking, do as follows :
The patch mention a security warning : WARNING, Applying this patch and enabling the
feature 5.3 irc-conntrack-nat patchThis patch by Harald Welte <laforge@gnumonks.org> allows DCC to work though NAT and connection tracking. By default, this module will track IRC connection on port 6667. But you can change this for another port with the `ports=xx' argument. 5.4 pptp patchThis patch allows netfilter to track pptp connection as well as to NAT them. 5.5 record-rpc patchThis patch by Marcelo Barbosa Lima <marcelo.lima@dcc.unicamp.br> allows netfilter to track portmapper requests using UDP and TCP. 5.6 snmp-nat patchThis patch by James Morris <jmorris@intercode.com.au> allows netfilter to NAT basic SNMP This is the ``basic'' form of SNMP-ALG, as described in RFC 2962, it works by modifying IP addresses inside SNMP payloads to match IP-layer NAT mapping. 5.7 talk-conntrack-nat patchThis patch by Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> allows netfilter to track talk connections, as well as to NAT them. By default both otalk (UDP port 517) and talk (UDP port 518) are supported. otalk/talk supports can selectively be enabled/disabled by the module parameters of the ip_conntrack_talk and ip_nat_talk modules. The options are :
where `0' means `do not support' while `1' means `do support' the given protocol flavor. 5.8 tcp-window-tracking patchThis patch by Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> allows netfilter do TCP connection tracking according to the article Real Stateful TCP Packet Filtering in IP Filter by Guido van Rooij. It supports window scaling, and can now handle already established connections. This patch requires the ``ftp-fixes'' patch to be applied. It should be part of standard kernel these days... 5.9 tftp patchThis patch by Magnus Boden <mb@ozaba.mine.nu> allows netfilter to track tftp connections as well as to NAT them. By default, this module will track tftp connections on port 69. But you can change this for another port with the `ports=xx' argument. Note from the author of the patch : The first packet back from the server will never reach the client but almost all clients do send another request and this time it will work as expected, this applies to both SNAT and DNAT. Next Previous Contents |