head	1.4;
access;
symbols
	RELENG_8_4:1.4.0.78
	RELENG_9_1_0_RELEASE:1.4
	RELENG_9_1:1.4.0.76
	RELENG_9_1_BP:1.4
	RELENG_8_3_0_RELEASE:1.4
	RELENG_8_3:1.4.0.74
	RELENG_8_3_BP:1.4
	RELENG_9_0_0_RELEASE:1.4
	RELENG_9_0:1.4.0.72
	RELENG_9_0_BP:1.4
	RELENG_9:1.4.0.70
	RELENG_9_BP:1.4
	RELENG_7_4_0_RELEASE:1.4
	RELENG_8_2_0_RELEASE:1.4
	RELENG_7_4:1.4.0.68
	RELENG_7_4_BP:1.4
	RELENG_8_2:1.4.0.66
	RELENG_8_2_BP:1.4
	RELENG_8_1_0_RELEASE:1.4
	RELENG_8_1:1.4.0.64
	RELENG_8_1_BP:1.4
	RELENG_7_3_0_RELEASE:1.4
	RELENG_7_3:1.4.0.62
	RELENG_7_3_BP:1.4
	RELENG_8_0_0_RELEASE:1.4
	RELENG_8_0:1.4.0.60
	RELENG_8_0_BP:1.4
	RELENG_8:1.4.0.58
	RELENG_8_BP:1.4
	RELENG_7_2_0_RELEASE:1.4
	RELENG_7_2:1.4.0.56
	RELENG_7_2_BP:1.4
	RELENG_7_1_0_RELEASE:1.4
	RELENG_6_4_0_RELEASE:1.4
	RELENG_7_1:1.4.0.54
	RELENG_7_1_BP:1.4
	RELENG_6_4:1.4.0.52
	RELENG_6_4_BP:1.4
	RELENG_7_0_0_RELEASE:1.4
	RELENG_6_3_0_RELEASE:1.4
	RELENG_7_0:1.4.0.50
	RELENG_7_0_BP:1.4
	RELENG_6_3:1.4.0.48
	RELENG_6_3_BP:1.4
	RELENG_7:1.4.0.46
	RELENG_7_BP:1.4
	RELENG_6_2_0_RELEASE:1.4
	RELENG_6_2:1.4.0.44
	RELENG_6_2_BP:1.4
	RELENG_5_5_0_RELEASE:1.4
	RELENG_5_5:1.4.0.42
	RELENG_5_5_BP:1.4
	RELENG_6_1_0_RELEASE:1.4
	RELENG_6_1:1.4.0.40
	RELENG_6_1_BP:1.4
	RELENG_6_0_0_RELEASE:1.4
	RELENG_6_0:1.4.0.38
	RELENG_6_0_BP:1.4
	RELENG_6:1.4.0.36
	RELENG_6_BP:1.4
	RELENG_5_4_0_RELEASE:1.4
	RELENG_5_4:1.4.0.34
	RELENG_5_4_BP:1.4
	RELENG_4_11_0_RELEASE:1.4
	RELENG_4_11:1.4.0.32
	RELENG_4_11_BP:1.4
	RELENG_5_3_0_RELEASE:1.4
	RELENG_5_3:1.4.0.30
	RELENG_5_3_BP:1.4
	RELENG_5:1.4.0.28
	RELENG_5_BP:1.4
	RELENG_4_10_0_RELEASE:1.4
	RELENG_4_10:1.4.0.26
	RELENG_4_10_BP:1.4
	RELENG_5_2_1_RELEASE:1.4
	RELENG_5_2_0_RELEASE:1.4
	RELENG_5_2:1.4.0.24
	RELENG_5_2_BP:1.4
	RELENG_4_9_0_RELEASE:1.4
	RELENG_4_9:1.4.0.22
	RELENG_4_9_BP:1.4
	RELENG_5_1_0_RELEASE:1.4
	RELENG_5_1:1.4.0.20
	RELENG_5_1_BP:1.4
	RELENG_4_8_0_RELEASE:1.4
	RELENG_4_8:1.4.0.18
	RELENG_4_8_BP:1.4
	RELENG_5_0_0_RELEASE:1.4
	RELENG_5_0:1.4.0.16
	RELENG_5_0_BP:1.4
	RELENG_4_7_0_RELEASE:1.4
	RELENG_4_7:1.4.0.14
	RELENG_4_7_BP:1.4
	RELENG_4_6_2_RELEASE:1.4
	RELENG_4_6_1_RELEASE:1.4
	RELENG_4_6_0_RELEASE:1.4
	RELENG_4_6:1.4.0.12
	RELENG_4_6_BP:1.4
	RELENG_4_5_0_RELEASE:1.4
	RELENG_4_5:1.4.0.10
	RELENG_4_5_BP:1.4
	RELENG_4_4_0_RELEASE:1.4
	RELENG_4_4:1.4.0.8
	RELENG_4_4_BP:1.4
	RELENG_4_3_0_RELEASE:1.4
	RELENG_4_3:1.4.0.6
	RELENG_4_3_BP:1.4
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.4
	RELENG_3_5_0_RELEASE:1.4.2.1
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.4
	RELENG_4_BP:1.4
	RELENG_3_4_0_RELEASE:1.4.2.1
	RELENG_3_3_0_RELEASE:1.4.2.1
	RELENG_3_2_PAO:1.4.2.1.0.2
	RELENG_3_2_PAO_BP:1.4.2.1
	RELENG_3_2_0_RELEASE:1.4.2.1
	RELENG_3:1.4.0.2;
