aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files/dhcpv6.sh
Commit message (Collapse)AuthorAgeFilesLines
* odhcp6c: fix appending of emtpy sendopt value (FS#1336)Hans Dedecker2018-02-081-1/+1
| | | | | | | | Don't append an empty sendopts value as odhcp6c bails out immediately on an empty -x option triggering an infinite start loop of odhcp6c Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: change sendopts option into listHans Dedecker2018-02-081-6/+8
| | | | | | | | Commit a26045049b added support for sendopts as a string; since multiple sendopts values can be specified it makes more sense to model it as a list of strings. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add defaultreqopts config optionHans Dedecker2018-02-011-2/+5
| | | | | | | | | By default odhcp6c asks for a default list of options; the config option defaultreqopts allows to tweak this behavior. When set to 0 odhcp6c will not ask for any options except for the options specified in the reqopts config option. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add sendopts config support and update to latest git HEADHans Dedecker2018-01-181-2/+8
| | | | | | | | | | | | | | | | | | | | | Add sendopts config support allowing to add options in sent DHCPv6 packets. Options can be configured as follows : uci set network.wan6.sendopts="sntpservers:3001:3001::1,3001:3001::2 11:00000000000000000000006674692F 0x3e8:ABCDEF" Based on a patch by Frank Andrieu <fandrieu@gmail.com> See https://git.openwrt.org/?p=project/odhcp6c.git;a=commit;h=510aaf6d528210c5e8a6159f9b80b32615e88c5f for a more detailed description. Latest git changes : 1f93bd4 dhcpv6: rework option passthrough logic a477e95 odhcp6c: rework userclass and vendorclass command handling 510aaf6 odhcp6c: add -x opt:val support ab75be1 treewide: update copyrights to 2018 f3a4609 odhcp6c: let odhcp6c_add_state return a success/failure indication Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add ra_holdoff config option and update to git HEAD version (FS#964)Hans Dedecker2017-09-031-2/+5
| | | | | | | | | 51733a6 ra: align RA update interval with RFC4861 (FS#964) Add ra_holdoff config option which allows to configure the RA minimum update interval which is by default 3 seconds as stated in RFC4861. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add option "keep_ra_dnslifetime"Hans Dedecker2017-01-091-2/+5
| | | | | | | | | | Add option keep_ra_dnslifetime which will preserve the received lifetime for RDNSS and DNSSL RA records and not overwrite it by the RA router lifetime as specified in RFC6106. This allows to accept RDNNS records from RAs that don't announce a default route by setting router lifetime to 0 in the RAs. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add RFC 7278 3gpp IPv6 prefix extensionSteven Barth2015-09-031-2/+4
| | | | | | | | Use option extendprefix 1 to enable Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46779
* odhcp6c: add option "sourcefilter" to disable source filterSteven Barth2015-07-181-2/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46408
* ipv6: remove now unneeded source-dest-routing workaroundsSteven Barth2015-05-191-4/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45700
* odhcp6c: add 464xlat integration, fix dslite integrationSteven Barth2015-04-091-2/+6
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45323
* odhcp6c: add route-workaround for broken IPv6-ISPsSteven Barth2014-10-061-2/+4
| | | | | | | | | | | | | | Some ISP seem to only do stateful DHCPv6 and not sending RAs. This is technically broken because plain DHCPv6 doesn't carry routes. We work around here by faking a default route to the DHCPv6 server if we do not receive a useful RA from the ISP. This workaround can be turned off with: option fakeroutes 0 Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42803
* softwires: redesign dhcp(v6) provisioningSteven Barth2014-07-241-2/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 41823
* dhcpv6: set default solicit timeout back to 120sSteven Barth2014-06-041-2/+5
| | | | | | This deliberatly breaks RFC 7083 since its not really user-friendly. SVN-Revision: 41001
* odhcp6c: add preliminary support for MAP provisioningSteven Barth2014-04-301-2/+7
| | | | SVN-Revision: 40604
* odhcp6c: Add renew handler for proto dhcpv6Felix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 40386
* 6rd / ds-lite: make the firewall-zones of nested-protocols configurableSteven Barth2014-03-261-2/+4
| | | | SVN-Revision: 40020
* odhcp6c: pass on delegate-flag on to ds-lite interfaceSteven Barth2014-03-131-2/+4
| | | | SVN-Revision: 39910
* odhcp6c: readd userclass and vendorclassSteven Barth2014-02-181-0/+2
| | | | SVN-Revision: 39628
* odhcp6c: add validation rules to proto handlerJohn Crispin2014-02-181-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39624
* odhcp6c: Add support for userclass and vendorclassSteven Barth2014-02-051-2/+8
| | | | SVN-Revision: 39478
* odhcp6c: Use sourcerouting by defaultSteven Barth2014-01-171-1/+1
| | | | SVN-Revision: 39311
* odhcp6c: add source routing supportSteven Barth2013-12-151-2/+4
| | | | SVN-Revision: 39058
* odhcp6c: improve server selection, introduce "forceprefix" optionSteven Barth2013-10-071-2/+5
| | | | SVN-Revision: 38314
* odhcp6c: add missing config parameterSteven Barth2013-07-031-0/+1
| | | | SVN-Revision: 37148
* odhcp6c: Add missing config option "ifaceid"Steven Barth2013-06-251-0/+1
| | | | SVN-Revision: 37033
* odhcp6c: Add option to override interface identifier in RA-clientSteven Barth2013-06-181-2/+4
| | | | SVN-Revision: 36959
* odhcp6c: added support for DS-Lite + various fixesSteven Barth2013-05-131-2/+3
| | | | SVN-Revision: 36625
* odhcp6c: various bugfixes * Don't prematurely send RENEW / REBIND when T1 or ↵Steven Barth2013-03-081-2/+5
| | | | | | T2 is > 1 day * Add "norelease" option to not send a RELEASE when stopping SVN-Revision: 35902
* odhcp6c: allow setting a user-provided prefix as wellSteven Barth2013-02-121-2/+4
| | | | SVN-Revision: 35570
* odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requestedSteven Barth2013-02-011-4/+4
| | | | SVN-Revision: 35421
* odhcp6c: switch to userspace RA-handling and offload address assignment to ↵Steven Barth2013-02-011-2/+5
| | | | | | netifd SVN-Revision: 35419
* odhcp6c: Add preliminary proto-handlerSteven Barth2013-01-131-0/+48
SVN-Revision: 35135