aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* 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
* iproute2: adapt coexistence layer to new unified pathSteven Barth2015-10-021-5/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: check for banned client on association eventRafał Miłecki2015-09-281-0/+26
| | | | | | | | | | | When using FullMAC drivers (e.g. brcmfmac) we don't get mgmt frames so check for banned client in probe request handler won't ever be used. Since cfg80211 provides us info about STA associating let's put a check there. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* igmpproxy: fix spurious restarts on interface events, pass used netdevs to ↵Felix Fietkau2015-09-261-1/+5
| | | | | | | | procd instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47055 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: allow DHCPv6 traffic to/from fc00::/6 instead of fe80::/10Jo-Philipp Wich2015-09-251-2/+2
| | | | | | | | | | There is no RFC requirement that DHCPv6 servers must reply with a link local address and some ISP servers in the wild appear to using addresses in the ULA range to send DHCPv6 offers. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: add respawn param in case dropbear crashesFelix Fietkau2015-09-241-0/+1
| | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: Remove dependencies to kmod-ipv6Steven Barth2015-09-219-9/+9
| | | | | | | | | Since r46834, IPv6 support is builtin if selected. Therefor, dependencies on kmod-ipv6 can no longer be fulfilled, since it is not a module anymore. Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add qmi.sh executable bit and fix option dhcpFelix Fietkau2015-09-212-2/+2
| | | | | | | | | | Using protocol qmi does not work since qmi.sh is not executable. Setting option dhcp explicitely to 0 actually enables it. This patch fixes both problems. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: restore limited event monitor functionality (#20546)Felix Fietkau2015-09-181-21/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: depend on kmod-ipt-conntrack (#20542)Jo-Philipp Wich2015-09-171-1/+1
| | | | | | | | | Our ruleset requires kernel support for conntrack state matching, therfore depend on the require kmod. Fixes #20542. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add extra respawn paramsJohn Crispin2015-09-161-0/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: conversion of init script to procd formatJohn Crispin2015-09-161-13/+18
| | | | | | | | And add respawn param (the main reason for this conversion). Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: move /var/run creation + chmod earlierJohn Crispin2015-09-161-3/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: remove obsolete/unsupported lldpctl callJohn Crispin2015-09-161-5/+0
| | | | | | | | | | This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/<some-file>.conf Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: use more reliable way to set script environmentSteven Barth2015-09-154-6/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omcproxy: use 100ms query response interval by defaultSteven Barth2015-09-151-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Update to the latest DSL driver / application versionsJohn Crispin2015-09-143-131/+22
| | | | | | | | | | | Thanks to Sylwester Petela for testing my patch (successfully on an ADSL connection) and for pointing out some configuration mistakes. Others (including me) have also successfully tested this extensively on VDSL connections. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: rework 802.11w driver support selection, do not hardcode ↵Felix Fietkau2015-09-142-1/+5
| | | | | | | | drivers in hostapd makefile Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46903 3c298f89-4303-0410-b956-a3cf2f4a3e73