Updated: Jan 5, 2008
NAMEconntrackd - netfilter connection tracking userspace daemon
DESCRIPTIONconntrackd provides a userspace daemon for the netfilter connection tracking system. This daemon synchronizes connection tracking states among several replica firewalls. Thus, conntrackd can be used to implement highly available stateful firewalls. The daemon fully supports Primary-Backup and Multiprimary setups for both symmetric and asymmetric paths. It can also be used as statistics collector.
OPTIONSThe options recognized by conntrackd can be divided into several different groups.
MODESThese options specify the particular operation mode in which conntrackd runs. Only one of them can be specified at any given time.
- Run conntrackd in daemon mode.
CLIENT COMMANDSconntrackd can be used in client mode to request several information and operations to a running daemon
- Dump the internal cache, i.e. show local states
- Dump the external cache, i.e. show foreign states
- Display output in XML format. This option is only valid in combination with "-i" and "-e" parameters.
- Flush the internal and the external cache
- Kill the daemon
- Dump statistics
- Force a resync against the kernel connection tracking table
DIAGNOSTICSThe exit code is 0 for correct function. Errors cause an exit code of 1.
- conntrackd -d
- Runs conntrackd in daemon and synchronization mode
- conntrackd -i
- Dumps the states held in the internal cache, i.e. those handled by this firewall
- conntrackd -e
- Dumps the states held in the external cache, i.e. those handled by other replica firewalls
- conntrackd -c
- Commits the internal cache into the kernel connection tracking system. This is used to inject the state so that the connections can be recovered during the failover.
DEPENDENCIESThis daemon requires a Linux kernel version >= 2.6.18. TCP window tracking support requires >= 2.6.22, otherwise you have to disable it. Helpers are fully supported since >= 2.6.25, however, if you use any previous version, depending on the protocol helper and your setup (e.g. if you setup performs NAT sequence adjustments or not), your help connection may be successfully recovered.
- There are several unsupported stateful iptables matches such as recent, connbytes and the quota matches which gather internal information to operate. Since that information does not belong to the domain of the connection tracking system, connections affected by those matches may not be fully recovered during the takeover.
AUTHORSPablo Neira Ayuso wrote and maintains the conntrackd tool
- Please send bug reports to <email@example.com>. Subscription is required.
Man page written by Pablo Neira Ayuso <firstname.lastname@example.org>.
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 12:38:38 GMT, December 28, 2007