Commit graph

8426 commits

Author SHA1 Message Date
John Crispin
3cc0f479dc uhttp: make the service auto respawn if it crashes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38724
2013-11-11 12:19:02 +00:00
John Crispin
9f3b161a57 uhttp: make sure that the ubus module is loaded when when installed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38723
2013-11-11 12:18:58 +00:00
Imre Kaloz
7f4bdaa244 depend on the correct target
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38721
2013-11-11 11:51:54 +00:00
Felix Fietkau
f099defc00 procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38705
2013-11-10 15:06:28 +00:00
Felix Fietkau
e78e720a6f netifd: remove connect_time from /var/state, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38704
2013-11-10 10:01:33 +00:00
Hauke Mehrtens
80eb837491 broadcom-diag: fix sys button on Asus rt-n16
This closes: #14427.

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

SVN-Revision: 38701
2013-11-09 20:09:21 +00:00
Hauke Mehrtens
874650d235 brcm47xx: add detection for Linksys WRT54GS V1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38700
2013-11-09 20:08:09 +00:00
John Crispin
e75584e289 procd: update to latest git head
make sure that automatic respawning is turned off during upgrade

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

SVN-Revision: 38695
2013-11-08 21:53:37 +00:00
Imre Kaloz
06d0fda4d1 switch to 3.12, enable support for AM33xx/OMAP3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38692
2013-11-08 12:44:38 +00:00
Imre Kaloz
1381fa6c5c rename the omap4 target to omap
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38691
2013-11-08 12:37:39 +00:00
Gabor Juhos
23cf426324 base-files: mtd_get_mac_ascii bugfix
The mtd_get_mac_ascii utility function was broken. This fixes it.

  - Remove the superfluous include of /lib/functions.sh. The
    function is already in that file so it is pointless,
  - only use a variable if the whole key word matches,
  - don't try to process the MAC address if it is empty,
  - use 'tr' to canonicalize the MAC address,

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38690
2013-11-08 12:16:21 +00:00
Felix Fietkau
0615b9d83a mac80211: mark rt2x00 library packages as hidden, there's no point in allowing users to enable them without the packages that depend on them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38684
2013-11-07 20:59:22 +00:00
Jo-Philipp Wich
5975c119e3 ubox: fix extroot/extoverlay mounting by label and support mounting by device name
SVN-Revision: 38680
2013-11-07 18:06:29 +00:00
John Crispin
9a000667e6 ubox: update to latest git head
support for specifying swap priority from the command line

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

SVN-Revision: 38679
2013-11-07 15:31:44 +00:00
John Crispin
f69788445c ubus: update to latest git head
adds support for events in the lua binding

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

SVN-Revision: 38678
2013-11-07 15:31:40 +00:00
John Crispin
8965a29bb0 button-hotplug: sync list of supported keys with gpio-button-hotplug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38676
2013-11-07 12:46:20 +00:00
John Crispin
b5a90c8488 util-linux: cleanup description for swap-utils
swapon/swapoff are no longer provided by swap-utils, so remove them from
the description as well.

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

SVN-Revision: 38672
2013-11-07 12:46:04 +00:00
John Crispin
0d994f8135 busybox: don't enable swapon/swapoff by default
'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38671
2013-11-07 12:46:00 +00:00
John Crispin
76506e7fa4 base-files: Make /etc/init.d/boot restartable
Only reload hostname and timezone config on /etc/init.d/boot restart.
Module loading and basic boot setup is only done during boot.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 38670
2013-11-07 12:45:57 +00:00
John Crispin
edf6236838 lantiq: fix vdsl-app dependency
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38666
2013-11-07 12:45:39 +00:00
Gabor Juhos
2d31dc039a package/ubox: fix jffs2 handling on MTD devices emulated by gluebi
The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38654
2013-11-05 16:31:12 +00:00
Jo-Philipp Wich
5db9587b5f dnsmasq: fix backward compatibility with existing configs
Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

