1 $Id: README,v 1.8 2002/09/12 19:32:12 mardan Exp $
5 -------------------------------------------------------------------------------
6 Netstat-nat is a small program written in C. It displays NAT connections,
7 managed by netfilter/iptables which comes with the > 2.4.x linux kernels. The
8 program reads its information from '/proc/net/ip_conntrack', which is the
9 temporary conntrack-storage of netfilter. (http://netfilter.samba.org/)
10 For any program options see sector 'Usage' section below.
12 -------------------------------------------------------------------------------
16 -------------------------------------------------------------------------------
17 Type the following in your favorite console:
20 If all goes well you should now be able to run the program.
23 -------------------------------------------------------------------------------
27 -------------------------------------------------------------------------------
28 netstat-nat -h : displays help
29 netstat-nat -n : displays NAT connections without
30 host/portname-resolving.
31 netstat-nat -p tcp | udp | icmp : diplays NAT connections with protocol
33 netstat-nat -s <source-host> : display connections by source IP/hostname
34 netstat-nat -d <dest-host> : display connections by destination IP/hostname
35 netstat-nat -S : display SNAT connections
36 netstat-nat -D : display DNAT connections
38 netstat-nat -L : display only connections to NAT box self
39 (disables SNAT & DNAT)
40 netstat-nat -x : extend the view of the hostnames
41 netstat-nat -r src|dst|src-port|dst-port|state : sort connections
42 netstat-nat -o : strip output header
43 -------------------------------------------------------------------------------
47 -------------------------------------------------------------------------------
48 http://tweegy.demon.nl/projects/netstat-nat/
50 -------------------------------------------------------------------------------
54 -------------------------------------------------------------------------------
62 -------------------------------------------------------------------------------
66 -------------------------------------------------------------------------------
67 Marceln for writing the man-page and making the v1.2 .rpm and src.rpm, which can
68 be downloaded at his page.
69 http://http://www.xs4all.nl/~marceln/rpm/
71 -------------------------------------------------------------------------------
75 -------------------------------------------------------------------------------
76 D.Wijsman mardan@tweegy.demon.nl
78 -------------------------------------------------------------------------------