2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

3868 Commits

Author SHA1 Message Date
Tomek Mrugalski
97ddf9d161 [rt25901_atf] Test for 29851 simiplified 2012-07-02 18:45:07 +02:00
Tomek Mrugalski
54d3aff8f3 [rt25901_atf] Timeout set for rt29851 test 2012-07-02 18:36:28 +02:00
Tomek Mrugalski
3b02a77aec [rt25901_atf] Added test that reproduces 29851 issue. 2012-07-02 18:28:32 +02:00
Tomek Mrugalski
e1e8b61b05 [rt25901_atf] Spelling fix in Developer's Guide 2012-07-02 15:35:50 +02:00
Tomek Mrugalski
f94d5a1411 [rt25901_atf] Tests for 3 hosts implemented. 2012-07-02 15:06:00 +02:00
Tomek Mrugalski
bbcea18c3c [rt25901_atf] uid_hash test parametrized, added 2 exta tests. 2012-07-02 14:47:15 +02:00
Tomek Mrugalski
5f10a36cf6 [atf25901_atf] #if 0 converted to comment. 2012-07-02 13:54:06 +02:00
Tomek Mrugalski
ab61011260 [rt25901_atf]: First uid_hash test ready (with 36 checks) 2012-07-02 13:41:35 +02:00
Tomasz Mrugalski
98678c9abd [rt25901_atf] configure regenerated 2012-07-02 09:18:11 +00:00
Tomek Mrugalski
99d4c286ef [rt25901_atf] Tweaks in status output in configure.ac 2012-07-02 11:16:35 +02:00
Tomek Mrugalski
5fe45d0791 [rt25901_atf] autotool files regenerated 2012-07-02 10:59:47 +02:00
Tomek Mrugalski
f518b958d1 [rt25901_atf] Unnecessary section on main page removed. 2012-06-30 20:02:15 +02:00
Tomek Mrugalski
ce9de43df5 [rt25901_atf] cppcheck verification added. 2012-06-30 20:00:57 +02:00
Tomek Mrugalski
82cb9b6480 [rt25901_atf] Files for Doxygen generation added. 2012-06-30 19:19:31 +02:00
Tomek Mrugalski
3329bb3e78 [rt25901_atf] Adding new ATF tests described. 2012-06-30 12:49:55 +02:00
Tomek Mrugalski
2908281039 [rt25901_atf] Developer's Guide sections for ATF and debugging added. 2012-06-30 11:50:37 +02:00
Tomek Mrugalski
9f89d01ec1 [25901_atf] First test for client-id hash table implemented.
It still lacks many checks and clean-ups, but the core code is there.
2012-06-29 19:56:27 +02:00
Tomek Mrugalski
f3d7118fd1 [25901_atf] Skeleton for hash tests added. 2012-06-29 17:06:21 +02:00
Tomek Mrugalski
db81cc0ca0 [25901_atf] Existing alloc tests in common converted to ATF 2012-06-29 16:59:17 +02:00
Shawn Routhier
e563ec2e58 When attempting to convert a DUID from a client id option
into a hardware address handle unexpected client ids properly.
Thanks to Markus Hietava of Codenomicon CROSS project for the
finding this issue and CERT-FI for vulnerability coordination.
[ISC-Bugs #29852]
CVE: CVE-2012-3570
2012-06-27 21:33:25 +00:00
Shawn Routhier
de87ffe336 Previously the server code was relaxed to allow packets with zero
length client ids to be processed.  Under some situations use of
zero length client ids can cause the server to go into an infinite
loop.  As such ids are not valid according to RFC 2132 section 9.14
the server no longer accepts them.  Client ids with a length of 1
are also invalid but the server still accepts them in order to
minimize disruption.  The restriction will likely be tightened in
the future to disallow ids with a length of 1.
Thanks to Markus Hietava of Codenomicon CROSS project for the
finding this issue and CERT-FI for vulnerability coordination.
[ISC-Bugs #29851]
CVE: CVE-2012-3571
2012-06-27 21:20:19 +00:00
Shawn Routhier
32e651c418 A problem with missing get_hw_addr function when --enable-use-sockets
was used is now solved on GNU/Linux, BSD and GNU/Hurd systems. Note
that use-sockets feature was not tested on those systems. Client and
server code no longer use MAX_PATH constant that is not defined on
GNU/Hurd systems. [ISC-Bugs 25979]
2012-06-08 23:28:11 +00:00
Shawn Routhier
6980ae03c3 The 'no available billing' log line now also logs the name of the last
matching billing class tried before failing to provide a billing.
ISC-Bugs #21759]
2012-06-06 23:55:01 +00:00
Shawn Routhier
35de6c8c24 Fix some issues in the code for parsing and printing options.
[ISC-Bugs #22625] - properly print options that have several fields
followed by an array of something for example "fIa"
[ISC-Bugs #27289] - properly parse options in declarations that have
several fields followed by an array of something for example "fIa"
[ISC-Bugs #27296] - properly determine if we parsed a 16 or 32 bit
value in evaluate_numeric_expression (extract-int).
[ISC-Bugs #27314] - properly parse a zero length option from
a lease file.  Thanks to Marius Tomaschewski from SUSE for the report
and prototype patch for this ticket as well as ticket 27289.
2012-06-06 22:50:31 +00:00
Tomek Mrugalski
c08a70750c [rt25901_atf] Test checkin. 2012-06-06 13:49:47 +02:00
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