locks; strict;
comment	@# @;


1.4
date	99.03.07.18.23.55;	author brian;	state Exp;
branches
	1.4.2.1
	1.4.78.1;
next	1.3;

1.3
date	97.12.10.02.14.56;	author brian;	state Exp;
branches;
next	1.2;

1.2
date	97.09.06.11.13.57;	author brian;	state Exp;
branches;
next	1.1;

1.1
date	97.08.10.21.55.49;	author brian;	state Exp;
branches;
next	;

1.4.2.1
date	99.03.24.17.12.59;	author brian;	state Exp;
branches;
next	;

1.4.78.1
date	99.03.07.18.23.55;	author svnexp;	state dead;
branches;
next	1.4.78.2;

1.4.78.2
date	2013.03.28.13.03.35;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Upgrade (almost) to natd 2.0b1

  - Transparent proxy support.
  - PERMANENT_LINK IS NOW OBSOLETE, use redirect_port instead.
  - Drop support for early FreeBSD 2.2 versions
  - If separate input & output sockets are being used
    use them to find out packet direction instead of
    normal mechanism. This can be handy in complex environments
    with multiple interfaces.
  - PPTP redirect support by Dru Nelson <dnelson@@redwoodsoft.com> added.
  - Logging enhancements from Martin Machacek <mm@@i.cz> added.

Obtained from: Ari Suutari <ari@@suutari.iki.fi>
@
text
@* Version 0.1

	Initial version of natd.

* Version 0.2

	- Alias address can now be set by giving interface name with 
	  new (-n) command-line option.

	- New Makefile based on bsd.prog.mk.
	  
	- Error messages are written to syslog
	  after natd has become a daemon.

* Version 1.0

	- Support for using only single socket (-p option)

* Version 1.1

	- -a option now understands a hostname also.
	- -a option no longer dumps core.
	- Packet aliasing software upgraded to v. 1.9
  	- added long option names (like -address)

* Version 1.2

	- Fixed core dump with -port option.
	- Added -Wall to CFLAGS and some headers added to natd.c
	  to get clean compile by Brian Somers [brian@@awfulhak.org].

* Version 1.3

	- Aliasing address initialization is delayed until first
	  packet arrives. This allows natd to start up before
	  interface address is set.
	- SIGTERM is now catched to allow kernel to close
	  existing connections when system is shutting down.
	- SIGHUP is now catched to allow natd to refresh aliasing
	  address from interface, which might be useful to tun devices.

