Debian Codegraph @

debian/changelog.upstream

raw
1 2b Blaise blaze blasé Blahzay
2
3 Fixed:
4 * Segfault when -L|-R and interfaces with no addresses are present
5 (Eric Sauvageau <[email protected]>)
6
7 Internal:
8 * Tests are less stringent w.r.t. the networking environment
9 * srhtcdn.githack.com -> ra.ws.co.ls
10 (https://todo.sr.ht/~nabijaczleweli/tzpfms/2)
11
12 2a I hope somebody feels my pain through this crude recital
13
14 Changed:
15 * Direct RT_NETLINK to getifaddrs(3) for getting local addresses
16 * If getent hosts 127.0.0.1 remains untranslated,
17 just warn instead of failing test
18
19 Fixed:
20 * DATE_EPOCH being affected by locale
21 * #anchor in README tag signing link
22 * getopt() on char=unsigned char platforms
23
24 2 I don't talk about it, I just smoke 'em
25
26 Removed:
27 * Don't even try /proc/net/ip_conntrack (compat removed in Linux 4.9)
28 /proc/net/nf_conntrack is the only supported back-end (Linux 2.6.20)
29 * -?hv
30
31 Changed:
32 * autohell-based build system and metadata and rpm .spec -> Makefile
33 (Changelog and credits from README went to tags)
34 * Error for unopenable /proc/net/nf_conntrack to be reasonable
35 * -s and -d parsing and canonicalisation with getaddrinfo(3)
36 instead of gethostbyname(3) (also supports IPv6)
37 * Print the port if one was given instead of just for tcp|udp
38 * Usage string to a standard one
39 * -S disables -D and -D disables -S
40 (-SD used to simply yield no results)
41 * Don't format udp without a no-status as UNREPLIED
42 * -N ("NAT-host") -> -G ("Gateway") (-N still accepted as an alias)
43 * README for -ng
44
45 Fixed:
46 * All errors and warnings (mostly due to being ancient)
47 * Extraneous arguments not being ignored
48 * A >6-column protocol not having a space after it
49
50 New:
51 * Internal and final binary tests
52 * Get current addresses for -LR with rtnetlink(7) IFA_ADDRESS
53 instead of ioctl(SIOCGIFCONF) (to also get IP6 addresses)
54 (they are also normalised for IP6 compatibility)
55 * An optional argument to read (or -) instead of /proc/net/nf_conntrack
56 * Format ip6 addresses with ports with []
57 * Normalise addresses even with -n
58 * $NETSTAT_NAT_LOCAL_ADDRS can replace this system's real addresses
59 * -g to filter by gateway address (like -s and -d)
60 * -r gate and -r gate-port to sort by gateway
61 * "NAT-host Address" -> "Gateway Address"
62 * Manual
63 * -X (width = max-length ip6 address+port)
64 * -X1234 (width = 1234)
65
66 Internal:
67 * Licences in REUSE format, SPDX headers, RCS tag deletion
68 * chmod -x non-executables
69 * Useless header inlined into the TU
70 * clang-format
71 * Utility functions/data/types staticified, cleaned out
72 * New parser for nf_conntrack lines
73 tokenise, decode each token,
74 instead of strcasestr()ing the whole line once or twice for each field
75 * Accept all L4 protocol names by name
76 (except "unknown" which, if looked up, is cached)
77 * boolification
78 * Don't free before exit
79 * Connection table char*** -> struct connection* with integer -> named fields
80 * Don't overallocate (200-8)*sizeof(void*) for each connection
81 * Connections sorted with qsort(),
82 instead of some inlined bespoke sorting algorithm
83 * If both the protocol and the sort row are the same,
84 disambiguate by sorting by all other fields in order
85 * Test and build manual PDFs on builds.sr.ht
86 * Map IP and port to hostname and service with getnameinfo(3)
87 instead of gethostbyaddr(3) &c.
88
89 1.4.10 Archived upstream 1.4.10
90
91 version: 1.4.10
92 - fix for properly display DNAT over SNAT connection
93
94 1.4.9 Archived upstream 1.4.9
95
96 version: 1.4.9
97 - Added -R option to show routed connections instead of showing them with -L
98 - Some allocation & free bugs were squashed
99
100 1.4.8 Archived upstream 1.4.8
101
102 version: 1.4.8
103 - Added nf_conntrack support
104 - Added NAT host connection information (used IP and port for NAT)
105
106 1.4.7 Archived upstream 1.4.7
107
108 version: 1.4.7
109 - fix for read-in (ip_conntrack), previous versions could sometimes hang or
110 segfault on some systems.
111 - fix for displaying dnat over snat connections.
112 - changed my email to [email protected] and changed homepage url
113
114 Thanks:
115 -------------------------------------------------------------------------------
116 Supaflyster for submitting patch for proper read-in on some systems and
117 pointing out dnat over snat connections problem, which weren't shown in output.
118 (v1.4.7)
119
120 1.4.6 Archived upstream 1.4.6
121
122 version: 1.4.6
123 - gcc 2.96 compatability fix
124 - enlarged readin of ip_conntrack line
125
126 1.4.5 Archived upstream 1.4.5
127
128 version: 1.4.5
129 - Protocol resolving instead of raw
130
131 1.4.4 Archived upstream 1.4.4
132
133 version: 1.4.4
134 - Extraction of IPs and ports more dynamicly so it can be used with layer7 and
135 maybe others when layout of ip_conntrack changes
136
137 1.4.3 Archived upstream 1.4.3
138
139 version: 1.4.3
140 - Memory allocation operations and copiing of variables have been made saver.
141 - Changed my e-mail to [email protected]
142
143 Thanks:
144 -------------------------------------------------------------------------------
145 Gumundur D. Haraldsson <[email protected]> for submitting a patch which does a
146 more properly memory allocation and saver copies of variables. (merged in v1.4.3)
147
148 1.4.2 Archived upstream 1.4.2
149
150 version: 1.4.2
151 - Fixed hussle up displayed states when sorting
152 - Added support to display unknown protocols (displayed as raw)
153 - Fixes rpmlint warnings in .spec for RPM users (1.4.1-2.src.rpm allready
154 contains allready new .spec file)
155 - Some more understandable memory alloaction errors, displays now how many bytes
156 are allocated
157 - Removed unused variables
158 - Check in code to exit, when there are no NAT connections
159 - Compatible with uLibC
160
161 Thanks:
162 -------------------------------------------------------------------------------
163 Marceln for writing the man-page and making the v1.2 .rpm and src.rpm, which can
164 be downloaded at his page. http://http://www.xs4all.nl/~marceln/rpm/
165 and for submitting a patch for v1.4.1 which removes unused variables, included
166 a more understandable memory allocate error and making netstat-nat compatible
167 with uLibC.
168
169 Jose Pedro Oliveira <[email protected]> for submitting a patch for the .spec file
170 which fixes some rpmlint warnings.
171
172 1.4.1 Archived upstream 1.4.1
173
174 version: 1.4.1
175 - Changed memory allocation of entries to be dynamic. (was only noticeble if you
176 support large numbers NAT connections)
177 - Added argument to display version
178
179 1.4 Archived upstream 1.4
180
181 version: 1.4
182 - Option to display connections to NAT box self.
183 - Option to sort output by selection.
184
185 1.3.1 Archived upstream 1.3.1
186
187 version: 1.3
188 - Resolves portnumbers to names if listed in services.
189 - Re-arranged layout, space is now being used more efficiently.
190 - Added a Makefile and a header file.
191 - Some small code changes.
192
193 version: 1.3.1
194 - Fixed segmentation fault when displaying icmp connections, was trying to
195 display ports also, which only occured in version 1.3
196 - Fixed bug, displayed wrong icmp connection with state REPLIED.
197 - Option to strip output-header.
198
199 1.2.1 Archived upstream 1.2.1
200
201 version: 1.2.1
202 - Adds a nice manpage and a README update
203
204 Thanks:
205 -------------------------------------------------------------------------------
206 Marceln for writing the man-page and making the v1.2 .rpm and src.rpm, which can
207 be downloaded at his page. http://http://www.xs4all.nl/~marceln/rpm/
208
209 1.2 Archived upstream 1.2
210
211 version: 1.2
212 - display DNAT connection support
213 - display by destination IP/hostname
214 - display by SNAT or DNAT connections
215 - extended view for hostnames
216
217 1.1 Archived upstream 1.1
218
219 version: 1.1
220 - display by source IP/hostname
221
222 1.0 Archived upstream 1.0
223
224 version: 1.0
225 - Initial release, with some basic features