aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files
Commit message (Collapse)AuthorAgeFilesLines
* odhcp6c: add client fqdn and reconfigure optionspacien2018-09-081-2/+8
| | | | | | | | Allowing DHCPV6_CLIENT_FQDN and DHCPV6_ACCEPT_RECONFIGURE to be turned off. Defaulting to false, former behavior remains unchanged. Signed-off-by: pacien <pacien.trangirard@pacien.net> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
* odhcp6c: apply IPv6/ND configuration earlierHans Dedecker2018-08-091-7/+8
| | | | | | | | | | Apply IPv6/ND configuration before proto_send_update so that all config info is available when netifd is handling the notify_proto ubus call. In particular this fixes an issue when netifd is updating the downstream IPv6 mtu as netifd was still using the not yet updated upstream IPv6 mtu to set the downstream IPv6 mtu Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: add noserverunicast config option for broken DHCPv6 serversHans Dedecker2018-07-151-2/+5
| | | | | | | | | Fix broken DHCPv6 servers which provide the server unicast option but do not reply on DHCPv6 renew messages directed to the IPv6 address contained in the server unicast option whihc results in broken IPv6 connectivity. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: make ds-lite/map tunnel encapsulation limit support configurable ↵Hans Dedecker2018-06-042-2/+8
| | | | | | | | | | | | | | (FS#1501) Be compatible with ISPs which don't support the destination option header containing the tunnel encapsulation limit as reported in FS#1501 for dynamic created ds-lite/map interfaces. Setting the uci parameter encaplimit_dslite/map to ignore; allows to disable the insertion of the destination option header for the dynamic created ds-lite/map interface. Otherwise the tunnel encapsulation limit value can be set to a value from 0 till 255 by setting the encaplimit_dslite/map uci parameter accordingly. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: rework sendopts handlingHans Dedecker2018-02-241-6/+5
| | | | | | Bring logic of sendopts handling in line with ip6prefix handling Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c: support multiple additional user prefixesJo-Philipp Wich2018-02-242-5/+12
| | | | | | | | | | | | | Support configuration in the form... list ip6prefix 2001:db8:1234::/64 list ip6prefix 2001:db8:5678::/64 ... to allow specifying multiple additional IPv6 prefixes. Implements feature request FS#1361. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* 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 workaround for broken extendprefix scenarioHans Dedecker2017-09-051-0/+17
| | | | | | | | | | | | Extendprefix is typically used to extend an IPv6 RA prefix from a mobile wan link to the LAN; such scenario requires correct RA prefix settings like the on link flag not being set. However some mobile manufacter set the RA prefix on link flag which breaks basic IPv6 routing. Work around this issue by filtering out the route being equal to the extended prefix. 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>
* dhcpv6: add missing dollar sign in dhcpv6 script (FS#874)Hans Dedecker2017-06-291-1/+1
| | | | 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: Pass parameters to user dhcpv6 scriptHans Dedecker2016-12-161-1/+1
| | | | | | Pass all the parameters like device, dhcpv6 state to user script Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcp6c : Silence mtu write error warningsblogic2016-03-201-1/+1
| | | | | | | | | | Silence warning "daemon.notice netifd: wan6 (1139): sh: write error: Invalid argument" when an invalid MTU is received via RA as kernel refuses to accept IPv6 mtu values which are smaller than 1280 and bigger than the device mtu. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn+ssh://svn.openwrt.org/openwrt/trunk@49054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: correctly extend prefix from RAsSteven Barth2015-09-041-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46781
* odhcp6c: add RFC 7278 3gpp IPv6 prefix extensionSteven Barth2015-09-032-2/+9
| | | | | | | | Use option extendprefix 1 to enable Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46779
* odhcp6c: minor fixesSteven Barth2015-07-291-0/+7
| | | | | | | | | | Better synchronize RA & DHCPv6 events Accumulate some events to avoid flooding Restart softwires for address and prefix changes Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46518
* odhcp6c: add option "sourcefilter" to disable source filterSteven Barth2015-07-182-3/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46408
* odhcp6c: fix some more compatibility issuesSteven Barth2015-07-131-5/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46335
* odhcp6c: work around RIOs matching PIOs as sent by some apple routersSteven Barth2015-06-101-0/+4
| | | | | | | | Thanks to Mikael Abrahamsson for reporting. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45941
* odhcp6c: silence fw3 warningsSteven Barth2015-06-011-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45867
* ipv6: remove now unneeded source-dest-routing workaroundsSteven Barth2015-05-192-6/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45700
* odhcp6c: Fix white space errorsSteven Barth2015-04-281-8/+8
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 45585
* network: shorten names of generated interfacesSteven Barth2015-04-171-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45476
* odhcp6c: silence "bad number" warningsSteven Barth2015-04-151-4/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45449
* odhcpd: avoid illegal memory access in some corner casesSteven Barth2015-04-141-0/+8
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45428
* odhcp6c: move IPv6 /proc config to userspace and sanitizeSteven Barth2015-04-101-0/+7
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45358
* odhcp6c: add 464xlat integration, fix dslite integrationSteven Barth2015-04-092-4/+20
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45323
* odhcp6c: fix typo in last commitSteven Barth2014-10-081-1/+1
| | | | SVN-Revision: 42852
* odhcp6c: don't assign addresses or prefixes prematurelySteven Barth2014-10-081-0/+3
| | | | SVN-Revision: 42850
* odhcp6c: add route-workaround for broken IPv6-ISPsSteven Barth2014-10-062-2/+18
| | | | | | | | | | | | | | 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
* odhcp6c: Fix white space typo in dhcpv6.scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 41893
* odhcp6c: suppress fw3 warningsFelix Fietkau2014-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41833
* softwires: redesign dhcp(v6) provisioningSteven Barth2014-07-242-19/+26
| | | | | | 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: export passthru options as netifd dataSteven Barth2014-05-231-0/+1
| | | | SVN-Revision: 40825
* netifd: Fix nested protocols going offline at reload + various route issuesSteven Barth2014-05-091-2/+0
| | | | | | Much thanks to Hans Dedecker SVN-Revision: 40746
* odhcp6c: bring up nested interfaces on config changeSteven Barth2014-05-091-0/+2
| | | | SVN-Revision: 40745
* odhcp6c: some more fixes for map / lw4o6 supportSteven Barth2014-05-081-0/+1
| | | | SVN-Revision: 40728
* odhcp6c: add preliminary support for MAP provisioningSteven Barth2014-04-302-2/+34
| | | | 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
* odhcp6c: add preliminary CER-ID supportSteven Barth2014-03-311-0/+4
| | | | SVN-Revision: 40351
* 6rd / ds-lite: make the firewall-zones of nested-protocols configurableSteven Barth2014-03-262-2/+5
| | | | SVN-Revision: 40020
* odhcp6c: pass on delegate-flag on to ds-lite interfaceSteven Barth2014-03-132-2/+5
| | | | 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: remove source-restriction from local routes again (broke relaying)Steven Barth2014-02-121-2/+1
| | | | SVN-Revision: 39575
* odhcp6c: Add support for userclass and vendorclassSteven Barth2014-02-051-2/+8
| | | | SVN-Revision: 39478