2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

809 Commits

Author SHA1 Message Date
Ted Lemon
7ed1888458 always zero structures; add new_group and free_group; free network name when freeing shared_network struct 1996-08-27 09:31:27 +00:00
Ted Lemon
b304ef6ad9 Don't flame about missing interfaces if none were requested 1996-07-07 15:53:07 +00:00
Ted Lemon
52d75293ab Don't use the hardware address to unicast if the address length is bogus 1996-06-27 19:10:41 +00:00
Ted Lemon
efa253d0db Don't throw away a lease because the requestor didn't give a UID and the lease has one iff the requestor's hardware address matches the lease's hardware address and the lease can be assigned to a Dynamic BOOTp host 1996-06-27 19:09:51 +00:00
Ted Lemon
d3f6c8b073 Weed out unrequested interfaces if some interfaces were specifically requested; crash and burn if an interface specified on the command line is now found. 1996-06-27 19:07:45 +00:00
Ted Lemon
7f91dcfb6b Add flags to interface_info structure 1996-06-27 19:06:04 +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
f8141e67df Always save the string containing the token 1996-06-27 19:00:44 +00:00
Ted Lemon
db910847a2 Fix printf formats 1996-06-24 20:36:10 +00:00
Ted Lemon
e9c99838ed Set read bit, not write bit, on fallback interface 1996-06-24 20:35:40 +00:00
Ted Lemon
f4835c5832 Add BOOTP_MIN_LEN constant representing minimum length of BOOTP packet 1996-06-24 20:33:28 +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
c5568eb50a Add code to read and discard incoming packets on fallback socket 1996-06-12 23:52:38 +00:00
Ted Lemon
3b170e0d32 Don't free old DNS buffer if there wasn't one 1996-06-12 23:51:17 +00:00
Ted Lemon
97accb10bd Option buffer length miscalculated 1996-06-12 23:50:44 +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
de8d6db15d Missing argument to printf 1996-06-12 23:49:07 +00:00
Ted Lemon
bd38ac0631 Fix off-by-one error on option expansion allocation 1996-06-12 04:08:11 +00:00
Ted Lemon
ef8d159b32 Notice and log dfree() on null pointer 1996-06-12 04:07:41 +00:00
Ted Lemon
05bde14e65 Fix a couple of off-by-one malloc errors 1996-06-12 04:07:04 +00:00
Ted Lemon
74bbacb845 Add hp-ux support 1996-06-12 04:06:16 +00:00
Ted Lemon
7021977321 Don't free comp -> uid if comp == lease 1996-06-12 04:05:23 +00:00
Ted Lemon
1a4b272feb Don't unicast to client if broadcast is requested 1996-06-12 04:01:16 +00:00
Ted Lemon
d99452d1a0 Work around FreeBSD BPF bug 1996-06-11 08:30:41 +00:00
Ted Lemon
a0aee5f011 Report failure in the event of a lease conflict; notice if lease database rewrite fails 1996-06-11 08:14:28 +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
Ted Lemon
955d158bd0 Delete unused automatic variables; don't put copyright string in ifdef lint 1996-06-04 19:21:16 +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
0fe8b9ccd3 Delete unused automatic variables 1996-06-04 19:12:36 +00:00
Ted Lemon
6211627d95 Use extern keyword when declaring externs 1996-06-04 19:11:13 +00:00
Ted Lemon
47c9ea959b Update documentation 1996-06-04 19:10:27 +00:00
Ted Lemon
eebea44806 Delete unused automatic variables 1996-06-04 19:04:16 +00:00
Ted Lemon
5c324ed20d Define INLINE as an empty string if ANSI but not GNU 1996-06-04 19:02:26 +00:00
Ted Lemon
9ab9265004 Initialize shared_network interface 1996-06-01 02:01:07 +00:00
Ted Lemon
8b950577cf Reinstate fill after example 1996-06-01 00:38:07 +00:00
Ted Lemon
925eb58829 Newly generated from dhcpd.conf.5 1996-06-01 00:37:28 +00:00
Ted Lemon
ad49f0940f Store dhcpd.leases file in /var/db 1996-06-01 00:30:39 +00:00
Ted Lemon
8def161873 Change parse specification for dhcp-class-identifier option; don't use a period in ieee802.3-encapsulation option name 1996-06-01 00:30:02 +00:00
Ted Lemon
80ba033e2b Don't redefine _PATH_DHCPD_CONF or _PATH_DHCPD_DB 1996-06-01 00:29:14 +00:00
Ted Lemon
106487a843 Newly generated from dhcpd.conf.5 1996-06-01 00:28:26 +00:00
Ted Lemon
d250c5b9e2 Use old-style man page macros; document dhcp-client-identifier; expand documentation of host declaration and fixed-address clause 1996-06-01 00:27:02 +00:00
Ted Lemon
34988b54e6 Newly generated from dhcpd.8 1996-06-01 00:20:28 +00:00
Ted Lemon
f3d4ffc4a9 Print version number + copyright banner on startup 1996-06-01 00:19:39 +00:00