netstat segmentation fault
Is this still the current net-tools?
Because version 1.60 netstat segmentation faults on more than one of our boxes, and the way I fix it is to edit netstat.c and change "int inode" to "unsigned int inode" in the three places that is used, and recompile.
It coredumps because the hash function hashes a negative inode number to a negative hash array number.
I'm writing this because I spent quite a while googling for the problem and while I saw a number of posts complaining about core dumping netstat I never saw a post explaining the reason.
It is the most recent. There's a few patches out there that distros are applying though. Some for 2.6 systems, gcc3.4 and some others.
Perhaps the problem you're seeing is fixed by one of those.
Captain of the ATU Tux Racer Clan.