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
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
Tomek Mrugalski
260a0332fd [master] RELNOTES updated after ATF merge (rt25901_atf branch) 2012-08-14 15:21:19 +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
417bd2eeeb [rt25901_atf] Makefile improvements
- doc is no longer included in SUBDIRS
- {server,common}/tests/Atffile is now included in dist
2012-08-10 11:12:16 +02:00
Tomek Mrugalski
6bc92e4ec2 [rt25901_atf] Proofreading changes by Shawn 2012-08-10 01:44:43 +02:00
Tomasz Mrugalski
e23ae654ec [rt25901_atf] Makefile.in regenerated (doc/ subdir added) 2012-08-09 14:27:08 +00:00
Tomek Mrugalski
3ed675ea60 [rt25901_atf] Final Doxygen clean-ups. 2012-08-09 16:01:25 +02:00
Tomek Mrugalski
e71e3d8248 [rt25901_atf] tests/HOWTO-unit-test mostly moved to Devel Guide
- moved major parts of HOWTO to Developer's Guide, leaving only
  brief notes and pointers to new location

- described Valgrind
2012-08-09 15:52:10 +02:00
Tomek Mrugalski
0b6c9c0dc3 [rt25901_atf] Removed unnecessary statement. 2012-08-08 20:58:02 +02:00
Tomek Mrugalski
0b08675ed9 [rt25901_atf] Developer's Guide updated, make clean target added. 2012-08-08 20:35:02 +02:00
Tomek Mrugalski
f9effb95d4 [rt25901_atf] Atffile/compilation cleanup, ATF description updated 2012-08-08 00:23:01 +02:00
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