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

885 Commits

Author SHA1 Message Date
Shawn Routhier
e105afa15e [master] Add support for sending encapsulated v6 options from the server
Even if there was a definition for an ecncapsulated v6 option
and a set of values for it the v6 server wouldn't add it to
the outgoing packet.  This patch updates the server to do so.
2016-06-03 11:24:48 -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
Francis Dupont
914c567d8e Finished merge of rt41973 (util/bindvar.sh errors logged but ignored) 2016-04-27 17:17:18 +02:00
Shawn Routhier
1e08558f37 [master] Add tag for next set of release notes 2016-04-04 19:51:07 -07:00
Shawn Routhier
670599acae [master] Add CVE number 2016-03-30 10:33:14 -07:00
Thomas Markwalder
33dca28a7a [master] Pre-release tag prep for 4.3.4: version #, copyright etc... 2016-03-22 09:39:36 -04:00
Thomas Markwalder
34a09be027 [master] Updated release notes with contributor cite 2016-03-09 13:20:20 -05:00
Jeremy C. Reed
29d1b58f4e fix typo 2016-03-08 13:33:41 -05:00
Jeremy C. Reed
26de50fb49 Merge branch 'master' of repo.isc.org:/proj/git/prod/dhcp
Conflicts:
	RELNOTES
2016-03-08 12:11:28 -05:00
Jeremy C. Reed
cb0d7e7c2b fix few misspelling typos and some capitalization 2016-03-08 11:59:28 -05: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
Shawn Routhier
c808603ec9 [master] Fix typos in relnotes 2016-03-05 10:08:05 -08:00
Thomas Markwalder
9deef2e73e [master] Pre-release tag prep for 4.3.4b1: version #, copyright etc... 2016-03-04 16:19:27 -05:00
Shawn Routhier
0b209ea5cc [master] Add patch to limit the value of an fd we accept for a connection.
By limiting the highest value we accept for an fd we limit the number
of connections.
2016-03-04 12:16:52 -08:00
Thomas Markwalder
cc1bd34e09 [master] Added lease-id-format to server and client
Merges in rt26378
2016-03-04 14:16:29 -05:00
Shawn Routhier
84ee63a06b [master] Add a call to dereference the packet structure if the deocding fails
Squashed commit of the following:

commit 7d61e40149676f989667cac90d9c3b6f5b63ac6b
Author: Shawn Routhier <sar@isc.org>
Date:   Tue Feb 23 11:31:27 2016 -0800

    [rt41774] Add a call to dereference the packet structure if the deocding fails
2016-02-23 12:16:19 -08:00
Thomas Markwalder
9b2e9347a9 [master] Updated release notes 2016-02-23 13:26:33 -05:00
Thomas Markwalder
fca944dbbb [master] Updated release notes 2016-02-23 07:51:09 -05:00
Thomas Markwalder
0f1a34e915 [master] Fixed interface device naming for DLPI under Solaris 11
Merges in rt37954.
2016-02-23 07:09:17 -05:00
Francis Dupont
785c1a519e Merged rt35711c (DHCPv4-over-DHCPv6 support) 2016-02-23 10:40:10 +01:00
Shawn Routhier
08ad1e3c90 [master] Correct the tag of a release note entry 2016-02-18 20:30:57 -08:00
Thomas Markwalder
45086eef45 [master] Fixed several minor Coverity issues
Merges in rt35144.
2016-02-18 11:21:42 -05:00
Thomas Markwalder
cbef159ef0 [master] Fixed coverity issue in dhcrelay
Merges in rt41708
2016-02-16 15:45:54 -05:00
Thomas Markwalder
dce576b860 [master] Add global DHCPv6 option, dhcpv6-set-tee-times to calculate T1/T2
Merges in rt25687
2016-02-16 13:07:02 -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
Francis Dupont
f704712ed7 Finished merge of t39262 (DHCP build from another directory) 2016-02-09 13:49:00 +01:00
Thomas Markwalder
68b5d3956b [master] Moved misplaced release note to proper spot 2016-02-08 07:32:34 -05:00
Thomas Markwalder
606f272018 [master] Fixed infinite-is-reserved and lease:flags setting via omapi
Merges in rt31179.
2016-02-05 09:03:51 -05:00
Shawn Routhier
1d3fc4d0d8 [master] Handle long commands in execute better
Use token_print_indent_concat() to write the comamnd in an
    execute statement to the lease file.  This keeps the quotes
    with the command.  When using token_print_indent() and passing
    the quotes as a prefix and suffix they could be discarded
    if the command was overly long.
2016-02-02 10:13:11 -08:00
Shawn Routhier
1bfdeaaee9 [master] Add new options
options for v4: 116, 141, 142, 159, 160
options for v6: 103, 143
from rfcs:  2563, 6011, 6153, 7618, 7710
2016-01-29 10:51:18 -08:00
Francis Dupont
b7311aaeb3 Merged rt38835a (add --with-randomdev in config options) 2016-01-29 14:57:39 +01:00
Thomas Markwalder
62a9eb918c [master] Add support for relayed client-linklayer-address option (RFC 6939)
Merges in rt40334.
2016-01-28 16:30:01 -05:00
Francis Dupont
81060f1638 Finish rt41536 merge 2016-01-27 13:14:42 +01:00
Francis Dupont
41b5a1a6b7 Add a release note entry 2016-01-27 12:59:23 +01:00
Shawn Routhier
36c4a03705 [master] Enhance support for long and infinite leases in v6 server 2016-01-25 21:16:00 -08:00
Shawn Routhier
0958dea48c [master] Add reporter's name to the release note 2016-01-23 22:48:51 -08:00
Shawn Routhier
b1eea8583f [master] Handle bad ouis better and print hostnames better
Handle bad ouis better and print hostnames better in
the dhcp lease script
2016-01-20 08:00:36 -08:00
Shawn Routhier
ba4c704dba [master] Correct size for buffer allocation 2016-01-19 19:01:39 -08:00
Thomas Markwalder
fd1ba3638a [master] Corrected release note bug number 2016-01-18 09:23:03 -05:00
Thomas Markwalder
3e3b525736 [master] Failover primary now accepts secondary updates from active to abandoned
Merges in rt25189.
2016-01-18 09:21:15 -05:00
Thomas Markwalder
a3471269e6 [master] dhclient -6 now supports option expressions such as prepend
Merges in rt39952.
2016-01-18 08:46:17 -05:00
Shawn Routhier
4ced250f58 [master] Terminate strings before calling regexec
Make sure strings are terminated before callng regexec.
    If they are we can simply copy the pointers, if they
    aren't we need to copy the string into a new block
    of memory.

    Fix a boundary error in data_string_new()
2016-01-15 19:49:23 -08: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
75ab52e12b [master] Remove some incorrect #ifdefs
As part of 33990 we removed some #ifdefs for DEBUG_MEMORY
but we didn't get all of them.  Remove the extra ones.
2016-01-07 11:35:44 -08:00
Thomas Markwalder
cacce092a4 [master] Added make tool and pkg-config tests to configure script
Merges in rt40371.
2016-01-07 09:53:39 -05:00
Shawn Routhier
825c459c4b [master] Add cve number to release note entry 2016-01-06 17:31:09 -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
Shawn Routhier
4ce21cb630 [master] Clean up packet handling 2015-12-16 16:30:02 -08:00
Shawn Routhier
c88dfebddd [master] Update client code to RFC7550
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.
2015-12-01 21:58:36 -08:00
Francis Dupont
d1d1da8fff Finished merge of rt38836b (cross compile) 2015-11-17 15:27:10 +01:00