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
4b7df7078c Add a message to abandon_lease; ping before sending DHCPREQUEST. 1997-03-06 18:40:22 +00:00
Ted Lemon
2f8e6010d7 Remove declaration for relay() - no longer needed 1997-03-06 07:27:56 +00:00
Ted Lemon
ee1cd2caa9 Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet(). 1997-03-06 07:02:54 +00:00
Ted Lemon
9cc3ad7f14 Move a ton of bits from the lease structure into the lease_state structure. The lease structure is permanent, whereas the state structure is ephemeral, which means that leases now consume less memory (memory consumption is now about the same as in Beta 5 Patchlevel 14). Allocate and free the lease_state structure. If ack_lease is called on a lease that already has a state structure, we're already acking something, so we don't try to ack it again. 1997-03-06 07:02:00 +00:00
Ted Lemon
11b37280ba Move some state into the lease structure so that we can test a lease before acking it, and so that we can do DNS lookups asynchronously 1997-03-05 06:37:05 +00:00
Ted Lemon
a62eea55ac Don't check the lease we have for the client until we've verified that the client thinks it's on the right network 1997-03-05 06:18:55 +00:00
Ted Lemon
b4c0cd4579 Add DHCPLIB to depends 1997-03-05 06:17:33 +00:00
Ted Lemon
de60690e73 Move some more parameters around 1997-02-22 14:44:56 +00:00
Ted Lemon
5f5d1ea2cf Distributed Makefile 1997-02-22 14:12:34 +00:00
Ted Lemon
e6e5d8749e Don't NAK leases from competing servers 1997-02-22 12:25:11 +00:00
Ted Lemon
d00ecc3cef Clean up some bugs in the DHCPREQUEST lease code 1997-02-22 10:22:05 +00:00
Ted Lemon
66b01364eb Update documentation 1997-02-22 10:20:28 +00:00
Ted Lemon
31755be8f7 Change daemonification code to prolong logging to stderr until dhcpd.conf has been parsed.; dispatch takes an argument. 1997-02-22 08:49:44 +00:00
Ted Lemon
801ecd88d7 Use interface address instead of common server identifier; allow specific clients to be excluded from booting; don't release a lease based on a DHCPREQUEST to a different server - this isn't allowed by the protocol 1997-02-22 08:48:15 +00:00
Ted Lemon
99fd97cc55 Add allow and deny keywords; allow or deny bootp service, booting (for known hosts that shouldn't be booted), dynamic_bootp and unknown clients 1997-02-22 08:41:01 +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
a60076f94d Use local_port and remote_port instead of server_port and server_port + 1 1997-02-18 14:32:51 +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
6311543119 Move common parsing functions into a seperate file, so the DHCP client and server don't have to share *all* their parsing code 1997-02-18 14:27:33 +00:00
Ted Lemon
d557e6d40b Fix broadcast bug 1997-01-03 11:39:27 +00:00
Ted Lemon
b289b0107c Fix bug in classing code 1996-12-31 02:02:54 +00:00
Ted Lemon
f4d0f440ce Initialize declaration variable 1996-12-31 02:01:28 +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
0b5d360d4b replace ARPHRD with HTYPE 1996-11-08 20:09:41 +00:00
Ted Lemon
84c390c102 Return after rejecting unknown BOOTP client 1996-11-08 20:08:34 +00:00
Ted Lemon
b179c99797 Remove dynamic bootp conflict checker; parse true booleans correctly 1996-09-13 18:58:20 +00:00
Ted Lemon
92c9fbb176 Update boot-unknown-clients documentation 1996-09-12 22:24:15 +00:00
Ted Lemon
f44c8dcbe2 Allow restricted dynamic bootp for known bootp hosts 1996-09-12 22:22:18 +00:00
Ted Lemon
62e303ddb5 Close std{in,out,err} when daemonizing 1996-09-12 09:28:13 +00:00
Ted Lemon
3a2087ec92 discover_interfaces() needs to behave differently for client and server 1996-09-11 18:53:33 +00:00
Ted Lemon
7084791cfd Don't use server-identifier to initialize next_server 1996-09-11 06:36:17 +00:00
Ted Lemon
c34fcd388b Notice if client is NUL-terminating strings, and if it is, NUL-terminate them back. 1996-09-11 05:52:18 +00:00
Ted Lemon
70931779e3 Add argument to cons_options 1996-09-11 05:51:25 +00:00
Ted Lemon
fcd322682d Fix usage nit 1996-09-09 07:05:49 +00:00
Ted Lemon
c256bae9ba Add use-host-decl-names keyword 1996-09-09 07:04:29 +00:00
Ted Lemon
73eaf8235c Document new netmask behaviour; document new requirement that all interfaces correspond to a declared subnet 1996-09-05 23:54:39 +00:00
Ted Lemon
fc5aedc94f Fix syntax botch in host decl example 1996-09-05 23:53:18 +00:00
Ted Lemon
4ecd2958d5 mockup_lease() now supplies uid info if present; supply subnet mask from subnet decl if not defined as an option; fix lease time blooper; provide T1 and T2 lease times 1996-09-05 23:52:10 +00:00
Ted Lemon
968d1ceb52 All unnamed options now take the X format, which means either an ASCII string or a series of hexadecimal octets seperated by colons. 1996-09-04 07:07:52 +00:00
Ted Lemon
77549355fc Oops - debug faux pas 1996-09-02 21:37:57 +00:00
Ted Lemon
840bd2035a Support for -lf and -cf flags; debogosify DEBUG behaviour 1996-09-02 21:16:55 +00:00
Ted Lemon
e2ac581437 Support for -lf and -cf flags 1996-09-02 21:16:25 +00:00
Ted Lemon
ffc9777431 Use a full-sized int to bounds-check port number 1996-08-30 23:40:28 +00:00
Ted Lemon
6cdd0d0d26 Remove dead local variables; fix shared-network subnet list code 1996-08-30 23:39:37 +00:00
Ted Lemon
9bceda59bf Regenerated 1996-08-30 20:33:04 +00:00
Ted Lemon
5fea7b10ff Add get-lease-hostnames parameter 1996-08-29 23:02:40 +00:00
Ted Lemon
f5d07a3896 Fix logging to stderr 1996-08-29 20:15:32 +00:00
Ted Lemon
ef6f87b4d6 Fix signed/unsigned char type mismatch 1996-08-29 20:12:37 +00:00
Ted Lemon
eaeb3d5820 Make sure specified UDP port is valid 1996-08-29 09:55:52 +00:00