2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

69 Commits

Author SHA1 Message Date
Ted Lemon
93016999f9 Add hook for tracing. 2001-02-12 20:51:26 +00:00
Ted Lemon
9e3831637a Pass client state to eval functions. Lots of other stuff. 2000-11-28 23:27:24 +00:00
Ted Lemon
63b935b669 Fix up calls to cons_options. 2000-10-10 23:01:05 +00:00
Ted Lemon
012c41434c Fix an oversight in the htype+haddr->hbuf conversion 2000-09-20 00:06:04 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
397a692007 Add argument to find_lease. 2000-08-24 18:43:11 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
ac3ecc7f38 Adjust call to allocate_lease(). 2000-05-03 22:57:42 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
0c8afe11d0 Add extra arg to ack_lease. 2000-02-07 05:15:44 +00:00
Ted Lemon
12c9957e5d New malloc debug scheme. Support variable scoping. 2000-01-25 01:36:29 +00:00
Ted Lemon
9e9b2261b1 Support new struct hardware. 2000-01-05 18:17:10 +00:00
Ted Lemon
e13ff8b271 Add (and use) ignore option to boolean evals. 1999-10-21 02:38:06 +00:00
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