2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

3175 Commits

Author SHA1 Message Date
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
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
8c1752d2ce Diffed the snapshot against the DHCPv6 branch head and noticed we had not
documented the range6 addition since the snapshot.
2007-05-17 20:08:59 +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
3496f11e70 Update comment per rt16841. 2007-05-16 21:29:57 +00:00
David Hankins
5a22eb63a2 Spell 'received' correctly. 2007-05-16 18:27:37 +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
Evan Hunt
74dc3e0b27 Fixed a bug that caused OMAPI clients to hang when opening leases. [rt16495] 2007-05-07 17:19:17 +00:00
David Hankins
9163e15d4e - Error in rt16831 repaired...append the n_hw tail of the insert point to
the n_hw point of the current lease...not the n_uid tail.
2007-05-04 21:46:50 +00:00
Evan Hunt
75eaa6ffa2 Rework pool parsing change to fix null dereference [rt16845] 2007-05-03 21:24:38 +00:00
David Hankins
f546c28bf0 Change was in 3.0.6, not 3.1.0b2. Reflect wording changes made in
that release.
2007-05-02 22:50:19 +00:00
Evan Hunt
83c0372e28 Assorted fixes for broken network devices: IP header length field is now
determined from payload, because some NIC drivers return more data than
they actually recived; IP and UDP packets now stored in aligned data
structures; outgoing packet TTL increased from 16 to 128. [rt15583]
2007-04-27 23:54:06 +00:00
Evan Hunt
46153375b0 Added contrib/dhclient-tz-exithook.sh script for processing tzname (option 101)
[rt16755]
2007-04-27 23:34:39 +00:00
Evan Hunt
1ba87b376b A new server config option "fqdn-reply" specifies whether the server
should send out option 81 (FQDN).  Defaults to "on".  If set to "off",
the FQDN option is not sent, even if the client requested it.  This is
needed because some clients misbehave otherwise. [rt16624]
2007-04-27 22:48:00 +00:00
Evan Hunt
a58da042f5 Allow trace output files (-tf option) to be overwritten, rather than
crashing dhcpd if the file already exists [rt16459]
2007-04-27 22:38:03 +00:00
Evan Hunt
61252edfa9 Fix a bug where dhcpd segfaults if a pool is declared outside a subnet
in dhcpd.conf [rt16448]
2007-04-27 22:36:26 +00:00
David Hankins
d5b6835f89 - The server's "by client-id" and "by hardware address" hash table lists
are now sorted according to the preference to re-allocate that lease to
  returning clients.  This should eliminate pool starvation problems
  arising when "INIT" clients were given new leases rather than presently
  active ones. [ISC-Bugs #16831]
2007-04-26 20:06:25 +00:00
David Hankins
3d0c598a1d Relnotes entry in the wrong place. 2007-04-26 19:34:02 +00:00
David Hankins
4d97a043e4 - dhclient now closes its descriptor to dhclient.leases prior to executing
dhclient-script.  Thanks to a patch from Tomas Pospisek. [ISC-Bugs #16728]
2007-04-26 19:31:58 +00:00
David Hankins
68287bde84 Missing indentation reset. 2007-04-24 20:49:51 +00:00
David Hankins
9aa3f3a55d - Some bugs were fixed in the 'emergency relay agent options hologram'
which is used to retain relay agent option contents from when the
  client was in INIT or REBIND states.  This should solve problems where
  relay agent options were not echoed from the server, even when giaddr
  was set.  [ISC-Bugs #16787]
2007-04-20 15:25:26 +00:00
David Hankins
c759db75e0 - Several spelling typos were repaired, and some cross-references to other
relevant documents were included in the manpages, thanks to a patch
  by Andrew Pollock which got to us via Tomas Pospisek. [ISC-Bugs #16731]
2007-04-19 21:35:12 +00:00
David Hankins
830ebc4c5b - A grammar error in the dhclient.8 manpage was repaired thanks to a patch
from Chris Wagner. [ISC-Bugs #16565]
2007-04-19 21:18:50 +00:00
David Hankins
24b364de79 Document link-selection. 2007-04-18 15:53:14 +00:00
David Hankins
67674ffb38 - Timestamp parsing errors that indicated missing "minutes" fields rather
than the actually missing "seconds" fields have been repaired thanks to
  a patch from Kevin Steves. [ISC_Bugs #16505]
2007-04-16 17:32:02 +00:00