head	1.10;
access;
symbols
	RELENG_5_5_0_RELEASE:1.9
	RELENG_5_5:1.9.0.14
	RELENG_5_5_BP:1.9
	RELENG_5_4_0_RELEASE:1.9
	RELENG_5_4:1.9.0.12
	RELENG_5_4_BP:1.9
	RELENG_4_11_0_RELEASE:1.6.2.2
	RELENG_4_11:1.6.2.2.0.18
	RELENG_4_11_BP:1.6.2.2
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.10
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.8
	RELENG_5_BP:1.9
	RELENG_4_10_0_RELEASE:1.6.2.2
	RELENG_4_10:1.6.2.2.0.16
	RELENG_4_10_BP:1.6.2.2
	RELENG_5_2_1_RELEASE:1.9
	RELENG_5_2_0_RELEASE:1.9
	RELENG_5_2:1.9.0.6
	RELENG_5_2_BP:1.9
	RELENG_4_9_0_RELEASE:1.6.2.2
	RELENG_4_9:1.6.2.2.0.14
	RELENG_4_9_BP:1.6.2.2
	RELENG_5_1_0_RELEASE:1.9
	RELENG_5_1:1.9.0.4
	RELENG_5_1_BP:1.9
	RELENG_4_8_0_RELEASE:1.6.2.2
	RELENG_4_8:1.6.2.2.0.12
	RELENG_4_8_BP:1.6.2.2
	RELENG_5_0_0_RELEASE:1.9
	RELENG_5_0:1.9.0.2
	RELENG_5_0_BP:1.9
	RELENG_4_7_0_RELEASE:1.6.2.2
	RELENG_4_7:1.6.2.2.0.10
	RELENG_4_7_BP:1.6.2.2
	RELENG_4_6_2_RELEASE:1.6.2.2
	RELENG_4_6_1_RELEASE:1.6.2.2
	RELENG_4_6_0_RELEASE:1.6.2.2
	RELENG_4_6:1.6.2.2.0.8
	RELENG_4_6_BP:1.6.2.2
	RELENG_4_5_0_RELEASE:1.6.2.2
	RELENG_4_5:1.6.2.2.0.6
	RELENG_4_5_BP:1.6.2.2
	RELENG_4_4_0_RELEASE:1.6.2.2
	RELENG_4_4:1.6.2.2.0.4
	RELENG_4_4_BP:1.6.2.2
	RELENG_4_3_0_RELEASE:1.6.2.2
	RELENG_4_3:1.6.2.2.0.2
	RELENG_4_3_BP:1.6.2.2
	RELENG_4_2_0_RELEASE:1.6.2.2
	RELENG_4_1_1_RELEASE:1.6.2.2
	PRE_SMPNG:1.9
	RELENG_4_1_0_RELEASE:1.6.2.1
	RELENG_3_5_0_RELEASE:1.5.2.1
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.2
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.5.2.1
	RELENG_3_3_0_RELEASE:1.5.2.1
	RELENG_3_2_PAO:1.5.2.1.0.2
	RELENG_3_2_PAO_BP:1.5.2.1
	RELENG_3_2_0_RELEASE:1.5.2.1
	RELENG_3_1_0_RELEASE:1.5
	RELENG_3:1.5.0.2
	RELENG_3_BP:1.5
	RELENG_2_2_8_RELEASE:1.2.2.2
	RELENG_3_0_0_RELEASE:1.5
	RELENG_2_2_7_RELEASE:1.2.2.2
	RELENG_2_2_6_RELEASE:1.2.2.2
	RELENG_2_2_5_RELEASE:1.2.2.2
	RELENG_2_2:1.2.0.2;
locks; strict;
comment	@# @;


1.10
date	2005.05.04.12.49.44;	author glebius;	state dead;
branches;
next	1.9;

1.9
date	2000.07.26.23.15.46;	author archie;	state Exp;
branches;
next	1.8;

