Matthew Dillon
374fad8b17
Reviewed by: freebsd-current
...
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.
1998-12-14 02:25:32 +00:00
John Polstra
b2052ac8cf
Fix a couple of typos.
1998-11-19 18:07:28 +00:00
Brian Somers
7100135f12
Remove OpenBSD build support - let the Makefile vary per
...
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
Add Id keyword.
1998-08-31 12:14:30 +00:00
Brian Somers
e8ede338eb
Add OpenBSD build support
1998-08-30 23:53:25 +00:00
Brian Somers
0579bd7175
Add CUSEEME support. This has *not* been tested, nor
...
could I find anyone to test it, so please report any
problems to me.
1998-06-24 06:58:00 +00:00
Brian Somers
dfcb634be3
Quieten gcc 2.8.1
1998-06-10 00:26:19 +00:00
Brian Somers
b5ce85fe32
Don't call PunchFWHole() ifdef NO_FW_PUNCH
...
Pointed out by: "Steve Sims" <SimsS@IBM.Net>
1998-06-06 21:52:37 +00:00
Joseph Koshy
9c727d2ca9
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Atsushi Murai
fb9cd36d0d
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>
1998-05-24 03:03:10 +00:00
Brian Somers
9feab75ab7
o Support a compile-time -DNO_FW_PUNCH for portability
...
(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>
1998-04-19 21:42:07 +00:00
Bruce Evans
bf9a92b782
FixedSpellingErrorInAFunctionname.
1998-03-23 12:28:31 +00:00
Brian Somers
0ffaca1078
1) in CleanupAliasData, don't nullify entry in linkTableOut
...
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
1998-02-27 23:07:07 +00:00
Bruce Evans
442a25bd7b
Fixed a missing #include in the synopsis.
...
Fixed some wrong prototypes.
Fixed a misspelled function name.
The owner of this file should add a copyright and an Id.
1998-01-16 13:02:58 +00:00
Bruce Evans
bb6d5d9147
Added prototypes for functions that were documented in libalias.3
...
but not prototyped here.
1998-01-16 12:56:07 +00:00
Brian Somers
b563bd02f0
Remove __libalias_version. Ppp no longer uses it.
1998-01-14 01:24:49 +00:00
Eivind Eklund
58ba5f4a30
Remove use of <osreldate.h>.
...
Screwed up by: myself
1998-01-11 18:34:38 +00:00
Steve Price
1f48070a27
Put back __libalias_version so ppp(8) build again.
1998-01-10 19:37:19 +00:00
Alexander Langer
1e73fe2ae8
Sync with ipfw interface change: fw_pts is now part of a union (a
...
necessary evil due to the 108 byte setsockopt() limit).
1998-01-10 16:14:18 +00:00
Jordan K. Hubbard
20f16cfce3
include <net/if.h> and restore this to sanity.
1998-01-10 15:04:06 +00:00
Eivind Eklund
8ddc51bc8b
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)
1998-01-09 21:13:35 +00:00
Brian Somers
59354a4e8d
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()
1997-09-06 11:11:43 +00:00
Brian Somers
4fe071a9f7
Fix file descriptor leak.
...
Submitted by: Charles Mott <cmott@srv.net>
Identified by: Gordon Burditt
1997-08-11 22:05:10 +00:00
Brian Somers
3efa11bb71
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>
1997-08-03 18:20:03 +00:00
Brian Somers
3b160b8b6e
Create the alias library. This is currently only used by
...
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>
1997-05-23 04:41:31 +00:00