Netstat-nat

SYNOPSIS

netstat-nat [options]

DESCRIPTION

netstat-nat Displays NAT connections managed by netfilter/iptables which comes with the > 2.4.x linux kernels.

The program reads its information from ‚/proc/net/ip_conntrack‘, which is the temporary conntrack-storage of netfilter.

OPTIONS

-h
displays help
-n
don’t resolve IPs/portnumbers to host/portnames
-p
display NAT connections with protocol selection (see /etc/protocols)
-s
display connections by source IP/hostname
-d
display connections by destination IP/hostname
-S
display SNAT connections
-D
display DNAT connections
-L
display only connections to NAT box self (doesn’t show SNAT & DNAT)
-x
extended view of hostnames
-r
sort connections
-o
no output header
-v
prints version

FILES

/proc/net/ip_conntrack

SEE ALSO

http://netfilter.samba.org/

AUTHOR

netstat-nat has been written by D.Wijsman danny@tweegy.demon.nl
The manual page has been written by marceln@xs4all.nl

EOF

Kategorien: Unix

Rbcafe

Rbcafe provides software, shareware and freeware for Mac OS X since 2004. Since 2010, Rbcafe distributes software on the Mac App Store.

Verwandte Beiträge

Unix

SHA1

SHA1 SHA1, SHA1_Init, SHA1_Update, SHA1_Final – Secure Hash Algorithm SYNOPSIS #include (openssl/sha.h) unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md); void SHA1_Init(SHA_CTX *c); void SHA1_Update(SHA_CTX *c, const void *data, unsigned long Weiterlesen …

Unix

Syslog

Syslog closelog, openlog, syslog – send messages to the system logger SYNOPSIS #include void openlog( char *ident, int option, int facility) void syslog( int priority, char *format, …) void closelog( void ) DESCRIPTION closelog() closes Weiterlesen …

Unix

Tcp Dump

Tcp Dump This command line tool is included with all versions of Mac OS X, and is also available on many other Unix platforms. To get started, try the following command. sudo tcpdump -i en0 Weiterlesen …