Steven Barth
15d67644f1
This patch depends on "Pass source address to proto_add_ipv4_route".
...
I have not found a scenario that would break by setting the source address on
default, but please let me know if any special considerations should be taken.
Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com>
SVN-Revision: 43582
2014-12-08 17:43:03 +00:00
Steven Barth
200c30b426
netifd: correctly handle source-parameter for IPv4 routes
...
Thanks to Kristian Evensen
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43400
2014-11-27 07:26:10 +00:00
Felix Fietkau
185172bdd3
netifd: update to the latest version, fixes issues when changing a bridge member from a vlan to its base device ( #18351 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43346
2014-11-23 16:07:00 +00:00
Steven Barth
047f1c8dca
netifd: fix race, expose config options
...
Thanks to Hans Dedecker
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43299
2014-11-19 08:31:13 +00:00
Steven Barth
990b501ec4
netifd: fix default ORO-setting for 6rd
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43214
2014-11-08 12:24:49 +00:00
Steven Barth
bec9d38fa4
Add a few SPDX tags
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43151
2014-11-02 12:20:54 +00:00
Felix Fietkau
3cefd0af7d
netifd: update to the latest version, fixes a use-after-free bug
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43044
2014-10-24 13:04:12 +00:00
Felix Fietkau
188eb85f5b
netifd: update to the latest version, fixes link status handling on VLAN devices ( #18106 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43007
2014-10-20 20:09:35 +00:00
Steven Barth
9106cc0af9
netifd: Make mtu configurable of dynamic 6rd tunnel interface
...
Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script.
In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 42871
2014-10-12 12:27:21 +00:00
Steven Barth
73179a188c
netifd: fix an error message during network shutdown
...
When 'wifi down' is called by /etc/init.d/network, it is run from
stop_service( ). This function is in turn invoked from stop( ).
stop( ) messes up the order by first procd_kill-ing the network
settings, then calling wifi to down the wifi networking
interfaces. By redefining stop( ) instead, the proper order is
restored.
Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42745
2014-10-02 19:37:25 +00:00
Steven Barth
1c166058df
netifd: add IPIP tunnel support (thx Hans Dedecker)
...
SVN-Revision: 42744
2014-10-02 19:37:17 +00:00
Steven Barth
30912c5d81
netifd: add support for promisc and GRE tos option
...
SVN-Revision: 42699
2014-09-29 17:59:50 +00:00
Steven Barth
bd74df01b1
netifd: work-around kernel IPv6 on-link route issue
...
SVN-Revision: 42439
2014-09-08 14:45:56 +00:00
Felix Fietkau
008c7a9e5a
netifd: update to the latest version, adds interface cleanup fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42345
2014-08-31 13:09:01 +00:00
Felix Fietkau
ba62bcbf24
netifd: update to the latest version, fixes proto-shell teardown after renew
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42344
2014-08-31 12:26:26 +00:00
John Crispin
2ae05c57f8
package/*: remove useless explicit set of function returncode
...
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.
myfunction()
{
fire_command
return $?
}
a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:
http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42278
2014-08-25 06:35:50 +00:00
Steven Barth
92ef017054
netifd: assign ipv6-prefixes with length <64 with /64 on-link routes
...
SVN-Revision: 42161
2014-08-13 14:57:11 +00:00
Steven Barth
b95b4ede4c
netifd: unblock some proto shell actions in teardown state
...
SVN-Revision: 42032
2014-08-07 10:21:08 +00:00
Steven Barth
6656292619
netifd: disable ds-lite, map & gre for old kernels
...
this unbreaks netifd compilation on old kernels
SVN-Revision: 42019
2014-08-06 19:57:19 +00:00
Steven Barth
1e6ab23098
netifd: minor fixes (thanks Hans Dedecker)
...
SVN-Revision: 42000
2014-08-05 10:03:10 +00:00
Steven Barth
e413bb0e7e
netifd: fixes and GRE support (thx Hans Dedecker)
...
SVN-Revision: 41896
2014-07-30 13:21:52 +00:00
Steven Barth
86671615de
netifd: suppress fw3 warnings in dhcp script
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41892
2014-07-30 13:17:56 +00:00
Steven Barth
6a50e69b21
netifd: more race condition fixes in proto-shell
...
SVN-Revision: 41887
2014-07-29 17:24:23 +00:00
Steven Barth
7f17639742
netifd: more dynamic interface improvements
...
SVN-Revision: 41862
2014-07-28 20:35:53 +00:00
Felix Fietkau
76d7397bc2
netifd: fix a small issue in r41831
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41836
2014-07-26 14:35:15 +00:00
Felix Fietkau
ee4f8c8b99
netifd: update to the latest version, fixes a race condition with renew/setup
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41831
2014-07-26 01:46:34 +00:00
Steven Barth
ae50480d77
netifd: Fix some race-conditions in interface handling
...
SVN-Revision: 41825
2014-07-24 22:05:19 +00:00
Steven Barth
9231df5665
softwires: redesign dhcp(v6) provisioning
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41823
2014-07-24 14:17:41 +00:00
Felix Fietkau
5206b2dac0
netifd: update to the latest version, enables bridge multicast querier and fixes interface reload issues with wifi
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41818
2014-07-24 09:13:04 +00:00
Felix Fietkau
51fbfde474
netifd: update to the latest version, adds a small validation fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41731
2014-07-18 11:45:42 +00:00
Felix Fietkau
51b11ba5ea
netifd: update to the latest version, enables igmp snooping by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41683
2014-07-17 14:55:17 +00:00
Felix Fietkau
5db42f92fd
netifd: update to the latest version, fixes a crash on reload with hotplugged devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41393
2014-06-29 21:27:28 +00:00
Felix Fietkau
50c05b20cb
netifd: update to the latest version, addds a few fixes and enables multicast->unicast for igmp snooping on wireless devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41390
2014-06-29 18:34:22 +00:00
Steven Barth
22ffa5ef16
netifd: various routing table handling fixes
...
SVN-Revision: 41287
2014-06-20 17:51:25 +00:00
Jo-Philipp Wich
005884bff4
Revert "netifd: fix handling of "lookup main" for ip rules ( #15315 )"
...
The netifd fixes went to the wrong repository, revert until it is sorted out.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41283
2014-06-20 12:28:35 +00:00
Jo-Philipp Wich
de51f6022f
netifd: fix handling of "lookup main" for ip rules ( #15315 )
...
Reworks the handling of RT_TABLE_MAIN in system-linux.c so that ip rules
with lookup main can be properly setup.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41282
2014-06-20 09:58:16 +00:00
Steven Barth
8d177a8e78
netifd: various bugfixes (thanks Hans Dedecker)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41259
2014-06-18 11:29:09 +00:00
Felix Fietkau
500d3072ec
netifd: use procd_add_reload_trigger
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41147
2014-06-11 17:05:50 +00:00
Felix Fietkau
3ab9651cb0
netifd: update to latest version, fixes reload issue ( #16754 ) and adds 802.1ad support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41112
2014-06-11 10:23:12 +00:00
Steven Barth
b81ebf6db1
netifd: add support for onlink-flag for routes
...
SVN-Revision: 41098
2014-06-10 16:04:40 +00:00
John Crispin
7a0606124a
netfid: make procd watch the network.interface object for events
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41010
2014-06-05 10:56:14 +00:00
John Crispin
91de9c589c
netifd: update to latest git HEAD
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41009
2014-06-05 10:56:10 +00:00
John Crispin
40218343cd
package: netifd: remove blank line at the end of file
...
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 40937
2014-06-02 12:44:51 +00:00
Felix Fietkau
d866ee2e30
netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40891
2014-05-31 23:49:23 +00:00
Steven Barth
5696b94b76
netifd: fix a segfault and improve ipip6 tunnel setup
...
SVN-Revision: 40821
2014-05-22 20:04:43 +00:00
Felix Fietkau
cfbd90d2bf
netifd: update to the latest version, fixes wireless setup cancellation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40771
2014-05-15 20:03:04 +00:00
Felix Fietkau
127ce4d5ec
netifd: update to latest version, fixes a regression on wds client support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40748
2014-05-10 18:03:24 +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
Felix Fietkau
770ec0082b
netifd: update to the latest version, fixes some corner cases related to hotplug device handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40660
2014-05-02 18:12:28 +00:00
Felix Fietkau
d33c6f7b80
netifd: update to the latest version, fixes a use-after-free bug on wireless config reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40589
2014-04-29 13:18:59 +00:00
Felix Fietkau
b4532ad21e
netifd: update to the latest version, fixes some route table and dynamic interface issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40572
2014-04-26 19:48:11 +00:00
Felix Fietkau
b079019bd9
netifd: update to latest version, adds support for disabling interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40555
2014-04-22 17:28:14 +00:00
Felix Fietkau
3c95232ab7
netifd: update to the latest version, fixes some more issues related to l3_dev handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40529
2014-04-19 09:58:40 +00:00
Felix Fietkau
7b960069a2
netifd: switch to using git.openwrt.org
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40459
2014-04-11 20:28:55 +00:00
Felix Fietkau
92ab194d63
netifd: update to latest version, adds a force_link parameter to bring up an interface without active device carrier
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40456
2014-04-11 13:48:41 +00:00
Felix Fietkau
a28b8ecc47
netifd: update to the latest version, fixes some reload issues with proto=static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40449
2014-04-10 15:21:13 +00:00
Felix Fietkau
8a7a02bd2e
netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)
...
Fixes #15504
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40443
2014-04-10 11:31:21 +00:00
Felix Fietkau
255546bbfd
netifd: update to the latest version, fixes a l3_dev handling regression leading to a crash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40414
2014-04-07 11:12:06 +00:00
Felix Fietkau
dca014db76
netifd: Add renew handler for proto dhcp
...
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 40385
2014-04-05 18:17:22 +00:00
Felix Fietkau
0dd2d18400
netifd: update to latest version, fixes issues when l3 interface changes on reload (e.g. ppp -> dhcp/static)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40384
2014-04-05 18:17:18 +00:00
John Crispin
c7168b64ef
dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40332
2014-03-30 13:07:52 +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
2a893c2057
dhcp: send 6rd-ORO when expecting 6rd-information
...
SVN-Revision: 40019
2014-03-26 09:48:20 +00:00
Felix Fietkau
5c53e63836
netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40001
2014-03-21 15:55:27 +00:00
Felix Fietkau
3eb2d6d5d4
netifd: update to the latest version, fixes ubus handling of proto data items
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39970
2014-03-20 20:06:59 +00:00
Felix Fietkau
e926cfd9ac
netifd: update to latest version, fixes an autostart handling with link detection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39967
2014-03-20 13:57:28 +00:00
Felix Fietkau
ad72198abb
netifd: update to latest version, adds support for specifying a config path
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39956
2014-03-19 14:26:51 +00:00
Steven Barth
edd75e332c
netifd: pass on delegate flag from dhcp to 6rd
...
SVN-Revision: 39909
2014-03-13 10:33:26 +00:00
Felix Fietkau
83f9fc12d6
netifd: update to latest version, includes interface handling fixes by Hans Dedecker
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39870
2014-03-11 09:28:28 +00:00
Felix Fietkau
452d019d3e
netifd: update to latest version, adds a bridge reload fix and fixes #15157
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39791
2014-03-07 18:14:41 +00:00
Steven Barth
f294f23c02
netifd: don't incorrectly announce up-status via ubus
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 39777
2014-03-05 17:36:14 +00:00
Steven Barth
1b3a868309
netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)
...
SVN-Revision: 39757
2014-02-27 12:42:38 +00:00
Steven Barth
0bf9032145
netifd: don't always assume addrs & routes are applied
...
netifd didn't check the netlink return values and kept assuming
routes are in place even if they weren't
SVN-Revision: 39755
2014-02-26 13:27:32 +00:00
Felix Fietkau
a15524582c
netifd: depend on libubox directly to rebuild on ABI changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39723
2014-02-23 17:32:15 +00:00
Felix Fietkau
6c8300df3d
netifd: update to latest version, fixes wireless device reload handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39706
2014-02-23 08:13:28 +00:00
Jo-Philipp Wich
354efde275
netifd: fix validation constraints
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 39648
2014-02-21 00:17:04 +00:00
John Crispin
8fb44e0d1e
netifd: add validation support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39621
2014-02-18 13:34:04 +00:00
John Crispin
204e859542
netifd: update to latest git head
...
this adds support for proto and wireless handler adding uci validation rules
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39614
2014-02-18 13:33:36 +00:00
Steven Barth
41acaaf893
netifd: work around dangling prefix kernel-routes ( fixes #14963 )
...
SVN-Revision: 39597
2014-02-16 11:20:22 +00:00
Steven Barth
af8f06beca
netifd: fix source-routing breaking 6in4 + others
...
6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858 ).
Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)
SVN-Revision: 39586
2014-02-14 21:21:44 +00:00
Steven Barth
229d186490
netifd: don't add unnecessary NOP policy rules
...
SVN-Revision: 39351
2014-01-20 18:23:02 +00:00
Steven Barth
bc8412b90e
netifd: Add IFUPDATE-flags and use main IPv6 routing table again
...
SVN-Revision: 39306
2014-01-17 13:59:40 +00:00
Felix Fietkau
20151a3394
netifd: initialize the switch early at start time and on reload ( fixes #13015 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39183
2013-12-31 13:09:20 +00:00
Felix Fietkau
6865f1d6b2
netifd: update to the latest version, fixes wireless related segfaults on arm
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39180
2013-12-29 02:26:34 +00:00
Felix Fietkau
5607a13aa1
netifd: update to the latest version, fixes wifi related segfaults
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39176
2013-12-28 14:19:54 +00:00
Jo-Philipp Wich
1789744958
netifd: add reload trigger for /etc/config/wireless as well
...
SVN-Revision: 39131
2013-12-18 12:38:29 +00:00
Felix Fietkau
12c05542e8
netifd: update to latest version, fixes a null pointer crash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39088
2013-12-16 10:08:13 +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
Felix Fietkau
ce062a7b5c
netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39050
2013-12-14 14:59:05 +00:00
Felix Fietkau
47730fe355
netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39046
2013-12-13 16:43:11 +00:00
Felix Fietkau
3f744a4ad3
netifd: fix crashes triggered by adding/removing wireless devices on reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39035
2013-12-11 18:23:52 +00:00
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
2013-12-09 17:29:34 +00:00
Felix Fietkau
6242255df2
netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39004
2013-12-08 18:00:05 +00:00
Felix Fietkau
4155016637
netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38992
2013-12-03 14:17:44 +00:00
Felix Fietkau
3c50feca19
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
...
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38989
2013-12-02 16:53:24 +00:00
Felix Fietkau
498d84fc4e
netifd: add wireless configuration support and port mac80211 to the new framework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38988
2013-12-02 16:41:03 +00:00
Felix Fietkau
107bcb5de3
netifd: remove redundant calls to /sbin/wifi down
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38982
2013-12-02 13:08:00 +00:00
Felix Fietkau
e78e720a6f
netifd: remove connect_time from /var/state, it is unused
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38704
2013-11-10 10:01:33 +00:00
Felix Fietkau
e16f104a6f
netifd: update to the latest version, fixes regression in proto-shell scripts ( #14400 , #14402 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38627
2013-10-31 11:22:01 +00:00
Felix Fietkau
22890e6382
netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38606
2013-10-30 11:25:01 +00:00