]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
12 years agoReverting previous commit (changes should go to rt26273, not HEAD)
Tomek Mrugalski [Mon, 23 Jan 2012 15:51:55 +0000 (15:51 +0000)] 
Reverting previous commit (changes should go to rt26273, not HEAD)

12 years agoUpdated to BIND 9.8.2rc1 (that contains fix for Debian/kFreeBSD compilation)
Tomek Mrugalski [Mon, 23 Jan 2012 15:33:26 +0000 (15:33 +0000)] 
Updated to BIND 9.8.2rc1 (that contains fix for Debian/kFreeBSD compilation)

12 years agoFixed the code that checks if an address the server is planning
Shawn Routhier [Thu, 5 Jan 2012 00:03:18 +0000 (00:03 +0000)] 
Fixed the code that checks if an address the server is planning
to hand out is in a reserved range.  This would appear as
the server being out of addresses in pools with particular ranges.
[ISC-Bugs #26498]

12 years agoRemove extra "out" from note.
Shawn Routhier [Wed, 4 Jan 2012 19:53:49 +0000 (19:53 +0000)] 
Remove extra "out" from note.

12 years agoModify the DDNS handling code. In a previous patch we added logging
Shawn Routhier [Fri, 30 Dec 2011 23:08:41 +0000 (23:08 +0000)] 
Modify the DDNS handling code.  In a previous patch we added logging
code to the DDNS handling.  This code included a bug that caused it
to attempt to dereference a NULL pointer and eventually segfault.
While reviewing the code as we addressed this problem, we determined
that some of the updates to the lease structures would not work as
planned since the structures being updated were in the process of
being freed: these updates were removed.  In addition we removed an
incorrect call to the DDNS removal function that could cause a failure
during the removal of DDNS information from the DNS server.
Thanks to Jasper Jongmans for reporting this issue.
[ISC-Bugs #27078]
CVE: CVE-2011-4868

12 years agoUpdate 26704 to include a null check on the right hand side as well.
Shawn Routhier [Mon, 28 Nov 2011 18:01:25 +0000 (18:01 +0000)] 
Update 26704 to include a null check on the right hand side as well.

12 years agoAdded cve number
Shawn Routhier [Wed, 23 Nov 2011 17:25:30 +0000 (17:25 +0000)] 
Added cve number

12 years agoAdd acknowledgement
Shawn Routhier [Wed, 23 Nov 2011 00:24:47 +0000 (00:24 +0000)] 
Add acknowledgement

12 years agoAdd a check for a null pointer before calling the regexec function.
Shawn Routhier [Tue, 22 Nov 2011 23:56:50 +0000 (23:56 +0000)] 
Add a check for a null pointer before calling the regexec function.
Without out this check we could, under some circumstances, pass
a null pointer to the regexec function causing it to segfault.
[ISC-Bugs #26704].

12 years agoAdd 4.2.3 tag to bind.sh
Shawn Routhier [Fri, 14 Oct 2011 20:34:51 +0000 (20:34 +0000)] 
Add 4.2.3 tag to bind.sh

12 years agoUpdate copyright
Shawn Routhier [Fri, 14 Oct 2011 19:48:49 +0000 (19:48 +0000)] 
Update copyright

12 years agoCorrect typos it's => its
Shawn Routhier [Fri, 14 Oct 2011 19:43:10 +0000 (19:43 +0000)] 
Correct typos it's => its

12 years agoAdd bind tag for 4.2.3rc1
Shawn Routhier [Wed, 5 Oct 2011 00:52:05 +0000 (00:52 +0000)] 
Add bind tag for 4.2.3rc1

12 years agoEnhanced patch for 23595 to handle IPv4 fixed addresses more
Shawn Routhier [Tue, 4 Oct 2011 19:36:15 +0000 (19:36 +0000)] 
Enhanced patch for 23595 to handle IPv4 fixed addresses more
cleanly.

12 years agoAdd support for passing DDNS information to a DNS server over
Shawn Routhier [Wed, 21 Sep 2011 20:36:55 +0000 (20:36 +0000)] 
Add support for passing DDNS information to a DNS server over
an IPv6 address.  [ISC-Bugs #22647]

12 years agoUpdate description and comments for macos client script.
Shawn Routhier [Tue, 20 Sep 2011 16:59:54 +0000 (16:59 +0000)] 
Update description and comments for macos client script.
[ISC-Bugs #18891]

12 years agoAdd FILES section tag
Shawn Routhier [Mon, 19 Sep 2011 00:24:50 +0000 (00:24 +0000)] 
Add FILES section tag

12 years agoautoconf regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:45:03 +0000 (23:45 +0000)] 
autoconf regeneration

12 years agoautoconf regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:36:01 +0000 (23:36 +0000)] 
autoconf regeneration

12 years agoautomake regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:35:56 +0000 (23:35 +0000)] 
automake regeneration

12 years agoautoheader regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:35:46 +0000 (23:35 +0000)] 
autoheader regeneration

12 years agoaclocal regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:35:41 +0000 (23:35 +0000)] 
aclocal regeneration

