2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

878 Commits

Author SHA1 Message Date
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
b1d3778ce8 - Relative time may now be used as a qualifier for 'allow' and 'deny' access
control lists.  These directives may be used to assist in re-addressing
  address pools without having to constantly reconfigure the server.  Please
  see 'man dhcpd.conf' for more information on allow/deny 'after time' syntax.
  Thanks to a patch from Christof Chen.  [ISC-Bugs #17110]
2007-10-31 19:13:33 +00:00
David Hankins
e4a6be15e8 Might even work. 2007-10-30 23:08:16 +00:00
Evan Hunt
75135a3f7f Use different paths for PID and lease files when running in DHCPv4 or
DHCPv6 mode, so that servers for both protcols can be run simultaneously on
a single interface. [rt17227]
2007-10-27 19:15:37 +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
5279b8f3ee - The client leasing subsystem was streamlined and corrected to account
more closely for changes in client link attachment selection.
  [ISC-Bugs #17198]
2007-10-24 00:54:12 +00:00
David Hankins
8eab95f2ee - DHCPv6 server Confirm message processing has been enhanced - it no
longer replies only to clients with host {} records, it now replies
  as directed in RFC3315 section 18.2.2 - that is, to all clients
  regardless of the existence of bindings. [ISC-Bugs #17183]
2007-10-05 15:57:48 +00:00
David Hankins
109e00db7f - Compilation with DLPI and -Werror has been repaired. [ISC-Bugs #17189] 2007-10-03 23:36:27 +00:00
David Hankins
ba0833b11d automake regeneration 2007-09-05 17:33:56 +00:00
David Hankins
073f43fd92 autoheader regeneration 2007-09-05 17:33:42 +00:00
Shane Kerr
d19e816ece Fix ugly output on config errors.
See RT ticket #17011 for more.
2007-08-29 15:56:56 +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
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
Evan Hunt
f005219774 autoheader regeneration 2007-07-10 22:00:08 +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
bda3316935 Handle IPv6 parsing better. Adds generic whitespace handling to
parser.
See RT ticket #16862 for more.
2007-06-20 10:38:55 +00:00
Shane Kerr
9b21e73e3c Check for valid prefixes in configuration.
See RT ticket #16944 for more information.
2007-06-19 17:06:03 +00:00
David Hankins
d72e14c7e5 autoheader regeneration 2007-06-08 14:59:13 +00:00
David Hankins
8da06bb1f5 - Compilation on HP/UX has been repaired. The changes should generally
apply to any architecture that supplies SIOCGLIFCONF but does not
  use 'struct lifconf' structures to pass values. [ISC-Bugs #16928]
2007-06-08 14:58:20 +00:00
David Hankins
627ad6d620 - AC_CHECK_HEADERS() defines HAVE_NET_IF_DL_H not HAVE_IF_DL_H. 2007-06-07 23:40:19 +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
David Hankins
0ccd352429 autoheader updated 2007-06-07 15:56:47 +00:00
David Hankins
dd3282251e - Two new operators, ~= and ~~, have been integrated to implement
boolean matches by regular expression (such as may be used in
  class matching statements).  Thanks to a patch by Alexandr S.
  Agranovsky, which underwent slight modification.  [ISC-Bugs #8155]
2007-06-07 15:52:30 +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
f125dc8b41 Fix DHCP build on Slackware with 2.4 kernel.
See RT ticket #16918 for more information.
2007-06-04 14:18:08 +00:00
Evan Hunt
804401cc8e Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
warnings. [rt16907]
2007-05-29 18:11:56 +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
66eaae186e Handle hostnames that start with numbers.
This involved needing to look at more than one token at a time, so
this patch moves from read() to mmap() of files, as a way to gracefully
rewind.

See RT ticket #16516 for (a lot) more.
2007-05-23 15:29:49 +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
ab353f630c Missed one. 2007-05-21 22:26:53 +00:00
David Hankins
c4f51a7dd0 Post-autoheader. 2007-05-19 21:41:01 +00:00
David Hankins
b5a71ddb14 Limit u_int32_t etc typedefs to __sun__ build environment. 2007-05-19 21:36:03 +00:00
David Hankins
6dd7efa210 Load net/if_dl.h if it exists (FreeBSD compile fix). 2007-05-19 21:35:21 +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
Shane Kerr
727cae264f Merge errors from rt16849. Must remember to use "-u" when I'm making
diffs. :(
2007-05-18 14:45:23 +00:00
Shane Kerr
d9b43370a4 Expire old IPv6 leases. Also a number of fixes.
See RT ticket #16849 for details.
2007-05-18 09:26:58 +00:00
David Hankins
6705543f81 - Additional warnings and such from robie. [ISC-Bugs #16865d] 2007-05-17 18:27:11 +00:00
David Hankins
94f9feeafe May as well version++. 2007-05-17 01:35:49 +00:00
Shane Kerr
99fe695e1c FreeBSD, NetBSD, OpenBSD support added in (again).
See RT ticket #16865 for more (still expect some warnings).
2007-05-16 22:27:35 +00:00
David Hankins
a512d11b6d - Corrected some situations where variables might be used without being
initialized. [ISC-Bugs #16865]

- Silenced several other compiler warnings. [ISC-Bugs #16865]

- Include the more standard sys/uio.h rather than rely upon other header
  files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865]
2007-05-11 15:50:18 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00