Steven Barth
3b7e47ae52
netifd: Fix IPv6-prefix assignment with continuous hints
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-16 12:07:11 +00:00
Luka Perkov
23ff0696be
netifd: update to latest version, add bridge_empty option
...
with this option enabled it's possible to create empty bridges
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14 18:50:04 +00:00
Steven Barth
bf72314fcb
netifd: fix typo in dhcp script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 04:19:21 +00:00
Felix Fietkau
3ce3b38c70
netifd: update to latest version, fixes a NULL pointer deref bug
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 16:24:48 +00:00
Steven Barth
28aeb64578
netifd: IPv6: Fix sorting order in last commit.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:29:14 +00:00
Steven Barth
89fe8241e4
netifd: Satisfy IPv6 assignments ordered by prefix length
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 21:16:22 +00:00
Felix Fietkau
81450bd00d
netifd: update to latest version, uses the new uci/blob code from libuci
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 12:42:30 +00:00
Steven Barth
5bab66f331
netifd: improve reloading behaviour
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 10:42:15 +00:00
Steven Barth
f70a350203
netifd: Improve IPv6 source-routing policies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 13:26:33 +00:00
Jonas Gorski
3d9c1a0ebc
netifd: bring wifi down before shutting down
...
works around wifiX references not being freed on network restart.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 11:44:12 +00:00
Steven Barth
2837eb86ef
netifd: updated IPv6 prefix delegation
...
* Added support for prefix classes
* Various bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 15:42:25 +00:00
Steven Barth
c802b55757
netifd: fix IPv6-addresses disappearing due to lifetime-overflows
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 18:32:01 +00:00
Steven Barth
456cbe5af8
netifd: Unify interface-based routing for IPv4 and IPv6
...
* Add interface option to set routing table for protocol routes
* Enabled for IPv6 for source-based filtering, disabled for IPv4
Based on a patch by Kristian Evensen. Thank You.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 14:44:02 +00:00
Steven Barth
18473a01f8
netifd: Various IPv6 improvements
...
* Add support for IP-in-IPv6 tunnels (DS-Lite)
* Use source-based routing for IPv6 to allow multi-wan
* Various smaller tunnel setup improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:34 +00:00
Steven Barth
683810fbff
netifd: added support for setting up 6rd from DHCP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 17:12:30 +00:00
Jo-Philipp Wich
8605639a3a
netifd: update to git head - disables multicast snooping by default on bridges
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:28:40 +00:00
Felix Fietkau
d9de51dff4
netifd: update to the latest version, fixes interface reload issues when removing the ifname option
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 16:28:19 +00:00
Steven Barth
5108102e9b
netifd: Improve IPv6-ULA assignment handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-22 19:40:06 +00:00
Felix Fietkau
b9cc991070
netifd: update to latest version, fixes some device handling crashes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 14:21:45 +00:00
Jo-Philipp Wich
a2a15cdf8f
netifd: fix route / route6 regression ( #13303 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:21:12 +00:00
Steven Barth
ef5bbd5008
Remove deprecated ip6slaac option
...
* use proto=dhcpv6 with reqprefix=no instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 12:12:30 +00:00
Steven Barth
3b9ea165f7
netifd: Bump to latest version
...
* Fix a memory corruption when updating IPv6 prefixes
* Fix route sorting order (nbd)
* Add support for ip rules (jow)
* Implement support for route / route6 table attribute (jow)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:28:06 +00:00
Steven Barth
d8961984f2
netifd: Rewrite IPv6 prefix assignment
...
* Add ip6hint option to specify assigned subprefixes
* Add preliminary support for RFC 6603 prefix exclusion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 17:08:21 +00:00
Steven Barth
faf465e51c
netifd: Fix adding IPv6 DNS-servers to resolv.conf
...
In some cases IPv6 DNS-servers were not added correctly.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 13:49:39 +00:00
Steven Barth
660caa9c81
netifd: only update resolv.conf.auto if changed
...
This avoids logspam under certain conditions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 08:56:29 +00:00
Steven Barth
109d4f04b0
netifd: Improved IPv6 featureset
...
* Fix reloading of ula-prefixes
* Added support for temporary addresses and routes
* Added support for offlink addresses
* Improved status-output for assigned prefixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 12:28:43 +00:00
Felix Fietkau
6e020244db
netifd: update to latest version
...
fixes DNS servers on reload (#12910 )
fixes ubus object race on reload or down/up (#12612 )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 14:40:04 +00:00
Steven Barth
4693e5f404
netifd: implement IPv6 prefix deprecation according to RFC 6204
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 11:05:22 +00:00
Steven Barth
cfda22b8c6
netifd: remove IPv6 forwarding-sysctl workaround
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 10:13:39 +00:00
Felix Fietkau
3fc753a0b0
netifd: update to latest version, fixes setting addresses/routes on alias interfaces
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 20:35:55 +00:00
Steven Barth
88d95b7acc
netifd: IPv6 sysctl, restart IPv6 in static mode to send RS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 14:07:27 +00:00
Steven Barth
0f6d7ebb06
netifd: add SLAAC ipv6 value for static-proto
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 13:53:48 +00:00
Felix Fietkau
a62a397d2e
netifd: update to latest version, adds another fix for interface aliases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 16:05:59 +00:00
Steven Barth
27f1da2569
netifd: Fix a segfault when globals.ula_prefix is empty
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-22 15:49:42 +00:00
Steven Barth
98901eabf5
netifd: Fix segfaults in IPv6 prefix handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 09:21:30 +00:00
Felix Fietkau
9099dc3b63
netifd: update to latest version, fixes alias support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 15:47:09 +00:00
Jo-Philipp Wich
d5203450e1
netifd: add a band-aid fix for the wifi setup vs. netifd init race by increasing the wait time to five seconds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 10:13:14 +00:00
Steven Barth
06527bee18
netifd: @aliases use layer 3 devices instead of main devices
...
Fixes dhcpv6 protocol alias
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 08:28:51 +00:00
Steven Barth
ddc921275c
netifd: Introduce native IPv6 prefix-handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 13:07:41 +00:00
Jo-Philipp Wich
fdcfda2ae8
netifd: update to git head, adds 64bit counters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 19:48:52 +00:00
Felix Fietkau
be621b6356
netifd: update to latest version, fixes interface error reporting for shell proto handlers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 22:24:31 +00:00
Felix Fietkau
59de6c0111
netifd: update to latest version, no longer needs the removed jshn_append() shell function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 14:57:15 +00:00
Felix Fietkau
a9600d7cae
netifd: call /etc/udhcp.user from the netifd dhcp.script
...
This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 17:19:24 +00:00
Felix Fietkau
7d67b79951
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 16:14:41 +00:00
Felix Fietkau
ce739282b4
netifd: update to latest version, fixes resolv.conf writes on interface setting changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 13:28:56 +00:00
Steven Barth
0789334c3c
netifd: empty hotplug handler removed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 07:20:44 +00:00
Steven Barth
13a478551d
Remove old IPv6 sysctl-config (deprecated)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 20:14:09 +00:00
Florian Fainelli
331832ea11
[package] netfid: fix build on musl
...
AF_INET* is provided by sys/socket.h
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:10 +00:00
Jo-Philipp Wich
4d3fffae81
netifd: don't send a default client identifier in DHCP requests if no clientid uci option is given ( #12426 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 19:28:24 +00:00
Felix Fietkau
606fbaef0b
netifd: update to latest version, fixes adding an alias during config reload for an interface that is already up
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 00:24:31 +00:00