2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-25 11:27:31 +00:00

279 Commits

Author SHA1 Message Date
Ted Lemon
f8cd781ecc Find_lease should not reallocate leases to clients if the UID differs 1996-06-27 19:04:29 +00:00
Ted Lemon
8ec97099c1 Ensure that dhcp packets are at least BOOTP_MIN_LEN bytes long when sending through gateways 1996-06-24 20:32:12 +00:00
Ted Lemon
e2cb6d536a Use standard IP stack to send responses to clients with known IP addresses 1996-06-12 23:49:58 +00:00
Ted Lemon
1a4b272feb Don't unicast to client if broadcast is requested 1996-06-12 04:01:16 +00:00
Ted Lemon
eebea44806 Delete unused automatic variables 1996-06-04 19:04:16 +00:00
Ted Lemon
a69f4fd396 Make packet messages say where the packet came from and where it's going. 1996-06-01 00:18:15 +00:00
Ted Lemon
d01578b720 Handle DHCPREQUEST properly when no SERVER_IDENTIFIER has been supplied; put hardware address in mocked-up lease 1996-05-28 18:16:04 +00:00
Ted Lemon
45023390b4 Fix an uninitialized pointer bug 1996-05-25 18:37:34 +00:00
Ted Lemon
faf4a8deba a shared network might have no dynamically allocatable leases, so check for null pointer 1996-05-24 18:49:34 +00:00
Ted Lemon
b6b1cadf14 Make sure uid_lease is initialized somewhere; use ciaddr to find lease if Requested Address option not present 1996-05-23 22:22:35 +00:00
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
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
3a5811084f Move packet location code out of dispatch 1996-05-22 09:29:56 +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
20581a0b07 Fix copyright; SA_LEN instead of SIN_LEN; formatting consistency 1996-05-20 00:04:24 +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
d3e5a8928c fix up char declarations; don't dump packets unless DEBUG_PACKET defined 1996-05-16 07:15:28 +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
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
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +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
8703d839b8 Always initialize offered_expiry; return after NAKing 1996-02-26 09:29:28 +00:00
Ted Lemon
ed8bcd8f1b Full protocol 1996-02-26 01:56:15 +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
Ted Lemon
d7837182d3 DHCP Server Daemon 1995-11-29 07:40:04 +00:00