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
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
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
Steven Barth
cb66ed972b
odhcp6c: Add missing config option "ifaceid"
...
SVN-Revision: 37033
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
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
23b3cebd56
odhcp6c: fix or debug disappearing IPv6 addresses
...
SVN-Revision: 36745
12 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
12 years ago
Steven Barth
c6f70381c9
odhcp6c: Fix address / prefix expiry logic
...
SVN-Revision: 36675
12 years ago
Steven Barth
a62ca72309
odhcp6c: Fix handling of RAs when no DHCPv6-server is present
...
SVN-Revision: 36641
12 years ago
Felix Fietkau
d481486aad
package: fold the IPv6 menu into Network
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36634
12 years ago
Steven Barth
ad93a571c6
odhcp6c: added support for DS-Lite + various fixes
...
SVN-Revision: 36625
12 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
12 years ago
Steven Barth
21e4e2a766
odhcp6c: Set default SOL_MAX_RT to 1h
...
SVN-Revision: 36411
12 years ago
Steven Barth
c96c05d549
odhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix exclusion * Fix reconfigure-support and reconfigure authentication * Set maximum retransmission timeout for solicitations to 2h * Fix a segfault when parsing IA_PD in advertise messages
...
SVN-Revision: 36382
12 years ago
Steven Barth
eedf9e72f9
odhcp6c: Fix a race-condition in RA-handling
...
Thanks to Markus Stenberg for investigating and providing a fix
SVN-Revision: 36132
12 years ago
Steven Barth
6529cf6cea
odhcp6c: minor bug fixes
...
SVN-Revision: 36123
12 years ago
Steven Barth
eeb88a1df3
odhcp6c: Fix metric for on-link prefix routes
...
SVN-Revision: 36094
12 years ago
Steven Barth
3ebdd3b330
odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
...
SVN-Revision: 36083
12 years ago
Steven Barth
39a001dc69
odhcp6c: various bugfixes * Don't prematurely send RENEW / REBIND when T1 or T2 is > 1 day * Add "norelease" option to not send a RELEASE when stopping
...
SVN-Revision: 35902
12 years ago
Steven Barth
99b69fd9c5
odhcp6c: allow setting a user-provided prefix as well
...
SVN-Revision: 35570
12 years ago
Steven Barth
b8c796fbd7
odhcp6c: Various bugfixes * Don't send undesired suggestions for preferred and valid lifetimes * Be less verbose in logging
...
SVN-Revision: 35553
12 years ago
Steven Barth
13544edce7
odhcp6c: Fix timing issues
...
SVN-Revision: 35472
12 years ago
Steven Barth
6be5a5a73d
odhcp6c: Fix RENEW and REBIND requests
...
SVN-Revision: 35454
12 years ago
Steven Barth
e2193a69c8
odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
...
SVN-Revision: 35421
12 years ago
Steven Barth
9a62439c28
odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
...
SVN-Revision: 35419
12 years ago
Steven Barth
1a0b207d61
odhcp6c: remove IPv6 forwarding-sysctl workaround
...
SVN-Revision: 35370
12 years ago
Steven Barth
e964fa5d8f
odhcp6c: work-around for proto-script to avoid loosing the default route
...
SVN-Revision: 35345
12 years ago
Steven Barth
f1fd0f8278
odhcp6c: Fix address assignment with infinite validity
...
SVN-Revision: 35258
12 years ago
Steven Barth
5a122f7e5f
odhcp6c: Fix parsing more than one DNS server
...
SVN-Revision: 35215
12 years ago
Steven Barth
66fa83d211
odhcp6c: Detect a different MAC if interface has none * Fixes DHCPv6 behaviour over PPP and similar
...
SVN-Revision: 35189
12 years ago
Steven Barth
0cd21ca785
odhcp6c: Send RS on start
...
SVN-Revision: 35137
12 years ago
Steven Barth
f0df2006af
odhcp6c: Add preliminary proto-handler
...
SVN-Revision: 35135
12 years ago
Steven Barth
c7d9d7c952
odhcp6c: Add support for SNTP and SIP options
...
SVN-Revision: 34984
12 years ago
Steven Barth
f36c3067c6
odhcp6c: Fix build on arch where char is unsigned
...
SVN-Revision: 34856
12 years ago
Steven Barth
e6e6e0d152
odhcp6c: Add new embedded DHCPv6 client
...
SVN-Revision: 34421
12 years ago