Commit Graph

214 Commits (741e0fd7a16bf8875ab10d7773bc8aed9b63d1d8)

Author SHA1 Message Date
Felix Fietkau 72d6a51e64 iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40884
10 years ago
Felix Fietkau 487f719203 uqmi: Add support for QMI-based mobile broadband modems
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
10 years ago
Felix Fietkau 8bd8ecd0c3 iwinfo: remove old lua compat macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40816
10 years ago
Felix Fietkau 4c9fc236c9 iwinfo: un-export internal api header files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40815
10 years ago
Felix Fietkau 8c4421ecd6 iwinfo: bump release and start using ABI_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40814
10 years ago
Felix Fietkau 12333f4169 iwinfo: move wl_ops to iwinfo_wl.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40813
10 years ago
Felix Fietkau b5eec473f0 iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40812
10 years ago
Felix Fietkau 6c02355830 iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40811
10 years ago
Felix Fietkau 6e27ecbac7 iwinfo: move wext_ops to iwinfo_wext.c, make functions static
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40810
10 years ago
Felix Fietkau 2d06acd6ac iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40809
10 years ago
Felix Fietkau 9d5be2b858 iw: sync nl80211.h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40801
10 years ago
Jo-Philipp Wich 735a03be62 iwinfo: adjust for changed wpa_supplicant control socket path
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40747
10 years ago
Hauke Mehrtens 2cc83fe501 xtables-addons: #15516 Fix compile under linux 3.14
Add compatibility inline function.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>

SVN-Revision: 40613
10 years ago
Felix Fietkau 4d0f5b36c4 iw: sync nl80211.h (fixes settting antenna_gain)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40503
10 years ago
Felix Fietkau 0ccec8179d iptables: fix issues with the new musl version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39964
10 years ago
Steven Barth 97ea9e3c2a iptables/netfilter: add connlimit to conntrack-extra
SVN-Revision: 39878
10 years ago
Steven Barth 09fd40c28f iptables: bump to 1.4.21
SVN-Revision: 39877
10 years ago
Felix Fietkau 24dae38f43 iproute2: add ip-full variant to disable IP_CONFIG_TINY
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
10 years ago
John Crispin ed72f7102c comgt: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39618
11 years ago
Hauke Mehrtens 3f07af337c iw: update to iw 3.14
- update iw to 3.14
- remove some patches that are obsolete
- 200-reduce_size.patch has new coalesce removed from Makefile matching prev. ver
- refresh patches

This increases the size of the binary by 6.7%:
  87801	   4400	    320	  92521	  16969	iw-3.10/iw
  93995	   4424	    324	  98743	  181b7	iw-3.14/iw

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 39486
11 years ago
Felix Fietkau 8c737e1864 tcpdump: update to current upstream version 4.5.1
-size_of(old tcpdump-mini 4.2.1) = 145245 Byte
-size_of(new tcpdump-mini 4.5.1) = 149416 Byte
=> ~4.2 KByte increase

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