* Version 1.4

	- Changed command line options to be compatible with
	  command names used in ppp+packetAlias package (which is the
	  original application using aliasing routines). 

	  The options which map directly to packet aliasing options are:

		-unregistered_only [yes|no]
		-log [yes|no]
		-deny_incoming [yes|no]
		-use_sockets [yes|no]
		-same_ports [yes|no]

	  The short option names are the same as in previous
	  releases.

	- Command line parser rewritten to provide more flexible
	  way to support new packet aliasing options.

	- Support for natd.cf configuration file has been added.
	  
	- SIGHUP no longer causes problems when running without
	  interface name option.

	- When using -interface command line option, routing socket
	  is optionally listened for interface address changes. This
	  mode is activated by -dynamic option.

	- Directory tree reorganized, alias package is now a library.

	- Manual page written by Brian Somers <brian@@awfulhak.org> added.
	- README file updated.

* Version 1.5

	- Support for sending ICMP 'need fragmentation' messages
 	  when packet size exceeds mtu size of outgoing network interface.

	- ipfw rule example in manual page fixed.

* Version 1.6

	- Upgrade to new packet aliasing engine (2.1)
	- redirect_port and redirect_address configuration
	  parameters added.
	- It is no longer necessary to quote complex parameter values
	  in command line.
	- Manual page fixed (same_port -> same_ports).

* Version 1.7

	- A bug in command-line parsing fixed (it appeared due
	  to changes made in 1.6).

* Version 1.8

	- Fixed problems with -dynamic option.
	- Added /var/run/natd.pid

* Version 1.9

	- Changes to manual page by
	  Brian Somers <brian@@awfulhak.org> integrated.
	- Checksum for incoming packets is always recalculated
	  for FreeBSD 2.2 and never recalculated for newer
	  versions. This should fix the problem with wrong
 	  checksum of fragmented packets.
	- Buffer space problem found by Sergio Lenzi <lenzi@@bsi.com.br>
	  fixed. Natd now waits with select(2) for buffer space
	  to become available if write fails.
	- Packet aliasing library upgraded to 2.2.

* Version 1.10

	- Ignored incoming packets are now dropped when
	  deny_incoming option is set to yes.
	- Packet aliasing library upgraded to 2.4.

* Version 1.11

	- Code cleanup work done in FreeBSD-current development merged.
	- Port numbers are now unsigned as they should always have been.

* Version 1.12

	- Typos in comment fixed. Copyright message added to 
	  source & header files that were missing it.
	- A small patch to libalias to make static NAT work correctly.

* Version 2.0

	- Upgrade to libalias 3.0 which gives:
	- Transparent proxy support.
	- permanent_link is now obsolete, use redirect_port instead.
	- Drop support for early FreeBSD 2.2 versions
	- If separate input & output sockets are being used
	  use them to find out packet direction instead of
	  normal mechanism. This can be handy in complex environments
	  with multiple interfaces.
	- libalias is no longer part of this distribution.
	- New sample configuration file
          from Ted Mittelstaedt <tedm@@portsoft.com>.
	- PPTP redirect support by Dru Nelson <dnelson@@redwoodsoft.com> added.
	- Logging enhancements from Martin Machacek <mm@@i.cz> added.
@


1.4.78.1
log
@file HISTORY was added on branch RELENG_8_4 on 2013-03-28 13:03:35 +0000
@
text
@d1 146
@


1.4.78.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 146
* Version 0.1

	Initial version of natd.

* Version 0.2

	- Alias address can now be set by giving interface name with 
	  new (-n) command-line option.

	- New Makefile based on bsd.prog.mk.
	  
	- Error messages are written to syslog
	  after natd has become a daemon.

* Version 1.0

	- Support for using only single socket (-p option)

* Version 1.1

	- -a option now understands a hostname also.
	- -a option no longer dumps core.
	- Packet aliasing software upgraded to v. 1.9
  	- added long option names (like -address)

* Version 1.2

	- Fixed core dump with -port option.
	- Added -Wall to CFLAGS and some headers added to natd.c
	  to get clean compile by Brian Somers [brian@@awfulhak.org].

* Version 1.3

	- Aliasing address initialization is delayed until first
	  packet arrives. This allows natd to start up before
	  interface address is set.
	- SIGTERM is now catched to allow kernel to close
	  existing connections when system is shutting down.
	- SIGHUP is now catched to allow natd to refresh aliasing
	  address from interface, which might be useful to tun devices.

