David Hankins
25b988c68f
- The IO system now tracks all local IP addresses, so that the DHCP
...
applications (particularly the dhcrelay) can discern between what frames
were tranmsitted to it, and what frames are being carried through it which
it should not intercept. [ISC-Bugs #15573 ]
2006-02-27 23:56:13 +00:00
David Hankins
98311e4ba9
MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
...
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
d758ad8cac
Merge changes between 3.0rc7 and 3.0rc8pl2.
2001-06-27 00:31:20 +00:00
Ted Lemon
c466184540
Fix up NetBSD/alpha build.
2001-02-26 22:21:15 +00:00
Ted Lemon
e28dccc159
Fix the math in the udp packet length calculator.
2000-10-15 18:54:29 +00:00
Ted Lemon
da9a43af69
Fix a stupid byte-swap error.
2000-10-14 07:56:59 +00:00
Ted Lemon
b0fff90afc
Don't trust udp -> uh_len.
2000-10-13 18:54:56 +00:00
Ted Lemon
b29db8aac1
Oops, left something out
2000-09-20 10:08:51 +00:00
Ted Lemon
1bd620d8de
Extra sanity check on uh_ulen.
2000-09-20 09:03:34 +00:00
Ted Lemon
eb968146c2
Fix some typos. Don't call the token ring decoder for FDDI.
2000-04-14 16:22:04 +00:00
Ted Lemon
7e2f56365f
Add support for DEC-specific FDDI interfaces.
2000-03-24 00:22:41 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
cfdfb9f126
AIX and Digital Unix compatibility fixes.
2000-02-01 03:19:56 +00:00
Ted Lemon
5dba009a08
Eradicate two more htype occurrances.
2000-01-29 05:47:50 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
7cd65de98e
Fix two pastos.
1999-06-10 00:11:20 +00:00
Ted Lemon
7d29d66d88
Support token ring packets.
1999-05-27 17:43:28 +00:00
Ted Lemon
609115bc98
Get rid of incorrect data after payload messages.
1999-04-23 22:15:43 +00:00
Ted Lemon
dda42ca14e
Fix up UDP length calculations. Fix checksum algorithm.
1999-04-23 15:38:57 +00:00
Ted Lemon
bd5ef11d6c
Fix up error message printing. Base UDP checksum on UDP header length.
1999-04-12 21:37:03 +00:00
Ted Lemon
2d1b06e071
Pull up changes in Patchlevel 19
1999-03-26 19:19:46 +00:00
Ted Lemon
ef1f37ed63
Only report bad packet checksums if we see a preponderance of them.
1999-03-25 21:58:13 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
15c1fd2cd8
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.
1998-03-16 06:16:54 +00:00
Ted Lemon
0cbc9e2382
size_t -> ssize_t in return values where < 0 == error
1997-06-08 04:08:01 +00:00
Ted Lemon
ac16c3da76
Work around Ultrix gotcha
1997-05-09 08:07:33 +00:00
Ted Lemon
714ef4f5d2
Compile checksum code whether or not we're doing a low-level packet driver
1997-03-29 03:18:28 +00:00
Ted Lemon
fa805637f0
Export checksum and wrapsum
1997-03-06 18:27:55 +00:00
Ted Lemon
35a50d44e9
Back out back checksum changes
1997-03-05 20:06:03 +00:00
Ted Lemon
f09bfe772e
New IP header checksum code supplied by Anatoli Logvinski
1997-03-05 06:15:00 +00:00
Ted Lemon
a60076f94d
Use local_port and remote_port instead of server_port and server_port + 1
1997-02-18 14:32:51 +00:00
Ted Lemon
cadbf99218
Put file version in copyright string
1996-08-27 09:55:50 +00:00
Ted Lemon
52d75293ab
Don't use the hardware address to unicast if the address length is bogus
1996-06-27 19:10:41 +00:00
Ted Lemon
d99452d1a0
Work around FreeBSD BPF bug
1996-06-11 08:30:41 +00:00
Ted Lemon
b081aeafc9
Add checksum debugging; disable UDP checksums
1996-05-22 11:23:46 +00:00
Ted Lemon
b400da0a56
add from addr to assemble_udp_ip_header; don't filter on incoming IP address (doesn't work well if interface has aliases)
1996-05-22 07:28:23 +00:00
Ted Lemon
886f6a983f
Use distributed Berkeley headers; therefore lose ethernet header portability macros; use PACKET_ASSEMBLY and PACKET_DECODING defines to limit compilation
1996-05-20 00:25:35 +00:00
Ted Lemon
9029cbeea8
Fix up ethernet address struct-vs-array bug
1996-05-16 23:13:07 +00:00
Ted Lemon
47bab74fcd
Take out debug code in filter allowing in client packets
1996-05-16 08:19:02 +00:00
Ted Lemon
7bb11ad5af
Traditionalize ANSI-only constructs; lose if UDP checksum is bad; remove non-portable if_dl.h include; add userland packet filter (yuk); ARPHRD_ETHER - not ETHERTYPE_IP!
1996-05-16 07:26:52 +00:00
Ted Lemon
d29ce0337d
Complete rewrite of Archie Cobbs' low-level packet assembly code; add packet disassembly code
1996-05-13 00:06:06 +00:00
Ted Lemon
3f36808821
Packet assembly subroutines
1996-04-11 06:42:28 +00:00