aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* odhcp6c: readd userclass and vendorclassSteven Barth2014-02-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add validation rules to proto handlerJohn Crispin2014-02-181-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: send reconfigure-accept again to be compliantSteven Barth2014-02-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: remove source-restriction from local routes again (broke relaying)Steven Barth2014-02-122-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix timing and some regressions from yesterdaySteven Barth2014-02-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add support for userclass and vendorclassSteven Barth2014-02-052-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Revert to slightly modified version of old behaviourSteven Barth2014-02-032-4/+5
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve handling of RA on-link routes and addressesSteven Barth2014-02-022-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: several bugfixes and improvementsSteven Barth2014-01-311-2/+2
| | | | | | | | * Fixed broken stateless-mode (fixes #14863) * Support for multiple IAIDs, improved server compatibility, improved NTP/SNTP support and other fixes (thanks to T-Labs) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Use sourcerouting by defaultSteven Barth2014-01-172-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix several small issues + decrease sizeSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interfaceSteven Barth2013-12-151-11/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add source routing supportSteven Barth2013-12-153-5/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd/6c: Add config menu for prefix class ext.Steven Barth2013-12-051-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996 3c298f89-4303-0410-b956-a3cf2f4a3e73