aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config
Commit message (Collapse)AuthorAgeFilesLines
* netifd: update to the latest version, fixes ubus handling of proto data itemsFelix Fietkau2014-03-201-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes an autostart handling with link ↵Felix Fietkau2014-03-201-2/+2
| | | | | | | | detection Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: update to latest version, fixes a musl build errorFelix Fietkau2014-03-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds support for specifying a config pathFelix Fietkau2014-03-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: pass on delegate flag from dhcp to 6rdSteven Barth2014-03-133-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, includes interface handling fixes by Hans ↵Felix Fietkau2014-03-111-2/+2
| | | | | | | | Dedecker Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds a bridge reload fix and fixes #15157Felix Fietkau2014-03-071-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't incorrectly announce up-status via ubusSteven Barth2014-03-051-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Reintroduce link-layer sensing (thx Hans Decker, Karl Vogel)Steven Barth2014-02-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't always assume addrs & routes are appliedSteven Barth2014-02-261-2/+2
| | | | | | | netifd didn't check the netlink return values and kept assuming routes are in place even if they weren't git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: depend on libubox directly to rebuild on ABI changesFelix Fietkau2014-02-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes wireless device reload handlingFelix Fietkau2014-02-231-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix validation constraintsJo-Philipp Wich2014-02-211-8/+8
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix validation constraintsJo-Philipp Wich2014-02-211-15/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix several ipset integration issues (#15016)Jo-Philipp Wich2014-02-201-3/+3
| | | | | | | | | | | - Do not consider bitmap storage for IPv6 family sets - Move ipset family parameter before any additional option - Only emit family parameter for hash sets - Do not allow IPv6 iprange for IPv4 sets and vice versa Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add validation supportJohn Crispin2014-02-182-9/+114
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall3: update init.d script to make use of procdJohn Crispin2014-02-181-9/+49
| | | | | | | | add validation data Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest git headJohn Crispin2014-02-181-2/+2
| | | | | | | | this adds support for proto and wireless handler adding uci validation rules Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: work around dangling prefix kernel-routes (fixes #14963)Steven Barth2014-02-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix source-routing breaking 6in4 + othersSteven Barth2014-02-141-2/+2
| | | | | | | | | | 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't add unnecessary NOP policy rulesSteven Barth2014-01-201-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: don't reload if there were no address or data changesSteven Barth2014-01-191-0/+1
| | | | | | | This fixes packet loss due to reloading firewall every minute with IPv6 implementation of certain ISPs. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Add IFUPDATE-flags and use main IPv6 routing table againSteven Barth2014-01-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: improve logging in hotplug scriptJohn Crispin2014-01-151-1/+1
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: improve usability when switch device incorrectJohn Crispin2014-01-121-1/+1
| | | | | | | | http://patchwork.openwrt.org/patch/4701/ Signed-off-by: Andreas Mohr <andim2@users.sf.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: initialize the switch early at start time and on reload (fixes #13015)Felix Fietkau2013-12-311-6/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wireless related segfaults on armFelix Fietkau2013-12-291-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes wifi related segfaultsFelix Fietkau2013-12-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: remove useless variables, return -1 on errorsJohn Crispin2013-12-273-11/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add reload trigger for /etc/config/wireless as wellJo-Philipp Wich2013-12-181-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix handling of tcp_ecn parameterJo-Philipp Wich2013-12-171-2/+2
| | | | | | | | | | | The firewall3 implementation as well as the shell implementation predating it used to process the tcp_ecnoption as boolean while it actually is an integer. Change the code to parse tcp_ecn as integer. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a null pointer crashFelix Fietkau2013-12-161-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interfaceSteven Barth2013-12-152-13/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds a revert of the link state ↵Felix Fietkau2013-12-141-2/+2
| | | | | | | | handling patches which caused regressions in combination with wifi devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at ↵Felix Fietkau2013-12-131-1/+1
| | | | | | | | boot time Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix crashes triggered by adding/removing wireless devices on reloadFelix Fietkau2013-12-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: enable coredumps againJohn Crispin2013-12-091-4/+4
| | | | | | | | got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and ↵Felix Fietkau2013-12-081-2/+2
| | | | | | | | adds back support for multiple networks per wifi-iface Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, improves wireless status output and ↵Felix Fietkau2013-12-031-2/+2
| | | | | | | | fixes some bridge handling issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: rename the "reload" (restarting non-netifd wifi) command to ↵Felix Fietkau2013-12-021-1/+1
| | | | | | | | | | "reload_legacy" Add a new "reload" command that reloads the netifd config as well Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-022-3/+3
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove redundant calls to /sbin/wifi downFelix Fietkau2013-12-021-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)Jo-Philipp Wich2013-11-181-2/+2
| | | | | | | | | | - instead of writing one (or more) ACCEPT rules in the filter table for each redirect install a global ctstate DNAT accept rule per zone - discard rules and redirects which have invalid options set instead of silently skipping the invalid values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove connect_time from /var/state, it is unusedFelix Fietkau2013-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix vdsl-app dependencyJohn Crispin2013-11-071-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes regression in proto-shell ↵Felix Fietkau2013-10-311-2/+2
| | | | | | | | scripts (#14400, #14402) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds fixes and some preparation for ↵Felix Fietkau2013-10-301-3/+3
| | | | | | | | supporting wifi devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: Improve ubus supportSteven Barth2013-10-232-3/+3
| | | | | | | | | | * Use network.interface dump call instead of individual status calls to reduce overall netifd lookups and invokes to 1 per fw3 process. * Allow protocol handlers to assign a firewall zone for an interface in the data section to allow for dynamic firewall zone assignment. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Fix ifupdate eventsSteven Barth2013-10-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: various improvementsSteven Barth2013-10-181-2/+2
| | | | | | | | | | | | * Add ubus methods for global interface status * Add ubus function to create nested interfaces * Add protocol update notifications and hotplug legacy calls * Fix: key to data elements point at wrong memory area * Add support for source-restricted routes * Add option "delegate" to toggle prefix delegation * Reevaluate target routes also on interface update git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38453 3c298f89-4303-0410-b956-a3cf2f4a3e73