1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 01:11:52 +02:00
Commit Graph

7759 Commits

Author SHA1 Message Date
hauke
e6f792889d madwifi: Fix linux 3.0 detection
Allows madwifi to be built against linux 3.0.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:17:17 +00:00
hauke
58dfdd9138 package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:16:38 +00:00
hauke
6e8223e0dd package/kernel: Update version dependencies and kmods for linux 3.0
Also disable rtc-core for now since this changed to a bool, now directly
used in the kernel if enabled.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:12:49 +00:00
mirko
85c173ef01 [package/hotplug] link hotplug2 against libbsd when eglibc is used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 13:16:11 +00:00
mirko
9c9bc2609f [package] add library 'libbsd'
This library contains core functionality usually (but obviously not always)
provided by libc implementations which isneeded by OpenWrt core packages.
For instance the functions 'strlcat', 'strlcpy' are not implemented in
eglibc but needed by hotplug2 (udevtrigger)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 13:16:08 +00:00
jow
3ac3e72db1 [package] 6to4: advertise effective tunnel mtu in RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-12 19:27:21 +00:00
jow
9f0d58cb15 [package] 6to4: don't start if detected local IPv4 address is RFC1918, allows people to deploy firmwares with 6to4 enabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-12 18:59:40 +00:00
nbd
e81bc2b573 ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-12 14:07:08 +00:00
jow
ce2d16c920 [package] kernel: revert unrelated change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 14:36:01 +00:00
jow
eb3f253a11 [package] kernel: gre depends on ipv6 is Kernel is built with IPv6 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 14:34:53 +00:00
jow
ada8f6b917 [package] base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 12:36:30 +00:00
jow
00938663e2 [package] base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-09 12:25:48 +00:00
mirko
ca92e7d97f Revert "[package/block-mount] remove example config file"
This isn't needed anymore due to commit 27138

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 20:45:19 +00:00
jow
186c897376 [package] make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 19:38:25 +00:00
mirko
3f4aa5554a [package/block-mount] remove example config file
Having this file prevents the possibility of having target-specific
fstab config files (as target/linux/${target}/base-files/etc/config/fstab).
There is no need of a non-working example file on the target anyway.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 17:39:16 +00:00
jow
83f0561da1 [package] base-files: fix error reporting for unsupported protocols on virtual interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 23:25:43 +00:00
nbd
7c8a20940f base-files: do not write to /etc/config/wireless at boot time unless a new interface was found
eliminates unnecessary flash write cycles at every boot

patch by Peter Wagner (tripolar)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 17:00:43 +00:00
hauke
c2f40cfcf4 kernel: fix description of kmod-pata-cs5535 and kmod-pata-cs5536
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 15:39:12 +00:00
hauke
c213e23ca6 kernel: fix call of kmod-pata-cs5535 and kmod-pata-cs5536
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-07 15:36:49 +00:00
mirko
7495f26fe2 [package/pptp] require mppe 128bit-encryption by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-06 22:27:04 +00:00
jow
ef82936dd0 [package] grub: improve package requirement error, patch by Jim Cromie <jim.cromie@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 14:33:35 +00:00
florian
3ca02ebf53 [package] compcache does not build on 2.6.38+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 13:35:48 +00:00
hauke
1a728fb888 acx-mac80211: remove patch
This patch is already incorporated into the original source code.

closes #9499


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 09:33:02 +00:00
florian
9a842645c0 [package] soloscli: fix new lines in soloscli
If the string received from the ADSL firmware is missing \n, add it in.

Signed-off-by: Nathan Williams <nathan@traverse.com.au>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-02 14:38:01 +00:00
florian
f0dde6b7e4 [package] acx-mac80211: add io endianness patch
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-02 14:37:56 +00:00
juhosg
520149cb7f mac80211: add initial support for AR9330
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:31 +00:00
nbd
d349dd54e7 mac80211: update to wireless-testing 2011-05-27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 23:07:29 +00:00
juhosg
b92651b84d mac80211: make ath9k available even if PCI support is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:16 +00:00
nbd
17982e54d4 x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 16:57:01 +00:00
nbd
8bbbaf8c93 ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 13:38:54 +00:00
blogic
fd8ccf9c65 [lantiq]
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-29 21:19:26 +00:00
nbd
28ff8acfd1 ath9k: merge a few bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:45:17 +00:00
nbd
625048799b ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:24 +00:00
nbd
40a972316b hostapd: fix a race condition related to assoc response tx status processing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:17 +00:00
nbd
5dd09e0454 hostapd: update to 20110527, includes a client mode wpa auth fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:12 +00:00
hauke
31c95ff1eb kernel: generic: Update 2.6.39 to final
* Add missing config symbols
* Update package/kernel for 2.6.39

CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.

