2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

1205 Commits

Author SHA1 Message Date
Ted Lemon
15c00bbad9 Don't assume routed packets are local; fix up dhcp_nak generation 1996-05-23 01:59:38 +00:00
Ted Lemon
4095edc958 Update call to find_lease 1996-05-23 01:58:15 +00:00
Ted Lemon
f3ef9f4e56 Don't assume we know of the network from which a packet came. 1996-05-22 23:56:43 +00:00
Ted Lemon
ee4c389d7f Add vix.com local subnet 1996-05-22 11:30:58 +00:00
Ted Lemon
342a76f6df log_facility -> log_priority 1996-05-22 11:30:17 +00:00
Ted Lemon
3d8ddf1349 Fix typo 1996-05-22 11:29:52 +00:00
Ted Lemon
e29c53f6f0 Initialize free host pointer 1996-05-22 10:14:42 +00:00
Ted Lemon
acf6cfe389 Make sure there's a host hanging off the lease before dereferencing it 1996-05-22 09:51:26 +00:00
Ted Lemon
abe9a34392 move do_packet to dispatch 1996-05-22 09:30:47 +00:00
Ted Lemon
3a5811084f Move packet location code out of dispatch 1996-05-22 09:29:56 +00:00
Ted Lemon
3b5a148626 Add global options; use putenv to set TZ environment variable; shared network support 1996-05-22 07:36:07 +00:00
Ted Lemon
6b651c9649 Test samples for dynamic bootp, shared networks, et cetera 1996-05-22 07:23:45 +00:00
Ted Lemon
7a049f2ccd shared net support; static dhcp address assignment; dynamic bootp support 1996-05-22 07:21:50 +00:00
Ted Lemon
bd11271c37 dynamic bootp support 1996-05-22 07:18:37 +00:00
Ted Lemon
1f814ff24f shared network support; dynamic bootp support; BOOTP sname support; add warning on lease file syntax error; can't warn on duplicate option code anymore 1996-05-22 07:18:11 +00:00
Ted Lemon
cfb326fdcf dynamic bootp; fallback network; siaddr taken from server_identifier global 1996-05-22 07:14:13 +00:00
Ted Lemon
efc12bbc8f Fix copyright 1996-05-20 00:11:03 +00:00
Ted Lemon
20581a0b07 Fix copyright; SA_LEN instead of SIN_LEN; formatting consistency 1996-05-20 00:04:24 +00:00
Ted Lemon
c4f1fbb096 Fix copyrights; fix typos; take out TM_GMT garbage 1996-05-19 23:57:22 +00:00
Ted Lemon
ea46559112 Change SIN_LEN to SA_LEN; fix copyrights 1996-05-19 23:54:24 +00:00
Ted Lemon
9375101b4a Preinitialize static lease structure to avoid accidentally shadowing values across lease statements; allow text strings as Unique Identifiers; zero-length Unique Identifiers generate warning, but do not cause code to fail 1996-05-17 23:12:09 +00:00
Ted Lemon
409503846d Add support for broken old 4.2BSD syslog 1996-05-17 00:28:58 +00:00
Ted Lemon
cbecf9cd78 Add subnet info for vix.com 1996-05-16 23:06:34 +00:00
Ted Lemon
f9a32ee9b4 Dump DHCP request type at LOG_INFO level instead of LOG_DEBUG 1996-05-16 07:52:49 +00:00
Ted Lemon
5fb85ad43c Change network range 1996-05-16 07:17:40 +00:00
Ted Lemon
fb93bab09d Unlink dhcpd.pid file before writing so that we don't leave garbage at the end 1996-05-16 07:17:23 +00:00
Ted Lemon
d3e5a8928c fix up char declarations; don't dump packets unless DEBUG_PACKET defined 1996-05-16 07:15:28 +00:00
Ted Lemon
31f26cd349 jmp_buf could be struct or array - macrofy references so that can be configurable; fix pointer incompatibilities 1996-05-16 07:12:57 +00:00
Ted Lemon
aa31f5c6d6 Don't malloc packet structure - it's not persistent; lose pick_interfaces interface - this is determined by the receive_packet code now; move interface discovery into main startup code 1996-05-12 23:58:13 +00:00
Ted Lemon
fde927d2f5 Add support for hardware unicast; use send_packet instead of sendto; get interface address from packet rather than searching the list. 1996-05-12 23:55:27 +00:00
Ted Lemon
f98c04d746 Remove code for handling multiple interfaces (it's been abstracted into other modules); remove code that knows about server's IP address, since it might have more than one 1996-04-11 06:45:53 +00:00
Ted Lemon
f76ebbfdcf Update documentation 1996-03-16 17:56:07 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
be1b6e8227 Add HAVE_SIN_LEN; encase debugging statements in ifdef DEBUG; fix destination port botch 1996-03-06 10:40:08 +00:00
Ted Lemon
8e3de495cb Don't try to parse the lease file if it's not there 1996-03-06 10:38:53 +00:00
Ted Lemon
9c238be64c Add support for BOOTP Vendor Extensions and BOOTP Relay agents 1996-03-06 10:38:04 +00:00
Ted Lemon
a68492e6b3 Delete old debugging message 1996-03-06 10:11:20 +00:00
Ted Lemon
08fe7cdbf7 New man pages 1996-03-06 10:09:35 +00:00
Ted Lemon
05f8b3f6b3 Formatted man pages 1996-03-06 10:08:47 +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
3c248d6d6d Clean up debug 1996-02-29 18:18:40 +00:00
Ted Lemon
b88e8e1527 Rearrange debugging dumps; disable them; add support for dhcp message; DHCPDECLINE now abandons the address that was declined, rather than releasing it for future use; DHCPINFORM function added but not implemented; NAK lease renewals on wrong network even if server id isn't ours; use DHCPACK, not DHCPOFFER, when acking a least; zap ciaddr on NAK; copy chaddr on NAK; make relay agent broadcast NAK; send relay response to server port; vendor class support 1996-02-29 18:16:31 +00:00
Ted Lemon
24a75c03db Parse user and vendor class declarations; fix rounding error in convert_num; fix convert_num precision in lease timeout decls; unswap converted numbers in lease timeout decls 1996-02-29 18:08:45 +00:00
Ted Lemon
8703d839b8 Always initialize offered_expiry; return after NAKing 1996-02-26 09:29:28 +00:00
Ted Lemon
37d100d176 Figure out dhcp packet type and store it in packet structure 1996-02-26 01:56:39 +00:00
Ted Lemon
ed8bcd8f1b Full protocol 1996-02-26 01:56:15 +00:00
Ted Lemon
e7b01ab48c Remove dump_packet function (moved to print.c) 1996-02-25 21:29:05 +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