1.8
date	2000.06.20.11.41.48;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.05.07.45.39;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	99.02.27.02.16.01;	author brian;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	98.05.24.03.03.09;	author amurai;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	98.01.09.21.13.33;	author eivind;	state Exp;
branches;
next	1.3;

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

1.2
date	97.08.11.22.05.00;	author brian;	state Exp;
branches
	1.2.2.1;
next	1.1;

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

1.6.2.1
date	2000.06.27.16.29.31;	author ru;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	2000.08.18.20.00.00;	author jhb;	state Exp;
branches;
next	1.6.2.3;

1.6.2.3
date	2012.11.17.07.23.19;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	99.03.24.17.12.00;	author brian;	state Exp;
branches;
next	;

1.2.2.1
date	97.08.14.01.43.34;	author brian;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	97.09.06.11.18.55;	author brian;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Build userland libalias using src/sys/netinet/libalias.

Reviewed by:	ru
Repocopy by:	peter
@
text
@$FreeBSD: src/lib/libalias/HISTORY,v 1.9 2000/07/26 23:15:46 archie Exp $

Version 1.0: August 11, 1996 (cjm)

Version 1.1:  August 20, 1996  (cjm)
    - Host accepts incoming connections for ports 0 to 1023.

Version 1.2:  September 7, 1996 (cjm)
    - Fragment handling error in alias_db.c corrected.

Version 1.3:  September 15, 1996 (cjm)
    - Generalized mechanism for handling incoming
      connections (no more 0 to 1023 restriction).

    - Increased ICMP support (will handle traceroute now).

    - Improved TCP close connection logic.

Version 1.4: September 16, 1996 (cjm)

Version 1.5: September 17, 1996 (cjm)
    - Corrected error in handling incoming UDP packets
      with zero checksum.

Version 1.6: September 18, 1996
    - Simplified ICMP data storage.  Will now handle
      tracert from Win95 and NT as well as FreeBSD
      traceroute, which uses UDP packets to non-existent
      ports.

Version 1.7: January 9, 1997 (cjm)
    - Reduced malloc() activity for ICMP echo and
      timestamp requests.

    - Added handling for out-of-order IP fragments.

    - Switched to differential checksum computation
      for IP headers (TCP, UDP and ICMP checksums
      were already differential).

    - Accepts FTP data connections from other than
      port 20.  This allows one ftp connections
      from two hosts which are both running packet
      aliasing.

    - Checksum error on FTP transfers.  Problem
      in code located by Martin Renters and
      Brian Somers.

Version 1.8: January 14, 1997 (cjm)
    - Fixed data type error in function StartPoint()
      in alias_db.c (this bug did not exist before v1.7)
      Problem in code located by Ari Suutari.

Version 1.9: February 1, 1997 (Eivind Eklund <perhaps@@yes.no>)
    - Added support for IRC DCC (ee)

    - Changed the aliasing routines to use ANSI style
      throughout (ee)

    - Minor API changes for integration with other
      programs than PPP (ee)

    - Fixed minor security hole in alias_ftp.c for
      other applications of the aliasing software.
      Hole could _not_ manifest in ppp+pktAlias, but
      could potentially manifest in other applications
      of the aliasing. (ee)

    - Connections initiated from packet aliasing
      host machine will not have their port number
      aliased unless it conflicts with an aliasing
      port already being used. (There is an option
      to disable this for debugging) (cjm)

    - Sockets will be allocated in cases where
      there might be port interference with the
      host machine.  This can be disabled in cases
      where the ppp host will be acting purely as a
      masquerading router and not generate any
      traffic of its own.
      (cjm)

Version 2.0: March, 1997 (cjm)
    - Aliasing links are cleared only when a host interface address
      changes.

    - PacketAliasPermanentLink() API added.

    - Option for only aliasing private, unregistered
      IP addresses added.

    - Substantial rework to the aliasing lookup engine.

