2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

881 Commits

Author SHA1 Message Date
Ted Lemon
cadbf99218 Put file version in copyright string 1996-08-27 09:55:50 +00:00
Ted Lemon
04a2378320 Support for token ring hardware type 1996-08-27 09:55:25 +00:00
Ted Lemon
43a18457d3 Add LOG_FACILITY cpp macro 1996-08-27 09:54:27 +00:00
Ted Lemon
898bc0487d Fix printf prototypes (again) 1996-08-27 09:52:46 +00:00
Ted Lemon
b929e84e03 Initialize ic_timout in strioctl structs 1996-08-27 09:52:09 +00:00
Ted Lemon
b75c745c5b fix up after group structure changes; support for single client having multiple leases (on different networks) 1996-08-27 09:51:24 +00:00
Ted Lemon
370983c302 Make copies of hash table keys (not sure this is right). 1996-08-27 09:49:53 +00:00
Ted Lemon
f8b7d0973f rename tline/tlpos 1996-08-27 09:49:06 +00:00
Ted Lemon
0c413cce74 Add support for weird linux interface alias renaming convention; fix poll interface so it doesn't spin; don't respond to BOOTREPLY packets; locate_network returns status 1996-08-27 09:48:40 +00:00
Ted Lemon
243714fc8e add tokens 1996-08-27 09:46:49 +00:00
Ted Lemon
ab370123d5 Add/fix prototypes; new LOG_FACILITY option defaults to LOG_DAEMON; move common declaration info into group structure; add constants for types of statements 1996-08-27 09:46:28 +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
1d703142d5 Changed names of tline and tlpos 1996-08-27 09:43:01 +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
ca7e31e9f0 Put file version in copyright string 1996-08-27 09:41:28 +00:00
Ted Lemon
d184a137a6 Translate from DHCP Beta 4 and previous config files to current config file format 1996-08-27 09:40:53 +00:00
Ted Lemon
7dfc8ac273 redo parser for new file format 1996-08-27 09:40:17 +00:00
Ted Lemon
58304e8edb Add new tokens; fix line number/character number counter code 1996-08-27 09:39:17 +00:00
Ted Lemon
c83a6d68e4 put file version in copyright string 1996-08-27 09:38:33 +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
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