Commit Graph

10908 Commits (899a23227e5587078e71b599ca447ccfb9b8af79)

Author SHA1 Message Date
Hauke Mehrtens 4d85dd6a8f mac80211: add mt7601u driver
firmware is not available in linux-firmware yet
so use official driver source

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

SVN-Revision: 46682
9 years ago
Jo-Philipp Wich 241d151b9c uhttpd: pass X-HTTP-Method-Override header to cgi scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46677
9 years ago
John Crispin eb42485093 iwinfo: update to latest git HEAD
adds extra station info reporting

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

SVN-Revision: 46669
9 years ago
John Crispin cbc2613a5c ugps: update to latest git HEAD
fixes 2 bugs
* typo
* use %04d rather than %d when printing the position

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

SVN-Revision: 46666
9 years ago
John Crispin e83643d31c base-files: default_postinst: propagate the real postinst return code
Using the postinst script for sanity checks and expecting opkg to fail
if the postinst didn't return 0 was possible in Barrier Breaker, propagate
the real postinst return code through default_postinst to restore this
behaviour.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46653
9 years ago
John Crispin e5488123e6 hostapd: Add vlan_file option to netifd.sh
Other VLAN related options are already being processed in netifd.sh
but the vlan_file option is missing. This option allows the mapping
of vlan IDs to network interfaces and will be used in dynamic VLAN
feature for binding stations to interfaces based on VLAN
assignments. The change is done similarly to the wpa_psk_file
option.

Signed-off-by: Gong Cheng <chengg11@yahoo.com>

SVN-Revision: 46652
9 years ago
John Crispin 9b0516c9fc base-files: rework reset button script to indicate factory reset
With this change we let user know 5 seconds have passed and reset button
can be released (to trigger factory reset)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46650
9 years ago
John Crispin b283426374 brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46638
9 years ago
Hauke Mehrtens cae35b268c procd: fix seccomp build on some architectures
fix generating syscall-names.h

Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.

For example the bit/syscall.h from musl for i386 has this:

  #define __NR_timer_create     259
  #define __NR_timer_settime    (__NR_timer_create+1)

With this patch the resulting array looks like this:

 [259] = "timer_create",
 [(__NR_timer_create+1)] = "timer_settime",

This closes #20195.

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

SVN-Revision: 46612
9 years ago
Hauke Mehrtens 4ab1830682 ubi-utils: fix build with gcc5
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46610
9 years ago
Hauke Mehrtens c9d7aa8704 samba36: preserve smbpasswd across sysupgrade
Add /etc/samba/smbpasswd to list of samba conffiles
thus preserving samba passwords across sysupgrade
by default.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46606
9 years ago
Zoltan Herpai 58fc927889 sunxi: fix uboot install location
Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix
ImageBuilder. Similar fixes are necessary for many (all?) other uboot
targets.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46605
9 years ago
Felix Fietkau e69474719d oprofile: fix path to kernel headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46588
9 years ago
Rafał Miłecki 567d2ab3f8 base-files: buttons: make power script return 0
It was missed in the r46471.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46582
9 years ago
Rafał Miłecki 26845a4715 procd: switch buttons to the new "button" hotplug handler
This allows requesting "timeout" ACTION in script by returning a
positive value.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46580
9 years ago
Rafał Miłecki 386840aecf procd: update to the latest version, add "button" hotplug handler
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46578
9 years ago
Hauke Mehrtens f9ebd0b1a4 kernel: crypto: fix depends in kmod-crypto-hmac
This module had two depends lines.

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

SVN-Revision: 46576
9 years ago
Hauke Mehrtens aae0edf405 kernel: crypto: fix module loading of cryptomgr.ko
There was no rule to load this module.

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

SVN-Revision: 46575
9 years ago
Hauke Mehrtens 3e767d2b28 kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

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

SVN-Revision: 46574
9 years ago
Jonas Gorski de19f06d12 mac80211: mwl8k: init devices synchronously
Make sure phys are probed and present before we detect wifis.

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

SVN-Revision: 46566
9 years ago
Hauke Mehrtens 9378f970ed acx-mac80211: update git url
use URL scheme documented at http://sourceforge.net/p/forge/documentation/Git/

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

SVN-Revision: 46552
9 years ago
Hauke Mehrtens 252bcd379a cyassl: the upstream package in version 4.6.0 changed
Update the md5sum to the new version.

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

SVN-Revision: 46551
9 years ago
Hauke Mehrtens 186c711ccd dnsmasq: Bump to dnsmasq2.75
Fixes a 100% cpu usage issue if using dhcp-script.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46550
9 years ago
Zoltan Herpai a33a567b39 packages: uboot-sunxi: bump to 2015.07 - switch to using kernel-supplied dtc - refresh olimex-a13-som and lamobo-r1 patches (compile-tested only)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46540
9 years ago
Felix Fietkau 08c594bf5a mac80211: restore AP scan patch
Signed-off-by: Dmitry Ivanov <dima@ubnt.com>

