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
2014-06-04 09:59:45 +00:00
Steven Barth
299c2cd312
6relayd: superseded by odhcpd
...
SVN-Revision: 40893
2014-06-01 10:28:50 +00:00
Steven Barth
cdbbe71199
odhcp6c: fix last commit
...
SVN-Revision: 40887
2014-05-30 14:50:42 +00:00
Steven Barth
f8c12d4227
odhcp6c: improve passthrough filter
...
SVN-Revision: 40886
2014-05-30 14:48:39 +00:00
Jo-Philipp Wich
83ccc9a8f6
6in4: adjust update url ( #16617 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40876
2014-05-29 09:22:52 +00:00
Steven Barth
c99065ffab
odhcp6c: improve passthru filter
...
SVN-Revision: 40826
2014-05-23 06:29:13 +00:00
Steven Barth
3ce83eb9a0
odhcp6c: export passthru options as netifd data
...
SVN-Revision: 40825
2014-05-23 06:26:23 +00:00
Steven Barth
cb8ca4bdb8
odhcp6c: add support for option passthru
...
SVN-Revision: 40824
2014-05-23 06:17:27 +00:00
Steven Barth
bb932910dd
Initial support for MAP-E and Lightweight 4over6 protocol
...
SVN-Revision: 40823
2014-05-22 20:04:53 +00:00
Steven Barth
0c06d76c79
netifd: Fix nested protocols going offline at reload + various route issues
...
Much thanks to Hans Dedecker
SVN-Revision: 40746
2014-05-09 13:55:34 +00:00
Steven Barth
cc80c11538
odhcp6c: bring up nested interfaces on config change
...
SVN-Revision: 40745
2014-05-09 11:58:04 +00:00
Steven Barth
8c53f29220
odhcp6c: some more fixes for map / lw4o6 support
...
SVN-Revision: 40728
2014-05-08 09:17:55 +00:00
Steven Barth
ef9f0fa232
odhcp6c: add preliminary support for MAP provisioning
...
SVN-Revision: 40604
2014-04-30 15:52:30 +00:00
Steven Barth
c4e09ccb05
6rd: Select first IPv4 address from configured tunlink interface as local tunnel address
...
Gives the user the control to select the correct WAN IPv4 address to be used by the 6rd tunnel when mutiple WAN interfaces are configured
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40566
2014-04-24 09:11:44 +00:00
Steven Barth
ba6689b064
ds-lite: disable NAT according to RFC 7084
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 40511
2014-04-14 10:11:54 +00:00
Steven Barth
d2d8970828
odhcp6c: fix recovering from status where all addresses have been lost
...
SVN-Revision: 40432
2014-04-09 06:57:04 +00:00
Steven Barth
4abcae7a1c
ds-lite: compatibility with ISPs that only offer public PDs
...
SVN-Revision: 40422
2014-04-08 06:19:37 +00:00
Felix Fietkau
6d3672b13b
odhcp6c: Add renew handler for proto dhcpv6
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40386
2014-04-05 18:17:25 +00:00
Steven Barth
a22190340a
odhcp6c: add preliminary CER-ID support
...
SVN-Revision: 40351
2014-03-31 06:43:50 +00:00
Steven Barth
0555ebf66d
6rd / ds-lite: make the firewall-zones of nested-protocols configurable
...
SVN-Revision: 40020
2014-03-26 10:12:49 +00:00
Steven Barth
7ac0057c1f
odhcp6c: pass on delegate-flag on to ds-lite interface
...
SVN-Revision: 39910
2014-03-13 10:40:56 +00:00
Steven Barth
cd695565fb
odhcpd/odhcp6c: fix HMAC-MD5 in DHCPv6-Reconfigure
...
SVN-Revision: 39868
2014-03-11 08:21:58 +00:00
Steven Barth
d3f39e89a3
odhcp6c: fix int-overflow after 50d (thx Hauke Mehrtens)
...
SVN-Revision: 39785
2014-03-07 09:35:17 +00:00
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
2014-03-05 08:59:11 +00:00
Steven Barth
12fa3eae23
6in4: add support for he.net updatekey
...
SVN-Revision: 39646
2014-02-20 21:36:15 +00:00
Steven Barth
97faa098a2
odhcp6c: readd userclass and vendorclass
...
SVN-Revision: 39628
2014-02-18 18:30:47 +00:00
John Crispin
0da7d381f0
odhcp6c: add validation rules to proto handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39624
2014-02-18 13:34:16 +00:00
Steven Barth
f906a7f565
odhcp6c: send reconfigure-accept again to be compliant
...
SVN-Revision: 39605
2014-02-17 20:31:21 +00:00
Steven Barth
3194834c55
odhcp6c: remove source-restriction from local routes again (broke relaying)
...
SVN-Revision: 39575
2014-02-12 08:54:43 +00:00
Steven Barth
c666dcfe08
odhcp6c: Fix timing and some regressions from yesterday
...
SVN-Revision: 39502
2014-02-06 10:38:02 +00:00
Steven Barth
05c9507cd3
odhcp6c: Add support for userclass and vendorclass
...
SVN-Revision: 39478
2014-02-05 14:56:37 +00:00
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
2014-02-03 09:06:25 +00:00
Steven Barth
a9a0b62785
odhcp6c: improve handling of RA on-link routes and addresses
...
SVN-Revision: 39451
2014-02-02 19:40:33 +00:00
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
2014-01-31 11:23:00 +00:00
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
2014-01-23 10:59:04 +00:00
Steven Barth
c67ec51c85
6in4: fix typo in config variable ( fixes #14830 )
...
SVN-Revision: 39347
2014-01-20 12:53:15 +00:00
Steven Barth
140a5b22d9
odhcp6c: Use sourcerouting by default
...
SVN-Revision: 39311
2014-01-17 14:00:04 +00:00
Steven Barth
570eb45f23
odhcp6c: fix several small issues + decrease size
...
SVN-Revision: 39310
2014-01-17 14:00:00 +00:00
Steven Barth
a5ee266cd9
6in4, 6rd, 6to4: Use source-restricted routes by default
...
SVN-Revision: 39307
2014-01-17 13:59:47 +00:00
Steven Barth
bc370646cd
6relayd: try to workaround race condition at startup
...
SVN-Revision: 39184
2014-01-02 11:38:36 +00:00
Steven Barth
e49d67f192
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
...
SVN-Revision: 39061
2013-12-15 19:38:53 +00:00
Steven Barth
fd50416248
odhcp6c: add source routing support
...
SVN-Revision: 39058
2013-12-15 19:10:20 +00:00
Steven Barth
4bdd40c08b
odhcpd/6c: Add config menu for prefix class ext.
...
SVN-Revision: 38996
2013-12-05 12:17:09 +00:00
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
2013-11-16 09:18:14 +00:00
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
2013-10-29 13:23:28 +00:00
Steven Barth
d8d0e2c536
odhcp6c: filter similar RAs spammed by some ISPs
...
SVN-Revision: 38505
2013-10-23 10:31:06 +00:00
Steven Barth
1ff15bfe83
6relayd: reduce fallout of RA spamming a bit
...
SVN-Revision: 38488
2013-10-21 10:26:57 +00:00
Steven Barth
7e13c80b3d
odhcp6c: fix parsing of IA_PD adverts
...
SVN-Revision: 38433
2013-10-17 07:19:32 +00:00
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
2013-10-14 18:53:02 +00:00
Steven Barth
6dbfe22601
odhcp6c: improve server selection, introduce "forceprefix" option
...
SVN-Revision: 38314
2013-10-07 08:43:33 +00:00