aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
...
* network/services/lldpd: Fix missing dependency when using JSONJohn Crispin2015-12-171-0/+1
| | | | | | | | | Using the JSON output option depends on json library so add select json-c library when JSON output is selected. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dante: update to 1.4.1John Crispin2015-12-174-536/+13
| | | | | | | | | | | | | | | - 1.4.x has IPv6 support - set C std explicitly due to gcc 5 changes/old code style of dante - disable pam via configure vars since detection of without pam option is broken (-lpam gets linked in if available) - remove and refresh patches only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes more route table issuesFelix Fietkau2015-12-161-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes reload issues on routing table ↵Felix Fietkau2015-12-151-2/+2
| | | | | | | | changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux-atm: add wrapper for br2684ctl to defer nasX device bringupFelix Fietkau2015-12-143-2/+10
| | | | | | | | Fixes a race condition on netifd device bringup. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: cleanup MakefileFelix Fietkau2015-12-131-14/+8
| | | | | | | | | | | | | | | | - CONFIG_IFX_CLI is unused, couldn't find any reference to this config variable - use disable-feature instead of enable-feature=no - reorder configure args to have depending args together - remove configure args which set the default value - group enable-model and configure args which enable or disable features that are covered by the feature set The config.log contains the same values as before. The vdsl_cpe_control binary has the same checksum as before. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: re-add showtime counters supportFelix Fietkau2015-12-131-1/+2
| | | | | | | | | | | | | The typicial feature set doesn't include "DSL PM showtime counters support" (INCLUDE_DSL_CPE_PM_SHOWTIME_COUNTERS). This feature provides the vdsl_cpe_control command 'pmccsg', which is used by 'dsl_control status' to get the line uptime. The binary size increases to 103912 byte (+4256 byte) uncompressed. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Add option "--all-servers"John Crispin2015-12-111-0/+1
| | | | | | | | | Add the option "--all-servers" which forces dnsmasq to send all queries to all servers and then take the first answer. Signed-off-by: Andréas Gustafsson <gurgalof@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* br2684ctl: add atm-bridge disabled optionFelix Fietkau2015-12-101-1/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* br2684ctl: fix config reload triggerFelix Fietkau2015-12-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ifup-shellscript - fix wrong usage of 'local'Felix Fietkau2015-12-101-3/+1
| | | | | | | | | | | | | | | | | | this error was not visible until recent bump to busybox 1.24.1 stable which introduced a warning message when keyword 'local' is not used with a shell-function. this does not change behavior and is a cosmetic cleanup. fixes the following output: root@box:~ ifup <interface> /sbin/ifup: local: line 362: not in a function /sbin/ifup: local: line 362: not in a function /sbin/ifup: local: line 1: not in a function Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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