Re: differences between iptstate and netstat
On Wed, Sep 18, 2002 at 03:17:33PM +0100, Dale Amon wrote:
> I'm watching a server right now and find that I really
> can't make much of a correspondence between what iptstate
> shows and what a netstat -anp does.
> The problem is the iptstate shows many, many more connections
> to port 80 than the netstat. Large numbers are showing as
> ESTABLISHED on the iptstate. Only a handful show on the
> Any idea why?
Are you running a firewall with iptables connection tracking? Are the
extra connections (that don't show up in netstat) from internal addresses to
external addresses? (i.e. neither end of the connection is your firewall's
If so, then that's normal. netstat only shows connections from the local
machine. iptstate reports the state of the netfilter connection tracking
#define X(x,y) x##y
Peter Cordes ; e-mail: X(firstname.lastname@example.org. , ns.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BC