Commit Graph

331 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
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
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 4f0a0defa6 6relayd: make route preference and prefix on-link flag configurable
SVN-Revision: 36922
11 years ago
Steven Barth 089d6612ce 6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
SVN-Revision: 36815
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 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
11 years ago
Steven Barth dc6625f977 6relayd: more verbosity in leases and logging
SVN-Revision: 36764
11 years ago
Steven Barth 23b3cebd56 odhcp6c: fix or debug disappearing IPv6 addresses
SVN-Revision: 36745
11 years ago
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
11 years ago
Steven Barth f63064a257 6relayd: Fix DHCPv6-server picking up addresses from master interface
SVN-Revision: 36718
11 years ago
Steven Barth d8d7d7f4aa 6relayd: fix a lease-timing issue with stateful DHCPv6
SVN-Revision: 36702
11 years ago
Steven Barth 9c3ac668e0 6relayd: Let OpenWrt override default CFLAGS
SVN-Revision: 36690
11 years ago
Steven Barth 9d115df749 6relayd: Fix a segfault when multiple downstream interfaces are present
SVN-Revision: 36687
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 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
11 years ago
Steven Barth c6f70381c9 odhcp6c: Fix address / prefix expiry logic
SVN-Revision: 36675
11 years ago
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
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 e8f3897389 6relayd: Always announce the current MAC-address
* Fixes #13516 thanks to berni for the detailed bugreport.

SVN-Revision: 36629
11 years ago
Steven Barth a1af842016 ds-lite: add ds-lite network protocol handler
SVN-Revision: 36628
11 years ago
Steven Barth ad93a571c6 odhcp6c: added support for DS-Lite + various fixes
SVN-Revision: 36625
11 years ago
Steven Barth 8560648082 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

SVN-Revision: 36605
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 49f97af481 6relayd: Fix generation of RA-messages
SVN-Revision: 36419
11 years ago
Steven Barth 2dbcd2ba7b 6relayd: update package description
SVN-Revision: 36413
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 1e78c3e297 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
SVN-Revision: 36381
11 years ago
Steven Barth 2c087dc785 Remove obsoleted ipv6-support meta-package
SVN-Revision: 36279
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 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
11 years ago
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
11 years ago
Steven Barth a90b6f7d90 6relayd: Fix config behaviour for rewrite_dns_addr option
SVN-Revision: 35804
11 years ago
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
11 years ago
Steven Barth 3081c672fc 6relayd: Fix possible memory corruption issue
SVN-Revision: 35673
11 years ago
Steven Barth f5b63ffd33 6relayd: Workaround potential signal handling issue
SVN-Revision: 35665
11 years ago
Steven Barth 99b69fd9c5 odhcp6c: allow setting a user-provided prefix as well
SVN-Revision: 35570
11 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
11 years ago
Steven Barth 13544edce7 odhcp6c: Fix timing issues
SVN-Revision: 35472
11 years ago
Steven Barth 6be5a5a73d odhcp6c: Fix RENEW and REBIND requests
SVN-Revision: 35454
11 years ago
Steven Barth e2193a69c8 odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
SVN-Revision: 35421
11 years ago
Steven Barth 9a62439c28 odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
SVN-Revision: 35419
11 years ago
Steven Barth a3368da479 6relayd: Fix announced router flags and IPv6 procfs-configuration
SVN-Revision: 35418
11 years ago
Steven Barth 4bd3f54143 6in4: fix typo in last commit
SVN-Revision: 35409
11 years ago
Steven Barth a0a91963af 6in4: work around hanging wget process
SVN-Revision: 35408
11 years ago
Steven Barth 78a6439784 6relayd: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35371
11 years ago
Steven Barth 1a0b207d61 odhcp6c: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35370
11 years ago
Steven Barth e964fa5d8f odhcp6c: work-around for proto-script to avoid loosing the default route
SVN-Revision: 35345
11 years ago
Steven Barth a81c76617e ipv6-support: don't overwrite existing setting across reflashs
SVN-Revision: 35302
11 years ago
Steven Barth 38080ae550 6relayd: fix shell library includes in init-script
Thanks to Daniel Golle

