2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

222 Commits

Author SHA1 Message Date
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Tomek Mrugalski
429a56d73c [#189] ISC address updated 2022-01-20 12:04:28 +01:00
Razvan Becheriu
0c03eaefbb fixed compilation warning 2022-01-19 20:59:15 +02:00
Thomas Markwalder
109fa1d093 [master] Pre-release tag prep for 4.4.2: version #, copyright etc...
Changes to be committed:
	modified:   LICENSE
	modified:   README
	modified:   RELNOTES
	modified:   client/dhclient.c
	modified:   common/discover.c
	modified:   configure
	modified:   configure.ac
	modified:   configure.ac+lt
	modified:   configure.ac-base
	modified:   configure.ac-lt
	modified:   relay/dhcrelay.c
	modified:   relay/tests/relay_unittests.c
	modified:   server/dhcpd.c
	modified:   server/failover.c
	modified:   util/bind.sh
2020-01-17 15:38:12 -05:00
Thomas Markwalder
82e0ea5760 [master] Pre-release tag prep for 4.4.2b1: version #, copyright etc...
Changes to be committed:
	modified:   LICENSE
	modified:   README
	modified:   RELNOTES
	modified:   client/dhclient.8
	modified:   common/options.c
	modified:   configure
	modified:   configure.ac
	modified:   configure.ac+lt
	modified:   configure.ac-base
	modified:   configure.ac-lt
	modified:   keama/confparse.c
	modified:   keama/keama.8
	modified:   keama/keama.c
	modified:   keama/keama.h
	modified:   keama/options.c
	modified:   keama/parse.c
	modified:   server/dhcpd.c
	modified:   util/bind.sh
2019-12-11 12:24:01 -05:00
Thomas Markwalder
db4e4aa2e4 [master] Fixed relative file name crash
Merges in rt46957
2018-01-12 10:41:37 -05:00
Thomas Markwalder
397599cb44 [master] Pre-release tag prep for 4.4.0b1: version #, copyright etc... 2018-01-02 14:06:31 -05:00
Thomas Markwalder
ab77c8b8b5 [master] Restores use of env vars for lease and pid files
Merges in rt46859.
2017-12-19 15:51:02 -05:00
Francis Dupont
a2a0f98c21 Added local-address6 2017-12-19 21:02:51 +01:00
Thomas Markwalder
700e3fca88 [master] Moved delayed-ack fully to runtime
Merges in 42446fd.
2017-12-19 06:25:12 -05:00
Thomas Markwalder
bafa7b74c4 [master] Added --release-on-roam server parameter
Merges in 46849.
2017-12-18 14:00:46 -05:00
Thomas Markwalder
c2e5ee2882 [master] Adds persist-eui-64-leases config parameter and support
Merges in rt45046.
2017-12-11 07:45:10 -05:00
Thomas Markwalder
905c58b9ca [master] Adds DDNS Dual Stack Mixed Mode
Merges in rt42620.
2017-12-08 11:56:10 -05:00
Thomas Markwalder
b53ba1572c [master] Changes prefix-length-mode default to be "prefer"
Merges in rt45615.
2017-12-07 10:29:40 -05:00
Thomas Markwalder
3059324199 [45364] Replaced --enable-secs-byteorder with runtime check-secs-byte-order
configure.ac
   removed --enable-secs-byteorder support

includes/dhcpd.h
    added SV_CHECK_SECS_BYTE_ORDER

includes/failover.h
    added extern int check_secs_byte_order

server/dhcpd.c
    postconf_initialization() - added logic to
    set check_secs_byte_order

server/failover.c
    load_balance_mine() - replaced conditional comp
    directives with runtime test of check_secs_byte_order

Added release note and updated man page.
2017-11-29 07:51:50 -05:00
Thomas Markwalder
fc4f62fe47 [master] Output copyright et al with usage in dhcrelay
Merges in rt41865.
2017-11-16 14:08:53 -05:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Thomas Markwalder
6ec59010ef [master] Check failover pools per peer in test mode
Merges in rt29892
2017-06-27 10:10:26 -04:00
Thomas Markwalder
ca22af8999 [master] Optimized if and when DNS client context and ports are initted
Merges in rt45290.
2017-06-19 14:44:29 -04:00
Francis Dupont
bf6f8fcee9 Almost done (still aestetic fixes and of course doc, doc, doc) 2016-10-06 20:45:50 +02:00
Francis Dupont
68dfa9103b Addressed comments about help and version 2016-10-05 15:07:39 +02:00
Francis Dupont
29b23207c0 Daemonize sooner (code from bind9/named) (rebased) 2016-10-01 01:35:37 +02:00
Thomas Markwalder
a5252220fb [master] Add abandon-lease-time parameter
Merges in rt41815.
2016-07-07 14:11:26 -04:00
Thomas Markwalder
9deef2e73e [master] Pre-release tag prep for 4.3.4b1: version #, copyright etc... 2016-03-04 16:19:27 -05:00
Thomas Markwalder
cc1bd34e09 [master] Added lease-id-format to server and client
Merges in rt26378
2016-03-04 14:16:29 -05:00
Francis Dupont
785c1a519e Merged rt35711c (DHCPv4-over-DHCPv6 support) 2016-02-23 10:40:10 +01:00
Shawn Routhier
b2cb745bd4 [master] Emit better error messages for command line issues
When emitting an error message due to a bad command line try to
include information about the argument that is at fault.
2016-01-06 16:32:25 -08:00
Francis Dupont
7acd875396 Remerged #38692 2015-11-17 16:43:44 +01:00
Francis Dupont
bf673d217b Unmerged #38692 2015-11-17 16:36:19 +01:00
Thomas Markwalder
347d4962d0 [master] Added authoring-btye-order parameter to lease file handling
Merged in rt38396.
2015-10-13 06:34:15 -04:00
Thomas Markwalder
88c3ff5d09 [master] Corrected several potential null references identified by static analysis
Merges branch rt40754
2015-09-23 15:24:32 -04:00
Francis Dupont
7a6187a84d Fixed spurious #ifndef UNIT_TEST for progname (used outside usage()) 2015-09-16 14:54:13 +02:00
Francis Dupont
646acb59b4 Merged #38692 (use program base name in (sys)log) 2015-09-12 19:18:50 +02:00
Shawn Routhier
7a6c9368c9 [master] Add fchown to the paranoia patch
Add code to fchown the lease file to the paranoia patch to avoid
having issues with a file that the server can't manipulate.
2015-07-15 14:14:39 -07:00
Thomas Markwalder
e422b8c78f [master] Delayed-ack now works correctly with failover
Merges in 31474.
2015-06-15 15:19:42 -04:00
Shawn Routhier
3933e2aa51 [master] Add support for manipulating lease queues via a binary search.
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.
2015-05-27 13:17:46 -07:00
Shawn Routhier
90a062fb20 [master] Always write the DUID to the lease file during startup 2015-04-15 19:32:26 -07:00
Thomas Markwalder
2794167d42 [master] Updates in prep for 4.3.2.pre-beta
Updated version info, etc
2015-01-08 15:22:56 -05:00
Thomas Markwalder
1a006ff6ed [master] Added DHCPv6 prefix-length-mode configuration parameter
Merges in rt36780.
2015-01-08 10:30:12 -05:00
Thomas Markwalder
fb98e02e12 [master] Log v6 shared network lease counts, when none available for a DUID
Merges in rt26376
2015-01-08 09:44:51 -05:00
Thomas Markwalder
001b9d5325 [master] Fix debug build broken by 38078
server/dhcpd.c -
        moved declarations of local variable in main(), used by pid file
        logic, outside of debug conditional compilation.
2014-12-18 07:34:57 -05:00
Shawn Routhier
992dc76542 [master] Move the check for another server to be earlier
[rt38078] Move the check for another server to be earlier

    Move the code that checks if there is already a server
    running to be executed earlier in the process.  This
    puts it before the server touches the database which
    should avoid problems with rewriting a database from
    under a running server.
2014-12-16 08:36:57 -08:00
Thomas Markwalder
7116a34fc9 [master] Replaced SERVER_ID_CHECK compile switch with runtime config parameter
Merges in rt37551.
2014-12-08 14:56:40 -05:00
Thomas Markwalder
d9b2a590e8 [master] Host declaration name can now be used in DNS forward name
Merges in rt21323.
2014-11-19 10:56:17 -05:00
Thomas Markwalder
3956569b0d [master] Server file names now logged after config parsing
Merges in rt36671
2014-09-08 07:45:42 -04:00
Shawn Routhier
e9326fd0f4 [master] Add define to disable gentle shutodwn by default
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.
2014-07-02 08:49:19 -07:00
Shawn Routhier
00e9af8ee0 [master] Add configure option to incude PID in syslog entries 2014-05-07 12:19:33 -07:00
Shawn Routhier
d8c7c34ef6 [master] Print out files used and move the dropping of privileges in paranoia
17551 - When starting up in verbose mode have the server print out
        the files it will use

25806 - Moving the paranoia code that drops the privileges to be after
        the server has written the PID file.
2014-05-07 11:54:27 -07:00
Shawn Routhier
f950de775f [master] Add code to remove pid files and to log killing of clients 2014-05-07 08:03:19 -07:00
Shawn Routhier
158a34fb68 [master] Add #ifdefs to allow code to compile if NSUPDATE isn't defined 2014-04-28 15:27:02 -07:00