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

3993 Commits

Author SHA1 Message Date
Shawn Routhier
9f9265b63f Correct code to calculate timing values in client to compare
rebind value to infinity instead of renew value.
[ISC-Bugs #29062]
2012-06-06 00:23:44 +00:00
Shawn Routhier
1c46a593e5 Update bind.sh for 4.2.4 2012-05-24 17:50:00 +00:00
Shawn Routhier
5568fa0d2f Updated for 4.2.4rc2 2012-05-17 18:35:30 +00:00
Shawn Routhier
ba2dd567b3 Make "\777" into "\\nnn" so it prints correctly and looks better. [ISC-Bugs 29431] 2012-05-17 15:50:14 +00:00
Shawn Routhier
cbbd2714d6 - Rotate the lease file when running in v6 mode.
[ISC-Bugs #24887]
2012-05-15 21:07:17 +00:00
Shawn Routhier
aa099cba77 Add statement that the -m option requires the -a option. 2012-05-14 23:17:43 +00:00
Shawn Routhier
54f05ec5b3 add 4.2.4rc1 to bind.sh 2012-05-04 20:44:31 +00:00
Shawn Routhier
53394a8de8 Fix typos per sanity review for 4.2.4b1/4.1-ESV-R5b1 2012-04-12 17:49:47 +00:00
Shawn Routhier
cfc494630c Fix typos per sanity review for 4.2.4b1/4.1-ESV-R5b1 2012-04-12 17:43:01 +00:00
Shawn Routhier
bb9189c30a Fix up some issues found by static analysis
A potential memory leak and NULL dereference in omapi.
The use of a boolean test instead of a bitwise test in dst.
[ISC-Bugs #28941]
2012-04-11 15:43:34 +00:00
Shawn Routhier
30e7ccb0df Add remote to the kit.sh call 2012-04-11 02:39:17 +00:00
Shawn Routhier
7c2a9dd903 Add --remote option for use with Robie 2012-04-11 01:51:35 +00:00
Shawn Routhier
5f272feddf Checkout the bind9 code from git instead of cvs. This version avoids
cloning	 the repo.
2012-04-10 23:52:06 +00:00
Shawn Routhier
d19fa5a1b5 Fix the NA and PD allocation code to handle the case where a client
provides a preference and the server doesn't have any addresses or
prefixes available.  Previoulsy the server ignored the request with
this patch it replies with a NoAddrsAvail or NoPrefixAvai respone.
By default the code performs according to the errata of August 2010
for RFC 3315 section 17.2.2, to enable the previous style see the
seciton on RFC3315_PRE_ERRATA_2010_08 in includes/site.h.  This option
may be removed in the future.
Thanks to Jiri Popelka at Red Hat for the patch.
[ISC-Bugs #22676]
2012-04-10 22:13:46 +00:00
Shawn Routhier
d289ee683e Remove unnecessary checks in the lease query code and clean up
several compiler issues (some dereferences of NULL and treating
an int as a boolean).
[ISC-Bugs #26203]
2012-04-10 21:26:44 +00:00
Shawn Routhier
bc7f8b8e39 Multiple items to clean up IPv6 address processing.
When processing an IA that we've seen check to see if the
addresses are usable (not in use by somebody else) before
handing it out.
When reading in leases from the file discard expired addresses.
When picking an address for a client include the IA ID in
addition to the client ID to generally pick different addresses
for different IAs.
[ISC-Bugs #23138] [ISC-Bugs #27945] [ISC-Bugs #25586]
[ISC-Bugs #27684]
2012-04-10 00:54:35 +00:00
Shawn Routhier
6bc3ebf088 Revert the bind.sh changes - robie isn't happy 2012-04-06 02:31:32 +00:00
Shawn Routhier
d81e9330bd Update bind.sh to use git when getting the bind tarball
Update Makefile.bind to minimize the work when we've already
configured or compiled the bind tree.
2012-04-05 22:16:47 +00:00
Shawn Routhier
6f1a6f94fc update copyright 2012-04-02 22:47:35 +00:00
Shawn Routhier
797aab6748 Add release note 2012-04-02 22:43:41 +00:00
Shawn Routhier
7b85845662 Update docs as per ticket 28574 2012-04-02 22:39:38 +00:00
Shawn Routhier
b342f2e77c Use offsetof() instead of sizeof() to get the sizes for dhcpv6_relay_packet
and dhcpv6_packet in several more places.  Thanks to a report from
Bruno Verstuyft and Vincent Demaertelaere of Excentis.
[ISC-Bugs #27941]
2012-03-20 00:31:34 +00:00
Shawn Routhier
d13db163c7 Modify the code that determines if an outstanding DDNS request
should be cancelled.  This patch results in cancelling the
outstanding request less often.  It fixes the problem caused
by a client doing a release where  the  txt and ptr records
weren't removed from the DNS.
[ISC-BUGS #27858]
2012-03-19 22:29:06 +00:00
Tomek Mrugalski
c79f81044e Stephen's patch for ATF path. 2012-03-15 18:04:58 +00:00
Tomek Mrugalski
dd9237c309 Fixed many compilation problems ("set, but not used" warnings) for
gcc 4.6 that may affect Ubuntu 11.10 users. [ISC-Bugs #27588]
2012-03-09 11:18:14 +00:00
Shawn Routhier
9a266235e6 autoconf regeneration 2012-02-16 22:08:50 +00:00
Shawn Routhier
d955bf7ebd auotmake regeneration 2012-02-16 22:08:38 +00:00
Shawn Routhier
d9f3a66cd4 automake regeneration 2012-02-16 22:08:31 +00:00
Shawn Routhier
2568cd6a5e autoheader regeneration 2012-02-16 22:08:21 +00:00
Shawn Routhier
804ea1909f aclocal regeneration 2012-02-16 22:08:10 +00:00
Shawn Routhier
e3c948003b Add a compile time check for the presence of the noreturn attribute
and use it for log_fatal if it's available.  This will help code
checking programs to eliminate false positives.
[ISC-Bugs 27539]
2012-02-16 22:07:04 +00:00
Shawn Routhier
b36ed9c3f2 autoconf regeneration 2012-02-16 21:06:36 +00:00
Shawn Routhier
09357f3d7f auotmake regeneration 2012-02-16 21:06:27 +00:00
Shawn Routhier
0c6bf326c2 automake regeneration 2012-02-16 21:06:19 +00:00
Shawn Routhier
8280b27059 autoheader regeneration 2012-02-16 21:06:05 +00:00
Shawn Routhier
f0750e0e64 aclocal regeneration 2012-02-16 21:05:56 +00:00
Shawn Routhier
b047bd385b Add support for Infiniband over sockets to the server and
relay code.  We've tested this on Solaris and hope to expand
support for Infiniband in the future.  This patch also corrects
some issues we found in the socket code.  [ISC-Bugs #24245]
2012-02-16 21:05:28 +00:00
Shawn Routhier
865afd5e44 Tidy up the receive calls and eliminate the need for found_pkt
[ISC-Bugs #25066]
2012-02-10 00:07:06 +00:00
Shawn Routhier
87132514a0 In the DDNS code handle error conditions more gracefully and add more
logging code.  The major change is to handle unexpected cancel events
from the DNS client code.
[ISC-Bugs 26287].
2012-02-03 22:47:43 +00:00
Shawn Routhier
51b8a8a0ac Move a note to get it to end up in the last 4.2.x update
moving to 4.3
2012-02-01 00:11:00 +00:00
Tomek Mrugalski
06fb929cbc Regenerated makefiles and scripts (using aclocal-1.10, autoheader-2.61,
automake-1.10 and autoconf-2.61 on docs.lab)
2012-01-31 16:06:53 +00:00
Tomek Mrugalski
313d4ef0a3 Added description about ATF framework and our unittests. 2012-01-31 15:50:15 +00:00
Tomek Mrugalski
a1a1503104 Existing server unittest migrated to ATF. 2012-01-31 15:44:16 +00:00
Tomek Mrugalski
2898f89e82 Support for ATF added in configure.ac 2012-01-31 15:35:25 +00:00
cvs2git
1bfe831c7b This commit was manufactured by cvs2git to create branch 'rt25901_atf'. 2012-01-24 22:23:42 +00:00
Shawn Routhier
b08e0ff57f Update copyright 2012-01-24 22:23:39 +00:00
Shawn Routhier
c4fd2ea1d1 Update backoff-cutoff description to match the code. 2012-01-24 22:21:04 +00:00
Shawn Routhier
e072c68fa9 Add bind information for 4.2.3-P1 and 4.2.3-P2 2012-01-23 17:58:56 +00:00
Tomek Mrugalski
86e294a0d1 Reverting previous commit (changes should go to rt26273, not HEAD) 2012-01-23 15:51:55 +00:00
Tomek Mrugalski
3a57419a94 Updated to BIND 9.8.2rc1 (that contains fix for Debian/kFreeBSD compilation) 2012-01-23 15:33:26 +00:00