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

446 Commits

Author SHA1 Message Date
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
David Hankins
1e8eb3531c automake regeneration 2007-12-12 19:24:39 +00:00
David Hankins
31259901b0 Include additional files in 'make dist'. [ISC-Bugs #17361] 2007-12-12 19:23:42 +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
0c5673bc78 automake regeneration 2007-12-05 19:42:57 +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
Francis Dupont
e102ecceb9 fix IPv6 nits 2007-11-30 21:28:29 +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
Shane Kerr
6e999c3c8a Unit test framework now added.
See RT ticket #17223 for more.
2007-11-16 11:04:12 +00:00
David Hankins
bead14ea8b - The server will now include multiple IA_NA's and multiple IAADDRs within
them, if advertised by the client.  It still only seeks to allocate one
  new address. [ISC-Bugs #17254]
2007-11-14 23:44:46 +00:00
David Hankins
290b43b9cb Remove unreviewed sources from HEAD. 2007-11-06 18:31:36 +00:00
David Hankins
e4a6be15e8 Might even work. 2007-10-30 23:08:16 +00:00
Evan Hunt
182b187ea5 Don't delete PID files before writing to them. [rt17030] 2007-10-27 18:58:59 +00:00
Evan Hunt
e2624b82f1 - Reworked cons_options() and store_options() to fix a buffer
overflow that could result in a DoS (CVS 2007-0062).  Also general
  code tidying. [rt17090]
- Also fixed a spurious error message on the client. [rt17250]
2007-10-26 22:46:50 +00:00
David Hankins
9ab0cc6a46 Client bugs introduced in development repaired. [ISC-Bugs #17192] 2007-10-05 14:47:43 +00:00
David Hankins
745f28bc63 s/PIv6/IPv6/ 2007-10-04 17:13:25 +00:00
David Hankins
ba0833b11d automake regeneration 2007-09-05 17:33:56 +00:00
David Hankins
44a67e653f escape nested "'s 2007-08-23 19:06:38 +00:00
Shane Kerr
641488ec0f Unused variable caught by gcc -Wall on 64-bit Linux.
Why this doesn't get flagged elsewhere is a mystery, and slightly
disturbing...
2007-08-23 18:04:29 +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
4595871d1d automake regeneration 2007-07-10 22:08:52 +00:00
Shane Kerr
cf8aca47a2 Build fixes for Solaris. (CVS checkin, part 4)
See RT ticket #16966 for more.
2007-06-26 09:58:41 +00:00
Shane Kerr
e847f9833c Build fix for BSD.
See RT ticket #16959 for more.
2007-06-15 15:02:05 +00:00
David Hankins
da59e03ddc automake++, second round. 2007-06-07 16:45:31 +00:00
David Hankins
dff902ba2c automake updated 2007-06-07 15:57:10 +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
Shane Kerr
a36687f00d regen 2007-06-05 08:34:37 +00:00
Shane Kerr
6ecda39c26 Build fixes. See RT ticket #16888 for more information. 2007-05-29 16:32:11 +00:00
Mark Andrews
9f706d4610 regen 2007-05-23 21:56:00 +00:00
Shane Kerr
76c944da04 Fix pointer size in 64-bit land.
See RT ticket #16902 for more.
2007-05-23 10:35:11 +00:00
David Hankins
1a6399f402 cvsignore++ 2007-05-21 22:26:05 +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
e62b1eb355 Looks like the package version was moved into autoconf. 2007-05-19 20:24:41 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +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
f66f02cc9c - Duplicate dhclient-script updates for DHCPv6 to all provided scripts.
[ISC-Bugs #16875]
2007-05-18 17:18:05 +00:00
David Hankins
6705543f81 - Additional warnings and such from robie. [ISC-Bugs #16865d] 2007-05-17 18:27:11 +00:00