aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
Commit message (Collapse)AuthorAgeFilesLines
* umbim: update to latest gitJohn Crispin2014-08-261-2/+2
| | | | | | | | add pincode sanitization and handling for authproto/user/pass Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: properly decode SSIDs when scanning through wpa_supplicantJo-Philipp Wich2014-08-242-4/+63
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* umbim: add netifd proto handler for mbim style lte modemsJohn Crispin2014-08-222-0/+192
| | | | | | | | tested on vodafone k5105 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: update to version 2.5Felix Fietkau2014-08-217-127/+1940
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: fix segfault of iwinfo.scanlist("radio0").Jo-Philipp Wich2014-08-122-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bug revealed in r41830. First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname() would be zeroed out if the argument is "wlan0" or the like. This will happen in the following call stack. nl80211_get_scanlist("radio0", buf, len); nl80211_phy2ifname("radio0") // return static var nif with content "wlan0" nl80211_get_scanlist(nif, buf, len); // tail call nl80211_get_mode(nif); nl80211_phy2ifname(nif); // zero out nif Later we try nl80211_ifadd("") which was supposed to create interface "tmp.", but that won't happen because nl80211_msg() will put an invalid ifidx 0 to the nlmsg. Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily nl80211_get_scanlist() returned 0 and left *len undefined. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: remove version 1.x for old kernelsFelix Fietkau2014-08-079-19749/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.Steven Barth2014-08-071-2/+2
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: NFLOG and NFQUEUE targets' full supportSteven Barth2014-08-071-0/+28
| | | | | | | | | | | | | | | | NFLOG and NFQUEUE targets' full support for iptables. Includes all needed kernel modules (Xtables's and Netlink's) and userspace libraries. All added kernel modules can be individually disabled, all other new libraries get their own individual packages. Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch> Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at> Reported-by: Derek LaHousse <dlahouss@mtu.edu> Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: allow scans in AP mode on nl80211Felix Fietkau2014-08-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iputils: add missing includes, fix musl supportFelix Fietkau2014-08-032-1/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwcap: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add missing include statementFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: introduce xt_id matchJo-Philipp Wich2014-08-011-0/+59
| | | | | | | | | This commit implements a new netfilter match "xt_id" which can be used to attach unsigned 32bit IDs to iptables rules. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: avoid creating tmp.* ifaces for scanningJo-Philipp Wich2014-07-251-2/+22
| | | | | | | | | | | | If the iface to scan on already is in ad-hoc, station or monitor mode then do not spawn a temporary iface. Also preventively disable IPv6 on temporary ifaces before bringing them up to avoid potential security issues. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix secondary radios being misreported as ralink deviceJo-Philipp Wich2014-07-251-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: continue scanning even if temporary mac cannot be changedJo-Philipp Wich2014-07-253-3/+3
| | | | | | | | | | So far iwinfo aborted a wifi scan attempt if the mac of the spawned interface could not be changed. Change the code to try anyway - this should fix wifi scanning on RaLink devices. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41826 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix crash on parsing mtd (#15807)Felix Fietkau2014-07-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix string format for country codeHauke Mehrtens2014-07-021-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: refresh patchesFelix Fietkau2014-07-022-14/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: re-enable PIC, it is only applied to libnetlink.a and required for ↵Jo-Philipp Wich2014-07-021-1/+1
| | | | | | | | collectd Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: pass --disable-ipv6 is CONFIG_IPV6 is unsetJo-Philipp Wich2014-07-021-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packagesFelix Fietkau2014-06-304-0/+4
| | | | | | | | The idea is to gradually fix the packages Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: fix build on octeonFelix Fietkau2014-06-291-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* conntrack-tools: leave out bogus reject files on unpackingFelix Fietkau2014-06-291-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iputils: fix compile when using eglibcJohn Crispin2014-06-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: update to 3.15Felix Fietkau2014-06-224-210/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: update version to 3.15.0, refresh patches, add maintainerSteven Barth2014-06-176-12/+13
| | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* curl: move to core packagesJo-Philipp Wich2014-06-116-0/+363
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: use -ffunction-sections and --gc-sections, reduces binary size from ↵Felix Fietkau2014-06-071-1/+3
| | | | | | | | 57k to 29k Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter: split off header matching modules not used by the default config ↵Felix Fietkau2014-06-021-0/+11
| | | | | | | | (reduces rootfs size and memory usage) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: update nl80211 api to the latest oneJohn Crispin2014-06-021-140/+1478
| | | | | | | | modified version of http://patchwork.openwrt.org/patch/4533/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add 802.11ac hwmode supportJohn Crispin2014-06-023-3/+13
| | | | | | | | | | In case of .11ac device the hwmode was not properly displayed. This patch fixes it. Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add Atheros AR9580 to hardware.txtJohn Crispin2014-06-021-0/+1
| | | | | | Signed-off-by: Stefan Agner <stefan@agner.ch> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt: add support for defining dial number in config fileJohn Crispin2014-06-023-3/+10
| | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: Makefile: only build ip6tc, if IPv6 is enabledJohn Crispin2014-06-021-1/+1
| | | | | | | | when disabling ipv6, the iptables build breaks without a manul clean or this patch Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing ↵Felix Fietkau2014-05-301-1/+4
| | | | | | | | garbage Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add support for QMI-based mobile broadband modemsFelix Fietkau2014-05-282-0/+185
| | | | | | | | | | | | | Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the modem. At the moment there is no support for them in OpenWrt. This patch adds support for them in the form of a netifd script and a control utility. Tested with Huawei E398 and ZTE MF820D (which requires a delay of ~30 s before responding to QMI commands). I put myself up as the maintainer, feel free to change this if you desire. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: remove old lua compat macrosFelix Fietkau2014-05-211-31/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: un-export internal api header filesFelix Fietkau2014-05-218-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: bump release and start using ABI_VERSIONFelix Fietkau2014-05-211-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wl_ops to iwinfo_wl.c, make functions staticFelix Fietkau2014-05-214-145/+88
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions staticFelix Fietkau2014-05-215-313/+281
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions staticFelix Fietkau2014-05-214-144/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wext_ops to iwinfo_wext.c, make functions staticFelix Fietkau2014-05-2110-173/+146
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded ↵Felix Fietkau2014-05-216-52/+35
| | | | | | | | strcmp calls Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.hFelix Fietkau2014-05-202-24/+137
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: adjust for changed wpa_supplicant control socket pathJo-Philipp Wich2014-05-102-3/+9
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: #15516 Fix compile under linux 3.14Hauke Mehrtens2014-04-301-0/+14
| | | | | | | | | Add compatibility inline function. Signed-off-by: Jan Kardell <jan.kardell@telliq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: sync nl80211.h (fixes settting antenna_gain)Felix Fietkau2014-04-131-3/+186
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: fix issues with the new musl versionFelix Fietkau2014-03-203-40/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39964 3c298f89-4303-0410-b956-a3cf2f4a3e73