aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd
Commit message (Collapse)AuthorAgeFilesLines
* netifd: update to the latest version (trunk r47897), fixes route table ↵Felix Fietkau2015-12-291-2/+2
| | | | | | | | handling issues (among other things) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes spurious client isolation in ↵Felix Fietkau2015-09-261-2/+2
| | | | | | | | | | unbridged AP configurations (#20574) Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47053 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version (as of trunk r46841)Felix Fietkau2015-09-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bump to latest, various fixesSteven Barth2015-06-081-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix and optimize ipv6 onlink-route handlingSteven Barth2015-05-261-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bump to current HEADFelix Fietkau2015-05-251-2/+2
| | | | | | | | | This introduces a new config parameter "no-proto-task" useful for xl2tpd. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve IPv6 onlink-route handlingSteven Barth2015-05-191-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd-dhcp: supply parameters to user-scriptFelix Fietkau2015-05-081-1/+1
| | | | | | | | | hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George <leon@georgemail.de> Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dhcp: add option specifying overriding custom-routesSteven Barth2015-05-023-3/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes retry when proto handlers exit ↵Felix Fietkau2015-04-211-2/+2
| | | | | | | | without changing the state Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes more interface device config ↵Felix Fietkau2015-04-191-2/+2
| | | | | | | | handling issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes more device config handling issuesFelix Fietkau2015-04-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes issues in handling device config ↵Felix Fietkau2015-04-171-1/+1
| | | | | | | | from interfaces Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: shorten names of generated interfacesSteven Barth2015-04-172-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Interface last error supportJohn Crispin2015-04-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: revert policy routing (broke some custom user rules)Steven Barth2015-03-311-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add metric argument for ipv4 proto routesSteven Barth2015-03-311-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: adjust default local policy rulesSteven Barth2015-03-271-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest git HEADJohn Crispin2015-03-261-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix default initialization of RPS/XPSFelix Fietkau2015-03-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds support for configuring RPS/XPS ↵Felix Fietkau2015-03-221-2/+2
| | | | | | | | (enabled by default where available) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix ipv6 route regressionSteven Barth2015-03-211-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: device update fixes, improvements in policy routingSteven Barth2015-03-201-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: dhcp: install host route to gateway (#19182)Jo-Philipp Wich2015-03-152-1/+2
| | | | | | | | | Certain DHCP servers push a gateway outside of the assigned interface subnet, to support those situations install a host route towards the gateway. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-111-2/+2
| | | | | | | | Version 0.12 deprecates json_object_object_get and moves the header files around Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various device config / event fixes (thx Hans Dedecker)Steven Barth2015-02-171-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, reverts a commit causing MTU issues ↵Felix Fietkau2015-02-162-13/+2
| | | | | | | | (fixes #18869) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix device config handling and add some config optionsSteven Barth2015-02-091-2/+2
| | | | | | | | Thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix a regression with some VLAN configurations introduced in the ↵Felix Fietkau2015-01-241-2/+2
| | | | | | | | last update Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: do not stop service on shutdown, only call ifdownFelix Fietkau2015-01-241-1/+1
| | | | | | | | Also add a small delay, like on restart Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes bridge reload (#18351) and ↵Felix Fietkau2015-01-241-2/+2
| | | | | | | | device config issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: store additional DHCP lease informationJo-Philipp Wich2015-01-231-7/+7
| | | | | | | | | Extend the DHCPv4 handler script to store additional information from the DHCP lease in the per-interface data object. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)Steven Barth2015-01-191-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: minor fixes, add mldversion optionSteven Barth2014-12-231-2/+2
| | | | | | | | thanks to Hans Dedecker Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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