summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias/alias_db.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a '&&' that should have been a '&'.archie1999-12-101-1/+1
| | | | Submitted by: Erik Salander <erik@whistle.com>
* Properly handle the case when either the aliasing or source address ofru1999-09-271-26/+66
| | | | | | | | | | | | | the link are equal to the default aliasing address. Do not zero them! This will fix the problem with non-working links added with the source and/or aliasing address equal to the default aliasing address, but the default aliasing address is set later, after the link has been set up, like both natd(8) and ppp(8) do (for objective reasons). Reviewed by: Brian Somers <brian@FreeBSD.org>, Eivind Eklund <eivind@FreeBSD.org>, Charles Mott <cmott@srv.net>
* ReLink() partial links in FindLinkOut() in the same manner as we do itru1999-09-221-7/+15
| | | | | | in FindLinkIn(). This will make TcpMonitorIn()/TcpMonitorOut() happy. Reviewed by: eivind
* Restore previous version of FindLinkIn().ru1999-09-211-9/+8
| | | | | Instead, natd(8) should be fixed to call PacketAliasSetAddress() as part of initialization, as required by libalias(3).
* - Make partially specified permanent links (without `dst_addr' and/orru1999-09-211-11/+25
| | | | | | | | | | | `dst_port') work for outgoing packets. - Make permanent links whose `alias_addr' matches the primary aliasing address `aliasAddress' work for incoming packets. - Typo fixes. Reviewed by: brian, eivind
* sys/errno.h -> errno.hbrian1999-09-211-1/+1
|
* Add $FreeBSD$ and spell Eklund properly.billf1999-08-291-0/+2
| | | | Approved by: brian (well, he approved adding $Id$)
* Make incoming packets work as keepalives, too. This should fix problemseivind1999-05-201-0/+1
| | | | | | for some games. Notified of problem by: tim@turbinegames.com
* Remove all diagnostics to stdout/stderr with #ifdef DEBUGbrian1999-03-091-0/+28
| | | | Statify functions in alias_nbt.c
* Document PacketAliasPptp() and allow it to be disabledbrian1999-03-071-2/+1
| | | | by passing INADDR_NONE.
* Version 3.0: January 1, 1999brian1999-02-271-23/+85
| | | | | | | | - 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>
* If we can't open alias.log, don't try to write to thebrian1999-01-101-2/+4
| | | | | resulting NULL FILE *. PR: 9403
* o Support a compile-time -DNO_FW_PUNCH for portabilitybrian1998-04-191-0/+15
| | | | | | (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>
* 1) in CleanupAliasData, don't nullify entry in linkTableOutbrian1998-02-271-4/+2
| | | | | | | | | | | | | | since there might be permanent entries still left after calls to DeleteLink (it will be nullified by DeleteLink if all entries are deleted, won't it ?) 2) in PacketAliasSetAddress, set the aliasing address even when PKT_ALIAS_RESET_ON_ADDR_CHANGE is in effect. Just don't clean up links in this case. Submitted by: Ari Suutari <ari@suutari.iki.fi> via: Charles Mott <cmott@srv.net> PR: 5041
* Remove use of <osreldate.h>.eivind1998-01-111-6/+0
| | | | Screwed up by: myself
* Sync with ipfw interface change: fw_pts is now part of a union (aalex1998-01-101-5/+5
| | | | necessary evil due to the 108 byte setsockopt() limit).
* include <net/if.h> and restore this to sanity.jkh1998-01-101-0/+1
|
* Teach libalias to work with IPFW firewalls (controlled by a flag).eivind1998-01-091-66/+357
| | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author)
* Fix file descriptor leak.brian1997-08-111-0/+1
| | | | | Submitted by: Charles Mott <cmott@srv.net> Identified by: Gordon Burditt
* Update to version 2.2. Only the PacketAlias*()brian1997-08-031-87/+54
| | | | | | functions should now be used. The old 2.1 stuff is there for backwards compatability. Submitted by: Charles Mott <cmott@snake.srv.net>
* Create the alias library. This is currently only used bybrian1997-05-231-0/+1972
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>
OpenPOWER on IntegriCloud