Commit Graph

7518 Commits (9b4a8c6d1e7a30ccce63d77b45e063af4453e366)

Author SHA1 Message Date
Jo-Philipp Wich 886ce188bf xtables-addons: fix packaging of iptaccount
SVN-Revision: 35831
2013-02-28 10:58:12 +00:00
Jo-Philipp Wich 557c047f71 firewall3: clear contnrack table on flush, set policies to drop during rule reload
SVN-Revision: 35820
2013-02-27 14:09:37 +00:00
Felix Fietkau 43d6e5c585 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
SVN-Revision: 35819
2013-02-26 21:52:59 +00:00
Florian Fainelli bfcbabdf15 ncurses: fix build with musl libc toolchains
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35811
2013-02-26 16:40:07 +00:00
Florian Fainelli f880c4992d toolchain: mark unavailable packages for musl libc
And make librt be an empty stub for musl libc.

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

SVN-Revision: 35810
2013-02-26 16:40:02 +00:00
Florian Fainelli a2abc43104 gdb: do not depend on libthread-db when using musl libc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35809
2013-02-26 16:39:59 +00:00
Felix Fietkau 325cb65009 rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
SVN-Revision: 35806
2013-02-26 15:14:32 +00:00
Steven Barth a90b6f7d90 6relayd: Fix config behaviour for rewrite_dns_addr option
SVN-Revision: 35804
2013-02-26 12:50:52 +00:00
Steven Barth 32ac53821f 6relayd: compatibility with broken IPv6 devices * Announce ULA as deprecated if other addresses are available * Allow the announced DNS-server to be overwritten
SVN-Revision: 35803
2013-02-26 12:42:53 +00:00
Felix Fietkau f1bde82f00 ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
SVN-Revision: 35785
2013-02-25 19:53:31 +00:00
Hauke Mehrtens 26e9830eac broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh

This closes #12930.

SVN-Revision: 35767
2013-02-24 18:01:06 +00:00
Hauke Mehrtens 58eea9dc28 broadcom-diag: add support for e3200 v1
Hex values in nvram seem to be uppercase on my e3200 device.

Define one power led and two buttons (reset/wps).

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35766
2013-02-24 17:57:28 +00:00
Hauke Mehrtens c3563fbea6 broadcom-diag: Detection of WNDR3400v1
nvram variable "boardtype" is unique for now.
-button gpio were taken from nvram.
-led information was taken from dd-wrt
( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c )

I hope that I changed the values correctly.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35765
2013-02-24 17:56:00 +00:00
Hauke Mehrtens 49ff283df8 broadcom-diag: use new in kernel board detection code
SVN-Revision: 35764
2013-02-24 17:55:09 +00:00
Hauke Mehrtens 2754907a13 mac80211: brcmsmac: add ap mode support
This does not work very well. I did not got this running in 5GHz mode and it was not very fast.

SVN-Revision: 35763
2013-02-24 01:11:20 +00:00
Felix Fietkau 414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
2013-02-24 01:00:39 +00:00
Felix Fietkau 7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
2013-02-23 18:02:49 +00:00
Felix Fietkau 6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
2013-02-23 17:41:58 +00:00
Felix Fietkau dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
2013-02-23 12:48:14 +00:00
Jonas Gorski 53771fb8ee mac80211: update linux-firmware to latest revision
Fixes mwl8k AP mode for 88e8366.

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

SVN-Revision: 35758
2013-02-23 12:13:18 +00:00
Felix Fietkau 6fbfeca6ef mac80211: select relayfs if ath9k debugfs is enabled
SVN-Revision: 35757
2013-02-23 12:12:39 +00:00
Jonas Gorski c730da325a package/kernel: i2c: don't skip built-in modules
Don't skip build-in modules when generating i2c kmod packages, to allow
empty packages to be generated for satisfying dependencies.

Closes #12259.

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

