aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd
Commit message (Collapse)AuthorAgeFilesLines
* 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
* netifd: update to the latest version, fixes some corner cases related to ↵Felix Fietkau2014-05-021-2/+2
| | | | | | | | hotplug device handling Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a use-after-free bug on wireless ↵Felix Fietkau2014-04-291-2/+2
| | | | | | | | config reload Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes some route table and dynamic ↵Felix Fietkau2014-04-261-2/+2
| | | | | | | | interface issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds support for disabling interfacesFelix Fietkau2014-04-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes some more issues related to ↵Felix Fietkau2014-04-191-2/+2
| | | | | | | | l3_dev handling Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: switch to using git.openwrt.orgFelix Fietkau2014-04-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds a force_link parameter to bring up an ↵Felix Fietkau2014-04-111-2/+2
| | | | | | | | interface without active device carrier Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes some reload issues with proto=staticFelix Fietkau2014-04-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)Felix Fietkau2014-04-101-2/+2
| | | | | | | | Fixes #15504 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a l3_dev handling regression ↵Felix Fietkau2014-04-071-2/+2
| | | | | | | | leading to a crash Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40414 3c298f89-4303-0410-b956-a3cf2f4a3e73