xref: /freebsd/sbin/natd/HISTORY (revision 59a7c613740f5a3fa326a7941f2cffd700066376)
1fb994b07SBrian Somers* Version 0.1
2fb994b07SBrian Somers
3fb994b07SBrian Somers	Initial version of natd.
4fb994b07SBrian Somers
5fb994b07SBrian Somers* Version 0.2
6fb994b07SBrian Somers
7fb994b07SBrian Somers	- Alias address can now be set by giving interface name with
8fb994b07SBrian Somers	  new (-n) command-line option.
9fb994b07SBrian Somers
10fb994b07SBrian Somers	- New Makefile based on bsd.prog.mk.
11fb994b07SBrian Somers
12fb994b07SBrian Somers	- Error messages are written to syslog
13fb994b07SBrian Somers	  after natd has become a daemon.
14fb994b07SBrian Somers
15fb994b07SBrian Somers* Version 1.0
16fb994b07SBrian Somers
17fb994b07SBrian Somers	- Support for using only single socket (-p option)
18fb994b07SBrian Somers
19fb994b07SBrian Somers* Version 1.1
20fb994b07SBrian Somers
21fb994b07SBrian Somers	- -a option now understands a hostname also.
22fb994b07SBrian Somers	- -a option no longer dumps core.
23fb994b07SBrian Somers	- Packet aliasing software upgraded to v. 1.9
24fb994b07SBrian Somers  	- added long option names (like -address)
25fb994b07SBrian Somers
26fb994b07SBrian Somers* Version 1.2
27fb994b07SBrian Somers
28fb994b07SBrian Somers	- Fixed core dump with -port option.
29fb994b07SBrian Somers	- Added -Wall to CFLAGS and some headers added to natd.c
30fb994b07SBrian Somers	  to get clean compile by Brian Somers [brian@awfulhak.org].
31fb994b07SBrian Somers
32fb994b07SBrian Somers* Version 1.3
33fb994b07SBrian Somers
34fb994b07SBrian Somers	- Aliasing address initialization is delayed until first
35fb994b07SBrian Somers	  packet arrives. This allows natd to start up before
36fb994b07SBrian Somers	  interface address is set.
37fb994b07SBrian Somers	- SIGTERM is now catched to allow kernel to close
38fb994b07SBrian Somers	  existing connections when system is shutting down.
39fb994b07SBrian Somers	- SIGHUP is now catched to allow natd to refresh aliasing
40fb994b07SBrian Somers	  address from interface, which might be useful to tun devices.
41fb994b07SBrian Somers
42fb994b07SBrian Somers* Version 1.4
43fb994b07SBrian Somers
44fb994b07SBrian Somers	- Changed command line options to be compatible with
45fb994b07SBrian Somers	  command names used in ppp+packetAlias package (which is the
46fb994b07SBrian Somers	  original application using aliasing routines).
47fb994b07SBrian Somers
48fb994b07SBrian Somers	  The options which map directly to packet aliasing options are:
49fb994b07SBrian Somers
50fb994b07SBrian Somers		-unregistered_only [yes|no]
51fb994b07SBrian Somers		-log [yes|no]
52fb994b07SBrian Somers		-deny_incoming [yes|no]
53fb994b07SBrian Somers		-use_sockets [yes|no]
54fb994b07SBrian Somers		-same_ports [yes|no]
55fb994b07SBrian Somers
56fb994b07SBrian Somers	  The short option names are the same as in previous
57fb994b07SBrian Somers	  releases.
58fb994b07SBrian Somers
59fb994b07SBrian Somers	- Command line parser rewritten to provide more flexible
60fb994b07SBrian Somers	  way to support new packet aliasing options.
61fb994b07SBrian Somers
62fb994b07SBrian Somers	- Support for natd.cf configuration file has been added.
63fb994b07SBrian Somers
64fb994b07SBrian Somers	- SIGHUP no longer causes problems when running without
65fb994b07SBrian Somers	  interface name option.
66fb994b07SBrian Somers
67fb994b07SBrian Somers	- When using -interface command line option, routing socket
68fb994b07SBrian Somers	  is optionally listened for interface address changes. This
69fb994b07SBrian Somers	  mode is activated by -dynamic option.
70fb994b07SBrian Somers
71fb994b07SBrian Somers	- Directory tree reorganized, alias package is now a library.
72fb994b07SBrian Somers
73fb994b07SBrian Somers	- Manual page written by Brian Somers <brian@awfulhak.org> added.
74fb994b07SBrian Somers	- README file updated.
75fb994b07SBrian Somers
76fb994b07SBrian Somers* Version 1.5
77fb994b07SBrian Somers
78fb994b07SBrian Somers	- Support for sending ICMP 'need fragmentation' messages
79fb994b07SBrian Somers 	  when packet size exceeds mtu size of outgoing network interface.
80fb994b07SBrian Somers
81fb994b07SBrian Somers	- ipfw rule example in manual page fixed.
82fb994b07SBrian Somers
83fb994b07SBrian Somers* Version 1.6
84fb994b07SBrian Somers
85fb994b07SBrian Somers	- Upgrade to new packet aliasing engine (2.1)
86fb994b07SBrian Somers	- redirect_port and redirect_address configuration
87fb994b07SBrian Somers	  parameters added.
88fb994b07SBrian Somers	- It is no longer necessary to quote complex parameter values
89fb994b07SBrian Somers	  in command line.
90fb994b07SBrian Somers	- Manual page fixed (same_port -> same_ports).
91fb994b07SBrian Somers
92fb994b07SBrian Somers* Version 1.7
93fb994b07SBrian Somers
94fb994b07SBrian Somers	- A bug in command-line parsing fixed (it appeared due
95fb994b07SBrian Somers	  to changes made in 1.6).
96fb994b07SBrian Somers
97fb994b07SBrian Somers* Version 1.8
98fb994b07SBrian Somers
99fb994b07SBrian Somers	- Fixed problems with -dynamic option.
100fb994b07SBrian Somers	- Added /var/run/natd.pid
101fb994b07SBrian Somers
102fb994b07SBrian Somers* Version 1.9
103fb994b07SBrian Somers
104fb994b07SBrian Somers	- Changes to manual page by
105fb994b07SBrian Somers	  Brian Somers <brian@awfulhak.org> integrated.
106fb994b07SBrian Somers	- Checksum for incoming packets is always recalculated
107fb994b07SBrian Somers	  for FreeBSD 2.2 and never recalculated for newer
108fb994b07SBrian Somers	  versions. This should fix the problem with wrong
109fb994b07SBrian Somers 	  checksum of fragmented packets.
110fb994b07SBrian Somers	- Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br>
111fb994b07SBrian Somers	  fixed. Natd now waits with select(2) for buffer space
112fb994b07SBrian Somers	  to become available if write fails.
113fb994b07SBrian Somers	- Packet aliasing library upgraded to 2.2.
114f9b06d5cSBrian Somers
115f9b06d5cSBrian Somers* Version 1.10
116f9b06d5cSBrian Somers
117f9b06d5cSBrian Somers	- Ignored incoming packets are now dropped when
118f9b06d5cSBrian Somers	  deny_incoming option is set to yes.
119f9b06d5cSBrian Somers	- Packet aliasing library upgraded to 2.4.
12067a886fbSBrian Somers
12167a886fbSBrian Somers* Version 1.11
12267a886fbSBrian Somers
12367a886fbSBrian Somers	- Code cleanup work done in FreeBSD-current development merged.
12467a886fbSBrian Somers	- Port numbers are now unsigned as they should always have been.
12559a7c613SBrian Somers
12659a7c613SBrian Somers* Version 1.12
12759a7c613SBrian Somers
12859a7c613SBrian Somers	- Typos in comment fixed. Copyright message added to
12959a7c613SBrian Somers	  source & header files that were missing it.
13059a7c613SBrian Somers	- A small patch to libalias to make static NAT work correctly.
13159a7c613SBrian Somers
13259a7c613SBrian Somers* Version 2.0
13359a7c613SBrian Somers
13459a7c613SBrian Somers	- Upgrade to libalias 3.0 which gives:
13559a7c613SBrian Somers	- Transparent proxy support.
13659a7c613SBrian Somers	- permanent_link is now obsolete, use redirect_port instead.
13759a7c613SBrian Somers	- Drop support for early FreeBSD 2.2 versions
13859a7c613SBrian Somers	- If separate input & output sockets are being used
13959a7c613SBrian Somers	  use them to find out packet direction instead of
14059a7c613SBrian Somers	  normal mechanism. This can be handy in complex environments
14159a7c613SBrian Somers	  with multiple interfaces.
14259a7c613SBrian Somers	- libalias is no longer part of this distribution.
14359a7c613SBrian Somers	- New sample configuration file
14459a7c613SBrian Somers          from Ted Mittelstaedt <tedm@portsoft.com>.
14559a7c613SBrian Somers	- PPTP redirect support by Dru Nelson <dnelson@redwoodsoft.com> added.
14659a7c613SBrian Somers	- Logging enhancements from Martin Machacek <mm@i.cz> added.
147