Load Balancing under Linux (suggestion)

Jonathan Hutchins hutchins at opus1.com
Fri Apr 26 23:13:29 CDT 2002


> -----Original Message-----
> From: Gerald Combs [mailto:gerald at ethereal.com]

> Could someone who has a system running iptables with NAT cat
> /proc/net/ip_conntrack and tell me what information is displayed?

It's similar to netstat -M on an ipchains box, in fact there's a perl script
netstat-m that gives a tabular view, 

Proto Local Address                 Foreign Address               State

Resolves the IP numbers and displays actual ports.

Here's a raw line from /proc/net/ip_conntrack:

tcp      6 105145 ESTABLISHED src=192.168.5.3 dst=64.76.84.140 sport=4655
dport=6346 src=64.76.84.140 dst=65.26.52.58 sport=6346 dport=4655 [ASSURED]
use=1

An interesting note, that connection has not been up for days, node .3 has
been shut down several times, so it appears that there's a missing cleanup
mechanism.  




More information about the Kclug mailing list