summaryrefslogtreecommitdiff
path: root/includes/site.h
Commit message (Collapse)AuthorAgeFilesLines
* Added option definitionFrancis Dupont2020-10-121-0/+1
|
* Revert last commitFrancis Dupont2020-09-301-1/+0
|
* Added option definitionorigin/132-feature-request-to-support-ipv6-only-preferred-dhcpv4-optionFrancis Dupont2020-09-301-0/+1
|
* [master] Includes DHCP4 option definitions for RFCs 4578,5071, and 5859Thomas Markwalder2018-01-261-1/+4
| | | | Merges in 47062
* [master] Changes DHCLIENT_DEFAULT_PREFIX_LEN to 128, adds ↵Thomas Markwalder2017-12-111-1/+1
| | | | | | --address-prefix-len to dhclient cli Merges in rt23252.
* [master] Adds DDNS Dual Stack Mixed ModeThomas Markwalder2017-12-081-1/+0
| | | | Merges in rt42620.
* [master] Added conditional comp flag, CALL_SCRIPT_ON_ONETRY_FAILtmarkwalder2017-06-281-0/+5
| | | | Merges in rt18183a.
* [master] Changed severity of the log message indicating checksum errors.Marcin Siodelski2017-06-281-0/+7
| | | | Merges in rt41757.
* [master] dhclient now enforces require options statement in -6 modetmarkwalder2017-05-031-0/+7
| | | | Merges in rt41473.
* [master] Server now supports EUI-64 based address allocation schemeThomas Markwalder2017-04-261-0/+7
| | | | Merged rt43927.
* [master] Add patch to limit the value of an fd we accept for a connection.Shawn Routhier2016-03-041-0/+6
| | | | | By limiting the highest value we accept for an fd we limit the number of connections.
* Merged rt35711c (DHCPv4-over-DHCPv6 support)Francis Dupont2016-02-231-0/+1
|
* [master] Add new optionsShawn Routhier2016-01-291-1/+5
| | | | | | options for v4: 116, 141, 142, 159, 160 options for v6: 103, 143 from rfcs: 2563, 6011, 6153, 7618, 7710
* [master] Emit better error messages for command line issuesShawn Routhier2016-01-061-0/+7
| | | | | When emitting an error message due to a bad command line try to include information about the argument that is at fault.
* [master] Update client code to RFC7550Shawn Routhier2015-12-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the v6 client code to handle getting IA_NAs and IA_PDs in the same request better. Squashed commit of the following: commit ad1bf23100eba541c26c6c26fc2c5c9dc57dd674 Author: Shawn Routhier <sar@isc.org> Date: Mon Nov 16 23:08:13 2015 -0800 [rt40190] Use dhc6_check_status for addresses and prefixes commit 4cb1d499342e68c5c93b7e8dac71c9adbd737846 Author: Shawn Routhier <sar@isc.org> Date: Mon Nov 16 22:02:05 2015 -0800 [rt40190] Correct the tests for a status code in the client Some of the tests for the NoAddrs or NoPrefix codes in the were incorrect, checking for a return of not success instead of success. commit 41ad9ea4438c0f64b95ec7afeac38afd2f3b36cb Author: Shawn Routhier <sar@isc.org> Date: Fri Nov 13 21:04:55 2015 -0800 [rt40190] Update site.h to have the correct default commit cb720dac6670e1a6cc19b22550506ded4093abef Author: Shawn Routhier <sar@isc.org> Date: Fri Nov 13 21:03:38 2015 -0800 [rt40190] update per second set of review comments Mostly this is a set of updates to the documentation. The only code change is to add a backwards compatibility option in includes/site.h for people who want the old weightings for the client lease scoring. commit 269a5324b950062380b4e3988f56593dc21d05d9 Author: Thomas Markwalder <tmark@isc.org> Date: Thu Nov 12 09:00:36 2015 -0500 [40190] Fixed another typo commit 7da158497cd9236c30dfdce2b115818d1954839f Author: Thomas Markwalder <tmark@isc.org> Date: Thu Nov 12 07:29:33 2015 -0500 [40190] Minor cosmetics in dhc6.c commit a010737de36e5ad2f46bb11f471ac66ccbc856aa Author: Shawn Routhier <sar@isc.org> Date: Sat Nov 7 00:05:20 2015 -0800 [rt40190] Update the use of the minimum score Update the use of the minimum score to use #defines instead of 150. This corrects it for the current values and allows us to change the values if we include a backwards compatibility option. commit b078575da08c06a75a49110273bf42e24d03c08a Author: Shawn Routhier <sar@isc.org> Date: Fri Nov 6 21:55:05 2015 -0800 [rt40190] Updates per review comments Update several comments to be more informative The code changes are mostly to fold all the two bare_ia routines together. commit 248c498d45db5533f992fb6eb30ee6c3c399ee81 Author: Shawn Routhier <sar@isc.org> Date: Tue Oct 20 02:06:45 2015 -0700 [rt40190] Fix up some typos commit ba074eff2e82af0cfd25428e7f38bccd5fef7241 Author: Shawn Routhier <sar@isc.org> Date: Tue Oct 20 01:28:34 2015 -0700 [rt40190] Patch for client side of 7550 Finish up the code to handle multiple PDs and NAs in a single request, this includes updating the command line to add the -R option to require the requested IAs rather than accept the best advertised offer. commit 5bb4368b8410e3c7bcdc28fdf4ae5572df04d03b Author: Shawn Routhier <sar@isc.org> Date: Thu Oct 15 09:50:14 2015 -0700 [rt40190] checkpoint my work The basic code is working there are still some issues with how corner cases get handled that I need to resolve commit 4c0dba90fcd71c85fca3612aa5083fa11645f8f6 Author: Shawn Routhier <sar@isc.org> Date: Sun Oct 11 19:23:53 2015 -0700 [rt40190] Some changes for rfc7550, to be updated This is being checked in so I can look at other tickets but I plan to re-arrange the code a fair amount.
* Remerged #38692Francis Dupont2015-11-171-0/+6
|
* Unmerged #38692Francis Dupont2015-11-171-6/+0
|
* Merged #38692 (use program base name in (sys)log)Francis Dupont2015-09-121-0/+6
|
* [master] Add support for manipulating lease queues via a binary search.Shawn Routhier2015-05-271-0/+3
| | | | | | Add support for manipluating the queues holding leaes for time based events (free, backup, active, expired, abandoned and reserved) via a binary search instead of walking through the linked list.
* [master] Replaced SERVER_ID_CHECK compile switch with runtime config parameterThomas Markwalder2014-12-081-26/+3
| | | | Merges in rt37551.
* [master] Remove unneeded defines for errorsShawn Routhier2014-09-101-0/+8
| | | | | | | As part of 4.2.0 we renamed a number of errors but continued to include the old ones in case somebody was building something using our libraries. This #ifdefs them and by defaults removes them from the compile.
* [master] Add define to disable gentle shutodwn by defaultShawn Routhier2014-07-021-0/+9
| | | | | | | | Add a define to disable the gentle shutdown feature by default. The feature has some effects (recover-wait in failvoer pairs) and release in clients that are always desired. We plan to revisit this in order to make it easier to use but with the define it can be enabled if necessary.
* [master] Add #define for length of prefix we send to v6 client scriptShawn Routhier2014-05-081-1/+11
|
* [master] Remove the pre-errata code for handling no addresses availableShawn Routhier2014-04-291-10/+0
|
* [master] Add some more options form older RFCSShawn Routhier2014-01-251-0/+2
|
* [master] Add defintiions for optionsShawn Routhier2014-01-151-0/+21
|
* [master] Better support for INFORM requests.Shawn Routhier2013-12-131-0/+3
| | | | | | Add support to use the subnet selection option and the host declaration statements when processing an inform request
* -n master Patch for 30461 and update the auto generated filesShawn Routhier2013-12-101-0/+4
| | | | | | | | | | | 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:
* -n [master]Shawn Routhier2013-10-141-0/+13
| | | | Add code to support the standards version of DDNS
* [master]Shawn Routhier2012-11-161-0/+27
| | | | | | | | | | +- 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]
* [master]Shawn Routhier2012-11-021-0/+11
| | | | | Modify the nak_lease function to make some attempts to find a server-identifier option to use for the NAK.
* Fix the NA and PD allocation code to handle the case where a clientShawn Routhier2012-04-101-0/+10
| | | | | | | | | | | | 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]
* DNS Update fix. A misconfigured server could crash during DNS updateShawn Routhier2011-07-081-0/+4
| | | | | | | | | 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
* - Strict checks for content of domain-name DHCPv4 option can now beTomek Mrugalski2011-07-011-0/+7
| | | | | | | | 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]
* Minor code cleanups - but note port change for #23196Shawn Routhier2011-05-111-0/+4
| | | | | | | | | | | | | [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.
* Modify determination of ttl to use for DDNS update [ISC-Bugs #21126]Shawn Routhier2010-05-271-0/+12
|
* Add some debugging output for use with the DDNS code. [ISC-Bugs 20916]Shawn Routhier2010-05-261-0/+5
|
* - Compilation on Solaris with USE_SOCKETS defined in includes/site.h hasDavid Hankins2009-04-301-1/+1
| | | | | | | | been repaired. Other USE_ overrides should work better. [ISC-Bugs #19434] - A check for the local flavor of IFNAMSIZ had a broken 'else' condition, that probably still resulted in the correct behaviour (but wouldn't use a larger defined value provided by the host OS). [ISC-Bugs #19434]
* - Memory leak in the load_balance_mine() function is fixed. This wouldDavid Hankins2009-04-071-0/+1
| | | | | | | | leak ~20-30 octets per DHCPDISCOVER packet while failover was in use and in normal state. [ISC-Bugs #19548] - Various compilation fixes have been included for the memory related DEBUG #defines in includes/site.h. [ISC-Bugs #19548]
* - Some failover debugging #defines have been better defined and someDavid Hankins2008-09-241-1/+12
| | | | | | | | | | | | high frequency messages moved to a deeper debugging symbol. - The CLTT parameter in failover is now only updated by client activity, and not by failover binding updates (taking on the peer's CLTT). - Failover BNDUPD messages are now discarded if they conflict with an update that has been trasnmitted, but not acknowledged. [ISC-Bugs #17577c]
* - ./configure was extended to cover many optional build features, suchDavid Hankins2008-02-281-3/+3
| | | | | as failover, server tracing, debugging, and the execute() command. [ISC-Bugs #17678]
* - A new common configuration executable statement, execute(), has beenDavid Hankins2006-07-311-0/+6
| | | | | | | added. This permits dhcpd or dhclient to execute a named external program with command line arguments specified from other configuration language. Thanks to a patch written by Mattias Ronnblom, gotten to us via Robin Breathe. [ISC-Bugs #13728]
* MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE areDavid Hankins2005-03-171-0/+5
| | | | now synced as of tag V3-0-3-BETA-1.
* Add DEBUG_LEASE_STATE_TRANSITIONSTed Lemon2001-04-161-0/+4
|
* Enable tracing by default.Ted Lemon2001-02-131-1/+6
|
* Oops, accidentally committed a local hack.Ted Lemon2000-09-281-1/+1
|
* Panic commit.Ted Lemon2000-09-271-1/+1
|
* Don't print failover debug messages by default.Ted Lemon2000-09-021-1/+1
|
* Reference count binding scopes. Align IP headers on output.Ted Lemon2000-07-271-2/+2
|
* Disable debugging in production code.Ted Lemon2000-07-061-2/+2
|