SVN-Revision: 39474
11 years ago
Zoltan Herpai c87513de6b packages: ifenslave: add kernel dependencies as source was removed from 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39295
11 years ago
Felix Fietkau 088eea282d iproute2: reduce .ipk package size from ~100k down to ~60k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39119
11 years ago
Felix Fietkau 9c3adcb2e6 iw: reduce size and make the phy dump output more readable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39041
11 years ago
Jo-Philipp Wich 7ad5350dfb Add patch to fix ipset timeout setting problem
Fixes #14325

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 38779
11 years ago
Jo-Philipp Wich c9bc0e12a9 Update ipset to version 6.20.1
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 38778
11 years ago
Hauke Mehrtens 20d64e929f iwinfo: don't report associations for broadcom wds interfaces
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38746
11 years ago
Hauke Mehrtens e3a5401fb2 iwinfo: fix hwmodelist reporting for broadcom wl
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38745
11 years ago
Jo-Philipp Wich 6da1c9d3ea iw: add patch to support 802.11j frequencies
A similar change was recently merged in iw commit
58b46da26ab9b5ff31c7033e175351eb1301d9af

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38449
11 years ago
Jo-Philipp Wich c8e0c28c15 iwinfo: make 'type' visible in wrapped iwinfo
There are several cases within 'luci' that attempt to access the interface
'type' from within the 'type' specific meta tables; however, 'type' is not
currently available there.  Replicate the common metadata in the 'type'
specific meta tables.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38448
11 years ago
Hauke Mehrtens 232a654833 iputils: do not compile this for brcm47xx with -O2
ping is now working for me with -Os on brcm47xx.
This revert r26278.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38389
11 years ago
Luka Perkov 702936f4c9 iproute2: update to 3.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38313
11 years ago
Gabor Juhos 99d13b09b9 iwinfo: add Ubiquiti WispStation M5 to hardware.txt
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38145
11 years ago
Felix Fietkau 5137cdb1e1 xtables-addons: fix missing conversion from r38021 (resolves a broken dependency)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38124
11 years ago
John Crispin f12f4074af kernel: make most modules use AutoProbe
now that we have modprobe we can set more than half of the modules to AutoProbe

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38021
11 years ago
Felix Fietkau 28eceb0343 iwinfo: when using nl80211, parse interface combinations instead of creating/deleting interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37983
11 years ago
Steven Barth 0a85c59040 netfilter: Add IPv6-NAT support for kernel and ipt Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration
SVN-Revision: 37866
11 years ago
Steven Barth 3e647ac9b6 iptables: Update to 1.4.20
SVN-Revision: 37865
11 years ago
Luka Perkov 1646bd096c iproute2: update to 3.10.0
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37590
11 years ago
Hauke Mehrtens 96f1953fb1 kernel: fix xtables-addons dependencies with kernel 3.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37461
11 years ago
Jo-Philipp Wich 7bbe1656cb xtables-addons: use a select of kmod-ipt-core instead of depending on it
SVN-Revision: 37425
11 years ago
Jo-Philipp Wich d474a77edf xtables-addons: add missing kmod dependencies
SVN-Revision: 37424
11 years ago
Steven Barth 0444e32acd Bump iptables version
SVN-Revision: 37329
11 years ago
Steven Barth ea6a5d0c22 iptables: restore reap functionality to recent module
The reap functionality appears to have been accidentally disabled by
commit 74ded7257e5da5e309844d386290f24ae91950a6 to iptables.git, see:

  git://git.netfilter.org/iptables.git

and subsequently in iptables 1.4.15 and later.  This adds a patch to
restore reap functionality for recent_opts_v1.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 37328
11 years ago
Felix Fietkau 4e042e4a84 ipset: force the shell to bash to fix build issues on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37227
11 years ago
Felix Fietkau 4a0c312dc3 xtables-addons: update to version 2.3, adds linux 3.10 compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37226
11 years ago
Luka Perkov 4a7439401b linux-atm: fix dependencies
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37189
11 years ago
Felix Fietkau 12c033dfd9 mac80211: update to wireless-testing 2013-06-27, fix ATH_USER_REGD handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37097
11 years ago
Steven Barth eecce5abad arptables: Bump to 0.0.4
SVN-Revision: 37020
11 years ago
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
11 years ago
Steven Barth f6dd266c97 iproute2: add drop-failed rule action (patch by Jonas Gorski)
SVN-Revision: 36910
11 years ago
Jo-Philipp Wich bc73ca5619 iwinfo: add phyname attribute, this is useful to group networks by radio phy
SVN-Revision: 36889
11 years ago
Jo-Philipp Wich cb24c37858 libiwinfo: ignore log messages from wpa_supplicant while scanning
wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>

