2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

1342 Commits

Author SHA1 Message Date
Shawn Routhier
8ee352ee9a [master] Tidy up bpf processing
Make bpf processing a bit better so we properly
process broken packets and their successors
2014-01-24 20:00:12 -08:00
Shawn Routhier
bc30c84e65 [master] Add defintiions for options 2014-01-15 18:54:35 -08:00
Shawn Routhier
fe2ac9e327 [master] Extend hardware expression to look at leases if no packet is available
[rt24584] Extend the hardware expression to look into the lease if available
2014-01-14 13:17:26 -08:00
Shawn Routhier
19748527a0 [master] Update test makefiles to use the correct libraries 2013-12-13 23:50:40 +00:00
Shawn Routhier
eb8a7cd7fa [master] Correct some makefile issues in the test directories 2013-12-13 15:48:47 -08:00
Shawn Routhier
e54ff84f08 -n master Patch for 30461 and update the auto generated files
Update the auto genrated files to add the required bind9
libraries

Fix up dhcpctl/Makefile.am to include the isccfg lib

Patch for 30461 to allow the DHCP server to find
the name server to update via the DNS
Conflicts:
2013-12-10 04:03:12 +00:00
Shawn Routhier
619304cd87 [master] Support using v6 relay options in server decicions. 2013-11-25 21:00:41 -08:00
Shawn Routhier
0895c955d1 [master] Fix up the gentle shutdown code to handle failover
This patch modifies the gentle failover patch to
be cleaner and to handle failover peers better.
2013-11-14 12:55:10 -08:00
Shawn Routhier
47e8308dea [master]
[32692] Signal handlers added: sigint (ctrl-c) and sigterm (default kill)
2013-10-30 13:52:36 -07:00
Shawn Routhier
4b8251a0c0 -n [master]
Fix the socket handling for DHCPv6 clients to allow multiple instances
of a clinet on a single machine to work properly.
[ISC-Bugs #34784]
2013-10-21 14:59:41 -07:00
Shawn Routhier
d7d9c0c7c3 -n [master]
Add code to support the standards version of DDNS
2013-10-14 15:53:24 -07:00
Shawn Routhier
1d851cff2c -n [master]
Correct NTP rfc number
2013-10-11 14:42:06 -07:00
Francis Dupont
eff1c7d831 set SO_REUSEPORT only for multicast 2013-09-25 10:22:43 +02:00
Shawn Routhier
01fa619fab -n [master]
26510
 Add support for classes in the IPv6 code
2013-08-27 14:20:09 -07:00
Shawn Routhier
a7341359cc -n [master]
[rt27912]
    Add code to suppor on {commit expiry release} statements for DHCPv6.
    There are several pieces to this change
    1) Add space in the iasubopt structure to hold the statement pointers
    2) Update the execute code to fill in the structures as necessary
    3) Execute the statements when appropriate
    Many of the changes in the non-v6 code are to pass the v6 structures
    around to the execute code.
2013-08-27 13:40:47 -07:00
Shawn Routhier
8cd88e202b -n [master]
[rt26311]
    Fix the issue with DDNS by checking to see if we have added a pointer
    to the ddns_cb and skipping the cache threshold check if we did.  Also
    expand and correct the cache threshold check into the delayed ack code.
2013-08-27 11:09:12 -07:00
Shawn Routhier
360cc6d993 [master]
Squashed commit of the following:
    [rt33351]
    Check for overly long whitespace in files we are parsing and
    print a message and exit if we find it.  We could try and continue
    but given that the file is likely corrupt that doesn't seem useful.
    commit e5cde5645b6cdeee04761fa3671d9e9f3b5abdd4
    commit 25c632ab85e996f89a8e0337a3c5caef6ff4392a
2013-06-04 10:44:13 -07:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Shawn Routhier
cc17cbc398 [master]
[rt33032]
    Move declaration of fudge so it's only declared if we will use it.
