Steven Barth
12fa3eae23
6in4: add support for he.net updatekey
...
SVN-Revision: 39646
11 years ago
Steven Barth
97faa098a2
odhcp6c: readd userclass and vendorclass
...
SVN-Revision: 39628
11 years ago
John Crispin
0da7d381f0
odhcp6c: add validation rules to proto handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39624
11 years ago
Steven Barth
f906a7f565
odhcp6c: send reconfigure-accept again to be compliant
...
SVN-Revision: 39605
11 years ago
Steven Barth
3194834c55
odhcp6c: remove source-restriction from local routes again (broke relaying)
...
SVN-Revision: 39575
11 years ago
Steven Barth
c666dcfe08
odhcp6c: Fix timing and some regressions from yesterday
...
SVN-Revision: 39502
11 years ago
Steven Barth
05c9507cd3
odhcp6c: Add support for userclass and vendorclass
...
SVN-Revision: 39478
11 years ago
Steven Barth
02c763c4ab
odhcp6c: Revert to slightly modified version of old behaviour
...
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
11 years ago
Steven Barth
a9a0b62785
odhcp6c: improve handling of RA on-link routes and addresses
...
SVN-Revision: 39451
11 years ago
Steven Barth
b965dab148
odhcp6c: several bugfixes and improvements
...
* Fixed broken stateless-mode (fixes #14863 )
* Support for multiple IAIDs, improved server compatibility,
improved NTP/SNTP support and other fixes (thanks to T-Labs)
SVN-Revision: 39433
11 years ago
Steven Barth
e1c5111997
6rd: Make don't fragment bit (df) a configurable variable
...
Make the IPv4 "do not fragment" bit a configurable variable for the 6rd
tunnel interface as the bit should not be set in the encapsulating IPv4
header according to RFC3056.
On top the config variable allows to enable/disable path mtu discovery
for tunnel interfaces.
Config variable can be passed to netifd as tunnel config support is
already present for the "do not fragment" bit.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 39370
11 years ago
Steven Barth
c67ec51c85
6in4: fix typo in config variable ( fixes #14830 )
...
SVN-Revision: 39347
11 years ago
Steven Barth
140a5b22d9
odhcp6c: Use sourcerouting by default
...
SVN-Revision: 39311
11 years ago
Steven Barth
570eb45f23
odhcp6c: fix several small issues + decrease size
...
SVN-Revision: 39310
11 years ago
Steven Barth
a5ee266cd9
6in4, 6rd, 6to4: Use source-restricted routes by default
...
SVN-Revision: 39307
11 years ago
Steven Barth
bc370646cd
6relayd: try to workaround race condition at startup
...
SVN-Revision: 39184
11 years ago
Steven Barth
e49d67f192
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
...
SVN-Revision: 39061
11 years ago
Steven Barth
fd50416248
odhcp6c: add source routing support
...
SVN-Revision: 39058
11 years ago
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
12 years ago
Steven Barth
e3a369e597
odhcp6c: avoid integer overflows in resend logic
...
SVN-Revision: 37150
12 years ago
Steven Barth
b9aa47d5b6
odhcp6c: add missing config parameter
...
SVN-Revision: 37148
12 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
12 years ago
Steven Barth
cb66ed972b
odhcp6c: Add missing config option "ifaceid"
...
SVN-Revision: 37033
12 years ago
Steven Barth
69cd09ebbf
6relayd: don't accidentally remove regular prefix routes
...
SVN-Revision: 37018
12 years ago
Steven Barth
f47c4c80d4
6relayd: fix lease-update behaviour for clients without reconfigure
...
SVN-Revision: 37011
12 years ago
Steven Barth
d0d5f109d8
6relayd: Keep PD-downstream across RENEW/REBIND
...
SVN-Revision: 37009
12 years ago
Steven Barth
5108318edb
6relayd: Fix DHCPv6-PD assignment logic
...
SVN-Revision: 36980
12 years ago
Steven Barth
de2a7547b7
6relayd: correctly set downstream routes for DHCPv6-PD
...
SVN-Revision: 36969
12 years ago
Steven Barth
5219d38da2
odhcp6c: Add option to override interface identifier in RA-client
...
SVN-Revision: 36959
12 years ago
Steven Barth
302cf427cb
odhcp6c: add sanity checks for NDP and MTU parameters from RAs
...
SVN-Revision: 36930
12 years ago
Steven Barth
4f0a0defa6
6relayd: make route preference and prefix on-link flag configurable
...
SVN-Revision: 36922
12 years ago
Steven Barth
089d6612ce
6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
...
SVN-Revision: 36815
12 years ago
Steven Barth
7ae506c7d4
odhcp6c: work around spurious false-positive address DECLINEs
...
SVN-Revision: 36809
12 years ago
Steven Barth
bf582fbb7b
odhcp6c: fix handling of multiple RAs in a row
...
SVN-Revision: 36804
12 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
12 years ago