SVN-Revision: 35262
11 years ago
Steven Barth 8a97d823a4 6relayd: avoid a race-condition with looping RAs
SVN-Revision: 35260
11 years ago
Steven Barth f1fd0f8278 odhcp6c: Fix address assignment with infinite validity
SVN-Revision: 35258
11 years ago
Steven Barth 62e9957cc4 ipv6-support: adapt UCI defaults to new ordering
SVN-Revision: 35219
11 years ago
Steven Barth 5a122f7e5f odhcp6c: Fix parsing more than one DNS server
SVN-Revision: 35215
11 years ago
Steven Barth f517d0481a ipv6-support: Rename enable-ipv6 UCI defaults
SVN-Revision: 35205
11 years ago
Steven Barth 66fa83d211 odhcp6c: Detect a different MAC if interface has none * Fixes DHCPv6 behaviour over PPP and similar
SVN-Revision: 35189
11 years ago
Steven Barth 3235d860a6 ipv6-support: Switch to native IPv6 support
SVN-Revision: 35174
12 years ago
Steven Barth 955a1e8e28 6rd: add support for native IPv6 prefix handling
SVN-Revision: 35173
12 years ago
Steven Barth 811cd2acf4 6to4: add support for native IPv6 prefix handling
SVN-Revision: 35172
12 years ago
Steven Barth 2a94f67029 6in4: add support for native IPv6 prefix handling
SVN-Revision: 35171
12 years ago
Steven Barth a1e92f6dd1 6relayd: add suitable default configuration
SVN-Revision: 35170
12 years ago
Steven Barth 859fd7f614 6distributed: Remove obsolete service (replaced by netifd)
SVN-Revision: 35169
12 years ago
Steven Barth 0cd21ca785 odhcp6c: Send RS on start
SVN-Revision: 35137
12 years ago
Steven Barth f0df2006af odhcp6c: Add preliminary proto-handler
SVN-Revision: 35135
12 years ago
Steven Barth b58a13cb2c ipv6-support: don't use disable_ipv6
SVN-Revision: 35134
12 years ago
Steven Barth fde5b934fd 6relayd: Rewrite init-script logic
SVN-Revision: 35133
12 years ago
Steven Barth 965afef317 ipv6-support: Update iteration * Add support for blocking forwarding while address assignments * Fix relay restarting function
SVN-Revision: 34985
12 years ago
Steven Barth c7d9d7c952 odhcp6c: Add support for SNTP and SIP options
SVN-Revision: 34984
12 years ago
Steven Barth 4a2e55f30f 6relayd: Announce RDNSS and DNSSL via RA
SVN-Revision: 34983
12 years ago
Steven Barth 7a25be66c3 6relayd: Detect changes of default routes for RAs
SVN-Revision: 34958
12 years ago
Steven Barth def80bbecf ipv6-support: Remove unnecessary code
SVN-Revision: 34957
12 years ago
Steven Barth 4c09d5dde3 ipv6-support: Fix typo in dhcpv6-script * thanks to KarlHegbloom for reporting
SVN-Revision: 34940
12 years ago
Steven Barth b7c1f24f9b ipv6-support: Use more consistent default values
SVN-Revision: 34913
12 years ago
Steven Barth e7719bb4aa ipv6-support: Updated functionality * Add site-border feature again * Add option to always announce a default router
SVN-Revision: 34908
12 years ago
Steven Barth ce41e59030 6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused subprefixes
SVN-Revision: 34907
12 years ago
Steven Barth d6c955e39a 6relayd: Announce DNS search domain via DHCPv6
SVN-Revision: 34906
12 years ago
Steven Barth 253d7345e1 ipv6-support: Remove site-border feature * was causing routing problems * will be reimplemented using firewall
SVN-Revision: 34898
12 years ago
Steven Barth 941f4ccd68 Remove site-border routing filter due to problems
SVN-Revision: 34897
12 years ago
Steven Barth 01059c8914 ipv6-support: * Automatically detect and propagate MTU from upstream interfaces * Add site-border feature (RFC 6204, ULA-4) * Fix a typo
SVN-Revision: 34896
12 years ago
Steven Barth 50a9fed238 6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand * Add commands to enable / disable a site-border
SVN-Revision: 34895
12 years ago
Steven Barth 4bab347e98 6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when using tunnels
SVN-Revision: 34894
12 years ago
Steven Barth 970adc9eb9 ipv6-support: Fix default RA settings for dnsmasq
SVN-Revision: 34873
12 years ago
Steven Barth a4e656ef24 ipv6-support: Preliminary support for dnsmasq >=2.66
SVN-Revision: 34858
12 years ago
Steven Barth 2dbfffef68 6relayd: Fix detection of prefix changes
SVN-Revision: 34857
12 years ago
Steven Barth f36c3067c6 odhcp6c: Fix build on arch where char is unsigned
SVN-Revision: 34856
12 years ago
Steven Barth 970c5d97fe 6distributed: Improve prefix deprecation algorithm
SVN-Revision: 34855
12 years ago
Steven Barth 8d9564af1b ipv6-support: Make ULA addresses secondary * Deprecates ULA prefixes when there are other public prefixes * Fixes issues with clients using incorrect source addresses
SVN-Revision: 34630
12 years ago
Steven Barth 8546f8a401 6distributed: Add support for secondary addresses
SVN-Revision: 34629
12 years ago
Steven Barth 14273e1120 6relayd: Fix announcement of deprecated prefixes
SVN-Revision: 34628
12 years ago
Steven Barth faba477274 ipv6-support: Add support for NPT status tracking
SVN-Revision: 34609
12 years ago
Steven Barth cd76023e97 6distributed: add status-call for luci-integration
SVN-Revision: 34608
12 years ago
Steven Barth a07ddb955f ipv6-support: Next iteration * Make ula_prefix a global option * Add preliminary support for NAT (Linux >= 3.7, ip6tables >= 1.4.17) * Minor fixes for prefix fallback
SVN-Revision: 34586
12 years ago
Steven Barth 57d853ffc4 6distributed: Correctly handle duplicate prefixes
SVN-Revision: 34585
12 years ago
Steven Barth eeeb59e451 6relayd: Always send NA with hop-limit 255 * thanks risa2000 for investigating
SVN-Revision: 34584
12 years ago
Steven Barth 63135142d8 6to4: Remove static radvd-integration * Please use the new ipv6-support package
SVN-Revision: 34567
12 years ago
Steven Barth 82576f0ca3 ipv6-support: next iteration * Introduce mode 6rd * Introduce mode 6to4 * Fix announcement of DNS-Servers received from DHCPv6 * Fix some corner-cases in relaying behaviour
SVN-Revision: 34542
12 years ago
Steven Barth 61e8c6b83b 6relayd: More RFC-compatibility and size reduction
SVN-Revision: 34541
12 years ago
Steven Barth f14e1f1b1d 6distributed: Add compatibility with 6rd and 6to4
SVN-Revision: 34540
12 years ago
Steven Barth 4bda16cf27 ipv6-support: Second Iteration * mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling
SVN-Revision: 34466
12 years ago
Steven Barth c6b0c63cad 6distributed: Poll for ubus to come up (fix race)
SVN-Revision: 34462
12 years ago
Steven Barth a0f0c23109 ipv6-support: Add conffiles section
SVN-Revision: 34423
12 years ago
Steven Barth a4edea5ef3 ipv6-support: Add new IPv6-support meta-package
SVN-Revision: 34422
12 years ago
Steven Barth e6e6e0d152 odhcp6c: Add new embedded DHCPv6 client
SVN-Revision: 34421
12 years ago
Steven Barth 25d943e872 6distributed: add local IPv6 prefix distributor
SVN-Revision: 34420
12 years ago
Steven Barth 7d3495b431 6relayd: Fix some RFC 6204 compatibility issues
SVN-Revision: 34419
12 years ago
Steven Barth 417af03ba5 6relayd: add conffiles section, thanks swalker
SVN-Revision: 34222
12 years ago
Steven Barth 45137b0896 6relayd: various updates & fixes - Add RD- and DHCPv6-server functionality - Rework configuration and add example UCI file - Fix various bugs and be more RFC compliant
SVN-Revision: 34204
12 years ago
Steven Barth 9aba83eced 6relayd: auto-configure local interfaces as well
SVN-Revision: 34027
12 years ago
Steven Barth c3d04d4630 6relayd: update to work around a raw-socket bug
SVN-Revision: 34009
12 years ago
Steven Barth 1fe7efbddb ipv6: add 6relayd (RD-, DHCPv6- & NDP-Proxy)
6relayd is an IPv6-tool that relays IPv6-management protocols like router
discovery, neighbor discovery and DHCPv6 so that clients on routed
(non-bridged) interfaces can use the public address prefix, DHCPv6 and
DNS-service of a master interface. This is useful to avoid NAT in chained
IPv6-routers.

SVN-Revision: 34008
12 years ago
Jo-Philipp Wich a00110a063 6in4: make local ip6addr optional
SVN-Revision: 33761
12 years ago
Jo-Philipp Wich f248332d52 thc-ipv6: update to v2.0, package all available utilities
SVN-Revision: 33728
12 years ago
Jo-Philipp Wich f5d12a126d thc-ipv6: move to trunk and add myself as maintainer
SVN-Revision: 33727
12 years ago
Felix Fietkau 405e21d167 packages: sort network related packages into package/network/
SVN-Revision: 33688
12 years ago