Version 2.1: May, 1997 (cjm)
    - Continuing rework to the aliasing lookup engine
      to support multiple incoming addresses and static
      NAT.  PacketAliasRedirectPort() and
      PacketAliasRedirectAddr() added to API.

    - Now supports outgoing as well as incoming ICMP
      error messages.

Version 2.2: July, 1997 (cjm)
    - Rationalized API function names to all begin with
      "PacketAlias..."  Old function names are retained
      for backwards compatibility.

    - Packet aliasing engine will now free memory of
      fragments which are never resolved after a timeout
      period.  Once a fragment is resolved, it becomes
      the users responsibility to free the memory.

Version 2.3: August 11, 1997 (cjm)
    - Problem associated with socket file descriptor
      accumulation in alias_db.c corrected.  The sockets
      had to be closed when a binding failed.  Problem 
      in code located by Gordon Burditt.

Version 2.4: September 1, 1997 (cjm)
    - PKT_ALIAS_UNREGISTERED_ONLY option repaired.
      This part of the code was incorrectly re-implemented
      in version 2.1.

Version 2.5: December, 1997 (ee)
    - Added PKT_ALIAS_PUNCH_FW mode for firewall
      bypass of FTP/IRC DCC data connections.  Also added
      improved TCP connection monitoring.

Version 2.6: May, 1998 (amurai)
    - Added supporting routine for NetBios over TCP/IP.

Version 3.0: January 1, 1999
    - Transparent proxying support added.
    - PPTP redirecting support added based on patches
      contributed by Dru Nelson <dnelson@@redwoodsoft.com>.

Version 3.1: May, 2000 (Erik Salander, erik@@whistle.com)
    - Added support to alias 227 replies, allows aliasing for
      FTP servers in passive mode.
    - Added support for PPTP aliasing.

Version 3.2: July, 2000 (Erik Salander, erik@@whistle.com and 
      Junichi Satoh, junichi@@junichi.org)
    - Added support for streaming media (RTSP and PNA) aliasing.
@


1.9
log
@Add address translation support for RTSP/RTP used by RealPlayer and
Quicktime streaming media applications.

Add a BUGS section to the man page.

Submitted by:	Erik Salander <erik@@whistle.com>
@
text
@d1 1
a1 1
$FreeBSD: src/lib/libalias/HISTORY,v 1.8 2000/06/20 11:41:48 ru Exp $
@


1.8
log
@Added true support for PPTP aliasing.  Some nice features include:

- Multiple PPTP clients behind NAT to the same or different servers.

- Single PPTP server behind NAT -- you just need to redirect TCP
  port 1723 to a local machine.  Multiple servers behind NAT is
  possible but would require a simple API change.

- No API changes!

For more information on how this works see comments at the start of
the alias_pptp.c.

PacketAliasPptp() is no longer necessary and will be removed soon.

Submitted by:	Erik Salander <erik@@whistle.com>
Reviewed by:	ru
Rewritten by:	ru
Reviewed by:	Erik Salander <erik@@whistle.com>
@
text
@d1 1
a1 1
$FreeBSD: src/lib/libalias/HISTORY,v 1.7 2000/04/05 07:45:39 ru Exp $
d142 4
@


1.7
log
@Minor spelling fixes.
@
text
@d1 1
a1 1
$FreeBSD$
d137 5
@


1.6
log
@Version 3.0: January 1, 1999
    - Transparent proxying support added.
    - PPTP redirecting support added based on patches
      contributed by Dru Nelson <dnelson@@redwoodsoft.com>.

Submitted by: Charles Mott <cmott@@srv.net>
@
text
@d1 2
d31 1
a31 1
Verstion 1.7: January 9, 1997 (cjm)
d102 1
a102 1
      error messges.
d107 1
a107 1
      for backwards compatitibility.
@


1.6.2.1
log
@MFC:
- Added support for FTP EPRT (RFC 2428) command.
- Added support for passive mode FTP servers behind NAT.
- Added security checks for FTP aliasing.
- Load Sharing using IP Network Address Translation (RFC 2391).
- Real PPTP support.
@
text
@a0 2
$FreeBSD$