SVN-Revision: 38648
2013-11-04 22:40:56 +00:00
Hauke Mehrtens
a02ef5d05e kernel: fix dependencies of kmod-thermal
This depends on kmod-hwmon-core

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

SVN-Revision: 38639
2013-11-03 20:18:45 +00:00
Hauke Mehrtens
1f3c0f9c54 kernel: fix dependencies of usb-eth-gadget
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38638
2013-11-03 20:17:52 +00:00
Felix Fietkau
2c84ff42f7 openvpn: clean up and fix the init script
- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38632
2013-10-31 17:36:24 +00:00
Felix Fietkau
e16f104a6f netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38627
2013-10-31 11:22:01 +00:00
Imre Kaloz
b27b8b5bdd use a single package to build MLO/u-boot for all omap boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38626
2013-10-31 10:57:46 +00:00
Luka Perkov
ed676cf0ff uboot-imx6: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38625
2013-10-31 00:00:51 +00:00
Jo-Philipp Wich
8effe85ada cyassl: drop obsolete patches
SVN-Revision: 38610
2013-10-30 15:16:59 +00:00
Jo-Philipp Wich
5e8abac86f cyassl: upgrade to v2.8.0
Un-reverts the previous update commit and forward-ports the patch
to improve legacy SSLv2 handshake handling.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38609
2013-10-30 13:19:48 +00:00
Felix Fietkau
fdfc296aaf ustream-ssl: update to the latest version, adds support for the current cyassl version (#14386)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38608
2013-10-30 12:56:47 +00:00
Felix Fietkau
ab9619b4c8 libubox: update to latest version, makes jshn roughly twice as fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38607
2013-10-30 11:25:05 +00:00
Felix Fietkau
22890e6382 netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38606
2013-10-30 11:25:01 +00:00
Hauke Mehrtens
b81685f0a4 kernel: add missing dependency for kernel 3.12 in tg3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38605
2013-10-30 09:50:13 +00:00
Gabor Juhos
6b604495a4 uboot-ar71xx: make it depend on the generic ar71xx subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38599
2013-10-30 06:54:56 +00:00
Felix Fietkau
e93b585ff4 libubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38578
2013-10-29 14:12:06 +00:00
Steven Barth
dfa9ca772b odhcp6c: Multiple improvements and fixes
* Various RFC compliance fixes (thanks to Hans Dedecker)
* Fix RA spam filter logic causing ipv6 connection issues
* Fix parameters -F and -P being order dependent

SVN-Revision: 38577
2013-10-29 13:23:28 +00:00
Jo-Philipp Wich
8e2106488a Revert "[cyassl]: upgrade to 2.8.0"
Reverts the CyaSSL version bump for now since the update completely broke
trunk building due to incompatible changes in the IO callback API which in
turn breaks the core ustream-ssl package.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38576
2013-10-29 09:53:48 +00:00
Luka Perkov
f7ccdbec75 kernel: add w1-master-mxc module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38575
2013-10-29 02:52:17 +00:00
Felix Fietkau
e31ccd95c7 u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38559
2013-10-28 15:15:05 +00:00
Imre Kaloz
688ac024ac upgrade to 2.8.0
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38558
2013-10-28 14:34:59 +00:00
John Crispin
14457da13f gpio-button-hotplug: add support for power buttons
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38557
2013-10-28 13:45:57 +00:00
John Crispin
7f1463623f ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38554
2013-10-28 06:48:04 +00:00
John Crispin
c81c814d6a kernel: add packages for sdhci support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38549
2013-10-28 06:47:20 +00:00
John Crispin
964c7e696b ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38541
2013-10-26 12:25:11 +00:00
Luka Perkov
3d77352390 kernel: add keyboard-imx module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38537
2013-10-25 10:29:49 +00:00
Florian Fainelli
ec41ca3a47 kernel: make kmod-pcnet32 depend on kmod-mii
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38531
2013-10-25 01:47:45 +00:00
Florian Fainelli
294a57822e kernel: add mii library kernel module package
This package is required for network drivers such as pcnet32

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

SVN-Revision: 38530
2013-10-25 01:47:32 +00:00
John Crispin
e37b364ea3 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38529
2013-10-24 14:27:03 +00:00
Steven Barth
d8d0e2c536 odhcp6c: filter similar RAs spammed by some ISPs
SVN-Revision: 38505
2013-10-23 10:31:06 +00:00
Steven Barth
bb699867e0 firewall: Improve ubus support
* Use network.interface dump call instead of individual status calls
  to reduce overall netifd lookups and invokes to 1 per fw3 process.

* Allow protocol handlers to assign a firewall zone for an interface
  in the data section to allow for dynamic firewall zone assignment.

SVN-Revision: 38504
2013-10-23 10:25:26 +00:00
Steven Barth
a54f104701 odhcpd: fix cleaning of configuration on reload
SVN-Revision: 38503
2013-10-23 09:30:28 +00:00
Steven Barth
1ff15bfe83 6relayd: reduce fallout of RA spamming a bit
SVN-Revision: 38488
2013-10-21 10:26:57 +00:00
Felix Fietkau
537e301fab ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38486
2013-10-20 17:51:17 +00:00
Felix Fietkau
39543ea6fc libubox: update to latest version, fixes ustream reuse and a few other minor issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38461
2013-10-19 16:24:38 +00:00
Steven Barth
91b173d231 netifd: Fix ifupdate events
SVN-Revision: 38458
2013-10-19 11:01:25 +00:00
Steven Barth
579e2df8c5 odhcpd: various bugfixes
SVN-Revision: 38454
2013-10-18 13:39:48 +00:00
Steven Barth
c3bcdd59de netifd: various improvements
* Add ubus methods for global interface status
* Add ubus function to create nested interfaces
* Add protocol update notifications and hotplug legacy calls
* Fix: key to data elements point at wrong memory area
* Add support for source-restricted routes
* Add option "delegate" to toggle prefix delegation
* Reevaluate target routes also on interface update

SVN-Revision: 38453
2013-10-18 13:39:43 +00:00
Felix Fietkau
bc3d7c2f1b rt2800usb: merge a fix to slow down tx status polling (#13523)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38452
2013-10-18 13:39:10 +00:00
Jo-Philipp Wich
4f1e282238 wpa_supplicant: fix beacon_int configuration option
wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.

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

SVN-Revision: 38451
2013-10-18 11:47:47 +00:00
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
2013-10-18 11:43:02 +00:00
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
2013-10-18 11:42:43 +00:00
Luka Perkov
494bc1d026 uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38444
2013-10-18 00:39:28 +00:00
Steven Barth
56bc536713 netifd: rename customopts to sendopts for consistency
SVN-Revision: 38437
2013-10-17 13:12:06 +00:00
Steven Barth
c759b49a4f Added 'customopts' dhcp protocol option, which is an array passed along to udhcpc as series of -x options.
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38436
2013-10-17 12:55:40 +00:00
Steven Barth
7e13c80b3d odhcp6c: fix parsing of IA_PD adverts
SVN-Revision: 38433
2013-10-17 07:19:32 +00:00
Steven Barth
76dfe21a27 odhcpd: add new experimental dhcp-server
SVN-Revision: 38428
2013-10-16 09:03:55 +00:00
Luka Perkov
d8311375eb kernel: imx6: add modules needed for sgtl5000 audio codec
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38427
2013-10-16 03:25:59 +00:00
Jo-Philipp Wich
fce216ac7e dropbear: add dropbear.nl mirror, provided by dropbear maintainer
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 38413
2013-10-15 13:10:32 +00:00
Luka Perkov
5dc102ce04 openvpn: make comp_lzo a parameter
Possible parameters are yes, no and adaptive. See manpage for more information.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

SVN-Revision: 38412
2013-10-15 12:42:58 +00:00
Jo-Philipp Wich
eda0fc3c6c openvpn-easy-rsa: restore essential patch to make it actually work on the target (#14324)
SVN-Revision: 38411
2013-10-15 12:23:21 +00:00
Luka Perkov
9eecccf652 uci: upgrade to latest git version
Fixes issues with UBIFS file system when due to unclean shutdown files would
end up with size 0. Furthermore, few style fixes are included too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38410
2013-10-15 11:32:28 +00:00
Luka Perkov
c15bec4a1b uboot-envtools: update kirkwood scripts
Also, scripts can be installed as data so let's change that here too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38403
2013-10-14 19:46:43 +00:00
Felix Fietkau
e90e74000a rt2x00: fix rf id for rt3352 (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38399
2013-10-14 19:40:30 +00:00
Felix Fietkau
f1ea6d3c2d ath9k: add some more pending fixes / optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38398
2013-10-14 19:38:42 +00:00
Felix Fietkau
d21810a298 ath5k: fix tx status processing errors (causing packet loss and throughput issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38396
2013-10-14 19:20:05 +00:00
Felix Fietkau
b907e95125 ath9k: reduce rx buffer allocation size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38395
2013-10-14 19:20:02 +00:00
Zoltan Herpai
07043a853a imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38394
2013-10-14 19:01:23 +00:00
Steven Barth
156ea733d4 odhcp6c: various fixes
* Make SOL_MAX_RT configurable and default back to 120s
* Prefer servers with bigger prefixes (allows to use Comcast /60)
* Don't hang indefinitely if DHCPv6 REQUEST is not answered

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38393
2013-10-14 18:53:02 +00:00
Jo-Philipp Wich
8833e789cc ubox: fix extroot after kmodloader changes
The kmodloader executable disregarded the global directory prefix in
scan_module_folder() leading to a broken extroot for non-builtin modules.

Update to current git head to fix the prefix handling again.

SVN-Revision: 38392
2013-10-14 13:01:06 +00:00
Steven Barth
cde419ebfc opkg: ignore empty fields in package lists
This is to work around issues with package list generators creating
empty fields in some environments.

Based on a patch by Paul Selkrik <pselkrik@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38390
2013-10-14 08:09:58 +00:00
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
2013-10-13 22:51:33 +00:00
Hauke Mehrtens
e1523b5504 switch: remove old switch driver
The switch driver is not used by brcm47xx any more and can be removed,
instead of this switch driver b53 is used now.

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

SVN-Revision: 38387
2013-10-13 22:15:31 +00:00
Hauke Mehrtens
59b362a204 mac80211: b43: fix prefix for config options
Config options in backports are starting with CPTCFG and not with CONFIG_.
CONFIG_B43_BCMA was never true.

This closes #13883.

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

SVN-Revision: 38385
2013-10-13 20:25:12 +00:00
Hauke Mehrtens
c240ee84e9 zd1201: fix url to zd1201 firmware
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38378
2013-10-12 22:36:08 +00:00
Hauke Mehrtens
af32e63bae lantiq: add some missing PKG_SOURCE_URLs
These URLs where missing and causes build failures.

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

SVN-Revision: 38376
2013-10-12 22:33:55 +00:00
Luka Perkov
408af1f6c7 kernel: add kirkwood thermal module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38371
2013-10-12 16:26:55 +00:00
Jonas Gorski
06f3f01b06 acx-mac80211: update to latest version
Fixes compilation for linux 3.10.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38367
2013-10-12 10:50:35 +00:00
Jonas Gorski
8a240be62b ar7-atm: fix compilation for linux 3.10
Update proc code to new proc_create to allow compilation with
linux 3.10+.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 38366
2013-10-12 10:50:19 +00:00
Jo-Philipp Wich
78f69b66d4 dnsmasq: add option broadcast to host sections
There are certain consumer devices which are outliers in protocol conformance.
An example is Samsung bluray players, which require broadcast DHCP responses
(on Ethernet only, strangely not on Wifi).

By specifying:

config host
	...
	option broadcast 1

this will enable the response to be sent as an Ethernet broadcast and not as
a unicast.

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

SVN-Revision: 38365
2013-10-11 18:33:15 +00:00
Felix Fietkau
a3cc10cba7 ath9k: fix rx issues introduced in my last commit (fixes #14307)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38362
2013-10-10 21:10:45 +00:00
Jo-Philipp Wich
db3013852a firewall: small improvements in nat reflection
- do not insert duplicate rules when setting up reflection to a zone containing multiple interfaces
	- set up reflection for any protocol, not just TCP and UDP

SVN-Revision: 38361
2013-10-10 18:15:10 +00:00
Jo-Philipp Wich
5380fa27e9 ppp: correct module loaded check in proto_pptp_setup
proto_pptp_setup is responsible for loading the required modules to establish
a pptp connection to a foreign peer. The function checks whether all required
modules are already loaded, before actually loading them.

It seems that the filter being used to accomplish this, is not restrictive
enough in some cases. For instance when pptp nat helper modules are present on
a system, and already loaded before a pptp connection is enabled. Then the
search filter (possibly) returns the following for module=pptp, where actually
no matches are expected, resulting in the pptp.ko module not being loaded,
thereby failing to establish the pptp connection.

# module="pptp" ; grep "$module" /proc/modules
nf_nat_pptp 1312 0 - Live 0x86ce7000
nf_conntrack_pptp 3072 1 nf_nat_pptp, Live 0x86cb9000
nf_nat_proto_gre 784 1 nf_nat_pptp, Live 0x86cba000
nf_conntrack_proto_gre 2368 1 nf_conntrack_pptp, Live 0x86cbf000
nf_nat 9792 13 nf_nat_rtsp,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_h323,nf_nat_proto_gre,nf_nat_amanda,nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat, Live 0x86ca8000
nf_conntrack 37264 31 nf_nat_rtsp,nf_conntrack_rtsp,nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_conntrack_snmp,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_nat_h323,nf_conntrack_h323,nf_conntrack_proto_gre,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4, Live 0x86c90000

The search filter can be made more accurate/restrictive, by requiring the
occurance of the exact name of the module at the beginning of a line in
/proc/modules.

# module="pptp" ; grep "^$module " /proc/modules
pptp 13296 2 - Live 0x86e80000

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>

SVN-Revision: 38358
2013-10-10 14:58:12 +00:00
Jo-Philipp Wich
61e83f9c29 dropbear: update to 2013.59 (released 4 october 2013)
- drop mirror www.mirrors.wiretapped.net (not working anymore)
- drop patch 300-ipv6_addr_port_split.patch, included upstream
- refresh patches
- various upstream changes: http://matt.ucc.asn.au/dropbear/CHANGES

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 38356
2013-10-10 14:42:05 +00:00
Felix Fietkau
d45a1618eb ath9k: add some cleanups and minor fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38354
2013-10-10 14:31:22 +00:00
Luka Perkov
cdb871ac48 openvpn: rework initscript (fixes #14299)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38351
2013-10-09 11:25:09 +00:00
Felix Fietkau
d1794a7536 procd: fix command handling in procd_add_instance()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38350
2013-10-09 11:07:23 +00:00
Imre Kaloz
430e641a08 IPv6 support should depend on if we've enabled it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38349
2013-10-09 11:03:00 +00:00
Hauke Mehrtens
b814661167 mac80211: rtlwifi: Align private space in rtl_priv struct
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38346
2013-10-09 09:13:41 +00:00
John Crispin
925f37a5a6 kernel: dont rely on library modules to be depended on
fixes https://dev.openwrt.org/ticket/14257

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

SVN-Revision: 38341
2013-10-08 15:08:33 +00:00