summaryrefslogtreecommitdiff
path: root/package/network/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 42151
* xtables-addons: remove version 1.x for old kernelsFelix Fietkau2014-08-079-19749/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42047
* 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> SVN-Revision: 42034
* 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> SVN-Revision: 42022
* iwinfo: allow scans in AP mode on nl80211Felix Fietkau2014-08-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42014
* iputils: add missing includes, fix musl supportFelix Fietkau2014-08-032-1/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41958
* iwcap: add missing includeFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41956
* iwinfo: add missing include statementFelix Fietkau2014-08-031-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41955
* 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> SVN-Revision: 41945
* 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> SVN-Revision: 41830
* iwinfo: fix secondary radios being misreported as ralink deviceJo-Philipp Wich2014-07-251-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41829
* 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> SVN-Revision: 41826
* iwinfo: fix crash on parsing mtd (#15807)Felix Fietkau2014-07-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41675
* iwinfo: fix string format for country codeHauke Mehrtens2014-07-021-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41485
* iptables: refresh patchesFelix Fietkau2014-07-022-14/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41479
* 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> SVN-Revision: 41460
* iptables: pass --disable-ipv6 is CONFIG_IPV6 is unsetJo-Philipp Wich2014-07-021-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41458
* 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> SVN-Revision: 41411
* conntrack-tools: fix build on octeonFelix Fietkau2014-06-291-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41377
* conntrack-tools: leave out bogus reject files on unpackingFelix Fietkau2014-06-291-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41376
* iputils: fix compile when using eglibcJohn Crispin2014-06-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41342
* iw: update to 3.15Felix Fietkau2014-06-224-210/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41299
* iproute2: update version to 3.15.0, refresh patches, add maintainerSteven Barth2014-06-176-12/+13
| | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 41227
* curl: move to core packagesJo-Philipp Wich2014-06-116-0/+363
| | | | SVN-Revision: 41143
* 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> SVN-Revision: 41051
* 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> SVN-Revision: 40983
* 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> SVN-Revision: 40954
* 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> SVN-Revision: 40953
* iwinfo: add Atheros AR9580 to hardware.txtJohn Crispin2014-06-021-0/+1
| | | | | | Signed-off-by: Stefan Agner <stefan@agner.ch> SVN-Revision: 40952
* 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> SVN-Revision: 40942
* 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> SVN-Revision: 40916
* 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> SVN-Revision: 40884
* 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> SVN-Revision: 40868
* iwinfo: remove old lua compat macrosFelix Fietkau2014-05-211-31/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40816
* iwinfo: un-export internal api header filesFelix Fietkau2014-05-218-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40815
* iwinfo: bump release and start using ABI_VERSIONFelix Fietkau2014-05-211-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40814
* iwinfo: move wl_ops to iwinfo_wl.c, make functions staticFelix Fietkau2014-05-214-145/+88
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40813
* iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions staticFelix Fietkau2014-05-215-313/+281
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40812
* iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions staticFelix Fietkau2014-05-214-144/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40811
* iwinfo: move wext_ops to iwinfo_wext.c, make functions staticFelix Fietkau2014-05-2110-173/+146
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40810
* 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> SVN-Revision: 40809
* iw: sync nl80211.hFelix Fietkau2014-05-202-24/+137
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40801
* iwinfo: adjust for changed wpa_supplicant control socket pathJo-Philipp Wich2014-05-102-3/+9
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40747
* 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> SVN-Revision: 40613
* iw: sync nl80211.h (fixes settting antenna_gain)Felix Fietkau2014-04-131-3/+186
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40503
* iptables: fix issues with the new musl versionFelix Fietkau2014-03-203-40/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39964
* iptables/netfilter: add connlimit to conntrack-extraSteven Barth2014-03-111-0/+1
| | | | SVN-Revision: 39878
* iptables: bump to 1.4.21Steven Barth2014-03-111-2/+2
| | | | SVN-Revision: 39877
* iproute2: add ip-full variant to disable IP_CONFIG_TINYFelix Fietkau2014-03-091-7/+20
| | | | | | | | | This change creates a new ip-full variant for the ip package. It disables IP_CONFIG_TINY to make some iproute2 features available like xfrm, gretap, ... Signed-off-by: Thomas Wouters <thomaswouters@gmail.com> SVN-Revision: 39854
* comgt: add validation rules to proto handlerJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39618