OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / netstat-nat / README
1 $Id: README,v 1.8 2002/09/12 19:32:12 mardan Exp $
2
3
4 Description:
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.
11
12 -------------------------------------------------------------------------------
13
14
15 Compiling:
16 -------------------------------------------------------------------------------
17 Type the following in your favorite console: 
18 'make'
19 'make install'
20 If all goes well you should now be able to run the program.
21 'netstat-nat'
22
23 -------------------------------------------------------------------------------
24
25
26 Usage:
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 
32                                   selection.
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
37                                   (default: both) 
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 -------------------------------------------------------------------------------
44
45
46 Homepage:
47 -------------------------------------------------------------------------------
48 http://tweegy.demon.nl/projects/netstat-nat/
49
50 -------------------------------------------------------------------------------
51
52
53 Files:
54 -------------------------------------------------------------------------------
55 netstat-nat.c
56 netstat-nat.h
57 netstat-nat.1
58 COPYING
59 Makefile
60 README
61
62 -------------------------------------------------------------------------------
63
64
65 Thanks:
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/
70
71 -------------------------------------------------------------------------------
72
73
74 Contact:
75 -------------------------------------------------------------------------------
76 D.Wijsman mardan@tweegy.demon.nl
77
78 -------------------------------------------------------------------------------
79