Commit Graph

170 Commits (858b972e66f4f215fcf9774525a5c71bd80be90f)

Author SHA1 Message Date
Felix Fietkau 6d3672b13b odhcp6c: Add renew handler for proto dhcpv6
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 40386
10 years ago
Steven Barth a22190340a odhcp6c: add preliminary CER-ID support
SVN-Revision: 40351
10 years ago
Steven Barth 0555ebf66d 6rd / ds-lite: make the firewall-zones of nested-protocols configurable
SVN-Revision: 40020
10 years ago
Steven Barth 7ac0057c1f odhcp6c: pass on delegate-flag on to ds-lite interface
SVN-Revision: 39910
10 years ago
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 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
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