aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6
Commit message (Collapse)AuthorAgeFilesLines
...
* 6rd: Clear correct IPv6 address bits in 6rdcalcSteven Barth2013-11-161-1/+1
| | | | | | | | | | | The correct bits are now cleared in the IPv6 address as the shift value to the correct byte in the IPv6 address was wrong. Depending on the stack values this could result in a hanging 6rdcalc program due to an endless loop. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Multiple improvements and fixesSteven Barth2013-10-291-2/+2
| | | | | | | | * Various RFC compliance fixes (thanks to Hans Dedecker) * Fix RA spam filter logic causing ipv6 connection issues * Fix parameters -F and -P being order dependent git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: filter similar RAs spammed by some ISPsSteven Barth2013-10-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: reduce fallout of RA spamming a bitSteven Barth2013-10-212-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parsing of IA_PD advertsSteven Barth2013-10-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: various fixesSteven Barth2013-10-141-2/+2
| | | | | | | | | | * Make SOL_MAX_RT configurable and default back to 120s * Prefer servers with bigger prefixes (allows to use Comcast /60) * Don't hang indefinitely if DHCPv6 REQUEST is not answered Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: improve server selection, introduce "forceprefix" optionSteven Barth2013-10-072-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: validate hop-limit on RAsSteven Barth2013-10-021-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: remove compat ULA setting by default (too many bad sideeffects)Steven Barth2013-10-022-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: handle NoAddrsAvail IA-statusSteven Barth2013-09-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Restart when server returns IAID errorSteven Barth2013-09-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Timing workaround for buggy serversSteven Barth2013-09-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: more compatibility fixesSteven Barth2013-09-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Overridden DNS should affect DHCPv6Steven Barth2013-07-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix DHCPv6-PD with continuous hintsSteven Barth2013-07-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: avoid integer overflows in resend logicSteven Barth2013-07-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add missing config parameterSteven Barth2013-07-032-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: prevent build on AVR32Florian Fainelli2013-06-271-1/+1
| | | | | | | | | | AVR32 misses a bunch of updated syscalls, including timerfd_create() which is used by 6relayd. Since that requires Linux/libc changes, just prevent building it for now. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add missing config option "ifaceid"Steven Barth2013-06-252-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: don't accidentally remove regular prefix routesSteven Barth2013-06-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: fix lease-update behaviour for clients without reconfigureSteven Barth2013-06-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Keep PD-downstream across RENEW/REBINDSteven Barth2013-06-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix DHCPv6-PD assignment logicSteven Barth2013-06-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: correctly set downstream routes for DHCPv6-PDSteven Barth2013-06-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Add option to override interface identifier in RA-clientSteven Barth2013-06-182-4/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: add sanity checks for NDP and MTU parameters from RAsSteven Barth2013-06-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: make route preference and prefix on-link flag configurableSteven Barth2013-06-112-2/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Work around Windows DHCPv6 quirksSteven Barth2013-06-011-2/+2
| | | | | | Announcing deprecated addresses breaks Windows clients git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: work around spurious false-positive address DECLINEsSteven Barth2013-05-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix handling of multiple RAs in a rowSteven Barth2013-05-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Better compatibility with misbheaving DHCPv6 clientsSteven Barth2013-05-301-2/+2
| | | | | | | * Make the "best" address / prefix the first one being announced * Only add the "best" address to the hosts-file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36772 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: more verbosity in leases and loggingSteven Barth2013-05-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix or debug disappearing IPv6 addressesSteven Barth2013-05-281-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: RFC 6204 and naming improvementsSteven Barth2013-05-272-2/+3
| | | | | | | * Announce delegated prefixes using route info according to RFC 6204 L-3 * Enable hybrid stateless + stateful DHCPv6-mode as default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix DHCPv6-server picking up addresses from master interfaceSteven Barth2013-05-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: fix a lease-timing issue with stateful DHCPv6Steven Barth2013-05-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Let OpenWrt override default CFLAGSSteven Barth2013-05-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix a segfault when multiple downstream interfaces are presentSteven Barth2013-05-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Various fixesSteven Barth2013-05-211-2/+2
| | | | | | | * Honour T1 and T2 values from servers better * Correctly send Reconfigure-Accept option in requests git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Various DHCPv6-fixesSteven Barth2013-05-211-2/+2
| | | | | | | | * Be more standards-compliant in stateful mode * Handle hostnames from Windows-clients correctly * Handle messages from DHCPv6-relays better git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix address / prefix expiry logicSteven Barth2013-05-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Add stateful DHCPv6-support (IA_NA)Steven Barth2013-05-173-3/+25
| | | | | | | | * Add management_level option (0: set O-flag, >=1: set M-flag) * Add support for static DHCPv6-leases * Various fixes for DHCPv6-PD git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Fix handling of RAs when no DHCPv6-server is presentSteven Barth2013-05-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: fold the IPv6 menu into NetworkFelix Fietkau2013-05-147-14/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Always announce the current MAC-addressSteven Barth2013-05-131-2/+2
| | | | | | * Fixes #13516 thanks to berni for the detailed bugreport. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ds-lite: add ds-lite network protocol handlerSteven Barth2013-05-132-0/+116
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: added support for DS-Lite + various fixesSteven Barth2013-05-133-4/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: increase metric of default routeSteven Barth2013-05-122-2/+2
| | | | | | This will prefer native IPv6 over 6rd if both are present. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Make SLAAC-only work without reqprefix=noSteven Barth2013-05-062-3/+7
| | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6relayd: Fix generation of RA-messagesSteven Barth2013-04-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36419 3c298f89-4303-0410-b956-a3cf2f4a3e73