Steven Barth
1db4cb9c92
odhcp6c: fix parse errors with some dhcpv6 servers
...
SVN-Revision: 42869
10 years ago
Steven Barth
ea0a01d7e2
odhcp6c: fix typo in last commit
...
SVN-Revision: 42852
10 years ago
Steven Barth
c7a941cf02
odhcp6c: don't assign addresses or prefixes prematurely
...
SVN-Revision: 42850
10 years ago
Steven Barth
5fa47c3c04
odhcp6c: ensure signal-safety of signal handlers
...
SVN-Revision: 42841
10 years ago
Steven Barth
8691d75917
odhcp6c: add route-workaround for broken IPv6-ISPs
...
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>
SVN-Revision: 42803
10 years ago
Steven Barth
36115321be
odhcp6c: work around weird ISP RS behaviour
...
SVN-Revision: 42674
10 years ago
Steven Barth
75cbca0a40
odhcp6c: enable softwires support by default
...
SVN-Revision: 42274
10 years ago
Steven Barth
462023f45a
odhcp6c: Fix white space typo in dhcpv6.script
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41893
10 years ago
Felix Fietkau
e7ece301fe
odhcp6c: suppress fw3 warnings
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41833
10 years ago
Steven Barth
9231df5665
softwires: redesign dhcp(v6) provisioning
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41823
10 years ago
Steven Barth
683b622fcd
odhcp6c: Send RS with source link-layer address if possible
...
SVN-Revision: 41778
10 years ago
Steven Barth
54291b16e6
dhcpv6: set default solicit timeout back to 120s
...
This deliberatly breaks RFC 7083 since its not really user-friendly.
SVN-Revision: 41001
11 years ago
Steven Barth
cdbbe71199
odhcp6c: fix last commit
...
SVN-Revision: 40887
11 years ago
Steven Barth
f8c12d4227
odhcp6c: improve passthrough filter
...
SVN-Revision: 40886
11 years ago
Steven Barth
c99065ffab
odhcp6c: improve passthru filter
...
SVN-Revision: 40826
11 years ago
Steven Barth
3ce83eb9a0
odhcp6c: export passthru options as netifd data
...
SVN-Revision: 40825
11 years ago
Steven Barth
cb8ca4bdb8
odhcp6c: add support for option passthru
...
SVN-Revision: 40824
11 years ago
Steven Barth
0c06d76c79
netifd: Fix nested protocols going offline at reload + various route issues
...
Much thanks to Hans Dedecker
SVN-Revision: 40746
11 years ago
Steven Barth
cc80c11538
odhcp6c: bring up nested interfaces on config change
...
SVN-Revision: 40745
11 years ago
Steven Barth
8c53f29220
odhcp6c: some more fixes for map / lw4o6 support
...
SVN-Revision: 40728
11 years ago
Steven Barth
ef9f0fa232
odhcp6c: add preliminary support for MAP provisioning
...
SVN-Revision: 40604
11 years ago
Steven Barth
d2d8970828
odhcp6c: fix recovering from status where all addresses have been lost
...
SVN-Revision: 40432
11 years ago
Felix Fietkau
6d3672b13b
odhcp6c: Add renew handler for proto dhcpv6
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40386
11 years ago
Steven Barth
a22190340a
odhcp6c: add preliminary CER-ID support
...
SVN-Revision: 40351
11 years ago
Steven Barth
0555ebf66d
6rd / ds-lite: make the firewall-zones of nested-protocols configurable
...
SVN-Revision: 40020
11 years ago
Steven Barth
7ac0057c1f
odhcp6c: pass on delegate-flag on to ds-lite interface
...
SVN-Revision: 39910
11 years ago
Steven Barth
cd695565fb
odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
...
SVN-Revision: 39868
11 years ago
Steven Barth
d3f39e89a3
odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
...
SVN-Revision: 39785
11 years ago
Steven Barth
0a3cb4cdff
odhcp6c: several fixes
...
* 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
SVN-Revision: 39775
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
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
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
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
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
4894800bdd
odhcp6c: handle NoAddrsAvail IA-status
...
SVN-Revision: 38092
11 years ago