2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 01:49:35 +00:00

228 Commits

Author SHA1 Message Date
Wlodek Wencel
41f81b5cdb generated files update 2022-11-01 15:42:57 +00:00
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
Tomek Mrugalski
5dbcd47878 [#223] Changes after review
- smaller buffer, shorted strncmp range
2022-03-04 14:18:13 +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
acb103887f [#223] Added (primitive) unit-test 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
f4622ec147 regenerated Makefiles for release 2022-01-25 16:33:59 +01:00
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Tomek Mrugalski
f6b8f48d16 [#189] Whitespace fixes in opened files 2022-01-20 12:04:28 +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
18d088f258 [master] Updated auto-generated files for 4.4.2 2020-01-17 20:50:34 +00: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
39788b3dac [#80] Fixed unresolved symbol errors linking relay_unittests with libtool
modified: RELNOTES
modified: relay/tests/relay_unittests.c
2020-01-17 09:08:29 -05:00
Thomas Markwalder
31e68e5e3b [#75] Removed trailing spaces
modified:   relay/tests/Atffile
modified:   relay/tests/Makefile.am
2020-01-14 14:29:24 -05:00
Thomas Markwalder
afb6640167 [#71] Addressed review comments
Updated RELNOTES with acks per support request

relay/tests/Kyuafile
    corrected bin name

relay/tests/relay_unittests.c
    Updated commentary and other minor changes
2020-01-14 14:29:24 -05:00
Thomas Markwalder
c02625dc21 [#71] Update auto-generated files
updated:
configure
relay/Makefile.am
relay/Makefile.in
relay/tests/Makefile.am

new file:
relay/tests/Makefile.in
2020-01-14 14:29:24 -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
Francis Dupont
662483908c Finishing merge of rt46933 (Kyua) 2018-01-11 15:02:35 +01: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
35a3a3a88f [rt46933] regen 2017-12-30 16:52:24 +00: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
bf6f8fcee9 Almost done (still aestetic fixes and of course doc, doc, doc) 2016-10-06 20:45:50 +02:00
Francis Dupont
13e5cc6cbe Libtoolize build chain (unfinished) 2016-10-06 14:56:49 +02:00
Francis Dupont
a1eea2a0d1 Merged rt43246a (fix --enable-threads) 2016-10-06 10:14:10 +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
Francis Dupont
6831578226 Solved the --with-libbind vs distchek issue 2016-10-01 00:12:07 +02:00
Francis Dupont
e94e7f2380 Finished rebased 2016-09-28 16:36:21 +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