* Version 1.4

	- Changed command line options to be compatible with
	  command names used in ppp+packetAlias package (which is the
	  original application using aliasing routines). 

	  The options which map directly to packet aliasing options are:

		-unregistered_only [yes|no]
		-log [yes|no]
		-deny_incoming [yes|no]
		-use_sockets [yes|no]
		-same_ports [yes|no]

	  The short option names are the same as in previous
	  releases.

	- Command line parser rewritten to provide more flexible
	  way to support new packet aliasing options.

	- Support for natd.cf configuration file has been added.
	  
	- SIGHUP no longer causes problems when running without
	  interface name option.

	- When using -interface command line option, routing socket
	  is optionally listened for interface address changes. This
	  mode is activated by -dynamic option.

	- Directory tree reorganized, alias package is now a library.

	- Manual page written by Brian Somers <brian@@awfulhak.org> added.
	- README file updated.

* Version 1.5

	- Support for sending ICMP 'need fragmentation' messages
 	  when packet size exceeds mtu size of outgoing network interface.

	- ipfw rule example in manual page fixed.

* Version 1.6

	- Upgrade to new packet aliasing engine (2.1)
	- redirect_port and redirect_address configuration
	  parameters added.
	- It is no longer necessary to quote complex parameter values
	  in command line.
	- Manual page fixed (same_port -> same_ports).

* Version 1.7

	- A bug in command-line parsing fixed (it appeared due
	  to changes made in 1.6).

* Version 1.8

	- Fixed problems with -dynamic option.
	- Added /var/run/natd.pid

* Version 1.9

	- Changes to manual page by
	  Brian Somers <brian@@awfulhak.org> integrated.
	- Checksum for incoming packets is always recalculated
	  for FreeBSD 2.2 and never recalculated for newer
	  versions. This should fix the problem with wrong
 	  checksum of fragmented packets.
	- Buffer space problem found by Sergio Lenzi <lenzi@@bsi.com.br>
	  fixed. Natd now waits with select(2) for buffer space
	  to become available if write fails.
	- Packet aliasing library upgraded to 2.2.

* Version 1.10

	- Ignored incoming packets are now dropped when
	  deny_incoming option is set to yes.
	- Packet aliasing library upgraded to 2.4.

* Version 1.11

	- Code cleanup work done in FreeBSD-current development merged.
	- Port numbers are now unsigned as they should always have been.

* Version 1.12

	- Typos in comment fixed. Copyright message added to 
	  source & header files that were missing it.
	- A small patch to libalias to make static NAT work correctly.

* Version 2.0

	- Upgrade to libalias 3.0 which gives:
	- Transparent proxy support.
	- permanent_link is now obsolete, use redirect_port instead.
	- Drop support for early FreeBSD 2.2 versions
	- If separate input & output sockets are being used
	  use them to find out packet direction instead of
	  normal mechanism. This can be handy in complex environments
	  with multiple interfaces.
	- libalias is no longer part of this distribution.
	- New sample configuration file
          from Ted Mittelstaedt <tedm@@portsoft.com>.
	- PPTP redirect support by Dru Nelson <dnelson@@redwoodsoft.com> added.
	- Logging enhancements from Martin Machacek <mm@@i.cz> added.
@


1.4.2.1
log
@MFC: Bring natd to life in sbin
@
text
@@


1.3
log
@natd 1_10 => 1_11
  Cosmetic style changes
  Use u_short for port values.
Submitted by:	Ari Suutari <ari@@suutari.iki.fi>
@
text
@d125 22
@


1.2
log
@Ingored incoming packets are now dropped when
deny_incoming option is set to yes.
Submitted by:	Ari Suutari <ari@@suutari.iki.fi>
@
text
@d120 5
@


1.1
log
@- Buffer space problem found by Sergio Lenzi <lenzi@@bsi.com.br>
  fixed. Natd now waits with select(2) for buffer space
  to become available if write fails.
- Packet aliasing library upgraded to 2.2.

Submitted by:	Ari Suutari <suutari@@iki.fi>
@
text
@d114 6
@
