Import release 0.1.11
[secnet] / NEWS
CommitLineData
8dea8d37
SE
1* Planned for the future
2
469fd1d9 3Netlink device that implements an Ethernet bridge.
8dea8d37 4
469fd1d9
SE
5Modular transform code: choice of block ciphers, modes, sequence
6numbers / timestamps, etc. similar to IWJ's udptunnel
8dea8d37 7
794f2398
SE
8* New in version 0.1.11
9
10Lists of IP addresses in the configuration file can now include
11exclusions as well as inclusions. For example, you can specify all
12the hosts on a subnet except one as follows:
13
14networks "192.168.73.0/24","!192.168.73.70";
15
16(If you were only allowed inclusions, you'd have to specify that like
17this:
18networks "192.168.73.71/32","192.168.73.68/31","192.168.73.64/30",
19 "192.168.73.72/29","192.168.73.80/28","192.168.73.96/27",
20 "192.168.73.0/26","192.168.73.128/25";
21)
22
23secnet now ensures that it invokes userv-ipif with a non-overlapping
24list of subnets.
25
26There is a new command-line option, --sites-key or -s, that enables
27the configuration file key that's checked to determine the list of
28active sites (default "sites") to be changed. This enables a single
29configuration file to contain multiple cofigurations conveniently.
30
31NAKs are now sent when packets arrive that are not understood. The
32tunnel code initiates a key setup if it sees a NAK. Future
33developments should include configuration options that control this.
34
35The tunnel code notifies its peer when secnet is terminating, so the
36peer can close the session.
37
38The netlink "exclude-remote-networks" option has now been replaced by
39a "remote-networks" option; instead of specifying networks that no
40site may access, you specify the set of networks that remote sites are
41allowed to access. A sensible example: "192.168.0.0/16",
42"172.16.0.0/12", "10.0.0.0/8", "!your-local-network"
469fd1d9
SE
43
44* New in version 0.1.10
45
46WARNING: THIS VERSION MAKES A CHANGE TO THE CONFIGURATION FILE FORMAT
47THAT IS NOT BACKWARD COMPATIBLE. However, in most configurations the
48change only affects the sites.conf file, which is generated by the
49make-secnet-sites script; after you regenerate your sites.conf using
50version 0.1.10, everything should continue to work.
51
52Netlink devices now interact slightly differently with the 'site'
53code. When you invoke a netlink closure like 'tun' or 'userv-ipif',
54you get another closure back. You then invoke this closure (usually
55in the site definitions) to specify things like routes and options.
56The result of this invocation should be used as the 'link' option in
57site configurations.
58
59All this really means is that instead of site configurations looking
60like this:
61
62foo {
63 name "foo";
64 networks "a", "b", "c";
65 etc.
66};
67
68...they look like this:
69
70foo {
71 name "foo";
72 link netlink { routes "a", "b", "c"; };
73 etc.
74};
75
76This change was made to enable the 'site' code to be completely free
77of any knowledge of the contents of the packets it transmits. It
78should now be possible in the future to tunnel other protocols like
79IPv6, IPX, raw Ethernet frames, etc. without changing the 'site' code
80at all.
81
82Point-to-point netlink devices work slightly differently; when you
83apply the 'tun', 'userv-ipif', etc. closure and specify the
84ptp-address option, you must also specify the 'routes' option. The
85result of this invocation should be passed directly to the 'link'
86option of the site configuration. You can do things like this:
87
88sites site {
89 name "foo";
90 link tun {
91 networks "192.168.73.76/32";
92 local-address "192.168.73.76"; # IP address of interface
93 ptp-address "192.168.73.75"; # IP address of other end of link
94 routes "192.168.73.74/32";
95 mtu 1400;
96 buffer sysbuffer();
97 };
98 etc.
99};
100
101The route dump obtained by sending SIGUSR1 to secnet now includes
102packet counts.
103
104Point-to-point mode has now been tested.
105
106tun-old has now been tested, and the annoying 'untested' message has
107been removed. Thanks to SGT and JDA.
108
109secnet now closes its stdin, stdout and stderr just after
110backgrounding.
111
112Bugfix: specifying network "0.0.0.0/0" (or "default") now works
113correctly.
114
8dea8d37
SE
115* New in version 0.1.9
116
117The netlink code may now generate ICMP responses to ICMP messages that
118are not errors, eg. ICMP echo-request. This makes Windows NT
119traceroute output look a little less strange.
120
121configure.in and config.h.bot now define uint32_t etc. even on systems
122without stdint.h and inttypes.h (needed for Solaris 2.5.1)
123
124GNU getopt is included for systems that lack it.
125
126We check for LOG_AUTHPRIV before trying to use it in log.c (Solaris
1272.5.1 doesn't have it.)
128
129Portable snprintf.c from http://www.ijs.si/software/snprintf/ is
130included for systems that lack snprintf/vsnprintf.
131
132make-secnet-sites.py renamed to make-secnet-sites and now installed in
133$prefix/sbin/make-secnet-sites; ipaddr.py library installed in
134$prefix/share/secnet/ipaddr.py. make-secnet-sites searches
135/usr/local/share/secnet and /usr/share/secnet for ipaddr.py
136
c6f79b17
SE
137* New in version 0.1.8
138
139Netlink devices now support a 'point-to-point' mode. In this mode the
140netlink device does not require an IP address; instead, the IP address
141of the other end of the tunnel is specified using the 'ptp-address'
142option. Precisely one site must be configured to use the netlink
8dea8d37
SE
143device. (I haven't had a chance to test this because 0.1.8 turned into
144a 'quick' release to enable secnet to cope with the network problems
145affecting connections going via LINX on 2001-10-16.)
c6f79b17
SE
146
147The tunnel code in site.c now initiates a key setup if the
148reverse-transform function fails (wrong key, bad MAC, too much skew,
149etc.) - this should make secnet more reliable on dodgy links, which
150are much more common than links with active attackers... (an attacker
151can now force a new key setup by replaying an old packet, but apart
152from minor denial of service on slow links or machines this won't
8dea8d37 153achieve them much). This should eventually be made configurable.
c6f79b17
SE
154
155The sequence number skew detection code in transform.c now only
156complains about 'reverse skew' - replays of packets that are too
157old. 'Forward skew' (gaps in the sequence numbers of received packets)
158is now tolerated silently, to cope with large amounts of packet loss.