Commit Graph

64 Commits (edd75e332c01b7156d18f71774aa7da042140296)

Author SHA1 Message Date
Steven Barth cd695565fb odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
SVN-Revision: 39868
10 years ago
Steven Barth d3f39e89a3 odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
SVN-Revision: 39785
10 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
10 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
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
11 years ago
Steven Barth b9aa47d5b6 odhcp6c: add missing config parameter
SVN-Revision: 37148
11 years ago
Steven Barth cb66ed972b odhcp6c: Add missing config option "ifaceid"
SVN-Revision: 37033
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 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 23b3cebd56 odhcp6c: fix or debug disappearing IPv6 addresses
SVN-Revision: 36745
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 c6f70381c9 odhcp6c: Fix address / prefix expiry logic
SVN-Revision: 36675
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 ad93a571c6 odhcp6c: added support for DS-Lite + various fixes
SVN-Revision: 36625
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
Steven Barth 21e4e2a766 odhcp6c: Set default SOL_MAX_RT to 1h
SVN-Revision: 36411
11 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
11 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
11 years ago
Steven Barth 6529cf6cea odhcp6c: minor bug fixes
SVN-Revision: 36123
11 years ago
Steven Barth eeb88a1df3 odhcp6c: Fix metric for on-link prefix routes
SVN-Revision: 36094
11 years ago
Steven Barth 3ebdd3b330 odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
SVN-Revision: 36083
11 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
11 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