2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

241 Commits

Author SHA1 Message Date
David Hankins
6cbc66298b - If the dhclient were to receive a DHCPNAK while it was in the RENEW
state (and consequently, had an active, 'bound' address and related
  configuration options), it would fail to 'tear down' this information
  before proceeding into INIT state.  dhclient now iterates the dhclient-
  script with the 'EXPIRE' action to cause these teardowns prior to entering
  INIT state. [ISC-Bugs #16035]
2006-07-09 15:39:48 +00:00
David Hankins
5e86441636 - A new common (server or client) option, 'db-time-format local;', has
been added which prints the local time in /var/db/dhcpd.leases rather
  than UTC.  Thanks to a patch from Ken Lalonde. [ISC-Bugs #2678]
2006-06-06 16:35:18 +00:00
David Hankins
f7fdb21693 - Varying option space code and length bit widths (8/16/32) are now
supported.  This is a milestone in acheiving RFC 3925 "VIVSO" and
  DHCPv6 support. [ISC-Bugs #15979]
2006-06-01 20:23:18 +00:00
David Hankins
febbd40203 - The dhclient 'reject ...;' statement, which rejects leases given by named
server-identifiers, now permits address ranges to be specified in CIDR
  notation. [ISC-Bugs #1435]
2006-05-15 15:07:50 +00:00
Shane Kerr
509df655d1 Merging in final change from rt15937, getting rid of space
before () in function calls.
2006-05-11 14:48:59 +00:00
David Hankins
3a16098f0b Pulling work between V3-0-4B3 and present v3-release-branch to HEAD. 2006-05-05 20:32:31 +00:00
Shane Kerr
185d16f9f9 Changes as documented in ticket #15937 (stdio file descriptor fixes). 2006-03-27 09:45:47 +00:00
David Hankins
25b988c68f - The IO system now tracks all local IP addresses, so that the DHCP
applications (particularly the dhcrelay) can discern between what frames
  were tranmsitted to it, and what frames are being carried through it which
  it should not intercept. [ISC-Bugs #15573]
2006-02-27 23:56:13 +00:00
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