aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config
Commit message (Collapse)AuthorAgeFilesLines
* 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
* netifd: rename customopts to sendopts for consistencySteven Barth2013-10-171-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added 'customopts' dhcp protocol option, which is an array passed along to ↵Steven Barth2013-10-171-2/+7
| | | | | | | | udhcpc as series of -x options. Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: remove old switch driverHauke Mehrtens2013-10-131-1/+1
| | | | | | | | | | The switch driver is not used by brcm47xx any more and can be removed, instead of this switch driver b53 is used now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add some missing PKG_SOURCE_URLsHauke Mehrtens2013-10-121-0/+2
| | | | | | | | | These URLs where missing and causes build failures. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: small improvements in nat reflectionJo-Philipp Wich2013-10-101-2/+2
| | | | | | | - do not insert duplicate rules when setting up reflection to a zone containing multiple interfaces - set up reflection for any protocol, not just TCP and UDP git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, adds macvlan supportFelix Fietkau2013-10-031-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: don't remove & readd addresses that only have a changed lifetimeSteven Barth2013-10-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes a bridge handling corner case on ↵Felix Fietkau2013-08-291-2/+2
| | | | | | | | config reload Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: update to git headJo-Philipp Wich2013-08-141-2/+2
| | | | | | | - uses "-j CT --notrack" instead of deprecated "-j NOTRACK" - fixes support for rule sections with target "NOTRACK" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: update to git headJo-Philipp Wich2013-07-161-2/+2
| | | | | | - handles redirects as port relocations if the dest_ip points to the router itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Fix IPv6-prefix assignment with continuous hintsSteven Barth2013-07-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, add bridge_empty optionLuka Perkov2013-07-141-2/+2
| | | | | | | | with this option enabled it's possible to create empty bridges Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: fix dependency bug introduced by [37304]John Crispin2013-07-141-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use b53 phy driver for the switch in kernel 3.10Hauke Mehrtens2013-07-141-1/+1
| | | | | | | | | | | This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: add missing dependenciesFelix Fietkau2013-07-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: move dsl tools to package/network/configJohn Crispin2013-07-089-0/+918
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: allow routed lan<->lan traffic by defaultJo-Philipp Wich2013-07-042-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: update to git headJo-Philipp Wich2013-06-291-2/+2
| | | | | | - uses custom formatting for mac addresses to ensure leading zeroes, required for older iptables mac match parser git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix typo in dhcp scriptSteven Barth2013-06-282-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes a NULL pointer deref bugFelix Fietkau2013-06-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: update to git headJo-Philipp Wich2013-06-181-2/+2
| | | | | | - fixes misprocessing of unknown symbolic protocol names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36963 3c298f89-4303-0410-b956-a3cf2f4a3e73