SVN-Revision: 46535
9 years ago
Felix Fietkau 29de31f8ba iw: update to version 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46534
9 years ago
Felix Fietkau ad5cd9ec1d mac80211: fix an invalid read in minstrel rate sorting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46533
9 years ago
Felix Fietkau 38646926a2 mac80211: fix data alignment of management frames / beacons
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46532
9 years ago
Zoltan Herpai fd476b3886 packages: uboot-mxs: bump to 2015.07, refresh Duckbill patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 46523
9 years ago
Steven Barth 677f0e3e72 dnsmasq: Bump to dnsmasq2.74
Bump to dnsmasq2.74 & refresh patches to fix fuzz

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46522
9 years ago
Imre Kaloz c668c8cc32 mwlwifi: upgrade to latest rev with fixed firmware
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 46520
9 years ago
Felix Fietkau 5bd8e60ed2 mt76: update to the latest version, fixes more tx power related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46519
9 years ago
Steven Barth 9a2132156d odhcp6c: minor fixes
Better synchronize RA & DHCPv6 events
Accumulate some events to avoid flooding
Restart softwires for address and prefix changes

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

SVN-Revision: 46518
9 years ago
Luka Perkov 18721fa120 openssl: add one more mirror
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 46517
9 years ago
Felix Fietkau 1602a8cb6b mt76: update to the latest version, fixes some compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46513
9 years ago
Steven Barth 6831883100 firewall: fix typo in ESP rule
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46506
9 years ago
Hauke Mehrtens 53647060ab oprofile: update to 1.1.0-rc2 and make it work with musl
This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl.

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

SVN-Revision: 46505
9 years ago
Hauke Mehrtens 886764657a gpio-button-hotplug: handle EPROBE_DEFER and other errors
of_get_gpio_flags() could return an error like EPROBE_DEFER which was
not handled before. This patch takes the code from gpio_keys_polled.c
for error handling and also improves some other unrelated small parts.

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

SVN-Revision: 46502
9 years ago
Hauke Mehrtens aa16daf3bb kernel: add kmod-lp again
This was deactivated in r21954 because it depended on kernel 2.4, but
this module also compiles with kernel 3.18.

This closes #20199.

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

SVN-Revision: 46495
9 years ago
Hauke Mehrtens 91bdcc65e9 mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions
An #ifdef for the kernel version was missing around the header of
debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not
done.

This closes #20181

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

SVN-Revision: 46492
9 years ago
Jonas Gorski ec428bccad opkg: ensure image provided feeds are available after sysupgrade
Split the opkg.conf into three files, to make it easier to support custom
feeds and configs:

* /etc/opkg.conf -> base opkg configuration
* /etc/opkg/distfeeds.conf -> default Openwrt package feeds
* /etc/opkg/customfeeds.conf -> custom package feeds

Of these three, only the base opkg.conf and the customfeeds.conf is marked
as to be kept, so that the distfeeds.conf from the image is always used.

To ease migration, a script is added that moves any feeds from /etc/opkg.conf
to /etc/opkg/customfeeds.conf on first boot.

Also ensure that any keys used for verification are also kept in upgrade.

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

SVN-Revision: 46491
9 years ago
Steven Barth da337e211e mbedtls: package version 2.0, make polarssl compatible
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46484
9 years ago
Felix Fietkau 5b76e57dc2 kernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46483
9 years ago
Steven Barth fefb6758f9 odhcpd: fix RA lifetimes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46479
9 years ago
Steven Barth f6abd042c2 firewall: comply with REC-22, REC-24 of RFC 6092
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46478
9 years ago
John Crispin e7b34b2b0d buttons: make all button handler scripts return 0
this is required by the new button timeout feature

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

SVN-Revision: 46471
9 years ago
John Crispin 6edf2f62c8 bzip2: add host build
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46470
9 years ago
John Crispin 38991bf90b mac80211: Clarify ath9k & ath10k debug selection
Ath debug mode applies to ath10k as well as ath9k.
Update Makefile help text to clarify.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46468
9 years ago
John Crispin 027230ade2 dnsmasq: add some missing files to the jail
found with strace, not sure we got all of them though

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

SVN-Revision: 46467
9 years ago
John Crispin cf4a0d430b base-files: fix /tmp/.jail permissions
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)

This partly fixes jailed dnsmasq

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

