2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

3868 Commits

Author SHA1 Message Date
Shawn Routhier
6aaaf6a460 Fixes to lease input and output.
[ISC-Bugs #20418] - Some systems don't support the "%s" argument to
strftime, paste together the same string using mktime instead.
[ISC-Bugs #19596] - When parsing iaid values accept printable
characters.
[ISC-Bugs #21585] - Always print time values in omshell as hex
instead of ascii if the values happen to be printable characters.
2010-09-13 22:06:37 +00:00
Shawn Routhier
83d409ae59 Parse date strings more properly - the code now handles semi-colons in
date strings correctly.  Thanks to a patch from Jiri Popelka at Red Hat.
[ISC-Bugs #21501, #20598]
2010-09-13 19:23:28 +00:00
David Hankins
8bd445a1c1 - Two identical log messages for commit_leases() have been disambiguated.
[ISC-Bugs #18915]
2010-09-10 22:04:19 +00:00
Shawn Routhier
197c917e34 - Add an elapsed time option to the release message and refactor the
code to move most of the common code to a single routine.
  [ISC-Bugs #21171].
2010-09-10 20:21:03 +00:00
Shawn Routhier
436e808ad1 Update to 20378, print receive_packet6 in the log message 2010-09-09 22:49:58 +00:00
Shawn Routhier
57fbc77221 Another batch of fixes
Correct error handling in DLPI [ISC-Bugs #20378]
 Remove __sun__ and __hpux__ typedefs in osdep.h as they are now being
 checked in configure.  [ISC-Bugs #20443]
 Modify how the cmsg header is allocated the v6 send and received routines
 to compile on more compilers.  [ISC-Bugs #20524]
 When parsing a domain name free the memory for the name after we are
 done with it.  [ISC-Bugs #20824]
2010-09-09 22:18:02 +00:00
Mark Andrews
228e444722 address builds where sizeof != int 2010-09-09 06:48:52 +00:00
Shawn Routhier
66be0ad13f Minor code fixes
[ISC-Bugs #19566] When trying to find the zone for a name for ddns allow
 the name to be at the apex of the zone.
 [ISC-Bugs #19617] Restrict length of interface name read from command line
 in dhcpd - based on a patch from David Cantrell at Red Hat.
 [ISC-Bugs #20039] Correct some error messages in dhcpd.c
 [ISC-Bugs #20070] Better range check on values when creating a DHCID.
 [ISC-Bugs #20198] Avoid writing past the end of the field when adding
 overly long file or server names to a packet and add a log message
 if the configuration supplied overly long names for these fields.
 [ISC-Bugs #21497] Add a little more randomness to rng seed in client
2010-09-08 22:13:05 +00:00
David Hankins
ea75d5443c - Fixed a bug that leaks host record references onto lease structures,
causing the server to apply configuration intended for one host to any
  other innocent clients that come along later.  [ISC-Bugs #22018]
2010-09-07 23:55:24 +00:00
Shawn Routhier
4a5098e93f Add code to clear the pointer to an object in an OMAPI handle when the
object is freed due to a dereference.  [ISC-Bugs #21306]
2010-09-07 22:59:23 +00:00
David Hankins
f07d0fb5bc - The .TH tag for the dhcp-options manpage was typo repaired
thanks to a report from jidanni and the Debian package maintenance
  team.  [ISC-Bugs #21676] {Debian Bug#563613}
2010-07-20 21:09:14 +00:00
Shawn Routhier
d6645f56ff Put the options in the dhclient and dhcpd man pages into the standard form.
[ISC-Bugs #20264] and parts of [ISC-Bugs #17744] for dhclient.8 changes
2010-07-14 20:01:14 +00:00
David Hankins
524705e54a - 'get-host-names true;' now also works even if 'use-host-decl-names true;'
was also configured.  The nature of this repair also fixes another
  error; the host-name supplied by a client is no longer overridden by a
  reverse lookup of the lease address.  Thanks to a patch from Wilco Baan
  Hofman supplied to us by the Debian package maintenance team.
  [ISC-Bugs #21691] {Debian Bug#509445}
2010-07-13 18:43:41 +00:00
Shawn Routhier
5a38e43f6f Documentation cleanup covering multiple tickets
[ISC-Bugs #20265] [ISC-Bugs #20259] minor cleanup
  [ISC-Bugs #20263] add text describing some default values
  [ISC-Bugs #20193] single quotes at the start of a line indicate a control
  line to nroff, escape them if we actually want a quote.
  [ISC-Bugs #18916] sync the pointer to web pages amongst the different docs
2010-07-02 23:09:15 +00:00
Shawn Routhier
63ff896aa5 Add cert and cve number to note for 21253 2010-06-18 19:18:52 +00:00
Mark Andrews
de59a4b873 make robust to version changes on head 2010-06-18 03:23:04 +00:00
David Hankins
795b3525a1 BIND 9 export library version for 4.2.0rc1/4.2.0 final to v9_7_1 final. 2010-06-15 18:41:51 +00:00
Shawn Routhier
badc999d0e Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] 2010-06-11 22:13:44 +00:00
David Hankins
09fa3ef213 Back out use of 'snapshot' syntax to kit.sh. 2010-06-03 16:25:33 +00:00
David Hankins
3be9631ca4 Update bind.sh for auto robie builds. 2010-06-02 22:18:41 +00:00
David Hankins
a5c7bf7779 adding changes notes to reflect bugs fixed by updating libisc/libdns. 2010-06-02 17:08:17 +00:00
David Hankins
be94d30022 update util/bind.sh to match v4_2. 2010-06-01 17:29:36 +00:00
Shawn Routhier
2b58b8650e Modify determination of ttl to use for DDNS update [ISC-Bugs #21126] 2010-05-27 17:19:26 +00:00
Shawn Routhier
600ee61905 Fix the trace code to handle timing events better. [ISC-Bugs 20969] 2010-05-27 00:30:11 +00:00
Shawn Routhier
590298e746 Add some debugging output for use with the DDNS code. [ISC-Bugs 20916] 2010-05-26 22:25:10 +00:00
David Hankins
0d8c3d6eed - A bug was fixed that could cause the DHCPv6 server to advertise/assign a
previously allocated (active) lease to a client that has changed subnets,
  despite being on different shared networks.  Dynamic prefixes specifically
  allocated in shared networks also now are not offered if the client has
  moved.  [ISC-Bugs #21152]
2010-05-25 17:40:28 +00:00
Shawn Routhier
d122accf9a Patch for 21093 - handle v4 or v6 only a little better. If we can't contstruct
the context log it and leave, if we can but then try and do a DDNS transaction
using the protocol we don't have log it and continue.
2010-05-25 00:22:29 +00:00
David Hankins
8a513c436b - A memory leak in ddns processing was closed. [ISC-Bugs #21377] 2010-05-24 23:47:42 +00:00
Shawn Routhier
1943bbf803 Allow zero-length client ids when hashing. Ticket 21253 2010-05-14 23:46:59 +00:00
Shawn Routhier
7437807984 Update documentation about dhcpv6 ORO. Tickets 21052, 21102 2010-04-27 22:13:53 +00:00
Shawn Routhier
805cf10898 Use correct option for requesting dhcp-lease-time 2010-04-26 21:17:32 +00:00
Shawn Routhier
1e05d095c2 Don't include lease time information in the response to a DHCPINFORM
request.  We do this by removing any time information from the option
cache before building the reponse packet.  Bug ticket 21092.
2010-04-20 23:20:20 +00:00
David Hankins
7c7515b9bd Fix misspelled comment (infomation->information). Note that I do not actually
understand the rest of the comment, and that may be worth repairing...
2010-04-14 19:08:55 +00:00
David Hankins
94e82a1822 looks like these got missed from HEAD 2010-04-02 00:07:41 +00:00
David Hankins
cf6bc0dad5 Adding missing files. 2010-03-25 15:23:31 +00:00
David Hankins
2d5fba9b9b autoconf regeneration 2010-03-24 23:35:15 +00:00
David Hankins
1b658b9b70 automake regeneration 2010-03-24 23:35:11 +00:00
David Hankins
efaa0fb24d autoheader regeneration 2010-03-24 23:34:43 +00:00
David Hankins
5b518e92de aclocal regeneration 2010-03-24 23:34:39 +00:00
David Hankins
33692791d7 - "The LDAP Patch" that has been circulating for some time, written by
Brian Masney and S.Kalyanasundraram and maintained for application to
  the DHCP-4 sources by David Cantrell has been included.  Please be
  advised that these sources were contributed, and do not yet meet the
  high standards we place on production sources we include by default.
  As a result, the LDAP features are only included by using a compile-time
  option which defaults off, and if you enable it you do so under your
  own recognizance.  We will be improving this software over time.
  [ISC-Bugs #17741]
2010-03-24 21:49:03 +00:00
David Hankins
f2d4f64457 Make that 9.7.0p1. 2010-03-24 17:50:19 +00:00
David Hankins
64483f4d3c Move to 9.7.0 final for export lib. 2010-03-24 17:30:49 +00:00
Shawn Routhier
f4bc8261ca Modify the routine that constructs DNS names to convert relative names to
absolute names (add trailing dot) to keep the dns library happy.  Ticket 21054
2010-03-17 17:07:43 +00:00
Shawn Routhier
0585235c45 Update the fsync batching patch to work with the isc libraries - 21044 2010-03-12 01:36:57 +00:00
Shawn Routhier
8d189ca080 autoconf regeneration 2010-02-12 00:04:25 +00:00
Shawn Routhier
38792f799f automake regeneration 2010-02-12 00:04:23 +00:00
Shawn Routhier
c549f1417a autoheader regeneration 2010-02-12 00:04:17 +00:00
Shawn Routhier
c74d222cf4 aclocal regeneration 2010-02-12 00:04:14 +00:00
Shawn Routhier
2bf5878642 Remove dead file as part of DDNS trace cleanup 20885 2010-02-11 23:59:52 +00:00
Shawn Routhier
3b8f36e003 autoconf regeneration 2010-02-11 23:56:09 +00:00