aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* lldpd: add STOP=01 param in init scriptFelix Fietkau2015-12-051-1/+2
| | | | | | | | | | This should ensure that lldpd is among the first processes to stop, so that it has time to send the shutdown LLDPU to the other side, before the network goes down. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: add VHT80 support for 802.11sFelix Fietkau2015-12-051-0/+170
| | | | | | | | | | | Support next to the non-HT/HT channel widths like HT20 or NOHT also VHT80 channels during the mesh join iw dev mesh0 mesh join "meshnet" freq 5180 80MHz Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: add VHT80 support for IBSSFelix Fietkau2015-12-052-0/+145
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: display interface TX power if availableFelix Fietkau2015-12-051-0/+32
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.h with compat-wireless 2015-10-26Felix Fietkau2015-12-051-2/+92
| | | | | | | | | Fix the id of NL80211_ATTR_WIPHY_ANTENNA_GAIN for antenna_gain command when using compat-wireless 2015-10-26. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: update to version 4.3Felix Fietkau2015-12-054-136/+56
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: debloat the ltq-vdsl-app binaryFelix Fietkau2015-12-041-2/+2
| | | | | | | | | | | Use the 'typical' compile configuration instead of 'full', which most notably excludes the soap support. /sbin/vdsl_cpe_control shrinks down to ~50%, from 178kb(!) to 90kb. Signed-off-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* br2684ctl: convert init script to procd, add hotplug/reload supportFelix Fietkau2015-12-043-35/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. ↵Felix Fietkau2015-12-043-1/+4
| | | | | | | | loading vr9 drivers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: update to 2.10Jonas Gorski2015-12-021-2/+2
| | | | | | | | Fixes compilation with linux 4.4. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes an issue with moving a wifi ↵Felix Fietkau2015-12-021-2/+2
| | | | | | | | iface to a different network Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: update to version 4.16.6.3John Crispin2015-11-245-20/+46
| | | | | | | | | | | In this upstream dsl driver app version the autoboot is deactivated activate it again. In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: add dsl_cpe_pipe.shJohn Crispin2015-11-242-1/+21
| | | | | | Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)Felix Fietkau2015-11-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa-supplicant: Get 802.11s ssid information from option mesh_idJohn Crispin2015-11-241-0/+3
| | | | | | | | | | | | The scripts for authsae and iw use the option mesh_id to get set the "meshid" during a mesh join. But the script for wpad-mesh ignores the option mesh_id and instead uses the option ssid. Unify the mesh configuration and let the wpa_supplicant script also use the mesh_id from the configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Use kbit/s as mcast_rate unit like wpadJohn Crispin2015-11-241-2/+10
| | | | | | | | | | | | | | | The OpenWrt wireless configuration for mcast_rate is defined as Kbit/s when using wpa_supplicant for IBSS/802.11s and iw for unencrypted IBSS/802.11s. But when using authsae, the unit for the same option is redefined as Mbit/s. Better use the same unit for this option independent of the backend which is used. Old values for mcast_rate (< 1000) are still interpreted Mbit/s to avoid problems during upgrades from older versions. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Fix meshid in authsae configJohn Crispin2015-11-241-1/+1
| | | | | | | | | The variable $mesh_id was never defined in authsae_start_interface and thus the option meshid in $authsae_conf_file was always set to "". Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iperf: activate format-security checksHauke Mehrtens2015-11-222-1/+96
| | | | | | | | | This patch was taken from debian. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: create /etc/conntrackd directoryJohn Crispin2015-11-211-0/+1
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: use INSTALL_DIR onceJohn Crispin2015-11-211-2/+3
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: correctly handle netlink congestion caseSteven Barth2015-11-191-3/+3
| | | | | | | | Thanks to @ktgeek and @willmo for diagnosing Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix device status reporting for external interfacesJo-Philipp Wich2015-11-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-app-vdsl: convert init script to procd, add support for switching ↵Felix Fietkau2015-11-163-12/+27
| | | | | | | | between atm and ptm Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: preserve /etc/conntrackd during upgradeFelix Fietkau2015-11-151-0/+4
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: update to 2.9Felix Fietkau2015-11-154-5/+5
| | | | | | | | | Fixes compilation with Linux 4.3. Runtime tested on Ubiquiti EdgeRouter Lite with Linux 3.18, 4.1 and 4.3. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, contains several fixes, including one ↵Felix Fietkau2015-11-121-2/+2
| | | | | | | | for interface ip4/ip6table for device routes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: Use network_get_device instead of uci_get_stateFelix Fietkau2015-11-113-5/+13
| | | | | | | | This fixes the IAPP functionality. Signed-off-by: Petko Bordjukov <bordjukov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: add support for configuration option ubus_corsLuka Perkov2015-11-101-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: enable options consistency check even in the small buildFelix Fietkau2015-11-101-0/+12
| | | | | | | | | Only costs about 3k compressed, but significantly improves handling of configuration mismatch Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: split into conntrack/conntrackdFelix Fietkau2015-11-081-16/+31
| | | | | | | | | | | as conntrack and conntrackd are completely independent programs, serving a different purpose. Also split by other distributions, as Debian and Ubuntu. Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: upgrade to 1.4.3Felix Fietkau2015-11-082-42/+2
| | | | | | Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: remove default config fileFelix Fietkau2015-11-082-7/+1
| | | | | | | | | | | default configuration will fill up disk by writing /var/log/conntrackd-stats.log Introduced due init script auto start. Signed-off-by: Ulrich Weber <uw@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, adds support for redirect helper scriptsFelix Fietkau2015-11-082-3/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: implement a reload hookFelix Fietkau2015-11-031-1/+18
| | | | | | | | | | | | | | | | | | | Seems the default one is not working as expected. The way that reload should work is that the 'start' service call should return 1 (if lldpd is running) and then a normal restart would be called. However, for lldpd a reload would mean just clearing all custom TLVs (if they're configured) and reloading the configuration. So, this patch adds a reload hook, which would: - 'start' lldpd if it's not running (because we return 1 if not running) - reload configuration if it is running (also previously clearing custom TLVs if present) Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add default value to eapol_version (#20641)Felix Fietkau2015-11-021-0/+1
| | | | | | | | | | | | | | r46861 introduced a new option eapol_version to hostapd, but did not provide a default value. When the option value is evaluated, the non-existing value causes errors to the systen log: "netifd: radio0: sh: out of range" Add a no-op default value 0 for eapol_version. Only values 1 or 2 are actually passed on, so 0 will not change the default action in hostapd. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: always use -DHAVE_SETNS, since the old uclibc is gone nowFelix Fietkau2015-11-021-10/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba: convert init script to procd, add reload supportFelix Fietkau2015-10-301-6/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: fix compile with uClibc-ngFelix Fietkau2015-10-301-0/+3
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: update to the latest version, fixes some issues found by CoverityFelix Fietkau2015-10-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omcproxy: fix PKG_LICENSE stringJohn Crispin2015-10-261-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest git HEADJohn Crispin2015-10-201-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest git revisionJohn Crispin2015-10-192-2/+7
| | | | | | | | adds URL alias support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cosmetic: remove trailing whitespacesLuka Perkov2015-10-153-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6in4: add tunlink option supportSteven Barth2015-10-152-7/+14
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iperf3: update URLLuka Perkov2015-10-111-1/+1
| | | | | | | | | Update iperf3 to point to the correct project website. Prior URL was the old iperf2 website. Signed-off-by: Karl Palsson <karlp@remake.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: fix keep-alive bug (#20607, #20661)Jo-Philipp Wich2015-10-072-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The two commits 5162e3b0ee7bd1d0fd6e75e1ca7993a1834b5291 "allow request handlers to disable chunked reponses" and 618493e378e2239f0d30902e47adfa134e649fdc "file: disable chunked encoding for file responses" broke the chunked transfer encoding handling for proc responses in keep-alive connections that followed a file response with http status 204 or 304. The effect of this bug is that cgi responses following a 204 or 304 one where sent neither in chunked encoding nor with a content-length header, causing browsers to stall until the keep alive timeout was reached. Fix the logic flaw by inverting the chunk prevention flag in the client state and by testing the chunked encoding preconditions every time instead of once upon client (re-)initialization. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: wait longer for inactive client probe (empty data frame)Felix Fietkau2015-10-061-0/+11
| | | | | | | | | | | One second is not enough for some devices to ackowledge null data frame which is sent at the end of ap_max_inactivity interval. In particular, this causes severe Wi-Fi instability with Apple iPhone which may take up to 3 seconds to respond. Signed-off-by: Dmitry Ivanov <dima@ubnt.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: wrap procd command args in separate quotesJohn Crispin2015-10-051-3/+3
| | | | | | | | | | | | Seems the match pattern was being adapted from 'eth0' to ' eth0' because of the way I added the procd command args. This did not seem to be a problem when there were multiple interfaces, just on devices with single interfaces for lldpd to listen on. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: add handling for route-pre-down optionJohn Crispin2015-10-051-1/+1
| | | | | | | | | OpenVPN 2.3 added a route-pre-down option, to run a command before routes are removed upon disconnection. Signed-off-by: Jeffery To <jeffery.to@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: nl80211: add support for reading TX power from netlinkJo-Philipp Wich2015-10-051-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47108 3c298f89-4303-0410-b956-a3cf2f4a3e73