Thank you Jonas Gorski for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:51:40 +00:00
nbd
e0b1d7ab25 libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 10:42:49 +00:00
jow
2f232288ee [package] libpcap: add -fpic, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 10:36:25 +00:00
jow
08002828d4 [package] libpcap: remove empty patchfiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:53:53 +00:00
jow
9f940ba92b [PATCH] Update libpcap to version 1.1.1
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:51:08 +00:00
nbd
5ba8c47f86 base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:31:37 +00:00
jow
f11fc7ea74 [package] base-files: mark /etc/crontabs/ as config directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:27:23 +00:00
jow
a642e3be48 [PATCH] kernel: kmod-crypto-iv depends on kmod-crypto-manager
Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko
from kmod-crypto-iv depend on crypto_blkcipher.ko from
kmod-crypto-manager.

Signed-off-by: Lars Hjersted <lars@hjersted.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:14:35 +00:00
jow
2a521b9016 [PATCH] dnsmasq: allow hostname assignment without static lease
The attached patch for dnsmasq.init allows to assign a hostname to a
particular mac-address. It's useful to override the client supplied
hostname, especially if the client does not supply a hostname at all.

It corresponds to the following example in dnsmasq.conf.example:

	# Always set the name of the host with hardware address
	# 11:22:33:44:55:66 to be "fred"
	#dhcp-host=11:22:33:44:55:66,fred
			
