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
Steven Barth
95e9c260bc
odhcp6c: validate hop-limit on RAs
...
SVN-Revision: 38285
2013-10-02 14:16:05 +00:00
Steven Barth
0ad1d06c13
6relayd: remove compat ULA setting by default (too many bad sideeffects)
...
SVN-Revision: 38283
2013-10-02 06:14:39 +00:00
Steven Barth
4894800bdd
odhcp6c: handle NoAddrsAvail IA-status
...
SVN-Revision: 38092
2013-09-21 10:54:13 +00:00
Steven Barth
808a1c7808
odhcp6c: Restart when server returns IAID error
...
SVN-Revision: 38032
2013-09-18 10:27:15 +00:00
Steven Barth
eba3ab9ade
odhcp6c: Timing workaround for buggy servers
...
SVN-Revision: 37951
2013-09-12 12:57:42 +00:00
Steven Barth
b2a71fedd9
odhcp6c: more compatibility fixes
...
SVN-Revision: 37907
2013-09-05 21:13:51 +00:00
Steven Barth
4d37ae33b6
6relayd: Overridden DNS should affect DHCPv6
...
SVN-Revision: 37558
2013-07-26 11:59:25 +00:00
Steven Barth
6a034ce5b1
6relayd: Fix DHCPv6-PD with continuous hints
...
SVN-Revision: 37370
2013-07-16 12:07:06 +00:00
Steven Barth
e3a369e597
odhcp6c: avoid integer overflows in resend logic
...
SVN-Revision: 37150
2013-07-03 16:14:24 +00:00
Steven Barth
b9aa47d5b6
odhcp6c: add missing config parameter
...
SVN-Revision: 37148
2013-07-03 13:50:06 +00:00
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
2013-06-27 15:33:05 +00:00
Steven Barth
cb66ed972b
odhcp6c: Add missing config option "ifaceid"
...
SVN-Revision: 37033
2013-06-25 05:18:20 +00:00
Steven Barth
69cd09ebbf
6relayd: don't accidentally remove regular prefix routes
...
SVN-Revision: 37018
2013-06-23 16:26:09 +00:00
Steven Barth
f47c4c80d4
6relayd: fix lease-update behaviour for clients without reconfigure
...
SVN-Revision: 37011
2013-06-22 08:31:28 +00:00
Steven Barth
d0d5f109d8
6relayd: Keep PD-downstream across RENEW/REBIND
...
SVN-Revision: 37009
2013-06-22 08:19:25 +00:00
Steven Barth
5108318edb
6relayd: Fix DHCPv6-PD assignment logic
...
SVN-Revision: 36980
2013-06-21 06:15:09 +00:00
Steven Barth
de2a7547b7
6relayd: correctly set downstream routes for DHCPv6-PD
...
SVN-Revision: 36969
2013-06-19 13:08:33 +00:00
Steven Barth
5219d38da2
odhcp6c: Add option to override interface identifier in RA-client
...
SVN-Revision: 36959
2013-06-18 12:51:14 +00:00
Steven Barth
302cf427cb
odhcp6c: add sanity checks for NDP and MTU parameters from RAs
...
SVN-Revision: 36930
2013-06-13 06:38:48 +00:00
Steven Barth
4f0a0defa6
6relayd: make route preference and prefix on-link flag configurable
...
SVN-Revision: 36922
2013-06-11 20:52:27 +00:00
Steven Barth
089d6612ce
6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
...
SVN-Revision: 36815
2013-06-01 17:51:02 +00:00
Steven Barth
7ae506c7d4
odhcp6c: work around spurious false-positive address DECLINEs
...
SVN-Revision: 36809
2013-05-31 13:49:17 +00:00
Steven Barth
bf582fbb7b
odhcp6c: fix handling of multiple RAs in a row
...
SVN-Revision: 36804
2013-05-31 10:02:39 +00:00
Steven Barth
cdc3caf533
6relayd: Better compatibility with misbheaving DHCPv6 clients * Make the "best" address / prefix the first one being announced * Only add the "best" address to the hosts-file
...
SVN-Revision: 36772
2013-05-30 15:42:30 +00:00
Steven Barth
dc6625f977
6relayd: more verbosity in leases and logging
...
SVN-Revision: 36764
2013-05-30 07:56:55 +00:00
Steven Barth
23b3cebd56
odhcp6c: fix or debug disappearing IPv6 addresses
...
SVN-Revision: 36745
2013-05-28 16:28:14 +00:00
Steven Barth
61c0c6ab68
6relayd: RFC 6204 and naming improvements * Announce delegated prefixes using route info according to RFC 6204 L-3 * Enable hybrid stateless + stateful DHCPv6-mode as default
...
SVN-Revision: 36738
2013-05-27 20:38:13 +00:00
Steven Barth
f63064a257
6relayd: Fix DHCPv6-server picking up addresses from master interface
...
SVN-Revision: 36718
2013-05-26 10:06:02 +00:00
Steven Barth
d8d7d7f4aa
6relayd: fix a lease-timing issue with stateful DHCPv6
...
SVN-Revision: 36702
2013-05-24 12:31:30 +00:00
Steven Barth
9c3ac668e0
6relayd: Let OpenWrt override default CFLAGS
...
SVN-Revision: 36690
2013-05-22 11:58:54 +00:00
Steven Barth
9d115df749
6relayd: Fix a segfault when multiple downstream interfaces are present
...
SVN-Revision: 36687
2013-05-21 18:05:37 +00:00
Steven Barth
24c39ddcf7
odhcp6c: Various fixes * Honour T1 and T2 values from servers better * Correctly send Reconfigure-Accept option in requests
...
SVN-Revision: 36678
2013-05-21 09:13:48 +00:00
Steven Barth
37baf2d6b2
6relayd: Various DHCPv6-fixes * Be more standards-compliant in stateful mode * Handle hostnames from Windows-clients correctly * Handle messages from DHCPv6-relays better
...
SVN-Revision: 36677
2013-05-21 09:13:40 +00:00
Steven Barth
c6f70381c9
odhcp6c: Fix address / prefix expiry logic
...
SVN-Revision: 36675
2013-05-20 14:54:20 +00:00
Steven Barth
334c40da14
6relayd: Add stateful DHCPv6-support (IA_NA) * Add management_level option (0: set O-flag, >=1: set M-flag) * Add support for static DHCPv6-leases * Various fixes for DHCPv6-PD
...
SVN-Revision: 36654
2013-05-17 14:44:07 +00:00
Steven Barth
a62ca72309
odhcp6c: Fix handling of RAs when no DHCPv6-server is present
...
SVN-Revision: 36641
2013-05-15 11:07:01 +00:00
Felix Fietkau
d481486aad
package: fold the IPv6 menu into Network
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36634
2013-05-14 15:02:31 +00:00
Steven Barth
e8f3897389
6relayd: Always announce the current MAC-address
...
* Fixes #13516 thanks to berni for the detailed bugreport.
SVN-Revision: 36629
2013-05-13 17:54:36 +00:00
Steven Barth
a1af842016
ds-lite: add ds-lite network protocol handler
...
SVN-Revision: 36628
2013-05-13 17:12:39 +00:00
Steven Barth
ad93a571c6
odhcp6c: added support for DS-Lite + various fixes
...
SVN-Revision: 36625
2013-05-13 17:12:25 +00:00
Steven Barth
8560648082
6rd: increase metric of default route
...
This will prefer native IPv6 over 6rd if both are present.
SVN-Revision: 36605
2013-05-12 08:07:15 +00:00
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
2013-05-06 10:20:43 +00:00
Steven Barth
49f97af481
6relayd: Fix generation of RA-messages
...
SVN-Revision: 36419
2013-04-24 18:22:08 +00:00
Steven Barth
2dbcd2ba7b
6relayd: update package description
...
SVN-Revision: 36413
2013-04-24 07:21:42 +00:00
Steven Barth
21e4e2a766
odhcp6c: Set default SOL_MAX_RT to 1h
...
SVN-Revision: 36411
2013-04-24 05:02:45 +00:00
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
2013-04-22 19:40:01 +00:00
Steven Barth
1e78c3e297
6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
...
SVN-Revision: 36381
2013-04-22 19:39:55 +00:00
Steven Barth
2c087dc785
Remove obsoleted ipv6-support meta-package
...
SVN-Revision: 36279
2013-04-09 09:45:51 +00:00
Steven Barth
eedf9e72f9
odhcp6c: Fix a race-condition in RA-handling
...
Thanks to Markus Stenberg for investigating and providing a fix
SVN-Revision: 36132
2013-03-26 13:39:17 +00:00
Steven Barth
6529cf6cea
odhcp6c: minor bug fixes
...
SVN-Revision: 36123
2013-03-25 10:58:48 +00:00
Steven Barth
eeb88a1df3
odhcp6c: Fix metric for on-link prefix routes
...
SVN-Revision: 36094
2013-03-20 09:26:52 +00:00
Steven Barth
3ebdd3b330
odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
...
SVN-Revision: 36083
2013-03-18 07:24:49 +00:00
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
2013-03-08 07:04:38 +00:00
Steven Barth
c81945e979
6relayd: Fix illegal memory accesses Spurious errors when receiving netlink-messages lead to unhandled errors which caused SIGBUS. Thanks to tdavis for debugging
...
SVN-Revision: 35836
2013-02-28 16:37:20 +00:00
Steven Barth
50b7fa217a
6relayd: various fixes cap preferred and valid lifetimes at more reasonable limits decrease memory usage (remove unnecessary book-keeping)
...
SVN-Revision: 35835
2013-02-28 14:57:19 +00:00
Steven Barth
a90b6f7d90
6relayd: Fix config behaviour for rewrite_dns_addr option
...
SVN-Revision: 35804
2013-02-26 12:50:52 +00:00
Steven Barth
32ac53821f
6relayd: compatibility with broken IPv6 devices * Announce ULA as deprecated if other addresses are available * Allow the announced DNS-server to be overwritten
...
SVN-Revision: 35803
2013-02-26 12:42:53 +00:00
Steven Barth
3081c672fc
6relayd: Fix possible memory corruption issue
...
SVN-Revision: 35673
2013-02-19 12:04:41 +00:00
Steven Barth
f5b63ffd33
6relayd: Workaround potential signal handling issue
...
SVN-Revision: 35665
2013-02-18 12:50:36 +00:00
Steven Barth
99b69fd9c5
odhcp6c: allow setting a user-provided prefix as well
...
SVN-Revision: 35570
2013-02-12 08:23:54 +00:00
Steven Barth
b8c796fbd7
odhcp6c: Various bugfixes * Don't send undesired suggestions for preferred and valid lifetimes * Be less verbose in logging
...
SVN-Revision: 35553
2013-02-11 12:30:16 +00:00
Steven Barth
13544edce7
odhcp6c: Fix timing issues
...
SVN-Revision: 35472
2013-02-03 17:26:40 +00:00
Steven Barth
6be5a5a73d
odhcp6c: Fix RENEW and REBIND requests
...
SVN-Revision: 35454
2013-02-02 10:44:13 +00:00
Steven Barth
e2193a69c8
odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
...
SVN-Revision: 35421
2013-02-01 13:38:47 +00:00
Steven Barth
9a62439c28
odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
...
SVN-Revision: 35419
2013-02-01 12:28:39 +00:00
Steven Barth
a3368da479
6relayd: Fix announced router flags and IPv6 procfs-configuration
...
SVN-Revision: 35418
2013-02-01 12:28:34 +00:00
Steven Barth
4bd3f54143
6in4: fix typo in last commit
...
SVN-Revision: 35409
2013-01-30 09:07:23 +00:00
Steven Barth
a0a91963af
6in4: work around hanging wget process
...
SVN-Revision: 35408
2013-01-30 09:05:53 +00:00
Steven Barth
78a6439784
6relayd: remove IPv6 forwarding-sysctl workaround
...
SVN-Revision: 35371
2013-01-29 10:13:49 +00:00
Steven Barth
1a0b207d61
odhcp6c: remove IPv6 forwarding-sysctl workaround
...
SVN-Revision: 35370
2013-01-29 10:13:44 +00:00
Steven Barth
e964fa5d8f
odhcp6c: work-around for proto-script to avoid loosing the default route
...
SVN-Revision: 35345
2013-01-28 13:53:43 +00:00
Steven Barth
a81c76617e
ipv6-support: don't overwrite existing setting across reflashs
...
SVN-Revision: 35302
2013-01-23 08:15:09 +00:00
Steven Barth
38080ae550
6relayd: fix shell library includes in init-script
...
Thanks to Daniel Golle
SVN-Revision: 35262
2013-01-21 11:27:03 +00:00
Steven Barth
8a97d823a4
6relayd: avoid a race-condition with looping RAs
...
SVN-Revision: 35260
2013-01-21 10:42:31 +00:00
Steven Barth
f1fd0f8278
odhcp6c: Fix address assignment with infinite validity
...
SVN-Revision: 35258
2013-01-21 07:58:58 +00:00
Steven Barth
62e9957cc4
ipv6-support: adapt UCI defaults to new ordering
...
SVN-Revision: 35219
2013-01-18 12:52:51 +00:00
Steven Barth
5a122f7e5f
odhcp6c: Fix parsing more than one DNS server
...
SVN-Revision: 35215
2013-01-18 08:21:35 +00:00
Steven Barth
f517d0481a
ipv6-support: Rename enable-ipv6 UCI defaults
...
SVN-Revision: 35205
2013-01-17 16:16:06 +00:00
Steven Barth
66fa83d211
odhcp6c: Detect a different MAC if interface has none * Fixes DHCPv6 behaviour over PPP and similar
...
SVN-Revision: 35189
2013-01-17 08:29:01 +00:00
Steven Barth
3235d860a6
ipv6-support: Switch to native IPv6 support
...
SVN-Revision: 35174
2013-01-15 13:08:19 +00:00
Steven Barth
955a1e8e28
6rd: add support for native IPv6 prefix handling
...
SVN-Revision: 35173
2013-01-15 13:08:14 +00:00
Steven Barth
811cd2acf4
6to4: add support for native IPv6 prefix handling
...
SVN-Revision: 35172
2013-01-15 13:08:10 +00:00
Steven Barth
2a94f67029
6in4: add support for native IPv6 prefix handling
...
SVN-Revision: 35171
2013-01-15 13:08:05 +00:00
Steven Barth
a1e92f6dd1
6relayd: add suitable default configuration
...
SVN-Revision: 35170
2013-01-15 13:08:00 +00:00
Steven Barth
859fd7f614
6distributed: Remove obsolete service (replaced by netifd)
...
SVN-Revision: 35169
2013-01-15 13:07:56 +00:00
Steven Barth
0cd21ca785
odhcp6c: Send RS on start
...
SVN-Revision: 35137
2013-01-13 18:06:24 +00:00