aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c
Commit message (Collapse)AuthorAgeFilesLines
* ipv6: remove now unneeded source-dest-routing workaroundsSteven Barth2015-05-193-7/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parsing of LW4over6 parametersSteven Barth2015-05-161-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix white space errorsSteven Barth2015-04-281-8/+8
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix SOL_MAX_RT to match RFC 3315Steven Barth2015-04-201-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: shorten names of generated interfacesSteven Barth2015-04-172-4/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: silence "bad number" warningsSteven Barth2015-04-151-4/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: avoid saving empty RA search domainsSteven Barth2015-04-151-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix some issue discovered by scan-buildSteven Barth2015-04-141-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: avoid illegal memory access in some corner casesSteven Barth2015-04-142-12/+11
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: move IPv6 /proc config to userspace and sanitizeSteven Barth2015-04-102-2/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add 464xlat integration, fix dslite integrationSteven Barth2015-04-093-6/+22
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: some more code complianceSteven Barth2015-03-311-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: musl fixes (thanks Felix)Steven Barth2015-03-301-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: various small fixesSteven Barth2015-03-251-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: correctly handle renew-replies with short lease timesSteven Barth2014-12-101-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: avoid busylooping with strangely behaving dhcpv6 serversSteven Barth2014-11-281-2/+2
| | | | | | | | | Thanks to Dave Taht for debugging and thanks to Comcast for shipping strangely behaving software so I can fix some corner cases. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: be less verbose by default, increase musl compatibilitySteven Barth2014-11-181-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: avoid some unnecessary big mallocsSteven Barth2014-10-251-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parse errors with some dhcpv6 serversSteven Barth2014-10-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix typo in last commitSteven Barth2014-10-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: don't assign addresses or prefixes prematurelySteven Barth2014-10-082-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: ensure signal-safety of signal handlersSteven Barth2014-10-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add route-workaround for broken IPv6-ISPsSteven Barth2014-10-063-5/+21
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: work around weird ISP RS behaviourSteven Barth2014-09-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: enable softwires support by defaultSteven Barth2014-08-251-11/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix white space typo in dhcpv6.scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: suppress fw3 warningsFelix Fietkau2014-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* softwires: redesign dhcp(v6) provisioningSteven Barth2014-07-242-19/+26
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Send RS with source link-layer address if possibleSteven Barth2014-07-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dhcpv6: set default solicit timeout back to 120sSteven Barth2014-06-042-3/+6
| | | | | | This deliberatly breaks RFC 7083 since its not really user-friendly. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix last commitSteven Barth2014-05-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve passthrough filterSteven Barth2014-05-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve passthru filterSteven Barth2014-05-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: export passthru options as netifd dataSteven Barth2014-05-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add support for option passthruSteven Barth2014-05-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Fix nested protocols going offline at reload + various route issuesSteven Barth2014-05-091-2/+0
| | | | | | Much thanks to Hans Dedecker git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: bring up nested interfaces on config changeSteven Barth2014-05-091-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: some more fixes for map / lw4o6 supportSteven Barth2014-05-082-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add preliminary support for MAP provisioningSteven Barth2014-04-303-4/+45
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix recovering from status where all addresses have been lostSteven Barth2014-04-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add renew handler for proto dhcpv6Felix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add preliminary CER-ID supportSteven Barth2014-03-312-2/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd / ds-lite: make the firewall-zones of nested-protocols configurableSteven Barth2014-03-263-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: pass on delegate-flag on to ds-lite interfaceSteven Barth2014-03-133-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-ReconfigureSteven Barth2014-03-111-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)Steven Barth2014-03-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: several fixesSteven Barth2014-03-051-2/+2
| | | | | | | * Reduce RA/DHCPv6 spam filter to 30s by default and make it configurable * Don't set nd_ra_{reachable,retransmit] to 0 when received in RAs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39775 3c298f89-4303-0410-b956-a3cf2f4a3e73