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

233 Commits

Author SHA1 Message Date
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
37c1f13f27 Add nowait flag. Remove -D flag. 2001-04-16 22:07:33 +00:00
Ted Lemon
01aeb18a79 Fix compile errors when building with DEBUG_PACKET. 2001-04-09 00:34:06 +00:00
Ted Lemon
ee8a36530f Make sure we have a stdin, stdout and stderr. 2001-04-05 22:37:35 +00:00
Ted Lemon
57710b89ae - Fix DHCPRELEASE to do the right thing.
- If the interface goes away, stop trying to get an address on it.
2001-04-05 20:42:11 +00:00
Ted Lemon
c08637bb39 Add some changes suggested by Cyrille Lefevre 2001-03-22 06:59:28 +00:00
Ted Lemon
dd215f30ff - Do better error checking on lease write.
- Write quoted strings with special characters quoted.
2001-03-15 23:12:03 +00:00
Ted Lemon
ed0f73abbd Do client script exit status checking more portably 2001-03-14 15:37:52 +00:00
Ted Lemon
c466184540 Fix up NetBSD/alpha build. 2001-02-26 22:21:15 +00:00
Damien Neil
6f7081bdc4 Format fix: %d -> %ld, (long int) cast. 2001-02-15 22:17:05 +00:00
Ted Lemon
b1423aedd9 - Fix faked-out giaddr handling.
- Make it possible to pass environment variables to the client script.
2001-02-12 19:26:35 +00:00
Ted Lemon
1c44f6bd86 Don't send giaddr when renewing or bound. 2001-01-25 08:18:06 +00:00
Ted Lemon
66e9cecfa6 Pass client state to eval functions. 2000-11-28 22:10:52 +00:00
Ted Lemon
b5f904a9a3 Fix vendor option support. 2000-11-24 03:52:37 +00:00
Ted Lemon
c0504523ab - Write all options spaces to lease file and environment, not just DHCP
option space.
2000-10-10 21:50:58 +00:00
Ted Lemon
ce75142f5e Support client-side vendor option space definitions. 2000-10-10 19:44:39 +00:00
Ted Lemon
5184d9c44f - Don't flame about the relay agent information option - the client
administrator can't do anything about it.
2000-09-27 19:31:45 +00:00
Ted Lemon
89c425dd29 Do statements before using option values (e.g., lease duration). 2000-09-14 12:42:01 +00:00
Ted Lemon
addb00afe9 Adjust the URL to which people are referred. 2000-09-01 23:06:37 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00
Ted Lemon
a8c190df76 Fix a pasto in the code to set the broadcast address environment variable. 2000-07-20 03:21:23 +00:00
Ted Lemon
32a4756333 Initialize the environment rather than using temporary client scripts. 2000-07-20 00:53:24 +00:00
Ted Lemon
cfa7212d26 Support environment variables to control locations of files. 2000-07-17 20:56:14 +00:00
Ted Lemon
40a59753f0 Don't listen on an OMAPI port unless one is specified in the config file. 2000-06-24 06:02:01 +00:00
Ted Lemon
007e3ee4df Rework DHCP lease state handling to be compatible with failover protocol. 2000-06-02 21:27:21 +00:00
Ted Lemon
7bb809483c Fix a buffer overflow problem (not a security issue). Thanks to Joe. 2000-05-30 21:43:42 +00:00
Ted Lemon
67569fa648 Initialize omapi before parsing command line. 2000-05-30 21:17:04 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
134ceef89f Add persist flag to stop the client from exiting if no interfaces are found. 2000-05-01 17:15:23 +00:00
Ted Lemon
291c524f45 Don't use the same OMAPI port as the server. 2000-04-04 06:24:37 +00:00
Ted Lemon
3b106356e0 Clarify credits on client implementation. 2000-03-24 00:20:33 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
bdcaf7b95d Incorporate Brian Murrell's new OMAPI DHCP client changes. 2000-02-15 20:40:36 +00:00
Ted Lemon
7804c030de Fix call to snprintf 2000-02-02 20:47:55 +00:00
Ted Lemon
9458e9aa07 Minor solaris fixes. 2000-02-02 20:01:50 +00:00
Ted Lemon
347de8bdb6 Brian Murrell's changes to allow the client to be directed using OMAPI. 2000-01-28 20:30:37 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
cf78bf2090 Support variable scoping. Support debugging malloc. 2000-01-25 00:58:57 +00:00
Ted Lemon
31730f17c7 struct hardware conversion. 2000-01-05 18:01:15 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
6767b59234 - Add dummies for agent information option handling.
- Don't spin if /tmp missing or some other unexpected error happens when
  invoking client script.
1999-11-13 23:49:41 +00:00
Ted Lemon
78a33b8260 Don't log to stderr if -q is set. 1999-10-30 14:07:29 +00:00
Ted Lemon
11373fb651 - Allow the user to specify giaddr on the command line, for testing.
- If giaddr is specified, and it's not INADDR_LOOPBACK, use port 67 as
  the source port and also listen on port 67, since we're pretending to
  be a relay agent, and not a client.
- Stagger the first renew by +/- 1/4 of a lease interval, to mitigate 9am
  syndrome.
- Stagger startup time by up to five seconds, to even out the startup load.
1999-10-24 19:44:15 +00:00
Ted Lemon
1c0166794d Correct ordering of log arguments. 1999-10-14 17:40:05 +00:00
Ted Lemon
ab58ff49e0 Fix up args to printf-like functions (thanks to Pedro Ribiero). 1999-10-12 16:00:34 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00