2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00
Commit Graph

3352 Commits

Author SHA1 Message Date
David Hankins
14cc7585dc aclocal updated. 2007-06-07 15:56:29 +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
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
6d20e31bac Make sure all writes to lease file are checked for success or failure.
(The patch checked in previously missed some cases.) [rt16929]
2007-06-06 23:07:17 +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
Evan Hunt
c11f349dba Pulled up rt16929 2007-06-05 23:28:43 +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
David Hankins
a512cc3a31 - Failover rebalance events no longer play ping pong with round errors
(moving leases between free and back to backup where there are an
  odd number of leases).
  [ISC-Bugs #16910]

- The 'pool' log line has been split into two messages, one before the
  rebalance run, and one after.
  [ISC-Bugs #16910]

- Any queued BNDACKs are transmitted before transmitting new BNDUPDs.
  This enforces the correct sequence of events for the remote server
  processing these messages.
  [ISC-Bugs #16910]
2007-06-01 22:26:01 +00:00
David Hankins
f796f70a27 - A bug was fixed in interface discovery wherein an error identifying
a server-configured interface with no IPv4 addresses would SEGV.
  [ISC-Bugs #16896]
2007-06-01 22:11:49 +00:00
Shane Kerr
83f0873e5c Check in latest config.h.in to fix build problems. 2007-05-30 22:03:06 +00:00
Shane Kerr
dfe63f1bfa Remove redundant cast.
See RT ticket #16917 for more.
2007-05-30 10:10:12 +00:00
Shane Kerr
02b030d1db Following directions from tinderbox to fix build. 2007-05-30 08:29:10 +00:00
Mark Andrews
8c5951dc9f regen 2007-05-29 23:47:26 +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
David Hankins
c9feb859e0 - Corrected a flaw that broke encapsulated spaces included due to presence
on the parameter request list. [ISC-Bugs #16625]
2007-05-23 19:25:40 +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
Mark Andrews
6d7bdffcbd regen 2007-05-23 13:30:30 +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
Mark Andrews
bb4ceaa207 regenerate configure 2007-05-23 01:35:24 +00:00
Mark Andrews
da6ba8ad20 regenerate aclocal.m4 2007-05-23 01:35:08 +00:00
Mark Andrews
c9a1db5ef1 regenerate configure 2007-05-23 01:25:52 +00:00
David Hankins
fc3b9c907d - A flaw in failover startup sequences was repaired that sometimes left
the primary DHCP server's pool rebalance schedules unscheduled.
  [ISC-Bugs #16621]
2007-05-22 22:56:21 +00:00
David Hankins
273bfdc3f1 "make check-am" to flush build environs and get new commits (fix compilation
on fbsd 4.11?).
2007-05-21 22:31:24 +00:00
David Hankins
ab353f630c Missed one. 2007-05-21 22:26:53 +00:00
David Hankins
1a6399f402 cvsignore++ 2007-05-21 22:26:05 +00:00
David Hankins
132d38f21a Oops - this is a 3.1.x bug. Demoted. 2007-05-21 22:14:21 +00:00
David Hankins
eca55b4ae0 It doesn't use a random source address - the failure makes it fall back
onto an address configured on the interface.
2007-05-21 22:10:49 +00:00
David Hankins
e889ded168 - 'dhcp.c(3953): non-null pointer' has been repaired. This fixes a flaw
wherein the DHCPv4 server may use seemingly random source addresses.
  [ISC-Bugs #16897]
2007-05-21 22:09:07 +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
3d1cf13dac Merge errors on rt16890. v4_0_0a1 2007-05-19 23:39:51 +00:00
David Hankins
203ec8e289 - Parse AF_LINK contents properly - sa->sdl_type is the hardware type,
not if_addr->sa_family ("AF_LINK" != "ARPHRD_ETHER").  [ISC-Bugs #16890]
2007-05-19 23:28:38 +00:00
David Hankins
049833eee0 Do not try to sense the hardware address of the interface "fallback"
which we produce artificially.
2007-05-19 23:16:13 +00:00
David Hankins
3af71c19e4 include syslog.h in server/stables.c, so that log-facility enumeration
is filled out with values.
2007-05-19 22:03:51 +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
786b093058 SOLARIS README update per discussion with Rob. 2007-05-19 16:19:22 +00:00
David Hankins
d1045c25b5 Conditionally include ifaddrs.h if USE_BPF_RECEIVE is defined. 'struct
ifaddr' is only used if this method is being used for receive, and not all
systems have ifaddrs.h.  [ISC Bugs #16865-p1].
2007-05-19 16:14:48 +00:00
David Hankins
8c7c9ace0e s/nameservers/nameserver/ 2007-05-19 16:02:38 +00:00
David Hankins
2cf8d0bddd - Fix documentation of the domain-search atom (quoted, with commas).
- Document DHCPv6 options presently in the default table.
2007-05-18 19:45:08 +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
4ba5891941 - DHCPv4 I/O methods that failed to sense hardware address were corrected.
[ISC-Bugs #16881]

- DHCPv4 is now the default (as documented) rather than DHCPv6.  The default
  was set to DHCPv6 to facilitate ease early development, and forgotten.
  [ISC-Bugs #16881]

- Corrected a segmentation violation in DHCPv4 socket processing.
  [ISC-Bugs #16881]
2007-05-18 17:21:46 +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
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