SVN-Revision: 36888
11 years ago
Jo-Philipp Wich e94cf1c72b iptables: install libext*.a into staging dir
SVN-Revision: 36867
11 years ago
Steven Barth 56a3396bf2 iptables: bump to 1.4.19.1
SVN-Revision: 36760
11 years ago
Felix Fietkau e6250644be mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36743
11 years ago
Jo-Philipp Wich 6eec8009ba ipset: remove dependency on iptables-mod-ipset - technically it does not depend on it and the iptables matches are now part of the base
SVN-Revision: 36685
11 years ago
Jo-Philipp Wich 8df6cd005c netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
SVN-Revision: 36683
11 years ago
Jo-Philipp Wich a9a9644efd iptables: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 36680
11 years ago
Luka Perkov 4fc8e64a40 iproute2: workaround compile issues with gcc 4.8.x
SVN-Revision: 36642
11 years ago
Luka Perkov 580481cd6d iproute2: upgrade to 3.9.0
SVN-Revision: 36638
11 years ago
Luka Perkov 5be36cbe83 iproute2: print help in connmark
SVN-Revision: 36637
11 years ago
Felix Fietkau d481486aad package: fold the IPv6 menu into Network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36634
11 years ago
Jo-Philipp Wich d59f8cfa8e iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
SVN-Revision: 36604
11 years ago
Felix Fietkau 9d8e3e03df iw: update to 3.10, sync with nl80211.h changes in compat-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36569
11 years ago
Jo-Philipp Wich a0b655b8f2 Fix install of iptables pkg-config files.
libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36509
11 years ago
Jo-Philipp Wich f1e214411d iwinfo: fix iwinfo_hardware() return value if chip id is not found
SVN-Revision: 36471
11 years ago
Jo-Philipp Wich 05c1424e87 iwinfo: add hw database file
SVN-Revision: 36450
11 years ago
Jo-Philipp Wich e02d373f90 iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
SVN-Revision: 36449
11 years ago
Jo-Philipp Wich a040ead1c5 iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
SVN-Revision: 36417
11 years ago
Jo-Philipp Wich 25ffe0446c iwinfo: print info of all existing wireless ifaces when cli is called without arguments
SVN-Revision: 36339
11 years ago
Jo-Philipp Wich 7ca7bc501e iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
SVN-Revision: 36292
11 years ago
Steven Barth 5a9c2c77b4 iptables: don't use --enable-ipv6 if IPv6 is disabled
SVN-Revision: 36125
11 years ago
Hauke Mehrtens c9544f4af0 kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098
11 years ago
Steven Barth 62ea398cd8 iptables: Add missing IPv6 builtin modules
SVN-Revision: 35898
12 years ago
Steven Barth 9779b0b88c iptables: redo update to 1.4.18 with old linking-behaviour
SVN-Revision: 35896
12 years ago
Steven Barth bacd71648b Revert "iptables: update to 1.4.18" due to toolchain-issue: binaries cause segfaults when stripped on ar71xx
SVN-Revision: 35894
12 years ago
Steven Barth d023a08753 iptables: update to 1.4.18
SVN-Revision: 35892
12 years ago
Jo-Philipp Wich 886ce188bf xtables-addons: fix packaging of iptaccount
SVN-Revision: 35831
12 years ago
Florian Fainelli 280fa5a1a2 dante: fix broken configure script not using CFLAGS for conftest
Spotted by doing an ARM hard float build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35685
12 years ago
Jo-Philipp Wich eeaf2c0b5a iptables: fix bad PKG_RELEASE in previous commit
SVN-Revision: 35569
12 years ago
Jo-Philipp Wich 916902b1d2 iptables: add --lenient switch to iptables-restore and ip6tables-restore that allows to skip erroneous lines
SVN-Revision: 35568
12 years ago
Jo-Philipp Wich e893d4d9a8 libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
SVN-Revision: 35471
12 years ago
Felix Fietkau bc1d72c7bf tcpdump: add SLL parsing support to tcpdump-mini, use -ffunction-sections, -fdata-sections and --gc-sections to reduce size
SVN-Revision: 35288
12 years ago
Felix Fietkau 18a7d0e945 network/iproute2: Bump version to 3.7.0
Updated to latest stable version and added an upstream patch to handle
a link failure

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
[dgolle@allnet.de: refreshed patches]
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35250
12 years ago
Jo-Philipp Wich 7250e27869 xtables-addons: rework uid/gid compat patch to use KUIDT_INIT() and KGIDT_INIT() macros
SVN-Revision: 35203
12 years ago
Jo-Philipp Wich 3b798d819d xtables-addons: move to package/, add myself as maintainer
SVN-Revision: 35193
12 years ago
Jo-Philipp Wich 03a50b9087 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
SVN-Revision: 35155
12 years ago
Jo-Philipp Wich 3b7882e775 iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
SVN-Revision: 35007
12 years ago
John Crispin ff0c7a9ec9 don't depend on lua
Delete +lua from libiwinfo-lua.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35005
12 years ago
Jo-Philipp Wich 1683a146f4 iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
SVN-Revision: 34982
12 years ago
John Crispin a730e96569 Remove remaining etrax references
SVN-Revision: 34968
12 years ago
Gabor Juhos 149b1c46c7 ipset: update to 6.16.1 to fix build with kernel 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34752
12 years ago
Felix Fietkau 01513b7c8b iw: sync with nl80211.h to fix setting antenna gain
SVN-Revision: 34593
12 years ago
Gabor Juhos 5d8a7a0ce5 Make teql hotplug script run sooner
In particular, it wants to run before the ntpclient script. Which may
block for a long time attempting to do DNS lookups for NTP servers. In
my case, that would have *worked* if the new device had been added to
teql first, rather than timing out.

