Look into the iptables/netfilter docs, located here: http://www.netfilter.org/documentation/index.html
Connection tracking is explained here http://www.sns.ias.edu/~jns/security/iptables/iptables_conntrack.html
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html