aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd
Commit message (Collapse)AuthorAgeFilesLines
...
* netifd: Set source IP for DHCP static routes as wellSteven Barth2014-12-121-2/+1
| | | | | | | | | | | | | Commit ce92f6650bd8a86db04c7a6cbb58e7fdb200a7e6 added source IP support for DHCP default routes. As a side effect of this change the default route could be present twice in netifd (once with source IP set and once with source IP unset) if it was sent by the server in both the router and static route options. Therefore add source IP support as well for static routes as this case was not considered. Additional remove unused parameter type. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: several fixes and optimizationsSteven Barth2014-12-081-2/+2
| | | | | | | | Thanks to Hans Dedecker and Kristian Evensen Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This patch depends on "Pass source address to proto_add_ipv4_route".Steven Barth2014-12-081-1/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: correctly handle source-parameter for IPv4 routesSteven Barth2014-11-271-2/+2
| | | | | | | | Thanks to Kristian Evensen Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes issues when changing a bridge ↵Felix Fietkau2014-11-231-2/+2
| | | | | | | | member from a vlan to its base device (#18351) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix race, expose config optionsSteven Barth2014-11-191-2/+2
| | | | | | | | Thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix default ORO-setting for 6rdSteven Barth2014-11-082-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a use-after-free bugFelix Fietkau2014-10-241-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes link status handling on VLAN ↵Felix Fietkau2014-10-201-2/+2
| | | | | | | | devices (#18106) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Make mtu configurable of dynamic 6rd tunnel interfaceSteven Barth2014-10-122-2/+5
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix an error message during network shutdownSteven Barth2014-10-021-1/+2
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add IPIP tunnel support (thx Hans Dedecker)Steven Barth2014-10-021-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add support for promisc and GRE tos optionSteven Barth2014-09-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: work-around kernel IPv6 on-link route issueSteven Barth2014-09-081-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds interface cleanup fixesFelix Fietkau2014-08-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes proto-shell teardown after renewFelix Fietkau2014-08-311-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-14/+0
| | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: assign ipv6-prefixes with length <64 with /64 on-link routesSteven Barth2014-08-131-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: unblock some proto shell actions in teardown stateSteven Barth2014-08-071-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: disable ds-lite, map & gre for old kernelsSteven Barth2014-08-061-2/+2
| | | | | | this unbreaks netifd compilation on old kernels git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: minor fixes (thanks Hans Dedecker)Steven Barth2014-08-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fixes and GRE support (thx Hans Dedecker)Steven Barth2014-07-301-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: suppress fw3 warnings in dhcp scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: more race condition fixes in proto-shellSteven Barth2014-07-291-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: more dynamic interface improvementsSteven Barth2014-07-281-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a small issue in r41831Felix Fietkau2014-07-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a race condition with renew/setupFelix Fietkau2014-07-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Fix some race-conditions in interface handlingSteven Barth2014-07-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* softwires: redesign dhcp(v6) provisioningSteven Barth2014-07-242-3/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, enables bridge multicast querier and ↵Felix Fietkau2014-07-241-2/+2
| | | | | | | | fixes interface reload issues with wifi Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds a small validation fixFelix Fietkau2014-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41731 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, enables igmp snooping by defaultFelix Fietkau2014-07-171-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a crash on reload with ↵Felix Fietkau2014-06-291-1/+1
| | | | | | | | hotplugged devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, addds a few fixes and enables ↵Felix Fietkau2014-06-291-2/+2
| | | | | | | | multicast->unicast for igmp snooping on wireless devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various routing table handling fixesSteven Barth2014-06-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "netifd: fix handling of "lookup main" for ip rules (#15315)"Jo-Philipp Wich2014-06-201-2/+2
| | | | | | | | The netifd fixes went to the wrong repository, revert until it is sorted out. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix handling of "lookup main" for ip rules (#15315)Jo-Philipp Wich2014-06-201-2/+2
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various bugfixes (thanks Hans Dedecker)Steven Barth2014-06-181-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: use procd_add_reload_triggerFelix Fietkau2014-06-111-4/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes reload issue (#16754) and adds ↵Felix Fietkau2014-06-111-2/+2
| | | | | | | | 802.1ad support Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add support for onlink-flag for routesSteven Barth2014-06-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfid: make procd watch the network.interface object for eventsJohn Crispin2014-06-051-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest git HEADJohn Crispin2014-06-051-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: netifd: remove blank line at the end of fileJohn Crispin2014-06-021-1/+0
| | | | | | Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: replace the sleep 5 with an ubus wait_for call to speed up init scriptFelix Fietkau2014-05-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a segfault and improve ipip6 tunnel setupSteven Barth2014-05-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wireless setup cancellationFelix Fietkau2014-05-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a regression on wds client supportFelix Fietkau2014-05-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Fix nested protocols going offline at reload + various route issuesSteven Barth2014-05-091-2/+2
| | | | | | Much thanks to Hans Dedecker git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40746 3c298f89-4303-0410-b956-a3cf2f4a3e73