Hans Dedecker
8d2171e469
odhcp6c: add option "keep_ra_dnslifetime"
...
Add option keep_ra_dnslifetime which will preserve the received
lifetime for RDNSS and DNSSL RA records and not overwrite it
by the RA router lifetime as specified in RFC6106.
This allows to accept RDNNS records from RAs that don't announce
a default route by setting router lifetime to 0 in the RAs.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years ago
Hans Dedecker
7d760284a7
odhcp6c: Pass parameters to user dhcpv6 script
...
Pass all the parameters like device, dhcpv6 state to user script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years ago
blogic
ac7858a0f3
odhcp6c : Silence mtu write error warnings
...
Silence warning "daemon.notice netifd: wan6 (1139): sh: write error: Invalid argument"
when an invalid MTU is received via RA as kernel refuses to accept IPv6 mtu values
which are smaller than 1280 and bigger than the device mtu.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn+ssh://svn.openwrt.org/openwrt/trunk@49054 3c298f89-4303-0410-b956-a3cf2f4a3e73
9 years ago
Steven Barth
4b7ba93083
odhcp6c: correctly extend prefix from RAs
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46781
9 years ago
Steven Barth
72b4ed113a
odhcp6c: add RFC 7278 3gpp IPv6 prefix extension
...
Use option extendprefix 1 to enable
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46779
9 years ago
Steven Barth
9a2132156d
odhcp6c: minor fixes
...
Better synchronize RA & DHCPv6 events
Accumulate some events to avoid flooding
Restart softwires for address and prefix changes
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46518
9 years ago
Steven Barth
706adb1601
odhcp6c: add option "sourcefilter" to disable source filter
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46408
9 years ago
Steven Barth
a06c1c810e
odhcp6c: fix some more compatibility issues
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46335
9 years ago
Steven Barth
4734c4459b
odhcp6c: work around RIOs matching PIOs as sent by some apple routers
...
Thanks to Mikael Abrahamsson for reporting.
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45941
10 years ago
Steven Barth
09ad0ae4bd
odhcp6c: silence fw3 warnings
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45867
10 years ago
Steven Barth
08f057c703
ipv6: remove now unneeded source-dest-routing workarounds
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45700
10 years ago
Steven Barth
64aa0929b9
odhcp6c: Fix white space errors
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45585
10 years ago
Steven Barth
6b062ad848
network: shorten names of generated interfaces
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45476
10 years ago
Steven Barth
f1119373f2
odhcp6c: silence "bad number" warnings
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45449
10 years ago
Steven Barth
7e5bf40cac
odhcpd: avoid illegal memory access in some corner cases
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45428
10 years ago
Steven Barth
0dbbbda4bf
odhcp6c: move IPv6 /proc config to userspace and sanitize
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45358
10 years ago
Steven Barth
4b1257137c
odhcp6c: add 464xlat integration, fix dslite integration
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45323
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
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
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
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
3ce83eb9a0
odhcp6c: export passthru options as netifd data
...
SVN-Revision: 40825
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
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
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
3194834c55
odhcp6c: remove source-restriction from local routes again (broke relaying)
...
SVN-Revision: 39575
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
140a5b22d9
odhcp6c: Use sourcerouting by default
...
SVN-Revision: 39311
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
6dbfe22601
odhcp6c: improve server selection, introduce "forceprefix" option
...
SVN-Revision: 38314
11 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
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
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