This was effectively causing a huge delay between an interface coming
up, and routing actually starting to work.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34442
12 years ago
Florian Fainelli 062d3c1e67 iptables: fix typo in iptables musl patch after r34313
Thanks to Frank Meerkötter and Szabolcs Nagy for spotting the issue.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34326
12 years ago
Florian Fainelli 14ed3f0f22 iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34313
12 years ago
Jo-Philipp Wich 3a81f75d72 resolveip: fix endless getopt() loop when compiled for arm (#12290)
SVN-Revision: 34116
12 years ago
Felix Fietkau 16c72b09cc iptables: remove support for libipq, it has been obsolete for years and is unsupported in newer kernels
SVN-Revision: 34069
12 years ago
Jo-Philipp Wich 0e3de8eff7 iwinfo: properly initialize memory of global nl80211_state, fixes random libnl-tiny assertions when using nl80211_probe() on not supported devices
SVN-Revision: 34003
12 years ago
Florian Fainelli 8fc2b30281 iftop: update iftop to 1.0pre2
Most significantly, includes IPv6 support.  This version forces
libncurses, by patching the configure script, instead of allowing
libncursesw, saving (~65k) image space.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 33782
12 years ago
Florian Fainelli 19f91b26f5 rssileds: improve performance
LEDs brightness is now only updated if the value actually changed, thus reducing
the number of fwrite syscalls significantly.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33766
12 years ago
Jo-Philipp Wich 1eded4f376 ipset: update to v6.14, drop obsolete patches
SVN-Revision: 33735
12 years ago
Jo-Philipp Wich 936c1b9424 iputils: move to trunk and add myself as maintainer
SVN-Revision: 33704
12 years ago
Jo-Philipp Wich c748c36d2c iftop: move to trunk and add myself as maintainer
SVN-Revision: 33702
12 years ago
Jo-Philipp Wich 711fdc3b09 conntrack-tools: move to trunk and add myself as maintainer
SVN-Revision: 33701
12 years ago
Jo-Philipp Wich 11549e1b73 dante: move to trunk and add myself as maintainer
SVN-Revision: 33699
12 years ago
Jo-Philipp Wich b5ab35e816 ipset: move to trunk and add myself as maintainer
SVN-Revision: 33698
12 years ago
Felix Fietkau 05c2442957 package/network/utils/rssileds: claim maintainership
SVN-Revision: 33697
12 years ago
Jo-Philipp Wich d1d1ae994b claim maintainership for resolveip and lua
SVN-Revision: 33694
12 years ago
Felix Fietkau e51eb6046d add myself as a maintainer for a few more packages
SVN-Revision: 33693
12 years ago
Felix Fietkau ed33bd8c7c iperf: move to trunk and add myself as maintainer
SVN-Revision: 33691
12 years ago
Felix Fietkau 5806525653 tcpdump: move to trunk and add myself as maintainer
SVN-Revision: 33690
12 years ago
Felix Fietkau 405e21d167 packages: sort network related packages into package/network/
SVN-Revision: 33688
12 years ago