2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

3728 Commits

Author SHA1 Message Date
Tomek Mrugalski
e04feb1f05 [rt25901_atf] Skeleton documentation for architecture, contrib and omapi 2012-08-06 21:56:51 -07:00
Shawn Routhier
ffec568b4f [rt30471]
Modify description of renewal and rebind options to add
that the code ignores them if they are equal	 to the lease
as well	 as greater than.
2012-08-03 15:41:39 -07:00
Shawn Routhier
355db4b687 [rt30024]
Move the line that zeros the packet_oro variable to
be earlier so it is properly cleared if we exit early.
2012-07-12 22:55:19 -07:00
Shawn Routhier
df2c355e24 [rt30024] This is a commit message
Add the CVE number
2012-07-11 18:43:27 -07:00
Shawn Routhier
3bedb11744 [rt30024] This is a commit message
Fix a pair of memory leaks.
2012-07-11 14:50:35 -07:00
Tomasz Mrugalski
b81b413d21 [rt25901_atf] Missing server/tests/Makefile.in added. 2012-07-05 15:00:07 +00:00
Stephen Morris
904a771add [rt25901_atf] Minor corrections to some files
Minor corrections to some of the atf.dox documentation.  Also modified
hash_unitest.c to avoid problems in "printf" (the format string %lu was wrong
for a size_t on my machine, so an explicit cast was made to the correct type).
2012-07-04 17:06:32 +01:00
Tomasz Mrugalski
a5fdc5179d autoreconf --install 2012-07-02 17:40:16 +00:00
Tomek Mrugalski
deb1693da2 [rt25901_atf] Indentation cleanup of mdb6_unittest.c 2012-07-02 19:05:05 +02:00
Tomek Mrugalski
3afbcb6cf9 [rt25901_atf] Intentation clean-up. 2012-07-02 18:58:30 +02:00
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