2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

135 Commits

Author SHA1 Message Date
Tomek Mrugalski
18d6f4794d [#223] Missed one ip_address 2022-03-04 14:59:14 +01:00
Tomek Mrugalski
378e30b6b5 [#223] help formatting fixed 2022-03-04 14:51:34 +01:00
Thomas Markwalder
2b08209f97 [#223] Minor edits
Renamed boolean fake_gw -> use_fake_gw
Added missing blank line
2022-03-04 09:39:00 +00:00
Tomek Mrugalski
6473e8221a [#223] Resolved test build warning 2022-03-04 09:39:00 +00:00
Jens Elkner
57913f7f7f dhcrelay: option to force giaddr
Use option  -g ipaddr  to replace the giaddr sent to clients with
the given ipaddr to workaround bogus clients like Solaris 11 grub
which use giaddr instead of the announced router (3) to setup its
default route.
2022-03-04 09:39:00 +00:00
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
6c7e61578b [#117] Fixed gcc 10 compilation issues
client/dhclient.c
relay/dhcrelay.c
    extern'ed local_port,remote_port

common/discover.c
    init local_port,remote_port to 0

server/mdb.c
    extern'ed dhcp_type_host

server/mdb6.c
    create_prefix6() - eliminated memcpy string overflow error
2020-10-07 10:41:45 +00:00
Thomas Markwalder
b8724f78a6 [#80] Corrected unresolved symbol, dhcpv4o6() in relay_unittests under libtool
Removed dummy func defs, reworked #defines to satisfy symbols.

Changes to be committed:
	modified:   relay/dhcrelay.c
	modified:   relay/tests/relay_unittests.c
2020-01-21 12:40:28 -05: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
0a2f9a62bc [#71] Fix dhcrelay agent option buffer pointer logic
relay/dhcrelay.c
    Added UNIT_TEST conditionals and such for unit test support

    strip_relay_agent_options()
    strip_relay_agent_options()
    - corrected buffer pointer logic

relay/tests/Atffile
relay/tests/Kyuafile
relay/tests/Makefile.am
relay/tests/relay_unittests.c
    - new unit test files

configure.ac-base
    added relay/tests/Makefile

regenerated configure files
	configure
    configure.ac
    configure.ac+lt
    configure.ac-lt
2020-01-14 14:28:42 -05:00
Thomas Markwalder
e35c2a5242 [#64,!35] Updated copyrights in log messages 2019-11-26 07:02:32 -05:00
Thomas Markwalder
0cd94b5ef4 [#64,!35] Restored work
Restored cummulative work.
2019-11-22 13:39:45 -05:00
Thomas Markwalder
753d458b1f [#15,!10] Minor changes to eliminate warnings under GCC 9
added release note

common/parse.c
    parse_warn() - upped format buffer size to squelch warning

includes/dhcpd.h
    struct interface_info - bumped name size by 1 to squelch warning

relay/dhcrelay.c
    request_v4_interface() - replace strncpy with memcpy to
    squelch warning (len is already checked above it)

server/confpars.c
    parse_failover_peer() - pass token value into log_fatal
    calls rather than null pointer
2019-06-12 09:57:32 -04:00
Thomas Markwalder
397599cb44 [master] Pre-release tag prep for 4.4.0b1: version #, copyright etc... 2018-01-02 14:06:31 -05:00
Francis Dupont
563f0b8aef Merged rt44535 (relay port) 2017-12-23 01:18:23 +01: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
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
e4dcd805cc Merged rt43473 (libtool instal) 2016-11-03 09:36:56 +01: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
edd6d8881b [master] Added "-id" command line argument to dhcrelay v4 mode
Merges in rt41547b.
2016-08-15 06:52:58 -04:00
Thomas Markwalder
f2e70402f0 [master] Added -iu command line argument to dhcrelay
Merges in 41547a
2016-08-10 14:31:26 -04:00
Shawn Routhier
fb641d8ee5 [master] Fix typo in dhcrelay for -U error message 2016-08-01 12:35:33 -07:00
Shawn Routhier
0b0a1399fa [master] Fix copy and paste error to use remote id instead of circuit id
Squashed commit of the following:

commit 0f8b7fe0a421e3c46ffff69ac0fe47804fc663ec
Author: Shawn Routhier <sar@isc.org>
Date:   Wed Jun 1 09:53:11 2016 -0700

    [rt42556] Fix copy and paste error to use remote id instead of circuit id
2016-06-01 10:25:08 -07:00
Thomas Markwalder
b12e0ca961 [master] Changed dhcrelay v4 command line arg from -u to -U
Changed the new uplink command line argument for v4 dhcrelay from
-u to -U to distinguish it from v6.
2016-03-07 14:48:28 -05:00
Thomas Markwalder
9deef2e73e [master] Pre-release tag prep for 4.3.4b1: version #, copyright etc... 2016-03-04 16:19:27 -05:00
Francis Dupont
785c1a519e Merged rt35711c (DHCPv4-over-DHCPv6 support) 2016-02-23 10:40:10 +01:00
Shawn Routhier
0ba7d5fc15 [master] Add cast of sizeof() to long to make some compilers happy 2016-02-16 14:36:10 -08:00
Thomas Markwalder
cbef159ef0 [master] Fixed coverity issue in dhcrelay
Merges in rt41708
2016-02-16 15:45:54 -05:00
Thomas Markwalder
6e7e6637ac [master] Add link selection suboption support to dhcrelay (RFC 3527)
Merges in rt34875.
2016-02-10 07:20:03 -05:00
Shawn Routhier
eda1d0aa5a [master] Hnadle dhcpv6 being disabled better
The previous patches didn't handle dhvpv6 being disabled well.
    This change moves the #ifdefs a bit to handle it.
2016-01-12 12:33:26 -08: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
Francis Dupont
646acb59b4 Merged #38692 (use program base name in (sys)log) 2015-09-12 19:18:50 +02:00
Thomas Markwalder
4d9b81fc10 [master] Versioning updates for v4.3.2b1 2015-01-29 15:47:37 -05:00
Thomas Markwalder
c2b5b5e8d4 [master] Fixed inconsistencies in setting hop count limit in dhcrelay
Merges in rt37426.
2015-01-19 13:25:18 -05: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
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
f950de775f [master] Add code to remove pid files and to log killing of clients 2014-05-07 08:03:19 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
324257e3db [master] Update version stamps and such for 4.3.0b1 2014-01-15 19:38:55 -08:00
Shawn Routhier
32da1939af [master] Prepare for 4.3.0a1
Update vesion stamps, copyright dates and the bind version to use.
2013-12-13 13:32:35 -08:00
Shawn Routhier
61ef216b8d [master] Add support for user selection of the from address for DDNS transactions 2013-12-11 08:08:42 -08:00
Shawn Routhier
619304cd87 [master] Support using v6 relay options in server decicions. 2013-11-25 21:00:41 -08:00
Shawn Routhier
0895c955d1 [master] Fix up the gentle shutdown code to handle failover
This patch modifies the gentle failover patch to
be cleaner and to handle failover peers better.
2013-11-14 12:55:10 -08:00