• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..29-Mar-2016141

aclocal.m4H A D27-Nov-201530.4 KiB

AUTHORSH A D27-Nov-201543

ChangeLogH A D27-Nov-20152.6 KiB

configureH A D27-Nov-2015146.4 KiB

configure.inH A D27-Nov-2015314

COPYINGH A D27-Nov-201517.6 KiB

depcompH A D27-Nov-201515.6 KiB

INSTALLH A D27-Nov-2015568

install-shH A D27-Nov-20159 KiB

Makefile.amH A D27-Nov-2015282

Makefile.inH A D27-Nov-201523 KiB

missingH A D27-Nov-201510.8 KiB

netstat-nat.1H A D27-Nov-20151.5 KiB

netstat-nat.cH A D27-Nov-201530.2 KiB

netstat-nat.hH A D27-Nov-20152.9 KiB

netstat-nat.specH A D27-Nov-20151.3 KiB

NEWSH A D11-May-20140

READMEH A D27-Nov-20153.8 KiB

README

1$Id: README,v 1.16 2007/11/24 13:18:48 danny Exp $
2
3
4Description:
5-------------------------------------------------------------------------------
6Netstat-nat is a small program written in C. It displays NAT connections, 
7managed by netfilter/iptables which comes with the > 2.4.x linux kernels. The 
8program reads its information from '/proc/net/ip_conntrack' or 
9'/proc/net/nf_conntrack', which is the temporary conntrack-storage of 
10netfilter. (http://www.netfilter.org/)
11For any program options see sector 'Usage' section below.
12
13-------------------------------------------------------------------------------
14
15
16Compiling:
17-------------------------------------------------------------------------------
18See the INSTALL file
19
20-------------------------------------------------------------------------------
21
22
23Changelog:
24-------------------------------------------------------------------------------
25See the CHANGELOG file
26
27-------------------------------------------------------------------------------
28
29
30Usage:
31-------------------------------------------------------------------------------
32netstat-nat -h			: displays help
33netstat-nat -n			: displays NAT connections without 
34				  host/portname-resolving.
35netstat-nat -p <protocol>       : diplays NAT connections with protocol 
36				  selection. (see /etc/protocols)
37netstat-nat -s <source-host>	: display connections by source IP/hostname
38netstat-nat -d <dest-host>	: display connections by destination IP/hostname
39netstat-nat -S			: display SNAT connections
40netstat-nat -D			: display DNAT connections
41				  (default: both) 
42netstat-nat -L			: display only connections to NAT box self 
43				  (doesn't show SNAT & DNAT connections) 
44netstat-nat -R			: display only connections routed through NAT box self 
45				  (doesn't show SNAT & DNAT connections) 
46netstat-nat -x 			: extend the view of the hostnames
47netstat-nat -r src|dst|src-port|dst-port|state : sort connections 
48netstat-nat -o			: strip output header
49netstat-nat -N 			: display NAT box connection information 
50				  (IP and port) for NATing iface 
51				  (only valid with SNAT & DNAT)
52netstat-nat -v     		: prints version
53
54-------------------------------------------------------------------------------
55
56
57Homepage:
58-------------------------------------------------------------------------------
59http://www.tweegy.nl/projects/netstat-nat/
60
61-------------------------------------------------------------------------------
62
63
64Files:
65-------------------------------------------------------------------------------
66netstat-nat.c
67netstat-nat.h
68netstat-nat.1
69netstat-nat.spec
70COPYING
71README
72INSTALL
73AUTHORS
74CHANGELOG
75Makefile
76
77-------------------------------------------------------------------------------
78
79
80Thanks:
81-------------------------------------------------------------------------------
82Marceln for writing the man-page and making the v1.2 .rpm and src.rpm, which can 
83be downloaded at his page. http://http://www.xs4all.nl/~marceln/rpm/
84and for submitting a patch for v1.4.1 which removes unused variables, included 
85a more understandable memory allocate error and making netstat-nat compatible
86with uLibC.
87
88Jose Pedro Oliveira <jpo@di.uminho.pt> for submitting a patch for the .spec file
89which fixes some rpmlint warnings.
90
91Gumundur D. Haraldsson <gdh@binhex.EU.org> for submitting a patch which does a
92more properly memory allocation and saver copies of variables. (merged in v1.4.3) 
93
94Supaflyster for submitting patch for proper read-in on some systems and 
95pointing out dnat over snat connections problem, which weren't shown in output.
96(v1.4.7)
97-------------------------------------------------------------------------------
98
99
100Contact:
101-------------------------------------------------------------------------------
102D.Wijsman danny@tweegy.nl
103
104-------------------------------------------------------------------------------
105
106