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

44 Commits

Author SHA1 Message Date
Shawn Routhier
9279a3d722 [master] Add #define for length of prefix we send to v6 client script 2014-05-08 10:58:45 -07:00
Shawn Routhier
b6ab3f6c2a [master] Correct calculation of client timeout to include MRD
Correc the calculation of the next climet timeout period to
properly include MRD.
2014-04-30 13:21:48 -07:00
Shawn Routhier
d7d9c0c7c3 -n [master]
Add code to support the standards version of DDNS
2013-10-14 15:53:24 -07:00
Shawn Routhier
a7341359cc -n [master]
[rt27912]
    Add code to suppor on {commit expiry release} statements for DHCPv6.
    There are several pieces to this change
    1) Add space in the iasubopt structure to hold the statement pointers
    2) Update the execute code to fill in the structures as necessary
    3) Execute the statements when appropriate
    Many of the changes in the non-v6 code are to pass the v6 structures
    around to the execute code.
2013-08-27 13:40:47 -07:00
Shawn Routhier
10613724a9 [master]
The client now passes information about the options it requested
from the server to the script code via environment variables.
These variables are of the form requested_<option_name>=1 with
the option name being the same as used in the new_* and old_*
variables. [ISC-Bugs #29068]
2012-11-13 12:56:02 -08:00
Shawn Routhier
0f750c4fb1 [master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool.  Runs courtesy of Red Hat.
2012-10-16 15:05:24 -07:00
Shawn Routhier
9f9265b63f Correct code to calculate timing values in client to compare
rebind value to infinity instead of renew value.
[ISC-Bugs #29062]
2012-06-06 00:23:44 +00:00
Shawn Routhier
197c917e34 - Add an elapsed time option to the release message and refactor the
code to move most of the common code to a single routine.
  [ISC-Bugs #21171].
2010-09-10 20:21:03 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Shawn Routhier
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
Paul Selkirk
a41d7a251e pull up rt19436: client -D option 2009-05-27 20:11:38 +00:00
Francis Dupont
ffbaa8801e dhclient -6 -1 2008-06-12 13:38:41 +00:00
Francis Dupont
420d8b3f0c merge 17500 2008-05-23 13:56:07 +00:00
Francis Dupont
3dbe22465b merge 17621 2008-05-23 13:22:23 +00:00
Francis Dupont
8720268367 Reliable DHCPv6 release 2008-02-27 09:13:03 +00:00
Francis Dupont
cabdb9b1c5 DHCPv6 released resources are now marked as released by the client 2008-02-20 23:20:58 +00:00
Francis Dupont
80c9fdb0e7 Add IA_TA and IA_PD support in server 2008-02-20 12:45:53 +00:00
Francis Dupont
7e9f7a1bcf fix DUID-LTT epoch 2008-02-15 18:18:54 +00:00
Francis Dupont
6d7f9584e9 Added DHCPv6 rapid commit support 2008-01-24 10:53:11 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
1d9774ab57 Cleanup IA_NA dependencies 2008-01-02 23:47:22 +00:00
Francis Dupont
96b620e5a2 Fix release of empty IPv6 active lease 2007-12-30 18:49:56 +00:00
Francis Dupont
7b22a9b4ab typo in log message for invalid replies 2007-12-28 12:26:07 +00:00
Francis Dupont
b51c785f98 Unicast options are taken into account only for RENEWs 2007-12-28 10:20:41 +00:00
Evan Hunt
af9271c5b7 Fix typo 2007-12-08 19:40:14 +00:00
Evan Hunt
e32529a528 dhc6_lease_destroy() and dhc6_ia_destroy() now set lease and IA
pointers to NULL after freeing, to prevent subsequent accesses to freed
memory.  [rt17352]
2007-12-08 19:36:00 +00:00
David Hankins
e5d8352416 - A bug was fixed that caused the DHCPv6 ORO option to be corrupted with
seemingly random values. [ISC-Bugs #17305]
2007-12-03 22:17:58 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
David Hankins
c0216cb7c9 - The DHCPv6 client now issues fresh transaction IDs on Renew and Rebind
message exchanges, rather than using the most recent ID.  [ISC-Bugs #17300]
2007-11-20 21:07:12 +00:00
David Hankins
703873ab37 - If the client had multiple addresses, and one expired (was not renewed
by the server), the client would continue to attempt to renew the same
  old address over and over.  Now, the client will omit any expired
  addresses from future Confirm, Renew, or Rebind messages.  [ISC-Bugs #17266]
- dhclient -6 will now select renew/rebind timers based upon the longest
  address expiration time rather than the shortest expiration time, in
  order to avoid cascading renewals in the event a server elects not to
  extend one of multiple IAADDR leases.  [ISC-Bugs #17266]
2007-11-20 18:33:07 +00:00
Francis Dupont
a0006737bb spelling 2007-11-19 22:21:25 +00:00
David Hankins
9ab0cc6a46 Client bugs introduced in development repaired. [ISC-Bugs #17192] 2007-10-05 14:47:43 +00:00
David Hankins
44a67e653f escape nested "'s 2007-08-23 19:06:38 +00:00
David Hankins
0c20eab3c8 - 'request' and 'also request' syntaxes have been added to accomodate
the DHCPv6 client configuration.  'send dhcp6.oro' is no longer
  necessary.  [ISC-Bugs #17023]
2007-08-23 16:06:09 +00:00
Shane Kerr
9aa669fc96 Warning-enabled build fixes for BSD. 2007-08-23 09:49:51 +00:00
Shane Kerr
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +00:00
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
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
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