12 years agoautoconf regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:04:27 +0000 (23:04 +0000)] 
autoconf regeneration

12 years agoautomake regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:04:20 +0000 (23:04 +0000)] 
automake regeneration

12 years agoautoheader regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:04:07 +0000 (23:04 +0000)] 
autoheader regeneration

12 years agoaclocal regeneration
Shawn Routhier [Tue, 13 Sep 2011 23:03:58 +0000 (23:03 +0000)] 
aclocal regeneration

12 years agoAdd AM_MAINTAINER_MODE to configure.ac to avoid rebuilding
Shawn Routhier [Tue, 13 Sep 2011 23:01:53 +0000 (23:01 +0000)] 
Add AM_MAINTAINER_MODE to configure.ac to avoid rebuilding
configuration files.  [ISC-Bugs #24107]

12 years agoFix the code that checks for an existing DDNS transaction to cancel
Shawn Routhier [Mon, 22 Aug 2011 20:39:19 +0000 (20:39 +0000)] 
Fix the code that checks for an existing DDNS transaction to cancel
when removing DDNS information, so that we will continue with the
processing if we have a lease even if it doesn't have an outstanding
transaction.  [ISC-Bugs #24682]

12 years agoTwo packets were found that cause a server to halt. The code
Shawn Routhier [Tue, 19 Jul 2011 22:13:26 +0000 (22:13 +0000)] 
Two packets were found that cause a server to halt.  The code
has been updated to properly process or reject the packets as
appropriate.  Thanks to David Zych at University of Illinois
for reporting this issue.  [ISC-Bugs #24960]
One CVE number for each class of packet.
CVE-2011-2748
CVE-2011-2749

12 years agoDNS Update fix. A misconfigured server could crash during DNS update
Shawn Routhier [Fri, 8 Jul 2011 22:49:11 +0000 (22:49 +0000)] 
DNS Update fix. A misconfigured server could crash during DNS update
processing if the configuration included overlapping pools or
multiple fixed-address entries for a single address.  This issue
affected both IPv4 and IPv6. The fix allows a server to detect such
conditions, provides the user with extra information and recommended
steps to fix the problem.  If the user enables the appropriate option
in site.h then server will be terminated

12 years agoMay as well update the copyright.
Shawn Routhier [Thu, 7 Jul 2011 18:26:17 +0000 (18:26 +0000)] 
May as well update the copyright.

12 years agoRelease update
Shawn Routhier [Thu, 7 Jul 2011 18:25:17 +0000 (18:25 +0000)] 
Release update

12 years agofix typos adoped => adopted, synced => synchronized
Shawn Routhier [Tue, 5 Jul 2011 16:54:53 +0000 (16:54 +0000)] 
fix typos adoped => adopted, synced => synchronized

12 years agoRestore common/discover.c, common/options.c and server/dhcp.c
Shawn Routhier [Sat, 2 Jul 2011 00:05:35 +0000 (00:05 +0000)] 
Restore common/discover.c, common/options.c and server/dhcp.c
as I mistakenly committed them to head instead of the ticket
branch.

12 years agocorrect spelling of options
Shawn Routhier [Fri, 1 Jul 2011 23:16:37 +0000 (23:16 +0000)] 
correct spelling of options

12 years agoCorrect an unsigned math operation when calculating the options
Shawn Routhier [Fri, 1 Jul 2011 23:11:53 +0000 (23:11 +0000)] 
Correct an unsigned math operation when calculating the options
buffer space for bootp and use a better constant - DHCP packet
size instead of DHCP packet size + udp and iP headers.
Check that we have a packet->options structure before using it.
Only process packets that are longer than a bootp fixed packet
including server and file names.  Previously we allowed for
shorter packets but that wasn't working and nobody noticed.

12 years agosynched => synced
Shawn Routhier [Fri, 1 Jul 2011 18:37:09 +0000 (18:37 +0000)] 
synched => synced

12 years ago- Strict checks for content of domain-name DHCPv4 option can now be
Tomek Mrugalski [Fri, 1 Jul 2011 12:07:09 +0000 (12:07 +0000)] 
- Strict checks for content of domain-name DHCPv4 option can now be
  configured during compilation time. Even though RFC2132 does not allow
  to store more than one domain in domain-name option, such behavior is
  now enabled by default, but this may change some time in the future.
  See ACCEPT_LIST_IN_DOMAIN_NAME define in includes/site.h.
  [ISC-Bugs #24167]

12 years agoautoconf regeneration
Shawn Routhier [Mon, 27 Jun 2011 16:05:08 +0000 (16:05 +0000)] 
autoconf regeneration

12 years agoautomake regeneration
Shawn Routhier [Mon, 27 Jun 2011 16:05:02 +0000 (16:05 +0000)] 
automake regeneration

12 years agoautoheader regeneration
Shawn Routhier [Mon, 27 Jun 2011 16:04:51 +0000 (16:04 +0000)] 
autoheader regeneration

12 years agoaclocal regeneration
Shawn Routhier [Mon, 27 Jun 2011 16:04:42 +0000 (16:04 +0000)] 
aclocal regeneration

12 years agoIn Solaris 11 switch to using sockets instead of DLPI, thanks
Shawn Routhier [Mon, 27 Jun 2011 16:00:32 +0000 (16:00 +0000)] 
In Solaris 11 switch to using sockets instead of DLPI, thanks
to a patch form Oracle.  [ISC-Bugs #24634].

13 years agoCorrect some typos in the documentation - see [ISC-Bug #24803]
Shawn Routhier [Wed, 8 Jun 2011 18:39:04 +0000 (18:39 +0000)] 
Correct some typos in the documentation - see [ISC-Bug #24803]

13 years agoEnlarge the buffer size used by the Omshell code and some of the
Shawn Routhier [Wed, 1 Jun 2011 23:25:37 +0000 (23:25 +0000)] 
Enlarge the buffer size used by the Omshell code and some of the
print routines to allow for greater than 60 characters or, when
printing as hex strings, 20 characters.  [ISC-Bugs #22743]

13 years agoConvert ISC_R_INPROGRESS status to ISC_R_SUCCESS when called from other
Shawn Routhier [Tue, 24 May 2011 00:36:58 +0000 (00:36 +0000)] 
Convert ISC_R_INPROGRESS status to ISC_R_SUCCESS when called from other
than the dispatch handler.  This fixes an issue where omshell, when
run from the same platform as the server, would appear to fail to
connect.  This is a companion to #21839.  [ISC-Bugs #23592]

13 years agoCopyright year updated.
Tomek Mrugalski [Mon, 23 May 2011 11:04:12 +0000 (11:04 +0000)] 
Copyright year updated.

13 years agoServer no longer complains about NULL pointer when configured
Tomek Mrugalski [Mon, 23 May 2011 10:34:10 +0000 (10:34 +0000)] 
Server no longer complains about NULL pointer when configured
server-identifier expression fails to evaluate. [ISC-Bugs #24547]

13 years ago- Documentation cleanup
Tomek Mrugalski [Fri, 20 May 2011 13:48:33 +0000 (13:48 +0000)] 
- Documentation cleanup
  [ISC-Bugs #23326] Updated References document, several man page updates

13 years agoClient Script fixes
Shawn Routhier [Wed, 18 May 2011 19:55:44 +0000 (19:55 +0000)] 
Client Script fixes
[ISC-Bugs #23045] Typos in client/scripts/openbsd
[ISC-Bugs #23565] In the client scripts add a zone id (interface id) if
the domain search address is link local.
[ISC-Bugs #1277] In some of the client scripts add code to handle the
case of the default router information being changed without the address
being changed.

13 years agoremove redundant test, unsigned is always >= 0
Mark Andrews [Fri, 13 May 2011 01:57:38 +0000 (01:57 +0000)] 
remove redundant test, unsigned is always >= 0

13 years ago- If a client renews before 'dhcp-cache-threshold' percent of its lease
Tomek Mrugalski [Thu, 12 May 2011 13:26:55 +0000 (13:26 +0000)] 
- If a client renews before 'dhcp-cache-threshold' percent of its lease
  has elapsed (default 25%), the server will reuse the allocated lease
  (provide a lease within the currently allocated lease-time) rather
  than extend or renew the lease.  This absolves the server of needing
  to perform an fsync() operation on the lease database before reply,
  which improves performance. [ISC-Bugs #22228]

13 years agoCompilation problem with gcc4.5 and omshell.c resolved. [ISC-Bugs #23831]
Tomek Mrugalski [Thu, 12 May 2011 11:16:41 +0000 (11:16 +0000)] 
Compilation problem with gcc4.5 and omshell.c resolved. [ISC-Bugs #23831]

13 years ago- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
Tomek Mrugalski [Wed, 11 May 2011 14:01:25 +0000 (14:01 +0000)] 
- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
  [ISC-Bugs #13151]

13 years agoMinor code cleanups - but note port change for #23196
Shawn Routhier [Wed, 11 May 2011 00:38:56 +0000 (00:38 +0000)] 
Minor code cleanups - but note port change for #23196
[ISC-Bugs #23470] - Modify when an ignore return macro is defined to
handle unsed error return warnings for more versions of gcc.
[ISC-Bugs #23196] - Modify the reply handling in the server code to
send to a specified port rather than to the source port for the incoming
message.  Sending to the source port was test code that should have
been removed.  The previous functionality may be restored by defining
REPLY_TO_SOURCE_PORT in the includes/site.h file.  We suggest you don't
enable this except for testing purposes.
[ISC-Bugs #22695] - Close a file descriptor in an error path.
[ISC-Bugs #19368] - Tidy up variable types in validate_port.

13 years agoLinux Packet Filter interface improvement. sockaddr_pkt structure is used,
Tomek Mrugalski [Tue, 10 May 2011 14:27:56 +0000 (14:27 +0000)] 
Linux Packet Filter interface improvement. sockaddr_pkt structure is used,
rather than sockaddr. Packet ethertype is now forced to ETH_P_IP.
[ISC-Bugs #18975]

13 years agoRelay now properly logs that packet was received over interface without
Tomek Mrugalski [Tue, 10 May 2011 12:54:36 +0000 (12:54 +0000)] 
Relay now properly logs that packet was received over interface without
global IPv6 address [ISC-Bugs #24070]

13 years agoRelay no longer crashes, when DHCP packet is received over interface without
Tomek Mrugalski [Tue, 10 May 2011 11:24:44 +0000 (11:24 +0000)] 
Relay no longer crashes, when DHCP packet is received over interface without
any IPv4 address assigned. Also extended logging message about discarding
packets with invalid hlen with information about relevant interface name.
[ISC-Bugs #22409]

13 years agoDocumentation fixes
Shawn Routhier [Mon, 25 Apr 2011 23:43:16 +0000 (23:43 +0000)] 
Documentation fixes
[ISC-Bugs #17959] add text to AIX section describing how to have it send
responses to the all-ones address.
[ISC-Bugs #19615] update the includes in dhcpctl/dhcpctl.3 to be more correct
[ISC-Bugs #20676] update dhcpd.conf.5 to include the RFC numbers for DDNS

13 years agoThe DHCP server now responds to DHCPLEASEQUERY messages from agents using
Tomek Mrugalski [Fri, 22 Apr 2011 13:21:35 +0000 (13:21 +0000)] 
The DHCP server now responds to DHCPLEASEQUERY messages from agents using
IP addresses not covered by a subnet in configuration. Server also returns
vendor-class-id option, if client sent it. [ISC-Bugs #21094]

13 years ago- Parameters configured to evaluate from user defined function calls can
Tomek Mrugalski [Thu, 21 Apr 2011 17:53:48 +0000 (17:53 +0000)] 
- Parameters configured to evaluate from user defined function calls can
  now be correctly written to dhcpd.leases
- If a 'next-server' parameter is configured in a dynamic host record via
  OMAPI as a domain name, the syntax written to disk is now correctly parsed
  upon restart.  [ISC-Bugs #22266]

13 years agoAdded missing ticket numbers to RELNOTES entries. [ISC-Bugs #19660]
Tomek Mrugalski [Thu, 21 Apr 2011 14:41:35 +0000 (14:41 +0000)] 
Added missing ticket numbers to RELNOTES entries. [ISC-Bugs #19660]

13 years agoSeveral time related improvements:
Tomek Mrugalski [Thu, 21 Apr 2011 13:24:24 +0000 (13:24 +0000)] 
Several time related improvements:
- set initial delay to 0 to speed up client start
- added 'initial-delay' parameter to possibly revert to old behavior
- better handling of very short (1 or 2s) leases
- client lease records are recorded at most once every 15 seconds
- ICMP ping-check is now timed more precisely
- Servers that don't offer lease-time are now black-listed
[ISC-Bugs #19660]

13 years agoautoconf regeneration
Shawn Routhier [Fri, 15 Apr 2011 21:59:34 +0000 (21:59 +0000)] 
autoconf regeneration

13 years agoautomake regeneration
Shawn Routhier [Fri, 15 Apr 2011 21:59:27 +0000 (21:59 +0000)] 
automake regeneration

13 years agoautoheader regeneration
Shawn Routhier [Fri, 15 Apr 2011 21:59:16 +0000 (21:59 +0000)] 
autoheader regeneration

13 years agoaclocal regeneration
Shawn Routhier [Fri, 15 Apr 2011 21:59:07 +0000 (21:59 +0000)] 
aclocal regeneration

13 years agoAdd the option "--no-pid" to the client, relay and server code,
Shawn Routhier [Fri, 15 Apr 2011 21:58:12 +0000 (21:58 +0000)] 
Add the option "--no-pid" to the client, relay and server code,
to disable writing a pid file.  Add the option "-pf pidfile"
to the relay to allow the user to supply the pidfile name at
runtime.  Add the "with-relay6-pid-file" option to configure
to allow the user to supply the pidfile name for the relay
in v6 mode at configure time.
[ISC-Bugs #23351] [ISC-Bugs #17541]

13 years agoDHCPv6 server now responds properly if client asks for a prefix that
Tomek Mrugalski [Wed, 13 Apr 2011 09:53:26 +0000 (09:53 +0000)] 
DHCPv6 server now responds properly if client asks for a prefix that
is already assigned to a different client. [ISC-Bugs #23948]

13 years agotemporally disable with-gssapi
Mark Andrews [Wed, 6 Apr 2011 00:41:10 +0000 (00:41 +0000)] 
temporally disable with-gssapi

13 years agomove declartations to start of block
Mark Andrews [Mon, 4 Apr 2011 23:09:43 +0000 (23:09 +0000)] 
move declartations to start of block

13 years agoIn dhclient check the data for some string options for
Shawn Routhier [Thu, 24 Mar 2011 21:11:01 +0000 (21:11 +0000)] 
In dhclient check the data for some string options for
reasonableness before passing it along to the script that
interfaces with the OS. [ISC-Bugs #23722]

13 years agoAdd tag for 4.2.1 => 9.8.0
Shawn Routhier [Fri, 25 Feb 2011 20:08:55 +0000 (20:08 +0000)] 
Add tag for 4.2.1 => 9.8.0

13 years agoAdd paragraph explaining some Solaris compiler issues.
Shawn Routhier [Thu, 24 Feb 2011 00:03:42 +0000 (00:03 +0000)] 
Add paragraph explaining some Solaris compiler issues.
[ISC-Bugs #21791]

13 years agoCorrect typo occurrance => occurrence
Shawn Routhier [Wed, 23 Feb 2011 23:50:55 +0000 (23:50 +0000)] 
Correct typo occurrance => occurrence

13 years agoAdd bind tag for 4.2.1rc1
Shawn Routhier [Fri, 18 Feb 2011 19:50:45 +0000 (19:50 +0000)] 
Add bind tag for 4.2.1rc1

13 years agoModify the dlpi code to accept getmsg() returning a positive value.
Shawn Routhier [Fri, 18 Feb 2011 19:12:50 +0000 (19:12 +0000)] 
Modify the dlpi code to accept getmsg() returning a positive value.
[ISC-Bugs #22824]

13 years agoautoconf regeneration
Shawn Routhier [Fri, 18 Feb 2011 18:48:44 +0000 (18:48 +0000)] 
autoconf regeneration

13 years agoautomake regeneration
Shawn Routhier [Fri, 18 Feb 2011 18:48:39 +0000 (18:48 +0000)] 
automake regeneration

13 years agoautoheader regeneration
Shawn Routhier [Fri, 18 Feb 2011 18:48:15 +0000 (18:48 +0000)] 
autoheader regeneration

13 years agoaclocal regeneration
Shawn Routhier [Fri, 18 Feb 2011 18:48:04 +0000 (18:48 +0000)] 
aclocal regeneration

13 years agoSome fixes for LDAP
Shawn Routhier [Fri, 18 Feb 2011 18:41:25 +0000 (18:41 +0000)] 
Some fixes for LDAP
[ISC-Bugs #21783] - Include lber library when building ldap
[ISC-Bugs #22888] - Enable the ldap code when buidling common

13 years agoHandle some DDNS corner cases better. Maintain the DDNS transaction
Shawn Routhier [Fri, 18 Feb 2011 18:18:20 +0000 (18:18 +0000)] 
Handle some DDNS corner cases better.  Maintain the DDNS transaction
information when updating a lease and cancel any existing transactions
when removing the ddns information.
[ISC-Bugs #23103]

13 years agoTidy up release note for 23039, including adding the ticket number
Shawn Routhier [Fri, 18 Feb 2011 17:42:49 +0000 (17:42 +0000)] 
Tidy up release note for 23039, including adding the ticket number

13 years agogrammer
Mark Andrews [Fri, 18 Feb 2011 01:57:29 +0000 (01:57 +0000)] 
grammer

13 years ago- Removed the restriction on using IPv6 address in IPv4 mode. This allow
Mark Andrews [Fri, 18 Feb 2011 01:41:30 +0000 (01:41 +0000)] 
- Removed the restriction on using IPv6 address in IPv4 mode.  This allow
  IPv4 options which contain IPv6 address to be specified.  For example
  the 6rd option can be specified and use like this:

        option 6rd code 212 = { integer 8, integer 8,
                                ip6-address, array of ip-address };
        option 6rd 16 10 2001:: 1.2.3.4, 5.6.7.8;

13 years agocast to int for * in $.*s
Mark Andrews [Wed, 16 Feb 2011 03:22:56 +0000 (03:22 +0000)] 
cast to int for * in $.*s

13 years agoFix typo disclean => distclean
Shawn Routhier [Fri, 11 Feb 2011 22:48:20 +0000 (22:48 +0000)] 
Fix typo disclean => distclean

13 years agoAdd tag for 4.2.1b1 to HEAD
Shawn Routhier [Fri, 28 Jan 2011 22:37:40 +0000 (22:37 +0000)] 
Add tag for 4.2.1b1 to HEAD

13 years agoFix typo in 21921 note
Shawn Routhier [Fri, 21 Jan 2011 00:15:29 +0000 (00:15 +0000)] 
Fix typo in 21921 note

13 years agoCorrectly spell crashing
Shawn Routhier [Thu, 20 Jan 2011 20:53:50 +0000 (20:53 +0000)] 
Correctly spell crashing

13 years agoWhen processing a request in the DHCPv6 server code that specifies
Shawn Routhier [Thu, 20 Jan 2011 19:13:41 +0000 (19:13 +0000)] 
When processing a request in the DHCPv6 server code that specifies
an address that is tagged as abondened (meaning we received a
decline request for it previously) don't attempt to move it from
the inactive to active pool as doing so can result in the server
crshing on an assert failure.  Also retag the lease as active
and reset it's timeout value.
[ISC-Bugs #21921]

13 years agoDisable the use of kqueue in the ISC library. This avoids a problem
Shawn Routhier [Thu, 30 Dec 2010 22:35:48 +0000 (22:35 +0000)] 
Disable the use of kqueue in the ISC library.  This avoids a problem
between the fork and socket code that caused the dhcpd process to
use all available cpu if the program daemonized itself.
[ISC-Bugs #21911]

13 years agoWhen processing the format flags for a given option consume the
Shawn Routhier [Wed, 29 Dec 2010 22:56:01 +0000 (22:56 +0000)] 
When processing the format flags for a given option consume the
flag indicating an optional value correctly.  A symptom of this
bug was an infinite loop when trying to parse the slp-service-scope
option.  Thanks to a patch from Marius Tomaschewski.
[ISC-Bugs #22055]

13 years agoClean up for 22033 - remove printing the seconds value
Shawn Routhier [Wed, 29 Dec 2010 21:40:33 +0000 (21:40 +0000)] 
Clean up for 22033 - remove printing the seconds value
to avoid problems with printing it in an OS agnostic manner.

13 years agoLimit the timeout period allowed in the dispatch code to 2^^32-1 seconds.
Shawn Routhier [Tue, 14 Dec 2010 23:06:50 +0000 (23:06 +0000)] 
Limit the timeout period allowed in the dispatch code to 2^^32-1 seconds.
Thanks to a report from Jiri Popelka at Red Hat.
[ISC-Bugs #22033], [Red Hat Bug #628258]

13 years agoAdd Brad's name to the entry for 22679
Shawn Routhier [Tue, 14 Dec 2010 22:54:12 +0000 (22:54 +0000)] 
Add Brad's name to the entry for 22679

13 years agoDon't pass the ISC_R_INPROGRESS status to the omapi signal handlers.
Shawn Routhier [Tue, 14 Dec 2010 21:59:44 +0000 (21:59 +0000)] 
Don't pass the ISC_R_INPROGRESS status to the omapi signal handlers.
Passing it through to the handlers caused the omshell program to fail
to connect to the server.  [ISC-Bugs #21839]

Fix the paranthesis in the code to process configuration statements
beginning with "auth".  The previous arrangement caused
"auto-partner-down" to be processed incorrectly.  [ISC-Bugs #21854]

13 years agoFix the handling of connection requests on the failover port.
Shawn Routhier [Mon, 13 Dec 2010 20:31:08 +0000 (20:31 +0000)] 
Fix the handling of connection requests on the failover port.
Previously a connection request from a source that wasn't
listed as a failover peer would cause the server to become
non-responsive.  [ISC-Bugs #22679]
CERT: VU#159528 CVE: CVE-2010-3616

13 years agofix pointer
Mark Andrews [Thu, 9 Dec 2010 01:19:10 +0000 (01:19 +0000)] 
fix pointer