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

3993 Commits

Author SHA1 Message Date
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
ad4001ce80 [master]
Add a sleep call after trying to kill a previous client.  This
should make the "-r" option to the client work more consistently.
[ISC-Bugs: 18175]
2013-08-27 10:31:27 -07:00
Mark Andrews
6d210be233 handle realloc failure [RT #32105] 2013-06-11 16:08:16 +10:00
Mark Andrews
74d67492a1 add #include "config.h" 2013-06-07 09:06:14 +10:00
Shawn Routhier
79d2c88e8c Run auto tools on updated configure.ac file 2013-06-06 19:06:06 +00:00
Shawn Routhier
957cda7d7a [master]
Change version and dates to make it clear this isn't 4.3.0 if we
create a tar ball for test purposes.
2013-06-06 12:03:33 -07:00
Shawn Routhier
08b2d34783 [master]
Modify the class and subclass code to allow for dynamic addition and
removal of subclasses.  See 27452 for details.
2013-06-05 18:15:49 -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
Shawn Routhier
6741869891 [master]
Checkin for 20680, adding perl script to look at lease files
2013-05-30 12:23:17 -07:00
Mark Andrews
9626483bbb - Address static analysis warnings.
[ISC-Bugs #33510] [ISC-Bugs #33511]
2013-05-23 14:21:20 +10:00
Mark Andrews
d0a10f6ac3 - Address static analysis warnings.
[ISC-Bugs #33510]
2013-05-23 14:15:03 +10:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Shawn Routhier
7133470475 [master]
Update bind.sh to use v9_9 until we update DHCP to
use shared libraries.  See ticket 33195
2013-04-10 13:57:52 -07: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
a2bb892f71 Update auto generated files for rt32206 2013-01-16 20:42:34 +00:00
Shawn Routhier
c5bc8b1a37 [master]
When checking to see if atf is available also check the
lib64 directory.
[rt32206]
2013-01-16 12:31:13 -08:00
Shawn Routhier
bf1b1d992d [master]
Update bind version for 4.2.5rc1
2012-12-14 12:21:53 -08:00
Shawn Routhier
56c0e68182 [master]
Add ticket number to comment
2012-12-13 11:38:06 -08: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
d5d868e726 [master]
Update per comments from sanity check
2012-12-12 16:41:04 -08:00
Shawn Routhier
247d01cd75 [master]
Update bind version map for 4.2.5b1
2012-12-04 18:28:14 -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
24777ef41e [master]
Tidy up	dhclient.8 file:
make use of man sections consistent for dhclient.conf, dhclient-script
and dhclient.lease
make port port-number and VAR=val VAR=value
correct	  desciptionof to description of
[ISC-Bugs #17368]
2012-11-28 13:54:09 -08:00
Shawn Routhier
8acc987b9e [master]
Remove unused variable.
[ISC-Bugs #31983]
2012-11-28 12:55:32 -08:00
Shawn Routhier
1e2a127bfe [master]
[rt31231]
Check the status when trying to read from a connection
and don't ask for more if we seem to have a closed
connection.
[ISC-Bugs #31231]
2012-11-26 12:14:27 -08:00
Shawn Routhier
9ff4e0a221 [master]
Move the dhclient.conf and dhcpd.conf files to *.example
to avoid overwriting them during installation.
2012-11-19 11:42:38 -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
f8380d3ff2 [master]
+- Add support for a simple check that the server id in a request message
+  to a failover peer matches the server id of the server.  This support
+  is enabled by editing the file includes/site.h and uncommenting the
+  definition for SERVER_ID_CHECK.  The option has several restrictions
+  and issues - please read the comment in the site.h file before
+  enabling it.
+  [ISC-Bugs #31463]
2012-11-16 15:02:13 -08:00
Shawn Routhier
3aa562f8ad [master]
Add rt number to comment
2012-11-13 12:58:32 -08:00
Shawn Routhier
10613724a9 [master]
The client now passes information about the options it requested
from the server to the script code via environment variables.
These variables are of the form requested_<option_name>=1 with
the option name being the same as used in the new_* and old_*
variables. [ISC-Bugs #29068]
2012-11-13 12:56:02 -08:00
Shawn Routhier
d56788df77 [master]
Modify the nak_lease function to make some attempts to find a
server-identifier option to use for the NAK.
2012-11-02 16:37:03 -07: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
881442e20f [rt26108]
Update auto generated files for rt26108
2012-10-11 21:53:13 +00:00
Shawn Routhier
dbd6551769 [master]
[ISC-Bugs #26108]
Add a compile time option, enable-secs-byteorder, to deal with
clients that do the byte ordering on the secs field incorrectly.
This field should be in network byte order but some clients
get it wrong.  When this option is enabled the server will examine
the secs field and if it looks wrong (high byte non zero and low
byte zero) swap the bytes.  The default is disabled.  This option
is only useful when doing load balancing within failover.
2012-10-11 14:30:24 -07:00
Shawn Routhier
30e4232753 [master]
[rt30320]
When processing a failover request with an unexpected name
create an option block the relationship_name instead of using
the one from the incoming message.  This avoids problems when
the option is freed.

Also add code to free the relationship_name from the incoming
mesasage when we free the message.
2012-10-09 14:08:26 -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
ad4ef0326c master
Update version stamp to 4.3 for better version clarity
2012-09-20 00:56:39 +00:00
Shawn Routhier
0346629822 [master]
Update version stamp to 4.3.0
2012-09-19 17:44:22 -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
Shawn Routhier
03b44855b1 -n [master]
Correct a typo
2012-08-17 14:12:18 -07:00
Shawn Routhier
0b2ec8c99c [rt30281]
Modify the renew_lease6() code to properly handle a lease time
that is reduced rather than extended.
Fix the ATF tests for mdb6 and add a new test to check the
above condition.
2012-08-17 12:05:49 -07:00
Tomek Mrugalski
18a28679ed [master] RELNOTES entry for ATF moved to the changes since 4.2.4 section. 2012-08-16 16:47:18 +02: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
Tomasz Mrugalski
4a70cb107e [master] autoreconf (configure regenerated after rt25901_atf merge) 2012-08-14 13:33:33 +00:00