2013-04-08 11:14:20 -07:00
Mark Andrews
a24b9f23d0 - Use newer auto* tool packages and turn on RFC_3542 support on Mac OS.
[ISC-Bugs #26303]
2013-03-28 17:11:06 +11:00
Jeremy C. Reed
8e112e2bc6 Various minor documentation improvements:
remove repeated words

fix: it's to its

some minor formatting added
	(this needs to be improved still, there is a mix
	of \fB Bold and \fI underline for same things)

spelling fixes

minor punctuation fixes (remove ...)

uppercase an acronym that is not a config item

(I didn't get this reviewed, these all are very minor or obvious.)
2013-01-28 18:01:41 -06:00
Shawn Routhier
b89b8e1628 -n [master]
Clean up ATF issues:
describe patch to ATF code for solaris 11
remove unneeded options for use on solaris 11
comment out unused hash test
[rt32089]
2012-12-13 11:29:35 -08:00
Shawn Routhier
f30e277118 [master]
Remove outdated section on ad-hoc DDNS
[ISC-Bugs #21798 #29939]
2012-12-04 11:43:42 -08:00
Shawn Routhier
8acc987b9e [master]
Remove unused variable.
[ISC-Bugs #31983]
2012-11-28 12:55:32 -08:00
Shawn Routhier
0d93c339de [master]
Tidy up some compiler issues in the debug code
[ISC-Bugs #26460]
2012-11-16 17:02:03 -08:00
Shawn Routhier
962d5eab9b [master]
[ISC-Bugs #23048]
Parsing unquoted base64 strings improved. Parser now properly handles
strings that contain reserved names.
2012-10-23 12:08:30 -07:00
Shawn Routhier
0f750c4fb1 [master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool.  Runs courtesy of Red Hat.
2012-10-16 15:05:24 -07:00
Shawn Routhier
74977c9456 [master]
Relax the requirements for deleting an A or AAAA record.
Previously the DDNS removal code required both the A or AAAA
record and the TXT record to exist.  This requirement could
cause problems if something interrupted the removal leaving
the TXT record alone.  This relaxation was codified in RFC 4703.
[ISC-Bugs #30734]
2012-10-09 13:28:14 -07:00
Shawn Routhier
67b2cb451b [master]
Update the memory leakage debug code to work with v6.
2012-09-19 14:27:44 -07:00
Shawn Routhier
529be52a84 Add common/tests/Atffile and server/tests/Atffile to the distribution
and rebuild the auto generated files
2012-08-23 18:14:17 +00:00
Tomek Mrugalski
7243a86cc1 Merge branch 'rt25901_atf' 2012-08-14 15:46:10 +02:00
Tomasz Mrugalski
3c753d22f8 [rt25901_atf] common/tests/Makefile.in regenerated 2012-08-14 13:44:54 +00:00
Tomek Mrugalski
96356187b8 [rt25901_atf] common/tests/Makefile.am improvements
make check no longer tries to run atf when ATF was not enabled
(make check target does not make much sense with tests disabled,
but it shouldn't fail complaining about missing atf-run)
2012-08-14 15:42:20 +02:00
Tomek Mrugalski
85c8df6dd0 [master] Merge branch 'rt25901_atf'
Conflicts:
	configure
2012-08-14 15:20:46 +02:00
Tomasz Mrugalski
0b483f01af [rt25901_atf] autoreconf --install 2012-08-14 13:00:01 +00:00
Tomek Mrugalski
2611324386 [rt25901_atf] Added comments to {server,common}/Makefile.am,
version reverted from 4.2.0-git to 4.2.0
2012-08-14 14:58:12 +02:00
Shawn Routhier
a0497ac5ac [rt29771]
[rt29770]
[rt29846]
Tidy up man pages, mostly convert a period followed by 1
or 3 spaces to a period followed by 2 spaces.  This also
covers tickets 29770 and 29846

Squashed commit of the following:

commit d40674fdfc8a81a44f8033bf048587a3eab0471f
Author: Shawn Routhier <sar@isc.org>
Date:   Fri Aug 3 17:55:05 2012 -0700
2012-08-13 16:22:32 -07:00
Tomasz Mrugalski
e3bbdbfd47 [rt25901_atf] autoreconf 2012-08-10 09:33:05 +00:00
Tomek Mrugalski
22a37d9f15 [rt25901_atf] tests subdirs are now unconditionally listed in SUBDIRS 2012-08-10 11:30:48 +02:00
Tomek Mrugalski
f9effb95d4 [rt25901_atf] Atffile/compilation cleanup, ATF description updated 2012-08-08 00:23:01 +02: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
3bedb11744 [rt30024] This is a commit message
Fix a pair of memory leaks.
2012-07-11 14:50:35 -07: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
5fe45d0791 [rt25901_atf] autotool files regenerated 2012-07-02 10:59:47 +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
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