2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-23 02:17:31 +00:00

51 Commits

Author SHA1 Message Date
Ted Lemon
402e5f87d2 Initialize client classification system in main(). 1998-04-19 23:35:26 +00:00
Ted Lemon
2342aee908 Start interactive client 1998-04-09 04:47:46 +00:00
Ted Lemon
e044f73fef Don't start dns for now. 1998-03-17 06:20:11 +00:00
Ted Lemon
c7609f47b8 Update copyright 1998-03-16 06:18:16 +00:00
Ted Lemon
c0a8b01162 Don't invalidate a lease if we receive an ICMP echo reply for it when it has a valid lease. This can happen if some other user on the host pings the client after we've assigned it an address. 1998-03-15 20:47:27 +00:00
Ted Lemon
0a3476077b Add dhcp_max_agent_option_packet_length. 1998-02-06 01:10:28 +00:00
Ted Lemon
632d8396e3 Use local quiet flag and also set global quiet_interface_discovery flag with -q option 1997-10-20 21:52:36 +00:00
Ted Lemon
deb0cb72ec Rearrange startup code so as to print everything before daemonizing; Don't spew copyright message if quiet is set. 1997-10-20 21:38:03 +00:00
Ted Lemon
1ac5bc1aa0 cftest wasn't being initialized 1997-06-03 01:41:31 +00:00
Ted Lemon
40f63fcd4f Add cftest flag which just tests config file but doesn't actually run. 1997-06-02 23:26:29 +00:00
Ted Lemon
1e39d10198 Cygwin32 compatibility. Initialize DNS 1997-05-09 08:27:56 +00:00
Ted Lemon
9acb0bab3c Start up icmp protocol; handle ICMP EchoReplies and also handle non-replies. 1997-03-06 18:41:36 +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
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
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
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
fcd322682d Fix usage nit 1996-09-09 07:05:49 +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
ffc9777431 Use a full-sized int to bounds-check port number 1996-08-30 23:40:28 +00:00
Ted Lemon
f5d07a3896 Fix logging to stderr 1996-08-29 20:15:32 +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
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
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
d992e204c3 Allow interfaces to be specified on the command line 1996-06-27 19:05:13 +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
f3d4ffc4a9 Print version number + copyright banner on startup 1996-06-01 00:19:39 +00:00
Ted Lemon
91c879c406 Lose bogus -a processing; display startup banner 1996-05-31 18:18:10 +00:00
Ted Lemon
f57589dba8 Don't use setlogmask() on 4.2BSD syslog machines 1996-05-28 18:16:17 +00:00
Ted Lemon
342a76f6df log_facility -> log_priority 1996-05-22 11:30:17 +00:00
Ted Lemon
abe9a34392 move do_packet to dispatch 1996-05-22 09:30:47 +00:00
Ted Lemon
3b5a148626 Add global options; use putenv to set TZ environment variable; shared network support 1996-05-22 07:36:07 +00:00
Ted Lemon
efc12bbc8f Fix copyright 1996-05-20 00:11:03 +00:00
Ted Lemon
409503846d Add support for broken old 4.2BSD syslog 1996-05-17 00:28:58 +00:00
Ted Lemon
fb93bab09d Unlink dhcpd.pid file before writing so that we don't leave garbage at the end 1996-05-16 07:17:23 +00:00
Ted Lemon
aa31f5c6d6 Don't malloc packet structure - it's not persistent; lose pick_interfaces interface - this is determined by the receive_packet code now; move interface discovery into main startup code 1996-05-12 23:58:13 +00:00
Ted Lemon
f98c04d746 Remove code for handling multiple interfaces (it's been abstracted into other modules); remove code that knows about server's IP address, since it might have more than one 1996-04-11 06:45:53 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
a68492e6b3 Delete old debugging message 1996-03-06 10:11:20 +00:00
Ted Lemon
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +00:00
Ted Lemon
3c248d6d6d Clean up debug 1996-02-29 18:18:40 +00:00
Ted Lemon
37d100d176 Figure out dhcp packet type and store it in packet structure 1996-02-26 01:56:39 +00:00
Ted Lemon
e7b01ab48c Remove dump_packet function (moved to print.c) 1996-02-25 21:29:05 +00:00
Ted Lemon
685963dcf4 Incremental changes to support DHCP protocol 1996-02-21 15:16:18 +00:00
Ted Lemon
97ca16995f Intermediate changes to support actual DHCP protocol engine 1996-02-21 12:11:09 +00:00
Ted Lemon
6c6d59281e *** empty log message *** 1996-02-11 00:01:46 +00:00
Ted Lemon
9582172964 Fixed many option bugs; added client for testing 1996-02-07 22:43:54 +00:00
Ted Lemon
089fb364df More portable internet addresses; fix endian bug; fix parser bugs 1996-02-06 20:25:56 +00:00