Regards
Mathias


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:12:50 +00:00
jow
36715e604f [netfilter] package u32 match and TEE target, patches by Maxim Uvarov
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 08:14:29 +00:00
jow
bfa121a1ee [package] ncurses: enable C++ bindings (#9442)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-22 16:53:09 +00:00
jow
030f9c1bee [package] iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-22 12:02:35 +00:00
jow
4eff224df3 [package] firewall: explictely mention network in default configuration, makes it less confusing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 13:45:40 +00:00
nbd
551aa37b2f broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.

The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:08:02 +00:00
nbd
f359241ffe broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:07:57 +00:00
nbd
2bc10e6382 ath9k: fix some locking issues in the tx fifo cleanup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 09:33:45 +00:00
nbd
beecadaf00 ath9k: clean up tx fifo handling on ar9380 based hardware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:08 +00:00
nbd
e975f860aa ath9k: fix a small race condition in the tx_last_beacon patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:04 +00:00
jow
5d2766e7eb [PATCH] ipcalc.sh CIDR notation
Hi,

the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:

# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

with this patch you can also execute it with:

sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.

Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.

Regards, Manuel


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 09:50:06 +00:00
nbd
31eb2b27b8 mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 18:23:50 +00:00
nbd
371ae7af3a ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:14:15 +00:00
blogic
0ab2415c3d [modules]
* add missing aes dependency to mv_cesa

Signed-off-by: Jan Willies <jan@willies.info>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:48:37 +00:00
nbd
1bb8660d89 ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 08:37:38 +00:00
nbd
c5fa9dbc2b ath9k: fix issues with ad-hoc beacon slot selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:30 +00:00
nbd
1183e23e2f mac80211: update to 2011-05-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:26 +00:00
acinonyx
0588f3b5c5 package/kernel: crypto: Remove renamed modules hack
Since the oldest kernel in trunk is 2.6.30 the modules always use the
newer names, so we can just use the _generic prefix directly.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:35 +00:00
acinonyx
bee97bfb9c package/kernel: netfilter: Remove 2.4/2.6 references
There's only 2.6, so it doesn't make sense to mention modules that are
2.4 only or for modules that they are available only for 2.6.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:32 +00:00
acinonyx
6a05c1cf00 package/kernel: Remove all 2.4 definitions
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:28 +00:00
acinonyx
5d02fa2bd3 package/kernel: Remove $(KMOD_SUFFIX) usage
Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:24 +00:00
blogic
a375812a88 [kernel/modules]
package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09 20:28:04 +00:00
thepeople
28e2aaeeb2 Deployment of IPv6 has opened up many more prefixes than just the
2000::/3 space, so a default route of ::/0 is more correct.
Thanks Dave Taht

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 17:03:07 +00:00
jow
6f14855dac [package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 10:25:58 +00:00
juhosg
fa0e25197e base-files: fix a typo in etc/banner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
jow
4ffa672cca [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:51:06 +00:00
nbd
9c731309db ath9k: add noise floor calibration fix that should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:35:35 +00:00
jow
8359c4e323 [package] comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
jow
f72d4a3432 [package] kernel: revert r26814
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:25:36 +00:00
jow
3dc2d0fabd [PATCH 1/2] kernel: add kmod-crypto-ipsec
kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto
modules that are useful for IPSEC. This is an alternative to breaking
these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng
(rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).

Signed-off-by: Lars Hjersted <lars@hjersted.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:22:43 +00:00
jow
afd666349a [PATCH 2/2] kernel: add kmod-crypto-{wq,rng,iv}
Add kmod-crypto-iv as a dependency for kmod-ipsec.  Also remove the
extraneous kmod-crypto-core dependency to eliminate recursion.

Signed-off-by: Lars Hjersted <lars@hjersted.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:21:05 +00:00
jow
426a546ab9 [PATCH 1/2] kernel: add kmod-crypto-{wq,rng,iv}
This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv
packages. These packages provide some missing kernel crypto modules
which are required for IPSEC. The strongswan4, ipsec-tools, and possibly
other IPSEC packages do not work properly without these modules.

NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.

Signed-off-by: Lars Hjersted <lars@hjersted.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:19:56 +00:00
jow
a25fe1d267 [package] comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:45:55 +00:00
jow
fc910db123 [package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
jow
8ade1960dd [package] base-files: cleanup permissions of device files in common hotplug rules (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
jow
b3b3f347ba [package] hotplug2: introduce tty subsystem events (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:35:58 +00:00
jow
864e3ef263 [package] firewall: revert accidential committed changes from r26805
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:55:36 +00:00
jow
667c11ec82 [PATCH] firewall: provide examples of ssh port relocation on firewall and IPsec passthrough
Two examples of potentially useful configurations (commented out, of course):

(a) map the ssh service running on the firewall to 22001 externally, without modifying the configuration of the daemon itself. this allows port 22 on the WAN side to then be port-forwarded to a 
LAN-based machine if desired, or if not, simply obscures the port from external attack.

(b) allow IPsec/ESP and ISAKMP (UDP-based key exchange) to happen by default. useful for most modern VPN clients you might have on your WAN.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:54:31 +00:00
hauke
374bb82f67 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an 
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
nbd
505d82b643 ath9k: add a new fix for signal strength / noise measurements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 18:23:12 +00:00
nbd
d75d999a72 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 01:45:26 +00:00
florian
1da15b499b [package] exclude pktgen for uml target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-29 12:04:17 +00:00
jow
caf4c049bf [package] relayd: map "ipaddr" option to local ip (-L)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 19:16:35 +00:00
nbd
2bf6a59bdf madwifi: Fix compilation for 2.6.39
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with
DEFINE_SPINLOCK().

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 23:05:34 +00:00
nbd
2ea7b39338 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 22:23:52 +00:00
nbd
ea4e7541cf mac80211: broadcast the country IE by default if the country code is configured (#9308)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:33:27 +00:00
nbd
8d22e2e241 wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:16:25 +00:00
nbd
542d043d67 mac80211: replace the regd revert patch with a proper fix, add some more pending patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 01:23:23 +00:00
nbd
0318dc0736 ath9k: remove the signal strength fix, it causes a lot of confusion and seems to be just as inaccurate as the original version of the code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:32 +00:00
nbd
9df10a215d cfg80211: revert upstream regdomain handling breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:28 +00:00
nbd
4feb070323 hostapd: fix a few compile errors and warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-24 03:34:46 +00:00
nbd
4e1f633a68 mac80211: do rate control updates when the HT configuration changes on an interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:40 +00:00
nbd
454a4d2fee hostapd: update to 2011-04-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:35 +00:00
hauke
e7a0967521 mac80211: remove unneeded patch
This was fixed upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 09:32:49 +00:00
nbd
83ef4a5fc6 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 18:14:35 +00:00
jow
2be8e603e0 [package] ppp: extend the r26742 change to ip-down too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 12:08:12 +00:00
jow
920b7c5334 [package] ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 12:02:04 +00:00
jow
8d0ec8922c [package] firewall: prevent excessive uci state data aggregation (#9152)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 11:49:09 +00:00
nbd
3564c671b1 busybox: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 02:56:23 +00:00
nbd
9649fa8eb2 busybox: fix issues with static routes and 6rd option parsing (thx, Florian Fuessl)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 02:56:17 +00:00
hauke
f3a65e72db mac80211: b43: Expose N-PHY support
Allow enabling of N-PHY support for BCM4321 and BCM4322.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:44:29 +00:00
hauke
525ee451c1 mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:43:19 +00:00
hauke
3c0289d116 mac80211: b43: Expose debug option
Allow enabling debug output and debugfs for B43.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:40:29 +00:00
hauke
21ca38e406 mac80211: b43: Add Firmware 5.10.56.27
Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to
its newest release 14 and updating the b43-fwsquash.py to recognise rev 16
n phy files.

Also rename the current options from STABLE/EXPERIMENTAL to their version
numbers.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:40:08 +00:00
nbd
4ddfc78a4b hostapd: fix bridge handling for wds stations (#9257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:49 +00:00
nbd
2a28eaed70 mac80211: re-enable beacon channel hints
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:45 +00:00
jow
5f715e00db [package] base-files: fix stale space in eglibc library install section (#9270)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 13:18:39 +00:00
nbd
67508265b1 librpc: update to a newer version to fix issues with __set_errno
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-18 09:42:46 +00:00
nbd
0e460adef9 ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:14 +00:00
nbd
fde551ce8b ath9k: add a patch to show excessive retry counts for single MPDUs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:10 +00:00
nbd
23d4162436 mac80211: fix the config define for iwl3945
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:39 +00:00
nbd
dd24d65003 mac80211: make intel wireless drivers depend on pci support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:35 +00:00
nbd
c33006b948 mac80211: add intel drivers to PKG_CONFIG_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:31 +00:00
nbd
84a5abf7df ath5k: allow simultaneous ad-hoc+ap operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:54:52 +00:00
nbd
1ff8171541 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:18:11 +00:00
nbd
b544ee8305 uboot-ar71xx: add a dependency on the ar71xx target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 15:41:49 +00:00
nbd
1dbcf770a7 uboot-ar71xx: remove a bogus dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:14 +00:00
nbd
e6c4ccac7d uboot-ar71xx: fix compile on mac os x (patch from #9124)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:08 +00:00
nbd
1d3c1135c3 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:22:21 +00:00
nbd
18bdb01337 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 22:46:12 +00:00
nbd
6152ff34ea cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 16:52:09 +00:00
lars
5c317523d8 kernel: revert r24160 (remove the bogus ext2/ext3 dependency on linux 2.6.30/31)
For kernel versions newer then 2.6.31 the ext4 module can be used to mount
ext2/3 filesystems.
Building ext2/3 as modules on the other hand breaks using ext4 for mounting ext2
or ext3, which breaks booting from ext2/3 on machines where the ext4 module is
built into the kernel.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:37:40 +00:00
acoul
8486fc9bd4 package/hostapd: cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:36:48 +00:00
acinonyx
d8c0075ae0 [package] kernel/modules: Move zlib_deflate module to higher autoloading priority
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:48:28 +00:00
acinonyx
fc053a7950 [package] kernel/modules: Fix r26637
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:42:01 +00:00
acinonyx
f906018069 [package] kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:34:28 +00:00
acinonyx
4c7ffb7407 [package] kernel/modules: Add zlib package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:53 +00:00
acinonyx
79d6834581 [package] kernel/modules: Add "Libraries" submenu and move library packages there
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:48 +00:00
acinonyx
b1d946d11b [package] kernel/modules: fix kmod-fs-btrfs deps / zlib_deflate / makefile
btrfs needs zlib_deflate, which was built but not included

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:30 +00:00
jow
cd427d04f0 base-files: return success on lib-copying with external toolchain
when using an external toolchain the base-files package copies libc, libgcc and
others from the library directory.

The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.

--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---

To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.

Signed-off-by: Sven Bachmann <dev@mcbachmann.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:37:43 +00:00
jow
691f0d412e This patch updates qos-scripts to support fair traffic sharing using the
SFQ with external classifiers method.  It also corrects a bug in the 
unsupported ESFQ method already used by qos-scripts.  (ESFQ: 
http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to 
an SFQ patch after that and not updated since 2008)

A class can be forced to use SFQ, and an external classifier added like 
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts 
starts.

I've got more information here: 
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:33:11 +00:00
jow
0874d00715 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:03:59 +00:00
nbd
562ffbf7a2 pppd: support the nomp option if multilink support is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 18:29:28 +00:00
nbd
9587f988b7 hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:30:16 +00:00
nbd
bc3305d88e mac80211: fix WPA auth on WDS station interfaces (#9227)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:17:56 +00:00
hcg
0d06c28835 [uboot-omap35xx] Modify environment variables for altered filesystem layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 14:24:20 +00:00
juhosg
62e17b4436 mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:23 +00:00
juhosg
4faaed949e package/kernel: add module for the gpio_keys_polled driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:14 +00:00
jow
98dca62fa1 [package] opkg: update to r618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 22:08:43 +00:00
nbd
77871f6bf5 ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:08 +00:00
nbd
e6093b5ed0 ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:03 +00:00
nbd
9ad628c924 ath5k: fix mac address detection on dual-radio ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:05 +00:00
nbd
749f647dd9 ath5k: fix 2ghz-only radio handling on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:00 +00:00
nbd
7558f8fda5 ath5k: decrease interrupt load for rx/tx interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:39 +00:00
nbd
e280b4d411 ath5k: clean up debugfs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:34 +00:00
nbd
e8ca765410 ath5k: fix config options for debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:28 +00:00
hauke
b722ce28af kernel: do not build gpiolib into the kernel
fix for r26570.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 10:28:30 +00:00