Commit Graph

145 Commits (e444eb0bbd90c67b787c0e9b7875d241a4de939a)

Author SHA1 Message Date
Steven Barth 4bdd40c08b odhcpd/6c: Add config menu for prefix class ext.
SVN-Revision: 38996
11 years ago
Steven Barth b5a4fb1c95 6rd: Clear correct IPv6 address bits in 6rdcalc
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>

SVN-Revision: 38818
11 years ago
Steven Barth dfa9ca772b odhcp6c: Multiple improvements and fixes
* 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

SVN-Revision: 38577
11 years ago
Steven Barth d8d0e2c536 odhcp6c: filter similar RAs spammed by some ISPs
SVN-Revision: 38505
11 years ago
Steven Barth 1ff15bfe83 6relayd: reduce fallout of RA spamming a bit
SVN-Revision: 38488
11 years ago
Steven Barth 7e13c80b3d odhcp6c: fix parsing of IA_PD adverts
SVN-Revision: 38433
11 years ago
Steven Barth 156ea733d4 odhcp6c: various fixes
* 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>

SVN-Revision: 38393
11 years ago
Steven Barth 6dbfe22601 odhcp6c: improve server selection, introduce "forceprefix" option
SVN-Revision: 38314
11 years ago
Steven Barth 95e9c260bc odhcp6c: validate hop-limit on RAs
SVN-Revision: 38285
11 years ago
Steven Barth 0ad1d06c13 6relayd: remove compat ULA setting by default (too many bad sideeffects)
SVN-Revision: 38283
11 years ago
Steven Barth 4894800bdd odhcp6c: handle NoAddrsAvail IA-status
SVN-Revision: 38092
11 years ago
Steven Barth 808a1c7808 odhcp6c: Restart when server returns IAID error
SVN-Revision: 38032
11 years ago
Steven Barth eba3ab9ade odhcp6c: Timing workaround for buggy servers
SVN-Revision: 37951
11 years ago
Steven Barth b2a71fedd9 odhcp6c: more compatibility fixes
SVN-Revision: 37907
11 years ago
Steven Barth 4d37ae33b6 6relayd: Overridden DNS should affect DHCPv6
SVN-Revision: 37558
11 years ago
Steven Barth 6a034ce5b1 6relayd: Fix DHCPv6-PD with continuous hints
SVN-Revision: 37370
11 years ago
Steven Barth e3a369e597 odhcp6c: avoid integer overflows in resend logic
SVN-Revision: 37150
11 years ago
Steven Barth b9aa47d5b6 odhcp6c: add missing config parameter
SVN-Revision: 37148
11 years ago
Florian Fainelli fe7c236a06 6relayd: prevent build on AVR32
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>

SVN-Revision: 37040
11 years ago
Steven Barth cb66ed972b odhcp6c: Add missing config option "ifaceid"
SVN-Revision: 37033
11 years ago
Steven Barth 69cd09ebbf 6relayd: don't accidentally remove regular prefix routes
SVN-Revision: 37018
11 years ago
Steven Barth f47c4c80d4 6relayd: fix lease-update behaviour for clients without reconfigure
SVN-Revision: 37011
11 years ago
Steven Barth d0d5f109d8 6relayd: Keep PD-downstream across RENEW/REBIND
SVN-Revision: 37009
11 years ago
Steven Barth 5108318edb 6relayd: Fix DHCPv6-PD assignment logic
SVN-Revision: 36980
11 years ago
Steven Barth de2a7547b7 6relayd: correctly set downstream routes for DHCPv6-PD
SVN-Revision: 36969
11 years ago
Steven Barth 5219d38da2 odhcp6c: Add option to override interface identifier in RA-client
SVN-Revision: 36959
11 years ago
Steven Barth 302cf427cb odhcp6c: add sanity checks for NDP and MTU parameters from RAs
SVN-Revision: 36930
11 years ago
Steven Barth 4f0a0defa6 6relayd: make route preference and prefix on-link flag configurable
SVN-Revision: 36922
11 years ago
Steven Barth 089d6612ce 6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
SVN-Revision: 36815
11 years ago
Steven Barth 7ae506c7d4 odhcp6c: work around spurious false-positive address DECLINEs
SVN-Revision: 36809
11 years ago
Steven Barth bf582fbb7b odhcp6c: fix handling of multiple RAs in a row
SVN-Revision: 36804
11 years ago
Steven Barth cdc3caf533 6relayd: Better compatibility with misbheaving DHCPv6 clients * Make the "best" address / prefix the first one being announced * Only add the "best" address to the hosts-file
SVN-Revision: 36772
11 years ago
Steven Barth dc6625f977 6relayd: more verbosity in leases and logging
SVN-Revision: 36764
11 years ago
Steven Barth 23b3cebd56 odhcp6c: fix or debug disappearing IPv6 addresses
SVN-Revision: 36745
11 years ago
Steven Barth 61c0c6ab68 6relayd: RFC 6204 and naming improvements * Announce delegated prefixes using route info according to RFC 6204 L-3 * Enable hybrid stateless + stateful DHCPv6-mode as default
SVN-Revision: 36738
11 years ago
Steven Barth f63064a257 6relayd: Fix DHCPv6-server picking up addresses from master interface
SVN-Revision: 36718
11 years ago
Steven Barth d8d7d7f4aa 6relayd: fix a lease-timing issue with stateful DHCPv6
SVN-Revision: 36702
11 years ago
Steven Barth 9c3ac668e0 6relayd: Let OpenWrt override default CFLAGS
SVN-Revision: 36690
11 years ago
Steven Barth 9d115df749 6relayd: Fix a segfault when multiple downstream interfaces are present
SVN-Revision: 36687
11 years ago
Steven Barth 24c39ddcf7 odhcp6c: Various fixes * Honour T1 and T2 values from servers better * Correctly send Reconfigure-Accept option in requests
SVN-Revision: 36678
11 years ago
Steven Barth 37baf2d6b2 6relayd: Various DHCPv6-fixes * Be more standards-compliant in stateful mode * Handle hostnames from Windows-clients correctly * Handle messages from DHCPv6-relays better
SVN-Revision: 36677
11 years ago
Steven Barth c6f70381c9 odhcp6c: Fix address / prefix expiry logic
SVN-Revision: 36675
11 years ago
Steven Barth 334c40da14 6relayd: Add stateful DHCPv6-support (IA_NA) * Add management_level option (0: set O-flag, >=1: set M-flag) * Add support for static DHCPv6-leases * Various fixes for DHCPv6-PD
SVN-Revision: 36654
11 years ago
Steven Barth a62ca72309 odhcp6c: Fix handling of RAs when no DHCPv6-server is present
SVN-Revision: 36641
11 years ago
Felix Fietkau d481486aad package: fold the IPv6 menu into Network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36634
11 years ago
Steven Barth e8f3897389 6relayd: Always announce the current MAC-address
* Fixes #13516 thanks to berni for the detailed bugreport.

SVN-Revision: 36629
11 years ago
Steven Barth a1af842016 ds-lite: add ds-lite network protocol handler
SVN-Revision: 36628
11 years ago
Steven Barth ad93a571c6 odhcp6c: added support for DS-Lite + various fixes
SVN-Revision: 36625
11 years ago
Steven Barth 8560648082 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

SVN-Revision: 36605
11 years ago
Steven Barth 9c1ed6447b odhcp6c: Make SLAAC-only work without reqprefix=no
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
11 years ago