2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

303 Commits

Author SHA1 Message Date
Ted Lemon
fcc09faa7c Add an else clause to avoid redundant test 1996-05-16 23:07:36 +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
a8de6c982d Debug and install NIT packet filter 1996-05-16 08:18:05 +00:00
Ted Lemon
64ed2d7cf9 Don't log the fact that a packet has arrived 1996-05-16 07:53:29 +00:00
Ted Lemon
7e7af53b9b Another fussy interface announcement change 1996-05-16 07:45:14 +00:00
Ted Lemon
e41d835013 Undo interface attach announcement changes 1996-05-16 07:43:43 +00:00
Ted Lemon
66d9a26622 Fix copyright dates 1996-05-16 07:43:11 +00:00
Ted Lemon
cafcf586c8 Kludge hardware interface type 1996-05-16 07:37:18 +00:00
Ted Lemon
fd1dff9463 Don't need to include if_dl anymore 1996-05-16 07:34:24 +00:00
Ted Lemon
0d37819ae0 Fix up pointer type incompatibility 1996-05-16 07:29:09 +00:00
Ted Lemon
70dfd63614 Traditionalize; change interface attach message 1996-05-16 07:28:40 +00:00
Ted Lemon
8bca1bc490 SunOS Network Interface Tap support 1996-05-16 07:27:58 +00:00
Ted Lemon
9ebbad6ee0 More informative interface attach message 1996-05-16 07:27:23 +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
0ef9f561ae Fix up pointer type mismatch 1996-05-16 07:22:00 +00:00
Ted Lemon
01ce583c6d Fix up array reference 1996-05-16 07:21:29 +00:00
Ted Lemon
cd05ee6b82 Add strerror() function if needed; account for lack of snprintf support 1996-05-16 07:20:51 +00:00
Ted Lemon
9c5225a562 Add support for SysV poll syscall; traditionalize ANSI-only construct 1996-05-16 07:20:15 +00:00
Ted Lemon
d64c88166a Move ifdefs so compiles on incompatible systems don't break; print more informative interface attach messages; snprintf lossage 1996-05-16 07:10:39 +00:00
Ted Lemon
e23c9055cc Rewrite socket code to support new network abstraction 1996-05-13 00:08:05 +00:00
Ted Lemon
62f52c1f15 Raw socket interface 1996-05-13 00:07:15 +00:00
Ted Lemon
096858eb14 Use note() to do raw dumps, not fprintf 1996-05-13 00:06:44 +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
a033033207 Don't dereference null hash pointer (this may not be the right place to fix this 1996-05-13 00:03:27 +00:00
Ted Lemon
c27fba8ccc rearrange things to support new network abstraction, e.g. passing around hardware addresses and interface_info structs; if possible, discover hardware addresses of interfaces 1996-05-13 00:02:03 +00:00
Ted Lemon
045820eec6 Complete rewrite of Archie Cobbs' bpf code 1996-05-12 23:53:55 +00:00
Ted Lemon
c857a7b6cb Socket.c now contains code for the standard UDP socket interface; bpf code has been moved to bpf.c; low-level packet assembly code to packet.c; dispatch and interface discovery code to dispatch.c 1996-04-11 06:49:21 +00:00
Ted Lemon
decf33c222 Initial interface discovery and input dispatch routines 1996-04-11 06:44:12 +00:00
Ted Lemon
8cb330986e Berkeley Packet Filter support 1996-04-11 06:42:50 +00:00
Ted Lemon
3f36808821 Packet assembly subroutines 1996-04-11 06:42:28 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
73fd7342cd LOG_ERR, not LOG_ERROR 1996-03-06 10:41:13 +00:00
Ted Lemon
d843c75d7e Disable some debugging statements 1996-03-02 05:21:33 +00:00
Ted Lemon
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +00:00
Ted Lemon
1a74d33bdc replace cons_option implementation with something simpler. 1996-03-01 00:44:38 +00:00
Ted Lemon
1672a2bd0b Take mandatory options out of default priority list; add user class identifier 1996-02-29 18:36:43 +00:00
Ted Lemon
ee56203f88 Slightly less gnarly MTU 1996-02-29 18:35:53 +00:00
Ted Lemon
0366d39ed5 Fix debugging statements; add raw data dumper 1996-02-29 18:32:57 +00:00
Ted Lemon
a3e52198fc Fix buffer length calculations; always put mandatory options at the beginning of the priority list; use stored_length to figure out whether an option has been stored; calculate buffer length in a more reasonable place; partially complete rewrite of cons_options 1996-02-29 18:32:06 +00:00
Ted Lemon
a30cba8c91 Add user and vendor database support; add abandon_lease function which ensures a lease is not reused; fix up debugging 1996-02-29 18:28:43 +00:00
Ted Lemon
b0e3a2205a Add user and vendor class keywords 1996-02-29 18:06:29 +00:00
Ted Lemon
26a7e22a94 Add class allocation code 1996-02-29 18:05:41 +00:00
Ted Lemon
445b21f78c Change test for whether an option has been stored; always terminate the buffer with END and then PAD. 1996-02-26 09:32:08 +00:00
Ted Lemon
1b83016762 Copy the offered expiry time when updating a lease 1996-02-26 09:30:23 +00:00
Ted Lemon
98dd66895c Zap debugging statements 1996-02-26 01:57:51 +00:00
Ted Lemon
d3c15dec47 Fix bug in dump_packet 1996-02-26 01:57:23 +00:00
Ted Lemon
faa1c99dc6 Add dump_packet function 1996-02-25 21:28:38 +00:00
Ted Lemon
685963dcf4 Incremental changes to support DHCP protocol 1996-02-21 15:16:18 +00:00
Ted Lemon
97ca16995f Intermediate changes to support actual DHCP protocol engine 1996-02-21 12:11:09 +00:00
Ted Lemon
6c6d59281e *** empty log message *** 1996-02-11 00:01:46 +00:00