d29 1
a29 1
Version 1.7: January 9, 1997 (cjm)
d100 1
a100 1
      error messages.
d105 1
a105 1
      for backwards compatibility.
a134 5

Version 3.1: May, 2000 (Erik Salander, erik@@whistle.com)
    - Added support to alias 227 replies, allows aliasing for
      FTP servers in passive mode.
    - Added support for PPTP aliasing.
@


1.6.2.2
log
@MFC:
- Add address translation support for RTSP/RTP used by RealPlayer and
  Quicktime streaming media applications.
- Add a BUGS section to the man page.
@
text
@d1 1
a1 1
$FreeBSD: src/lib/libalias/HISTORY,v 1.6.2.1 2000/06/27 16:29:31 ru Exp $
a141 4

Version 3.2: July, 2000 (Erik Salander, erik@@whistle.com and 
      Junichi Satoh, junichi@@junichi.org)
    - Added support for streaming media (RTSP and PNA) aliasing.
@


1.6.2.3
log
@Switch importer
@
text
@d1 1
a1 1
$FreeBSD: stable/4/lib/libalias/HISTORY 64832 2000-08-18 20:00:01Z jhb $
@


1.5
log
@Primary verison of NetBIOS over TCP/IP. Now you can connect Windows
DOMAIN as DOMAIN user through NAT function. See also RFC1002 for
futher detail of SMB structure.

Submitted by:	Atsushi Murai <amurai@@spec.co.jp>
@
text
@d130 5
@


1.5.2.1
log
@MFC: Upgrade to libalias version 3
@
text
@a129 5

Version 3.0: January 1, 1999
    - Transparent proxying support added.
    - PPTP redirecting support added based on patches
      contributed by Dru Nelson <dnelson@@redwoodsoft.com>.
@


1.4
log
@Teach libalias to work with IPFW firewalls (controlled by a flag).

Obtained from: Yes development tree (+ 10 lines of patches from
	Charles Mott, original libalias author)
@
text
@d127 3
@


1.3
log
@Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)
Submitted by:	Charles Mott <cmott@@srv.net>

Add __libalias_version so that ppp can derive the
correct library name for dlopen()
@
text
@d123 4
@


1.2
log
@Fix file descriptor leak.

Submitted by:	Charles Mott <cmott@@srv.net>
Identified by:	Gordon Burditt
@
text
@d44 4
d51 1
d116 6
a121 1
      identified by Gordon Burditt.
@


1.2.2.1
log
@YAMFC: o Update to version 2.2.  Only the PacketAlias*()
         functions should now be used.  The old 2.1 stuff is
         there for backwards compatability.
         Submitted by:	Charles Mott <cmott@@snake.srv.net>
       o Fix file descriptor leak (going to version 2.3).
         Submitted by:	Charles Mott <cmott@@srv.net>
         Identified by:	Gordon Burditt
@
text
@@


1.2.2.2
log
@MFC: Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)
     Submitted by:	Charles Mott <cmott@@srv.net>

     Add __libalias_version so that ppp can derive the
     correct library name for dlopen()
@
text
@a43 4
    - Checksum error on FTP transfers.  Problem
      in code located by Martin Renters and
      Brian Somers.

a46 1
      Problem in code located by Ari Suutari.
d111 1
a111 6
      in code located by Gordon Burditt.

Version 2.4: September 1, 1997 (cjm)
    - PKT_ALIAS_UNREGISTERED_ONLY option repaired.
      This part of the code was incorrectly re-implemented
      in version 2.1.
@


1.1
log
@Update to version 2.2.  Only the PacketAlias*()
functions should now be used.  The old 2.1 stuff is
there for backwards compatability.
Submitted by:	Charles Mott <cmott@@snake.srv.net>
@
text
@d106 7
@