SVN-Revision: 35755
2013-02-23 11:30:30 +00:00
Felix Fietkau 3b1fa12cb9 mac80211: disable building the wil6210 driver
SVN-Revision: 35754
2013-02-23 01:40:24 +00:00
Felix Fietkau e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Felix Fietkau c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
2013-02-22 20:11:55 +00:00
Felix Fietkau d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
2013-02-22 16:10:15 +00:00
Jo-Philipp Wich 92062542e2 firewall: fix logging rule regression (#12999)
SVN-Revision: 35745
2013-02-22 13:45:20 +00:00
Jo-Philipp Wich 4fb2cd18c1 firewall3: add support for shell script and iptables-restore style includes
SVN-Revision: 35744
2013-02-22 12:45:38 +00:00
Steven Barth a7b262dc0a netifd: only update resolv.conf.auto if changed This avoids logspam under certain conditions.
SVN-Revision: 35743
2013-02-22 08:56:29 +00:00
Geoff Levand c41176bc0b udev: Update MAINTAINER info
Signed-off-by: Geoff Levand <geoff@infradead.org>

SVN-Revision: 35741
2013-02-21 23:12:17 +00:00
Jo-Philipp Wich 7d7d88b580 firewall3: update to git head
- all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact
	- properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions
	- support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100')
	- support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6')

SVN-Revision: 35738
2013-02-21 22:33:44 +00:00
Jonas Gorski 29a3af1bb8 base-files: make firstboot ask for confirmation
To prevent accidential resets ask for confirmation (and default to n).

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

SVN-Revision: 35712
2013-02-21 11:45:14 +00:00
Jonas Gorski 219b7c91d6 mac80211: add missing DRIVER_11N_SUPPORT selects
Multiple drivers were missing their DRIVER_11N_SUPPORT despite
supporting 11N capable cards.

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

SVN-Revision: 35711
2013-02-21 11:45:12 +00:00
Jonas Gorski 5636037cff busybox: remove two obsolete patches
They either work around missing implementations in uClibc 0.9.30 and
earlier and add already present functionality.

Closes #11210, #11211.

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

SVN-Revision: 35710
2013-02-21 11:45:10 +00:00
Gabor Juhos 316706b09c package/kernel: add package for the Gianfar PTP driver
PTP for gianfar can be built as a module. Create a package for it.

[juhosg: remove the mp85xx specific patch]

Patchwork: http://patchwork.openwrt.org/patch/3344/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35706
2013-02-20 19:14:20 +00:00
Gabor Juhos 9070d701e7 package/kernel: add package for the Freescale Gianfar driver
[juhosg: move the fsl-pq-mdio driver into a separate package]

Patchwork: http://patchwork.openwrt.org/patch/3345/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35705
2013-02-20 19:14:15 +00:00
Gabor Juhos 330ae61b1b package/kernel: remove trailing whitespaces from *.mk files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35691
2013-02-20 09:41:48 +00:00
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
2013-02-19 17:22:55 +00:00
Florian Fainelli 16f7554f95 openssl: remove now obsolete cris/etrax patch
The etrax target has been removed in r34768.

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

SVN-Revision: 35684
2013-02-19 17:22:51 +00:00
Florian Fainelli 23dc201979 libiconv: compile iconv stub with TARGET_CFLAGS
Fixes spurious build issues when changing target CFLAGS for specific ABI
options (such as ARM's floating point ABI).

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

SVN-Revision: 35683
2013-02-19 17:22:46 +00:00
Steven Barth 3081c672fc 6relayd: Fix possible memory corruption issue
SVN-Revision: 35673
2013-02-19 12:04:41 +00:00
Hauke Mehrtens 48bc2fbff3 mac80211: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

SVN-Revision: 35671
2013-02-18 20:44:26 +00:00
Steven Barth f5b63ffd33 6relayd: Workaround potential signal handling issue
SVN-Revision: 35665
2013-02-18 12:50:36 +00:00
Gabor Juhos 6c627a266b base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
 - fix led_set_attr parameters in led_timer
 - add led_morse and status_led_set_morse helpers
 - add status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35648
2013-02-18 09:56:23 +00:00
Gabor Juhos c4f14fab9b base-files: minor cosmetic corrections for functions.sh
- update copyright header
  - remove superfluous shebang left-over from changeset 34794
  - unify function declaration

[juhosg: keep Vertical Communications' copyright notice]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35646
2013-02-17 21:47:03 +00:00
Jo-Philipp Wich 02b0c62f33 firewall3 - a C implementation of the current firewall scripts
SVN-Revision: 35643
2013-02-17 19:26:52 +00:00
Felix Fietkau 1d6574b9c3 hostapd: fix the scan wait patch for multiple interfaces
SVN-Revision: 35630
2013-02-16 19:00:34 +00:00
Gabor Juhos 97e75d03cc package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35627
2013-02-16 17:13:40 +00:00
Felix Fietkau 99782943d2 hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
SVN-Revision: 35619
2013-02-16 14:26:03 +00:00
Gabor Juhos 5a8c63b47e base-files: add macaddr_{add,2bin,setbit_la} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35614
2013-02-16 11:50:22 +00:00
Gabor Juhos 70d40b2ddd base-files: add mtd_get_mac_{ascii,binary} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35612
2013-02-16 11:50:19 +00:00
Jonas Gorski c98b12d911 samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.

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

SVN-Revision: 35610
2013-02-16 11:39:42 +00:00
Florian Fainelli 30ccd13c81 hotplug2: depend on libbsd only when targetting eglibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35608
2013-02-15 13:25:18 +00:00
Florian Fainelli f209bf0eb6 libevent2: do not add librt dependency when targetting eglibc
This is already taken care of by PKG_DEFAULT_DEPENDS

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

SVN-Revision: 35607
2013-02-15 13:25:15 +00:00
Florian Fainelli 2cf1a8d73f libbsd: make it available for eglibc only
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35606
2013-02-15 13:25:12 +00:00
Florian Fainelli 22e8b168c8 openssl: update OpenSSL to 1.0.1e, fix Cisco DTLS.
1.0.1d had a rushed fix for CVE-2013-0169 which broke in certain
circumstances. 1.0.1e has the fix for TLS.

Also include a further patch from the 1.0.1 branch which fixes the
breakage this introduced for Cisco's outdated pre-standard version of
DTLS, as used by OpenConnect.

Update mirror URLs to reflect current reality.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35600
2013-02-14 13:00:03 +00:00
Hauke Mehrtens 243c582213 switch: export name of device found via /proc
SVN-Revision: 35596
2013-02-14 12:36:52 +00:00
Hauke Mehrtens 60913bbac6 switch: export cpuport, ports and vlans via /proc
SVN-Revision: 35595
2013-02-14 12:36:13 +00:00
Hauke Mehrtens 17c18e23ab switch: add support for BCM53125
SVN-Revision: 35586
2013-02-13 16:05:32 +00:00
Hauke Mehrtens 446414f367 switch: resetting and enabling vlan write for gigabit switches
This patch makes it possible to reset and enable writing vlans to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35585
2013-02-13 16:05:13 +00:00
Hauke Mehrtens 43b4f67f25 switch: read and write vlan config from and to gigabit switches
This patch makes it possible to read and write the vlan config from and to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35584
2013-02-13 16:04:50 +00:00
Hauke Mehrtens 8ab78d1096 switch: improve robo_switch_enable()
This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35583
2013-02-13 16:04:18 +00:00
Hauke Mehrtens b8a84038a5 switch: fix switches with more than 6 ports
This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35582
2013-02-13 16:03:47 +00:00
Hauke Mehrtens 3c51948454 switch: reverse if else in handle_vlan_port_read()
SVN-Revision: 35581
2013-02-13 16:03:27 +00:00
Hauke Mehrtens 9d3b0f5661 switch: the BCM5365 is a special switch and the BCM5350 or BCM5325 is the normal case.
This makes it easier to compare this code with the code from the Broadcom SDK.

SVN-Revision: 35580
2013-02-13 16:03:03 +00:00
Hauke Mehrtens 827e315017 switch: reset switch before using it.
SVN-Revision: 35579
2013-02-13 16:02:41 +00:00
Hauke Mehrtens f3360fdf67 switch: improve error handling in robo_probe()
SVN-Revision: 35578
2013-02-13 16:02:20 +00:00
Hauke Mehrtens 3f0c0c6935 switch: run cleanfile over the source code
SVN-Revision: 35577
2013-02-13 16:01:50 +00:00
Felix Fietkau 31718416e6 mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
2013-02-13 09:53:28 +00:00
Steven Barth 99b69fd9c5 odhcp6c: allow setting a user-provided prefix as well
SVN-Revision: 35570
2013-02-12 08:23:54 +00:00
Jo-Philipp Wich eeaf2c0b5a iptables: fix bad PKG_RELEASE in previous commit
SVN-Revision: 35569
2013-02-11 22:14:38 +00:00
Jo-Philipp Wich 916902b1d2 iptables: add --lenient switch to iptables-restore and ip6tables-restore that allows to skip erroneous lines
SVN-Revision: 35568
2013-02-11 21:58:42 +00:00
Felix Fietkau 0564b6beef mac80211: add CCK rate support to minstrel_ht to improve range
SVN-Revision: 35566
2013-02-11 18:59:14 +00:00
Felix Fietkau 1810b80ec0 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
SVN-Revision: 35565
2013-02-11 18:59:10 +00:00
Steven Barth b8c796fbd7 odhcp6c: Various bugfixes * Don't send undesired suggestions for preferred and valid lifetimes * Be less verbose in logging
SVN-Revision: 35553
2013-02-11 12:30:16 +00:00
Tim Yardley 8f54ec7ce7 polarssl: security update (1.2.5) addressing CBC TLS issue
Signed-off-by: Tim Yardley <yardley@gmail.com>

SVN-Revision: 35525
2013-02-08 19:47:48 +00:00
Tim Yardley b521113aa1 openssl: security update to 1.0.1d to address CBC TLS issue
addressing
CVE-2013-0169: 4th February 2013

Signed-off-by: Tim Yardley <yardley@gmail.com>

SVN-Revision: 35524
2013-02-08 19:36:06 +00:00
Felix Fietkau a9058439cf openvpn-easy-rsa: fix typo in version (#12958)
SVN-Revision: 35508
2013-02-06 22:17:11 +00:00
Felix Fietkau dc2ba40af3 openvpn: remove the stale PKG_REV variable
SVN-Revision: 35499
2013-02-05 10:40:19 +00:00
Felix Fietkau b8c903e6f8 openvpn: split easy-rsa into a separate package, it is no longer bundled with the release tarball
SVN-Revision: 35498
2013-02-05 10:40:13 +00:00
Jo-Philipp Wich e106f25ee7 firewall: various enhancements
- reduce mssfix related log spam (#10681)
	- separate src and dest terminal chains (#11453, #12945)
	- disable per-zone custom chains by default, they're rarely used

Additionally introduce options "device", "subnet", "extra", "extra_src" and "extra_dest"
to allow defining zones not related to uci interfaces, e.g. to match "ppp+" or any tcp
traffic to and from a specific port.

SVN-Revision: 35484
2013-02-04 14:38:33 +00:00
Steven Barth 13544edce7 odhcp6c: Fix timing issues
SVN-Revision: 35472
2013-02-03 17:26:40 +00:00
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
2013-02-03 12:03:24 +00:00
Gabor Juhos b01e744632 uboot-envtools: add config for the Edimax BR-6425 board
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35464
2013-02-02 17:01:52 +00:00
Gabor Juhos 4cc962a0eb add nForce Ethernet module
Signed-off-by: Zhiqiang Wang <wang.9264@gmail.com>

SVN-Revision: 35461
2013-02-02 15:40:43 +00:00
Steven Barth 6be5a5a73d odhcp6c: Fix RENEW and REBIND requests
SVN-Revision: 35454
2013-02-02 10:44:13 +00:00
Gabor Juhos a2a5f9b405 package/uboot-envtools: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35432
2013-02-01 15:50:52 +00:00
Gabor Juhos 7bcc6506bc package/om-watchdog: add OpenMesh MR600v2 support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35431
2013-02-01 15:50:49 +00:00
Steven Barth e2193a69c8 odhcp6c: allow IPv6-config via SLAAC-only if no prefix is requested
SVN-Revision: 35421
2013-02-01 13:38:47 +00:00
Steven Barth 6a43437908 netifd: Improved IPv6 featureset * Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
SVN-Revision: 35420
2013-02-01 12:28:43 +00:00
Steven Barth 9a62439c28 odhcp6c: switch to userspace RA-handling and offload address assignment to netifd
SVN-Revision: 35419
2013-02-01 12:28:39 +00:00
Steven Barth a3368da479 6relayd: Fix announced router flags and IPv6 procfs-configuration
SVN-Revision: 35418
2013-02-01 12:28:34 +00:00
Steven Barth 92ad26d1b6 base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface inconsistency caused races
SVN-Revision: 35417
2013-02-01 12:28:24 +00:00
Felix Fietkau 416ce374c0 openvpn: add from openvpn-devel from /packages, fix support for current polarssl
SVN-Revision: 35412
2013-01-30 20:07:15 +00:00
Felix Fietkau e4e460afb5 polarssl: add from /packages, update to 1.2.4, fix openssl compatibility
SVN-Revision: 35411
2013-01-30 20:07:04 +00:00
Felix Fietkau 5ff55bf404 move lzo from /packages to trunk
SVN-Revision: 35410
2013-01-30 19:52:03 +00:00
Steven Barth 4bd3f54143 6in4: fix typo in last commit
SVN-Revision: 35409
2013-01-30 09:07:23 +00:00
Steven Barth a0a91963af 6in4: work around hanging wget process
SVN-Revision: 35408
2013-01-30 09:05:53 +00:00
Felix Fietkau 316f53d066 libubox: update to latest version, fixes a string corruption issue on JSON formatting
SVN-Revision: 35399
2013-01-29 22:23:43 +00:00
Felix Fietkau 71522ce160 add libusb-compat
SVN-Revision: 35387
2013-01-29 16:12:00 +00:00