SVN-Revision: 46466
9 years ago
John Crispin 29b65e853f procd: update to latest git HEAD
fixes http://patchwork.ozlabs.org/patch/497899/

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

SVN-Revision: 46465
9 years ago
John Crispin 44c73a2fd2 lantiq: Fix ifxos driver on linux 4.1
request_mem_region returns NULL when requesting the region failed, and
a valid pointer when it was successful. Currently the condition is
inverted.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 46452
9 years ago
John Crispin 8c8a558591 kmod-regmap: enable MMIO support
This adds MMIO support for kmod-regmap.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46451
9 years ago
Felix Fietkau 9384cc5951 mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46436
9 years ago
Felix Fietkau 13f50151bc strace: add kernel headers include to host cflags to fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46423
9 years ago
Felix Fietkau 51ab7ade4e strace: cross compile fix: pass HOST_*FLAGS in to ./configure
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build.  Setting these flags is frequently required for unusual
cross-compiles.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>

SVN-Revision: 46422
9 years ago
Felix Fietkau 26d71e9b25 netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46421
9 years ago
Felix Fietkau 621dd13590 cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46413
9 years ago
Felix Fietkau 9ed820a4a7 mt76: update to the latest version, fixes rx buffer allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46409
9 years ago
Steven Barth 706adb1601 odhcp6c: add option "sourcefilter" to disable source filter
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46408
9 years ago
Hauke Mehrtens 59671b844a kernel: fix dependecy of kmod-ieee802154_6lowpan
This module also depends on kmod-ieee802154

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

SVN-Revision: 46407
9 years ago
John Crispin d42b6c1afb swconfig: libsw.so should be installed into /usr/lib/
otherwise it's not picked up by toolchain:

staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46406
9 years ago
Steven Barth 56e7ba4a1e odhcpd: fix last commit
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46393
9 years ago
Steven Barth 9a977c2b11 odhcpd: fix dhcpv6 relay forwarding
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46392
9 years ago
Jonas Gorski 30f9eb4cef kernel: wpan: at86rf230 depends on regmap-spi
kmod-at86rf230 select REGMAP_SPI since 3.17, so add a dependency to
kmod-regmap.

Fixes the following error:

Package kmod-at86rf230 is missing dependencies for the following libraries:
regmap-core.ko
regmap-spi.ko

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

SVN-Revision: 46387
9 years ago
Jonas Gorski 46a69e96a4 xtables-addons: update to 2.7 to fix compilation with 4.1
Also drop the configure (not .ac) patch part as autoreconf will
overwrite it anyway with a newly generated version.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46385
9 years ago
Luka Perkov d4ff533bcc rpcd: update to the latest version
This update adds a couple of file plugin enhancements, such as base64 support
and setting mode when files are written.

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

SVN-Revision: 46384
9 years ago
Felix Fietkau e23c3bb339 wpa-supplicant: add 802.11r client support
Add 802.11r client support to wpa_supplicant. It's only enabled in
wpa_supplicant-full. hostapd gained 802.11r support in commit r45051.

Tested on a TP-Link TL-WR710N sta psk client with two 802.11r enabled
openwrt accesspoints (TP-Link TL-WDR3600).

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

SVN-Revision: 46377
9 years ago
Steven Barth f08895d0e9 odhcpd: also unify router and DNS lifetimes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46376
9 years ago
Steven Barth d8e082c593 odhcpd: fix RA lifetime calculation
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46375
9 years ago
Hauke Mehrtens 6c8c019b78 robocfg: remove robocfg
This controls the old Broadcom switch driver which was removed over a
year ago, since then this is useless. Use swconfig instead it works
with more (Broadcom) switches.

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

SVN-Revision: 46373
9 years ago
Hauke Mehrtens 750a62195c admswconfig: fix compile with musl
caddr_t is not defined everywhere any more, cast it the the real
pointer type of ifr_data.

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

