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

56 Commits

Author SHA1 Message Date
Ted Lemon
fe849040b5 Handle 'allow bootp' and 'allow booting' correctly. Unicast if possible. 1999-10-20 16:47:04 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
2cc0151c5a - Rototill function prototypes. 1999-07-31 18:07:16 +00:00
Ted Lemon
069e9f4c15 Brian Murrel's latest dns update implementation - more programmability. 1999-07-19 01:15:22 +00:00
Ted Lemon
26413cf111 Add support for 'on commit'. 1999-07-18 19:38:33 +00:00
Ted Lemon
71df44f55a Use limited_broadcast global instead of INADDR_BROADCAST. 1999-07-06 17:09:03 +00:00
Ted Lemon
da38df1433 Pervasive changes to support leased_address, reverse and binary_to_ascii. 1999-07-02 20:58:48 +00:00
Ted Lemon
e3b5f7f8a0 Fix a parenthetification error. 1999-07-01 20:02:58 +00:00
Ted Lemon
9129caed21 - Support always-broadcast flag.
- Fix a long-standing bug where the server would not broadcast responses
  to BOOTP clients even if asked to do so.
1999-06-22 13:25:23 +00:00
Ted Lemon
fa661adb98 Do classing for BOOTP clients as well as DHCP clients. 1999-06-10 00:36:27 +00:00
Ted Lemon
02124b3c53 - Fix up cases where server option lookups were being done in the DHCP option
space.
1999-05-27 14:58:07 +00:00
Ted Lemon
17f1bc9a63 Fix siaddr computation. 1999-04-12 22:15:38 +00:00
Ted Lemon
9804a56a8d - Add support for always-reply-rfc1048.
- Get subnet mask option from subnet decl if not provided.
1999-04-08 19:36:23 +00:00
Ted Lemon
7e6f3635e8 Support new generalized option_state usage. 1999-04-05 16:34:33 +00:00
Ted Lemon
e40810bf9d Initialize option cache pointer prior to use. 1999-03-30 18:12:34 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
0527c2e320 Additional argument to cons_option. 1999-03-10 20:42:27 +00:00
Ted Lemon
74f45f9642 Sync with 2.0b1pl16. Fix some pool allocation problems. 1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
339b0231e4 Fix up mistakes in recent 2.0 pullups. 1999-02-14 19:40:22 +00:00
Ted Lemon
92e3e6911b Pull up recent changes in 2.0.
Get lease's shared network through subnet pointer.
Fix paste-o with SV_ALLOW_BOOTP vs. SV_ALLOW_BOOTING.
1999-02-14 19:06:57 +00:00
Ted Lemon
cc70b445b1 Update message printing. Adjust scoped execution calls. 1998-11-11 07:57:21 +00:00
Ted Lemon
87401b0e5d Add pool support. 1998-11-09 02:47:29 +00:00
Ted Lemon
6baee43250 Add relay agent information option arg to cons_options call. 1998-11-06 00:15:51 +00:00
Ted Lemon
5d25508cf5 Use evaluation-based option handling 1998-11-05 18:54:55 +00:00
Ted Lemon
ef0afca963 Convert to using executable statements instead of old-style options. 1998-06-25 03:41:03 +00:00
Ted Lemon
f3c3d67454 Allow unnamed host declarations. 1998-03-17 06:20:51 +00:00
Ted Lemon
d8ae14c614 Copy the entire chaddr field, even if the length is shorter than the total. This works around a bug in certain Microsoft clients. If the options aren't valid, just copy the option buffer from the incoming packet into the outgoing packet. This lets NeXT boxes boot. Adjust calling conventions for cons_options. 1998-02-06 01:05:39 +00:00
Ted Lemon
94da6d3226 Pass flag to cons_options indicating that this is a BOOTP packet 1997-09-16 18:17:55 +00:00
Ted Lemon
32f1dd7a8b Adjust call to find_lease 1997-06-08 04:10:54 +00:00
Ted Lemon
c0257f226c Check for BOOTREQUEST moved here 1997-05-09 08:20:12 +00:00
Ted Lemon
2f8e6010d7 Remove declaration for relay() - no longer needed 1997-03-06 07:27:56 +00:00
Ted Lemon
e07ac89ae9 Add some knobs to control booting; get server identifier from interface; add dummy relay function 1997-02-22 08:36:36 +00:00
Ted Lemon
bfa885c999 Use local_port and remote_port instead of server_port 1997-02-19 10:50:40 +00:00
Ted Lemon
a4cb16cab9 Change calling conventions for cons_options so that DHCP client doesn't have to dummy up a packet 1997-02-18 14:28:54 +00:00
Ted Lemon
352bc292ab Fix case where dynamic BOOTP for a known client with no applicable fixed address was failing 1996-12-31 02:00:33 +00:00
Ted Lemon
84c390c102 Return after rejecting unknown BOOTP client 1996-11-08 20:08:34 +00:00
Ted Lemon
f44c8dcbe2 Allow restricted dynamic bootp for known bootp hosts 1996-09-12 22:22:18 +00:00
Ted Lemon
70931779e3 Add argument to cons_options 1996-09-11 05:51:25 +00:00
Ted Lemon
d1c530347c Don't try to respond to packets if we can't figure where they came from; add support for next_server (siaddr) field; adjust for new group structure; don't use siaddr as source address 1996-08-27 09:33:41 +00:00
Ted Lemon
ba1f12de85 Ensure that bootp packets are at least BOOTP_MIN_LEN bytes long 1996-06-24 20:28:29 +00:00
Ted Lemon
76e0941dc4 More informative syslog report on BOOTREPLY 1996-06-12 23:53:10 +00:00
Ted Lemon
2824de2061 Release DHCP lease before assigning it to BOOTP client, so as to avoid unnecessary lease conflict behaviour. 1996-06-11 08:13:00 +00:00
Ted Lemon
fde59885f3 Allow DHCP leases to be assigned to the same client via Dynamic BOOTP 1996-06-04 19:15:10 +00:00
Ted Lemon
b837c98f6f Print a little more info on where BOOTREQUESTs are coming from and where BOOTREPLYs are going to. 1996-06-01 00:02:36 +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
3a5811084f Move packet location code out of dispatch 1996-05-22 09:29:56 +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
ea46559112 Change SIN_LEN to SA_LEN; fix copyrights 1996-05-19 23:54:24 +00:00