[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netstat -M for SNAT/DNAT



>>>>> "Jim" == Jim Crilly <noth@noth.is.eleet.ca> writes:
    Jim>  The copy of netstat on my system works and it's running
    Jim> stable: noth:~$ uname -a Linux noth 2.2.19pre7ext3 #3 Sun Jan
    Jim> 21 19:34:00 EST 2001 i586 unknown noth:~$ cat
    Jim> /etc/debian_version 2.2 noth:~$ netstat -M IP masquerading
    Jim> entries prot expire source destination ports . masq entries
    Jim> snipped...  noth:~$ dpkg -S netstat | grep `which netstat`
    Jim> netbase: /bin/netstat noth:~$ dpkg -l | grep netbase ii netbase
    Jim> 3.18-4 Basic TCP/IP networking binaries
    Jim> 
    Jim> The "no support for `ip_masquerade' on this system." error you
    Jim> got is because the system you ran it on doesn't have ipmasq in
    Jim> the kernel (it just looks for /proc/net/ip_masquerade), or it
    Jim> doesn't work with 2.4 yet.
    Jim> 

You should have read Cory's email more carefully. He was asking about
netstat showing masq'ed connections under 2.4 w/ iptables, and not 2.2.
He was also asking about the unstable/sid version of netstat, not the
version of netstat in stable/potato.

-- 
Salman Ahmed
ssahmed AT pathcom DOT com



Reply to: