aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files/dhcpv6.script
Commit message (Collapse)AuthorAgeFilesLines
* 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: make ds-lite/map tunnel encapsulation limit support configurable ↵Hans Dedecker2018-06-041-0/+2
| | | | | | | | | | | | | | (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: support multiple additional user prefixesJo-Philipp Wich2018-02-241-1/+3
| | | | | | | | | | | | | 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: 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>
* 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: 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-031-0/+5
| | | | | | | | 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-181-1/+1
| | | | | | 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-191-2/+1
| | | | | | 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-091-2/+14
| | | | | | 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-061-0/+14
| | | | | | | | | | | | | | 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-241-17/+22
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 41823
* 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-301-0/+27
| | | | SVN-Revision: 40604
* 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-261-0/+1
| | | | SVN-Revision: 40020
* odhcp6c: pass on delegate-flag on to ds-lite interfaceSteven Barth2014-03-131-0/+1
| | | | SVN-Revision: 39910
* odhcp6c: remove source-restriction from local routes again (broke relaying)Steven Barth2014-02-121-2/+1
| | | | SVN-Revision: 39575
* odhcp6c: Revert to slightly modified version of old behaviourSteven Barth2014-02-031-2/+3
| | | | | | | | Latest changes broke source-restriction of on-link routes. Restoring old-behaviour but adding correct source-restrictions which prevents the offlink handler to remove the on-link route. SVN-Revision: 39454
* odhcp6c: improve handling of RA on-link routes and addressesSteven Barth2014-02-021-1/+1
| | | | SVN-Revision: 39451
* odhcp6c: Use sourcerouting by defaultSteven Barth2014-01-171-1/+1
| | | | SVN-Revision: 39311
* Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interfaceSteven Barth2013-12-151-11/+8
| | | | SVN-Revision: 39061
* odhcp6c: add source routing supportSteven Barth2013-12-151-1/+9
| | | | SVN-Revision: 39058
* odhcp6c: added support for DS-Lite + various fixesSteven Barth2013-05-131-0/+14
| | | | SVN-Revision: 36625
* odhcp6c: Make SLAAC-only work without reqprefix=noSteven Barth2013-05-061-1/+5
| | | | | | | | | Previously if the upstream router did not provide any DHCPv6-service the wan6 interface would not come up even if RAs were received. The new behavior allows the wan6 interface to comeup with RA-only configuration after a timeout of 10s. SVN-Revision: 36555
* odhcp6c: allow setting a user-provided prefix as wellSteven Barth2013-02-121-0/+2
| | | | SVN-Revision: 35570
* odhcp6c: switch to userspace RA-handling and offload address assignment to ↵Steven Barth2013-02-011-26/+47
| | | | | | netifd SVN-Revision: 35419
* odhcp6c: remove IPv6 forwarding-sysctl workaroundSteven Barth2013-01-291-3/+1
| | | | SVN-Revision: 35370
* odhcp6c: work-around for proto-script to avoid loosing the default routeSteven Barth2013-01-281-19/+10
| | | | SVN-Revision: 35345
* odhcp6c: Send RS on startSteven Barth2013-01-131-0/+3
| | | | SVN-Revision: 35137
* odhcp6c: Add preliminary proto-handlerSteven Barth2013-01-131-0/+77
SVN-Revision: 35135