The copy of netstat on my system works and it's running stable:

noth:~$ uname -a                
Linux noth 2.2.19pre7ext3 #3 Sun Jan 21 19:34:00 EST 2001 i586 unknown
noth:~$ cat /etc/debian_version 
2.2                             
noth:~$ netstat -M              
IP masquerading entries         
prot   expire source               destination          ports
. masq entries snipped...
noth:~$ dpkg -S netstat | grep `which netstat`
netbase: /bin/netstat           
noth:~$ dpkg -l | grep netbase  
ii  netbase        3.18-4         Basic TCP/IP networking binaries

The "no support for `ip_masquerade' on this system." error you got is because
the system you ran it on doesn't have ipmasq in the kernel (it just looks for
/proc/net/ip_masquerade), or it doesn't work with 2.4 yet.

On Sat, 24 Feb 2001 00:04:55 -0500, S.Salman Ahmed said:

> >>>>> "Cory" == Cory Petkovsek <[EMAIL PROTECTED]> writes:
>     Cory> 
>     Cory> Is there a new version of netstat in testing/unstable that
>     Cory> will show me NATted connections?  Or another way/console
>     Cory> utility to show them to me?  netstat -a does not currently
>     Cory> display them.
>     Cory> 
> 
> FYI: the version of netstat in unstable/sid doesn't show masq'ed
> connections either:
> 
> @phoenix:[/home/ssahmed] uname -a
> Linux phoenix 2.4.1 #1 Sun Feb 18 18:16:40 EST 2001 i686 unknown
> @phoenix:[/home/ssahmed] netstat -M
> netstat: no support for `ip_masquerade' on this system.
> Exit 1
> @phoenix:[/home/ssahmed] dpkg -l | grep net-tools
> ii  net-tools      1.58-2         The NET-3 networking toolkit
> 
> 
> Time to bug the upstream author.
> 
> -- 
> Salman Ahmed
> ssahmed AT pathcom DOT com
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
Help protect your rights on-line.
Join the Electronic Frontiers Foundation today: http://www.eff.org/join
-----------------------------------------------------------------------
the death of one is a tragedy, the death of millions is just a statistic



Reply via email to