2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

229 Commits

Author SHA1 Message Date
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
Ted Lemon
88ddda34a5 Don't proceed if errors are found in dhcpd.conf 1996-08-29 09:49:53 +00:00
Ted Lemon
5e6b52dcc1 Update documentation 1996-08-29 09:16:14 +00:00
Ted Lemon
2d59f5901f Rehash nomenclature; allow range declaration to take a single address 1996-08-29 09:14:39 +00:00
Ted Lemon
272474b647 Convert to new format 1996-08-28 01:30:38 +00:00
Ted Lemon
9de9c6264d Make log_perror an external; don't use LOG_PERROR - instead, do the work in errwarn.c 1996-08-28 01:30:19 +00:00
Ted Lemon
d58a12592d Add special support for hostname option 1996-08-28 01:29:25 +00:00
Ted Lemon
5376e3e969 Fix BNF comments; neaten up; minor parser fixes 1996-08-28 01:28:27 +00:00
Ted Lemon
c6dff01ffb Add options to not go into daemon mode; log errors to stderr as well as syslogd; rewrite pid file as soon as possible. 1996-08-27 09:44:54 +00:00
Ted Lemon
d27562c716 Document command line switches (needs more work) 1996-08-27 09:43:50 +00:00
Ted Lemon
a311504319 Make database code more robust; notice more errors; new lease file format; don't use unix time functions 1996-08-27 09:42:26 +00:00
Ted Lemon
7dfc8ac273 redo parser for new file format 1996-08-27 09:40:17 +00:00
Ted Lemon
4fbcd99136 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; check hw_lease, not lease; allow leases to be kept on more than one network; allow user-specified dynamic bootp lease lengths; add support for ignoring unknown clients 1996-08-27 09:37:50 +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
d992e204c3 Allow interfaces to be specified on the command line 1996-06-27 19:05:13 +00:00
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
6589fcfe7d allow hardware addresses tobe up to 16 bytes independent of the hardware type 1996-06-27 19:02:34 +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
b8b8bc8e37 Change printf formats to not assume longs and ints are the same size 1996-06-24 20:29:29 +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
e2cb6d536a Use standard IP stack to send responses to clients with known IP addresses 1996-06-12 23:49:58 +00:00
Ted Lemon
05bde14e65 Fix a couple of off-by-one malloc errors 1996-06-12 04:07:04 +00:00
Ted Lemon
1a4b272feb Don't unicast to client if broadcast is requested 1996-06-12 04:01:16 +00:00
Ted Lemon
08804a9a44 Periodically rewrite the lease database 1996-06-11 08:13:28 +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
efdf1d6ec1 Fix ANSI string botch, allocate space for NUL on ASCII string 1996-06-10 22:45:02 +00:00