1 secnet (0.5.0) unstable; urgency=medium
3 make-secnet-sites SECURITY FIX:
4 * Do not blindly trust inputs; instead, check the syntax for sanity.
5 Previous releases can be induced to run arbitrary code as the user
6 invoking secnet (which might be root), if a secnet sites.conf is used
7 that was generated from an untrustworthy sites file.
8 * The userv invocation mode of make-secnet-sites seems to have been safe
9 in itself, but it previously allowed hazardous data to be propagated
10 into the master sites file. This is now prevented too.
12 make-secnet-sites overhaul work:
13 * make-secnet-sites is now in the common subset of Python2 and Python3.
14 The #! is python3 now, but it works with Python2.7 too.
15 It will probably *not* work with old versions of Python2.
16 * We no longer depend on the obsolete `ipaddr' library. We use
17 `ipaddress' now. And this is onlo a Recommends in the .deb.
18 * Ad-hoc argument parser been replaced with `argparse'.
19 There should be no change to existing working invocations.
20 * Bad address syntax error does not wrongly mention IPv6 scopes.
21 * Minor refactoring to support forthcoming work. [Mark Wooding]
23 other bugfixes, improvements and changes to secnet itself:
24 * Better logging of why we are sending NAK messages.
25 * Correctly use the verified copy of the peer remote capabilities
26 from MSG3. (Bug is not a vulnerability.) [Mark Wooding]
27 * Significant internal rearrangements and refactorings, to support
28 forthcoming key management work. [Mark Wooding and Ian Jackson]
31 * Completely overhaul release checklist; drop dist target.
32 * Remove dependency on `libfl.a'. [Mark Wooding]
33 * polypath.c: Fix missing include of <limits.h>. [Mark Wooding]
34 * Add a Wireshark dissector `secnet-wireshark.lua'. It is not
35 installed anywhere right now. [Mark Wooding]
38 * Improve documentation of capability negotiation in NOTES, secnet(8)
39 and magic.h. [Mark Wooding]
41 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 24 Oct 2019 19:11:54 +0100
43 secnet (0.4.5) unstable; urgency=medium
45 * INSTALL: Mention that rsa key generation might need ssh-keygen1.
46 * mobile: Fix negotiation bug with mixed old/new secnets and
47 simultaneous key setup attempts by each end. [Mark Wooding]
48 * Makefile.in: Support installation from a `VPATH' build. [Mark Wooding]
49 * Portability fixes for clang. [Mark Wooding]
51 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 21 Sep 2019 12:04:31 +0100
53 secnet (0.4.4) unstable; urgency=medium
56 * make-secnet-sites: Don't allow setting new VPN-level properties
57 when restricted. This could allow denial of service by
58 users with delegated authorisation. [Mark Wooding]
60 Bugfixes for poor network environments:
61 * polypath: cope properly with asymmetric routing, by correcting
62 the handling of late duplicated packets etc. Protocol is now
63 incompatible with secnet prior to 0.3.0 when either end is mobile.
64 * Randomise key setup retry time.
67 * rsa and cbcmac: Fix configuration error messages. [Mark Wooding]
68 * Handle IPv4 addresses properly (ie, not foolishly byte-swapped),
69 when IPv6 is not available. [Mark Wooding]
70 * Better logging (and less foolish debug), especially about whether
71 key is set up, and about crossed key setup attempts.
72 * Internal refactoring and fixes. [Ian Jackson and Mark Wooding]
74 Build system and portability:
75 * configure: rerun autogen.sh with autoconf 2.69-10
76 * Avoid memset(0,0,0) wrt st->sharedsecret. (Fixes compiler warning;
77 in theory might cause miscompilation.) [Mark Wooding]
80 * README.make-secnet-sites: new documentation file. [Mark Wooding]
81 * NOTES: Describe current allocation of capability bits. [Mark Wooding]
82 * NOTES: tiny fix tot protocol description.
83 * secnet(8): Delete wrong information about dh groups. [Mark Wooding]
86 * Fix erroneous GPL3+ licence notices "version d or later" (!)
87 * .dir-locals.el: Settings for Python code. [Mark Wooding]
89 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 08 Sep 2019 22:53:14 +0100
91 secnet (0.4.3) unstable; urgency=low
94 * Use `mpz_powm_sec' for modexps.
97 * Implement comm-info and dedicated-interface-addr feature, for
99 * Implement `keepalive' site option, to try to keep link always up.
102 * #include <limits.h> (fixes the build on jessie).
103 * Tolerate building from a git checkout, but with git not installed.
104 (This can happen in chroots.)
105 * Turn off -Wsign-compare for bison output.
106 * Makefile.in: Fix `check-ipaddrset' rule to get reference from
107 $(srcdir). (Makes out-of-tree builds work properly.)
108 * Release checklist fixes.
109 * Burn version numbers 0.4.1 and 0.4.2 due to errors in release prep.
112 * When printing messages about dropping IPv6, do not print anything
113 about ihl. (Check the IP version field first!)
114 * When turning on debug, turn on verbose too.
116 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 25 Nov 2017 13:36:41 +0000
118 secnet (0.4.0) unstable; urgency=low
120 Debugging improvements:
121 * Packet-level debugging from site notes errors from transmit.
122 * Report when transport peers updated as a result of transmit.
124 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 28 Feb 2015 15:03:00 +0000
126 secnet (0.4.0~beta2) unstable; urgency=low
129 * Ignore IPv6 Unique Local unicast addresses.
130 * Skip "tentative" IPv6 local addresses.
131 * Improve logging and debug output.
134 * Build where size_t is not compatible with int.
136 Build system and packaging fixes:
137 * Makefile: support DESTDIR.
138 * debian/rules: set DESTDIR (not prefix).
139 * debian/rules: Support dpkg-buildflags.
140 * Install ipaddrset.py and secnet.8 with correct permissions.
141 * Fix check for <linux/if_tun.h> and git rid of our copy.
142 * Use -lresolv only if inet_aton is not found otherwise.
143 * Use -lnsl only if inet_ntoa is not found otherwise.
144 * debian/rules: Provide build-arch and build-indep targets.
145 * debian/rules: Do not run build for *-indep (!)
146 * Makefile.in: Putative dual (backport and not) release build process doc.
149 * Update to GPLv3. Add missing copyright notices and credits.
150 * Get rid of old FSF street address; use URL instead.
151 * Remove obsolete LICENCE.txt (which was for snprintf reimplementation).
152 * Remove obsolete references to Cendio (for old ipaddr.py).
154 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 28 Dec 2014 17:14:10 +0000
156 secnet (0.4.0~beta1) unstable; urgency=low
159 * Support transport over IPv6. (We do not yet carry IPv6 in the private
160 network.) IPv6 support depends on IPv6-capable adns (adns 1.5.x).
161 * New polypath comm, which can duplicate packets so as to send them via
162 multiple routes over the public network, for increased
163 reliability/performance (but increased cost). Currently Linux-only
164 but should be fairly easy to port.
165 * Support multiple public addresses for peers.
166 * Discard previously-received packets (by default).
168 Logging improvements:
169 * Report (each first) transmission and reception success and failure.
170 * Log reason for DNS reolution failure.
171 * Log unexpected kinds of death from userv.
172 * Log authbind exit status as errno value (if appropriate).
174 Configuration adjustments:
175 * Adjust default number of mobile peer addresses to store when a peer
176 public address is also configured.
177 * Make specifying peer public port optional. This avoids making special
178 arrangements to bind to a port for in mobile sites with no public
182 * Hackypar children will die if they get a terminating signal.
183 * Fix signal dispositions inherited by secnet's child processes.
184 * Fix off-by-one error which prevented setting transport-peers-max to 5.
186 Test, build and internal improvements:
187 * Use conventional IP address handling library ipaddr.py.
188 * Provide a fuzzer for the slip decoder.
189 * Build system improvements.
190 * Many source code cleanups.
192 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 26 Oct 2014 15:28:31 +0000
194 secnet (0.3.4) unstable; urgency=low
197 * The previous security fix to buffer handling was entirely wrong. This
198 one is better. Thanks to Simon Tatham for the report and the patch.
200 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 22 Sep 2014 16:16:11 +0100
202 secnet (0.3.3) unstable; urgency=high
205 * Pass correct size argument to recvfrom. This is a serious security
206 problem which may be exploitable from outside the VPN.
207 * Fix a memory leak in some error logging.
210 * Two other latent bugs in buffer length handling found and fixed.
211 * Non-critical stylistic improvements to buffer length handling, to make
212 the code clearer and to assist audit.
214 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 23:50:45 +0100
216 secnet (0.3.3~beta1) unstable; urgency=low
218 Installation compatibility fix:
219 * In make-secnet-sites, always use our own ipaddr.py even if the
220 incompatible modern ipaddr.py is installed (eg via python-ipaddr.deb).
221 (Future versions of secnet are going to need that Python module to be
224 For links involving mobile sites:
225 * Use source of NAK packets as hint for peer transport address.
226 * When initiating rekey, make use of data transport peer addresses.
229 * Provide clean target in test-example/Makefile.
231 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 19 Sep 2014 00:11:44 +0100
233 secnet (0.3.2) unstable; urgency=low
235 * Release of 0.3.2. No code changes since 0.3.1~beta1.
237 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 26 Jun 2014 20:27:58 +0100
239 secnet (0.3.2~beta1) unstable; urgency=low
241 For links involving mobile sites:
242 * SECURITY: Properly update peer address array when it is full.
243 * Do name-resolution on peer-initiated key setup too, when we are mobile
244 (and other name-resolution improvements).
246 Other minor improvements:
247 * Log peer addresses on key exchange timeout.
248 * When printing version (eg during startup), use value from git-describe
249 and thus include git commit id where applicable.
250 * Updates to release checklist in Makefile.in.
251 * Use C99 _Bool for bool_t.
253 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 06 Jun 2014 01:17:54 +0100
255 secnet (0.3.1) unstable; urgency=low
257 * Release of 0.3.1. No code changes since 0.3.1~beta3.
259 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 15 May 2014 01:08:30 +0100
261 secnet (0.3.1~beta3) unstable; urgency=low
263 * Build fixes for non-i386 architectures and gcc 4.8.2.
265 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 08 May 2014 19:53:43 +0100
267 secnet (0.3.1~beta2) unstable; urgency=low
269 Fix relating to new fragmentation / ICMP functionality:
270 * Generate ICMP packets correctly in point-to-point configurations.
272 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 03 May 2014 18:58:09 +0100
274 secnet (0.3.1~beta1) unstable; urgency=low
276 Security fixes (vulnerabilities are to inside attackers only):
277 * SECURITY: Fixes to MTU and fragmentation handling.
278 * SECURITY: Correctly set "unused" ICMP header field.
279 * SECURITY: Fix IP length check not to crash on very short packets.
282 * Make the inter-site MTU configurable, and negotiate it with the peer.
285 * Fix netlink SEGV on clientless netlinks (i.e. configuration error).
286 * Fix formatting error in p-t-p startup message.
287 * Do not send ICMP errors in response to unknown incoming ICMP.
288 * Fix formatting error in secnet.8 manpage.
289 * Internal code rearrangements and improvements.
291 Packaging improvements:
292 * Updates to release checklist in Makefile.in.
293 * Additions to the test-example suite.
295 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 01 May 2014 19:02:56 +0100
297 secnet (0.3.0) unstable; urgency=low
299 * Release of 0.3.0. No code changes since 0.3.0~beta3.
300 * Update release checklist.
302 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 01 Sep 2013 20:27:48 +0100
304 secnet (0.3.0~beta3) unstable; urgency=low
306 * New upstream version.
307 - Stability bugfix: properly initialise site's scratch buffer.
309 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 05 Aug 2013 11:54:09 +0100
311 secnet (0.3.0~beta2) unstable; urgency=low
313 * New upstream version.
314 - SECURITY FIX: RSA public modulus and exponent buffer overflow.
315 - SECURITY FIX: Use constant-time memcmp for message authentication.
316 - SECURITY FIX: Provide a new transform, eax-serpent, to replace cbcmac.
317 - SECURITY FIX: No longer send NAKs for NAKs, avoiding NAK storm.
318 - SECURITY FIX: Fix site name checking when site name A is prefix of B.
319 - SECURITY FIX: Safely reject too-short IP packets.
320 - Better robustness for mobile sites (proper user of NAKs, new PROD msg).
321 - Better robustness against SLIP decoding errors.
322 - Fix bugs which caused routes to sometimes not be advertised.
323 - Protocol capability negotiation mechanism.
324 - Improvements and fixes to protocol and usage documentation.
325 - Other bugfixes and code tidying up.
327 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 25 Jul 2013 18:26:01 +0100
329 secnet (0.3.0~beta1) unstable; urgency=low
331 * New upstream version.
332 - SECURITY FIX: avoid crashes (or buffer overrun) on short packets.
333 - Bugfixes relating to packet loss during key exchange.
334 - Bugfixes relating to link up/down status.
335 - Bugfixes relating to logging.
336 - make-secnet-sites made more sophisticated to support two vpns on chiark.
337 - Documentation improvements.
338 - Build system improvements.
339 * Debian packaging improvements:
341 - Maintainer / uploaders.
342 - init script requires $remove_fs since we're in /usr.
344 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Thu, 12 Jul 2012 20:18:16 +0100
346 secnet (0.2.1-1) unstable; urgency=low
348 * New upstream version. (authbind endianness fix)
350 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 11 Dec 2011 13:14:57 +0000
352 secnet (0.2.0-1) unstable; urgency=low
354 * New upstream version.
356 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 10 Dec 2011 22:44:41 +0000
358 secnet (0.1.18-1) unstable; urgency=low
360 * New upstream version.
362 -- Stephen Early <steve@greenend.org.uk> Tue, 18 Mar 2008 17:45:00 +0000