SVN-Revision: 46371
9 years ago
Steven Barth a5641a6444 odhcpd: use 65535s as default lifetime and make interval configurable
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46370
9 years ago
Jo-Philipp Wich 52bfee77e4 linux: enable kmod-acpi-button for x86_64 (#20080)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46368
9 years ago
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
John Crispin c71ef0499b swconfig: Split libsw out of swconfig for reuse in other packages
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 46358
9 years ago
Steven Barth 63ef3540d1 odhcpd: unsolicited unicast RAs + fix NDP-relay
odhcpd now sends unsolicited RAs also via unicast to known link-local
neighbors. This is an attempt to work-around common smartphone issues
https://code.google.com/p/android/issues/detail?id=32662

Also NDP-relay should now work more reliably now

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

SVN-Revision: 46357
9 years ago
John Crispin c18f603ba4 ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46356
9 years ago
John Crispin a7b5908a8f brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46343
9 years ago
John Crispin d0d3ca2a1b base-files: added option to configure the gpio led trigger in uci-defaults
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 46341
9 years ago
John Crispin c54b1be7c2 mac80211: make ath10k firmware v2 selectable
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 46340
9 years ago
Steven Barth a06c1c810e odhcp6c: fix some more compatibility issues
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46335
9 years ago
Steven Barth fab6209f71 odhcp6c: work-around more ISP DHCPv6-PD issues
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46317
9 years ago
Jonas Gorski 6f2fe75834 ar7-atm: fix compilation for 4.1
Add the required changes to make it compile for 4.1 again.

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

SVN-Revision: 46306
9 years ago
Jonas Gorski 7c7695ab41 acx-mac80211: make it compile again against new compat-wireless
Update to "latest" HEAD and update it to match latest API changes.

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

SVN-Revision: 46305
9 years ago
Hauke Mehrtens b2314679b6 valgrind: update to 3.10.1 and fix kernel >= 4.0
This updates valgrind to version 3.10.1 and make configure work with
kernel version > 4.0. This patch was taken from upstream valgrind.

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

SVN-Revision: 46302
9 years ago
Felix Fietkau 1c8148a858 ebtables: fix miscompilation on 64bit targets
The musl build "fix" introduced in r45108 removed all netinet/ether.h
includes, which made the prototypes of ether_aton and ether_ntoa
unavailable. As a result, the compiler assumed they return int instead
of a pointer. This currupted the pointer on 64bit targets, causing ebtables
to segfault in commands containing MAC addresses.

Since r46161 made it possible to include both the kernel and the libc
if_ether.h as long as the libc version is included first, this patch
changes the fix to remove the linux/if_ether.h from the ebtables source
(so the fixed version from the kernel is used) and ensures netinet/ether.h
is included early.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46292
9 years ago
Rafał Miłecki aee7bf2fca mac80211: add brcmfmac patch fixing user space picked MACs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46288
9 years ago
Jo-Philipp Wich 48d9137d31 openssl: update to v1.0.2d (CVE-2015-1793)
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

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

SVN-Revision: 46285
9 years ago
Rafał Miłecki 4587e39fe7 mac80211: try to workaround some brcmfmac bug with handling interfaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46278
9 years ago
Hauke Mehrtens f60082f548 kernel: modules: activate wpan on kernel 4.1
Make wpan depend on not kernel 3.18 so it will get activated on all
other kernel versions like 4.0 and 4.1.

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

SVN-Revision: 46276
9 years ago
Felix Fietkau 7a04fd0e3a swconfig: swlib.c: Fix another memleak
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 46275
9 years ago
John Crispin 8503f34ce8 fstools: fstab.init fix spelling
fix a very minor typo in warning message

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46273
9 years ago
John Crispin 657300d418 comgt: make ncm proto work via wwan proto
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46272
9 years ago
John Crispin d65916047b base-files: implemented basic GPIO control
Internal GPIO pins are used for PoE passthrough setups in multi-port
routers. This patch implemnets control over this hardware feature for
Ubiquiti Nanostations and TP-Link CPE510.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>

SVN-Revision: 46271
9 years ago
Rafał Miłecki 4497c35bd0 nvram: get rid of NVRAM_SPACE
Now we support NVRAM whatever its size is.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46262
9 years ago
Rafał Miłecki d372167491 nvram: fix displayed info about NVRAM size
Use actual partition size and content offset to calculate it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46260
9 years ago
Felix Fietkau 1ef0bc6bfb mwlwifi: fix compile error after mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46254
9 years ago
Rafał Miłecki 4014ba376c Revert "Revert "nvram: increase NVRAM size to 64 KiB""
This reverts commit r45579.

With the latest change r46251 ("nvram: fix "Segmentation fault" caused
by setting memory out of buffer") nvram utility shouldn't crash anymore.

It was tested on 3 brcm47xx devices:
1) Unknown with 0x10000 NVRAM size (0x8000 offset)
2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)

And 3 bcm53xx devices:
1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
3) Netgear R6250 V1 with 0x180000 NVRAM size
(all using 0 offset)

This is an important change as it allows reading whole NVRAM. This may
critical when reading some basic configuration (e.g. switch ports).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46253
9 years ago
Rafał Miłecki 9f15849910 nvram: fix "Segmentation fault" caused by setting memory out of buffer
Some MTD partitions with NVRAM have content starting in the middle. In
such case offset is set and nvram_header returns pointer to the middle.
It means we have to respect offset when calculating remaining space.

By the way use real MTD partition size (nvram_part_size variable) as we
may want to bump NVRAM_SPACE in the (very near) future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46251
9 years ago