summaryrefslogtreecommitdiff
path: root/lib/libalias/alias.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.9.0_cvscvs2svn2003-10-271-1/+1
| | | | | | | 'RELENG_4_9_0_RELEASE'. This commit was manufactured to restore the state of the 4.9-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: If the natd(8) -proxy_only option is used, the -alias_address/-interfaceRuslan Ermilov2003-06-271-0/+4
| | | | | | | options are not required. Notes: svn path=/stable/4/; revision=116914
* MFC: Whitespace and other non-functional changes for diff reduction.Ruslan Ermilov2003-06-271-25/+26
| | | | Notes: svn path=/stable/4/; revision=116909
* MFC: Don't forget to recalculate the IP checksum of the originalRuslan Ermilov2002-07-251-4/+12
| | | | | | | IP datagram embedded into ICMP error message. Notes: svn path=/stable/4/; revision=100665
* MFC: 1.34: make "type encode_ip_hdr" transparent TCP proxying really work.Ruslan Ermilov2001-12-181-1/+3
| | | | Notes: svn path=/stable/4/; revision=88133
* MFC: cmott@scientech.com -> cm@linktel.netBrian Somers2001-11-031-1/+1
| | | | Notes: svn path=/stable/4/; revision=85966
* MFC: 1.31: TFTP support.Ruslan Ermilov2001-10-021-0/+9
| | | | Notes: svn path=/stable/4/; revision=84365
* MFC: Adjust copyrightBrian Somers2001-08-211-3/+0
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=82027
* MFC: rev 1.28 (make headers conform to style(9))David E. O'Brien2001-08-011-13/+15
| | | | Notes: svn path=/stable/4/; revision=80888
* Add a BSD style copyrightBrian Somers2001-06-041-2/+29
| | | | | | | Approved by: Charles Mott <cmott@scientech.com> Notes: svn path=/stable/4/; revision=77700
* MFC: the latest PPTP and misc fixes.Ruslan Ermilov2000-10-311-89/+51
| | | | Notes: svn path=/stable/4/; revision=68055
* MFC: latest fixes from -current.Ruslan Ermilov2000-09-141-60/+34
| | | | Notes: svn path=/stable/4/; revision=65844
* MFC:John Baldwin2000-08-181-1/+134
| | | | | | | | | - Add address translation support for RTSP/RTP used by RealPlayer and Quicktime streaming media applications. - Add a BUGS section to the man page. Notes: svn path=/stable/4/; revision=64832
* MFC:Ruslan Ermilov2000-06-271-72/+204
| | | | | | | | | | | - 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. Notes: svn path=/stable/4/; revision=62162
* - Optimization to the previous (rev 1.15) commit.Ruslan Ermilov1999-09-101-9/+11
| | | | | | | | | Requested by: eivind Discussed with: eivind Reviewed by: brian, eivind Notes: svn path=/head/; revision=51125
* Handle TCP reset sequence properly.Ruslan Ermilov1999-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | In the words of originator: :If an incoming connection is initiated through natd and deny_incoming is :not set, then a new alias_link structure is created to handle the link. :If there is nothing listening for the incoming connection, then the kernel :responds with a RST for the connection. However, this is not processed :correctly in libalias/alias.c:TcpMonitor{In,Out} and :libalias/alias_db.c:SetState{In,Out} as it thinks a connection :has been established and therefore applies a timeout of 86400 seconds :to the link. : :If many of these half-connections are initiated (during, for example, a :port scan of the host), then many thousands of unnecessary links are :created and the resident size of natd balloons to 20MB or more. PR: 13639 Reviewed by: brian Notes: svn path=/head/; revision=51107
* Add $FreeBSD$ and spell Eklund properly.Bill Fumerola1999-08-291-0/+1
| | | | | | | Approved by: brian (well, he approved adding $Id$) Notes: svn path=/head/; revision=50597
* Aallow ppp to work with Nortel Networks Extranet SwitchBrian Somers1999-08-221-0/+6
| | | | | | | | | product and Windows NT tunneling. Submitted by: Chain Lee <chain@nortelnetworks.com> Notes: svn path=/head/; revision=50194
* Don't get caught in an infinite recursion when PKT_ALIAS_REVERSEBrian Somers1999-06-221-4/+12
| | | | | | | | | | | is set. Document PKT_ALIAS_REVERSE. Pointed out by: Jonathan Hanna <jh@cr1003333-a.crdva1.bc.home.com> PR: 12304 Notes: svn path=/head/; revision=48102
* Remove duplicate line.Bill Fumerola1999-03-231-1/+0
| | | | | | | Reviewed by: eivind Notes: svn path=/head/; revision=44979
* Version 3.0: January 1, 1999Brian Somers1999-02-271-44/+198
| | | | | | | | | | | - 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> Notes: svn path=/head/; revision=44307
* Reviewed by: freebsd-currentMatthew Dillon1998-12-141-3/+14
| | | | | | | | | | | | Add bounds checking to netbios NS packet resolving code. This should prevent natd from crashing on badly formed netbios packets (as might be heard when the machine is sitting on a cable modem or certain DSL networks), and also closes potential security holes that might have exploited the lack of bounds checking in the previous version of the code. Notes: svn path=/head/; revision=41759
* Add CUSEEME support. This has *not* been tested, norBrian Somers1998-06-241-0/+7
| | | | | | | | could I find anyone to test it, so please report any problems to me. Notes: svn path=/head/; revision=37131
* Quieten gcc 2.8.1Brian Somers1998-06-101-2/+2
| | | | Notes: svn path=/head/; revision=36834
* Primary verison of NetBIOS over TCP/IP. Now you can connect WindowsAtsushi Murai1998-05-241-3/+36
| | | | | | | | | | DOMAIN as DOMAIN user through NAT function. See also RFC1002 for futher detail of SMB structure. Submitted by: Atsushi Murai <amurai@spec.co.jp> Notes: svn path=/head/; revision=36321
* o Support a compile-time -DNO_FW_PUNCH for portabilityBrian Somers1998-04-191-2/+2
| | | | | | | | | (and those of us that don't want the functionality). o Don't assume sizeof(long) == 4. Ok'd by: Charles Mott <cmott@srv.net> Notes: svn path=/head/; revision=35314
* Teach libalias to work with IPFW firewalls (controlled by a flag).Eivind Eklund1998-01-091-10/+28
| | | | | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author) Notes: svn path=/head/; revision=32377
* Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)Brian Somers1997-09-061-1/+1
| | | | | | | | | | Submitted by: Charles Mott <cmott@srv.net> Add __libalias_version so that ppp can derive the correct library name for dlopen() Notes: svn path=/head/; revision=29162
* Update to version 2.2. Only the PacketAlias*()Brian Somers1997-08-031-67/+21
| | | | | | | | | functions should now be used. The old 2.1 stuff is there for backwards compatability. Submitted by: Charles Mott <cmott@snake.srv.net> Notes: svn path=/head/; revision=27864
* Create the alias library. This is currently only used byBrian Somers1997-05-231-0/+1142
ppp (or will be shortly). Natd can now be updated to use this library rather than carrying its own version of the code. Submitted by: Charles Mott <cmott@srv.net> Notes: svn path=/cvs2svn/branches/CMOTT/; revision=26026