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

205 Commits

Author SHA1 Message Date
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Shane Kerr
e847f9833c Build fix for BSD.
See RT ticket #16959 for more.
2007-06-15 15:02:05 +00:00
Evan Hunt
a546f2a714 Chdir to "/" before going into daemon mode. Use realpath() to
canonicalize relative pathnames. [rt16729]
2007-06-07 15:29:31 +00:00
Evan Hunt
af5fa17626 - Add support for dhcpv6 "Release" messages [rt16905]
- Add -x option, which causes running dhclient processes to exist
  gracefully *without* releasing leases [rt16741]
(Merging both at once because the first one depended on the second one)
2007-06-06 22:57:32 +00:00
David Hankins
d6614ea2ee - A bug in dhclient was repaired which caused it to send parameter request
lists of 55 bytes in length no matter how long the declared PRL was.
  [ISC-Bugs #16882]
2007-05-21 18:16:54 +00:00
David Hankins
fe5b0fdd70 - Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
8ea19a715c - dhclient will now fork() into the background once it binds to an
IPv6 address, or immediately if the -n flag is supplised.
  [ISC-Bugs #16872]

- -q is now the default behaviour on dhclient, with -d or -v enabling
  non-quiet (stderr logging) mode.  [ISC-Bugs #16872]
2007-05-18 18:45:51 +00:00
David Hankins
6705543f81 - Additional warnings and such from robie. [ISC-Bugs #16865d] 2007-05-17 18:27:11 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
David Hankins
4d97a043e4 - dhclient now closes its descriptor to dhclient.leases prior to executing
dhclient-script.  Thanks to a patch from Tomas Pospisek. [ISC-Bugs #16728]
2007-04-26 19:31:58 +00:00
David Hankins
23e10d3713 - A bug was fixed where the BOOTP header 'sname' field had a value, the
copy written to persistent storage was actually the contents of the
  'file' field.  [ISC-Bugs #16784]
2007-04-03 14:57:53 +00:00
Shane Kerr
0a73b7b672 Merged rt16356. 2006-08-22 15:01:47 +00:00
David Hankins
78c553c4a0 Removing the new I/O changes from HEAD. [ISC-Bugs #16328] 2006-08-09 14:57:48 +00:00
David Hankins
3004bebf47 - A new DDNS related server option, update-conflict-detection, has been
added.  If this option is enabled, dhcpd will perform normal DHCID
  conflict resolution (the default).  If this option is disabled, it will
  instead trust the assigned name implicitly (removing any other bindings
  on that name).  This option has not been made available in dhclient.
  [ISC-Bugs #16165]
2006-07-19 17:14:55 +00:00
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