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

1342 Commits

Author SHA1 Message Date
David Hankins
bdddcb7d96 - A bug in the FQDN universe that added FQDN codes to the NWIP universe's
hash table was repaired. [ISC-Bugs #16395]
2006-09-18 17:35:44 +00:00
David Hankins
f2c69b72a8 - Silence warnings from robie. [ISC-Bugs #16358] 2006-08-24 14:58:55 +00:00
Shane Kerr
96bbe8c538 Merge of rt16329, adds encapsulation within encapsulation. 2006-08-11 09:15:17 +00:00
David Hankins
78c553c4a0 Removing the new I/O changes from HEAD. [ISC-Bugs #16328] 2006-08-09 14:57:48 +00:00
Shane Kerr
4cba29f04f Pulling in rt16318, a set of fixes for 3.1 from Hankins. 2006-08-04 10:59:33 +00:00
David Hankins
5786874726 Several minor bugs never seen in any public release corrected.
[ISC-Bugs #16316]
2006-08-02 22:36:00 +00:00
David Hankins
b543fea9d4 - A new common configuration executable statement, execute(), has been
added.  This permits dhcpd or dhclient to execute a named external
  program with command line arguments specified from other configuration
  language.  Thanks to a patch written by Mattias Ronnblom, gotten to us
  via Robin Breathe. [ISC-Bugs #13728]
2006-07-31 22:19:51 +00:00
Shane Kerr
d5341d9b5f New options added, and some magic code to parse unknown options.
See ticket rt15925.
2006-07-26 15:43:52 +00:00
David Hankins
41e4506776 - DHCPD is now RFC2131 section 4.1 compliant (broadcast to all-ones ip and
ethernet mac address) on the SCO platform specifically without any strange
  ifconfig hacks.  Many thanks go to the Kroger Co. for donating the
  hardware and funding the development. [V3-0-1-KROGER-WORK-BRANCH] - funded
  development.
2006-07-25 17:41:18 +00:00
Shane Kerr
07de837526 Added associated-ip to priority list, for rt16180. 2006-07-25 13:36:58 +00:00
Shane Kerr
6d103865fb Merged rt12324, DHCPLEASEQUERY. 2006-07-25 13:26:00 +00:00
Shane Kerr
272ef1bca0 Hankin's fixes for hash-related core dumps on HEAD. 2006-07-25 09:59:39 +00:00
David Hankins
dba5803b95 - Support for compressed 'domain name list' style DHCP option contents, and
in particular the domain search option (#119) was added. [ISC-Bugs #15934]
2006-07-22 02:24:16 +00:00
David Hankins
567e85616c - In those cases where the DHCP software manufactures an IP header (to
transmit via bpf, lpf, etc), the IP TTL the software selects has been
  increased from 16 to 128.  This is intended to match Microsoft Windows
  DHCP Client behaviour, to increase compatibility. [ISC-Bugs #15583 and
  #3226]
2006-07-19 18:00:36 +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
2bddf829f4 - The log message emitted when the 'leased-address' value was not available
in dhcpd.conf "executable statements" has been updated to be more helpful.
  Manpage information for this value has also been updated. [ISC-Bugs #16136]
2006-07-17 15:33:34 +00:00
David Hankins
2426234f7c - Failover pairs now implement 'MAC Affinity' on leases moving from the
active to free states.  Leases that belonged to the failover secondary
  are moved to BACKUP state rather than FREE upon exiting EXPIRED state.
  If lease rebalancing must move leases, it tries first to move leases
  that belong to the peer in need.
- The server no longer sends POOLREQ messages unless the pool is severely
  misbalanced in the peer's favor (see 'man dhcpd.conf' for more details).
- Pool rebalance events no longer happen upon successfully allocating a
  lease.  Instead, they happen on a schedule.  See 'man dhcpd.conf' for the
  min-balance and max-balance statements for more information.

  [ISC-Bugs #13308]
2006-06-16 19:26:45 +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
d19e2cf7de Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
2006-06-05 16:42:59 +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
ee91252816 - The subnet-mask option is now supplied by default, but at lowest
priority.  This helps a small minority of clients that provide parameter
  request lists, but do not list the subnet-mask option because they were
  designed to interoperate with a server that behaves in this manner.
  [ISC-Bugs #1196]
- The FQDN option is similarly supplied even if it does not appear on the
  parameter request list, but not to the exclusion of options that do
  appear at the parameter request list.  Up until now it had ultimate
  priority over the client's parameter request list.  [ISC-Bugs #1196]
2006-05-30 19:58:14 +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
David Hankins
2727c1cf8f - lcase() and ucase() configuration expressions have been added which adjust
their arguments from upper to lower and lower to upper cases respectively.
  [ISC-Bugs #1597]
2006-05-11 16:31:29 +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
David Hankins
91e17fc3aa Manpage patch from user. 2006-04-26 15:13:11 +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
b43c87ad59 - RFC3942 compliance, site-local option spaces start at 224 now, not 128.
[ISC-Bugs #13142]
2005-09-30 19:15:55 +00:00
David Hankins
13936722ca Upon trying to back the www-server documentation down to the
V3-release-branch, I now believe that this was a merge error...the option
is already documented, this duplicates it.  Probably confused cvs merging
somehow from the fact that a single word was added...
2005-04-01 23:41:26 +00:00
David Hankins
9748a78039 Files removed in the massive merge between V3-RELEASE-BRANCH and HEAD,
bringing HEAD up to par with V3-0-3-BETA-1.
2005-03-17 20:42:06 +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
Murray
d01a85ad31 Back out last change. The bug is in FreeBSD, not in this file.
Requested by:	mellon
2002-06-10 00:12:34 +00:00
Murray
8794ca1fba Add $Id$ tag, to make it easier to track changes for the translators
and other contributors.
2002-06-10 00:07:41 +00:00
Murray
c9681d5f62 Merge the last year's worth of work on the branch to the HEAD. 2002-06-10 00:06:34 +00:00
Murray
8db1caf34e Correct typos found during the Japanese translation.
Submitted by:	SUZUKI Koichi <metal@gc5.so-net.ne.jp>
2002-06-10 00:00:47 +00:00
Murray
e1f77b3154 Increase size of buffer to support more interfaces.
Submitted by:	NAKAMURA Motonori <motonori@media.kyoto-u.ac.jp>
RT #:		2974
2002-06-09 22:52:39 +00:00
Murray
066bd4d547 Merge from branch - possibly avoid null-pointer dereference. 2002-06-09 22:49:51 +00:00
Murray
4089dd2111 Merge from branch: Don't print errors in fallback_discard(). 2002-06-09 22:19:37 +00:00
Murray
5c1f23c421 Properly initialize sockaddr
Submitted by:	Jun-ichiro itojun Hagino <itojun@iijlab.net>
RT #:		3040
2002-06-09 22:17:09 +00:00
Murray
cd6568057e Properly initialize sockaddr to 0.
Submitted by:	Jun-ichiro itojun Hagino <itojun@iijlab.net>
RT #:		3040
2002-06-09 22:16:34 +00:00
Murray
d1d0d78ad5 When an interface goes away in FreeBSD, read(2) returns ENXIO, not
EIO.

This fixes an annoying infinite-loop bug on FreeBSD.

Fix suggested by:	mellon
2002-06-08 09:28:15 +00:00
Murray
668c33c74a Sync with V3-RELEASE-BRANCH. Fixes remote root exploit. 2002-04-30 06:18:39 +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
31bbee784c Sync with 3.0rc7 2001-05-17 19:04:09 +00:00
Ted Lemon
cb7cfe5cb7 Mention that an ASCII DHCP client identifier may include a leading NUL. 2001-05-04 17:15:17 +00:00
Ted Lemon
33d1e366db Make print_hw_addr bulletproof. 2001-05-04 01:05:17 +00:00
Ted Lemon
351556132f If the algorithm name is not properly terminated with a '.', add one. 2001-05-02 16:59:30 +00:00
Ted Lemon
263a2ed031 Add line-oriented argument to new_parse(). 2001-05-02 06:39:43 +00:00
Ted Lemon
615a574a25 Tweak the SIOCGIFCONF code once again. 2001-05-02 06:36:54 +00:00