Commit Graph

2174 Commits

Author SHA1 Message Date
Beginner
5402ff8230
mac80211: backport upstream fixes for FragAttacks (#6854)
From the patch series description:

Several security issues in the 802.11 implementations were found by
Mathy Vanhoef (New York University Abu Dhabi), who has published all
the details at

	https://papers.mathyvanhoef.com/usenix2021.pdf

Specifically, the following CVEs were assigned:

 * CVE-2020-24586 - Fragmentation cache not cleared on reconnection
 * CVE-2020-24587 - Reassembling fragments encrypted under different
                    keys
 * CVE-2020-24588 - Accepting non-SPP A-MSDU frames, which leads to
                    payload being parsed as an L2 frame under an
                    A-MSDU bit toggling attack
 * CVE-2020-26139 - Forwarding EAPOL from unauthenticated sender
 * CVE-2020-26140 - Accepting plaintext data frames in protected
                    networks
 * CVE-2020-26141 - Not verifying TKIP MIC of fragmented frames
 * CVE-2020-26142 - Processing fragmented frames as full frames
 * CVE-2020-26143 - Accepting fragmented plaintext frames in
                    protected networks
 * CVE-2020-26144 - Always accepting unencrypted A-MSDU frames that
                    start with RFC1042 header with EAPOL ethertype
 * CVE-2020-26145 - Accepting plaintext broadcast fragments as full
                    frames
 * CVE-2020-26146 - Reassembling encrypted fragments with non-consecutive
                    packet numbers
 * CVE-2020-26147 - Reassembling mixed encrypted/plaintext fragments

In general, the scope of these attacks is that they may allow an
attacker to
 * inject L2 frames that they can more or less control (depending on the
   vulnerability and attack method) into an otherwise protected network;
 * exfiltrate (some) network data under certain conditions, this is
   specific to the fragmentation issues.

A subset of these issues is known to apply to the Linux IEEE 802.11
implementation (mac80211). Where it is affected, the attached patches
fix the issues, even if not all of them reference the exact CVE IDs.

In addition, driver and/or firmware updates may be necessary, as well
as potentially more fixes to mac80211, depending on how drivers are
using it.

Specifically, for Intel devices, firmware needs to be updated to the
most recently released versions (which was done without any reference
to the security issues) to address some of the vulnerabilities.

To have a single set of patches, I'm also including patches for the
ath10k and ath11k drivers here.

We currently don't have information about how other drivers are, if
at all, affected.

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-05-20 12:11:42 +08:00
Bob zhang
5d9e12eba4
luci-app-ttyd auto fit iframe height (#6821) 2021-05-14 12:32:48 +08:00
CN_SZTL
1549187fc5
shadowsocksr-libev: remove package (#6814)
This is included by somebody else.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-11 21:28:59 +08:00
paldier
d2165d5303
fix UnblockNeteaseMusicGo source (#6812)
go版本仅这两个源可用,全部加上优化体验
2021-05-10 10:56:34 +08:00
Selboo
d3eba6d930
fix vsftpd banner (#6810)
/etc/config/vsftpd 选项是 banner
2021-05-10 10:54:56 +08:00
AmadeusGhost
d7a249a5c2
dnsmasq: Update to version 2.85 (#6795)
Fixes issue with merged DNS requests in 2.83/2.84 not being
retried on the firsts failed request causing lookup failures.

Also fixes the following security problem in dnsmasq:
* CVE-2021-3448:
  If specifiying the source address or interface to be used
  when contacting upstream name servers such as:
  server=8.8.8.8@1.2.3.4, server=8.8.8.8@1.2.3.4#66 and
  server=8.8.8.8@eth0 then all would use the same socket
  bound to the explicitly configured port. Now only
  server=8.8.8.8@1.2.3.4#66 will use the explicitly
  configured port and the others random source ports.

Remove upstreamed patches and update remaining patch.

Signed-off-by: Alan Swanson <reiver@improbability.net>
[refreshed old runtime support patch]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Alan Swanson <reiver@improbability.net>
2021-05-05 23:24:23 +08:00
lean
a764e7feae luci-app-kodexplorer: fix libxml dependence 2021-05-05 12:15:11 +08:00
lean
e2c456836b luci-app-kodexplorer: fix php7-mod-dom support 2021-05-03 23:57:20 +08:00
z826540272
d3d6f3a2c4
DNSMASQ ttl config (#6779)
默认情况下 SSR PLUS DNS结果根本无法缓存(由于引入拒绝ipv6结果导致的问题),nslookup & dig 延迟每次依然有200-300多.
dnsmasq处设置缓存依然无效,设置TTL也无效,应该是bug。
解决办法是手动指定缓存TTL为最大一小时。域名查询实测有效缓存0延迟。 

此变更仅使开启dnsmasq缓存的情况下正常工作。
2021-05-03 22:50:02 +08:00
lean
910af7e482 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-04-28 17:45:47 +08:00
lean
ea12768a60 luci-app-unblockmusic: update version 2021-04-28 17:45:39 +08:00
Beginner
cda4a4ff70
baidupcs-web: add upx support (#6772) 2021-04-28 13:05:09 +08:00
lean
bda6a64281 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-04-27 22:59:03 +08:00
lean
87f0b29a20 ramips: add support for Xiaomi Mi Router CR660x series 2021-04-27 22:58:52 +08:00
AmadeusGhost
2f74b3efff
ipq40xx: add support for HiWiFi C526A (#6760)
Hardware specs:
  SoC:	    Qualcomm IPQ4019
  RAM:	    256 / 512 MB DDR3
  Flash1:   2 MB SPI NOR EN25QH16
  Flash2:   128 MB ESMT NAND
  Ethernet: Qualcomm QCA8075 (3xLAN, 1xWAN)
  WIFI1:    MT7615 2.4 GHz 802.11 b/g/n
  WIFI2:    QCA4019 5.2 GHz 802.11 n/ac
  WIFI3:    QCA4019 5.8 GHz 802.11 n/ac
  LEDS:     System (red / blue)
  POWER:    12V 2.5A
  USB:      1 x 3.0
  Button:   Reset

Warning: This version does not support pbboot
and uses all space of the nand.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
[add commit message, expand rootfs to 128 MB]
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-04-27 16:09:55 +08:00
Beginner
90f9a868f2
UnblockNeteaseMusicGo: update to 0.2.10 (#6762) 2021-04-27 16:08:23 +08:00
lean
f3efbf91f4 curl: bump version 2021-04-24 23:38:25 +08:00
SuLingGG
3844f5eaaf
Remove outdate cypress firmwares (#6747)
cypress-firmware-4359-pcie
cypress-firmware-4359-sdio
cypress-firmware-89459-pcie
2021-04-24 20:51:21 +08:00
EnnawYang
d037aff9ed
cypress-firmware: bump to v5.4.18-2021_0114 (#6726)
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-01-14/m-p/268899
2021-04-20 11:19:45 +08:00
Beginner
09ad0ddb1f
luai-app: tidy up controller (#6724) 2021-04-19 16:52:04 +08:00
ricksuzade-maker
8188790996
Bump wireguard to the latest version (#6716) 2021-04-19 10:24:39 +08:00
EnnawYang
314e5103df
cypress-firmware: bump to v5.4.18-2020_0925 (#6715) 2021-04-19 10:24:20 +08:00
ricksuzade-maker
55daeb886a
Bump wireguard-tool to the latest version (#6717) 2021-04-19 10:24:04 +08:00
z826540272
63787623af
Reduce file size again (#6723)
减少编译输出的文件大小。上次回滚并不正确
2021-04-19 10:23:30 +08:00
coolsnowwolf
420f085d95 Version update to R21.4.18 2021-04-18 15:41:09 +08:00
HF
6aa3ed2b19
fix Orangepi R1 Plus boot (#6707)
* Update 103-rockchip-rk3328-Add-support-for-Orangepi-R1-Plus.patch

修复一下编译后不能用的问题(用的是Orangepi官方发布的代码)

* Update 202-rockchip-rk3328-Add-support-for-OrangePi-R1-Plus.patch

修复编译固件之后不可用的问题(用的是Orangepi官方项目的代码)
2021-04-18 10:08:57 +08:00
bluskai
180e496c6f
Upgrade frp to the latest version. (#6709)
Upgrade frp to v0.36.2.
2021-04-18 09:59:32 +08:00
coolsnowwolf
d96a2e78f7 v2ray-plugin: move source 2021-04-18 09:55:04 +08:00
Beginner
ab4dd78d08
luci-app: correct file name (#6692) 2021-04-18 09:39:39 +08:00
AmadeusGhost
535b525566
kernel: Adapt renamed can-dev.ko (#6695)
The can-dev.ko kernel module was moved in kernel 5.4.110 and 5.10.28.

Fixes: 5dcbd82 ("kernel: bump 5.4 to 5.4.110")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[Also compatible with kernel 4.x]
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-16 21:40:32 +08:00
Beginner
1605e48e85
Revert "v2ray-plugin: update to 4.37.3 (#6686)" (#6696)
This reverts commit 9e9afd921c.
2021-04-16 21:39:46 +08:00
badgv
fae07ff3d9
fix dnsmasq configuration modification logic (#6685)
fix dnsmasq configuration modification logic
2021-04-14 13:34:43 +08:00
Beginner
9e9afd921c
v2ray-plugin: update to 4.37.3 (#6686) 2021-04-14 13:33:09 +08:00
Beginner
763081f891
v2ray-plugin: update to 4.37.2 (#6671) 2021-04-10 17:36:56 +08:00
lichao0223
2030ebf7fa
uugamebooster: update to 2.10.0 (#6665)
* uugamebooster: update to 2.9.0

看到UU加速器更新到2.9.0了

* uugamebooster: update to 2.10.0

最近UU频繁更新,暂时还没经过测试
2021-04-10 08:40:02 +08:00
Beginner
c41c174be8
luci-app-xlnetacc: fix bug (#6660) 2021-04-08 16:22:08 +08:00
Beginner
8db35e67f2
v2ray-plugin: update to 4.37.1 (#6654) 2021-04-07 23:34:43 +08:00
Eason
6fe4db3814
Fix luci-app-zerotier iptables bug (#6650) 2021-04-06 10:55:51 +08:00
Beginner
049e623690
default-settings: tidy up Makefile (#6642) 2021-04-04 00:53:47 +08:00
Beginner
61322b6bbf
luci-app-dnsforwarder luci-app-vlmcsd: Change file name (#6641) 2021-04-03 17:55:40 +08:00
lean
fd5de8f413 rblibtorrent: bump to v1.2.13 2021-04-03 16:59:43 +08:00
Beginner
570300eca7
luci-app-xlnetacc: tidy up Makefile (#6637) 2021-04-03 11:13:21 +08:00
Beginner
28a4d0ce78
v2ray-plugin: update to 4.37.0 (#6638) 2021-04-03 11:12:37 +08:00
AmadeusGhost
b4a699c6c3
mbedtls: update to 2.16.10 (#6630)
This release of Mbed TLS provides bug fixes and minor enhancements. This
release includes fixes for security issues.

Security fixes:
* Fix a buffer overflow in mbedtls_mpi_sub_abs()
* Fix an errorneous estimation for an internal buffer in
mbedtls_pk_write_key_pem()
* Fix a stack buffer overflow with mbedtls_net_poll() and
mbedtls_net_recv_timeout()
* Guard against strong local side channel attack against base64 tables
by making access aceess to them use constant flow code

Full release announcement:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.10

Signed-off-by: Magnus Kroken <mkroken@gmail.com>

Co-authored-by: Magnus Kroken <mkroken@gmail.com>
2021-04-02 09:52:36 +08:00
dwj0
3c3ea0d4fe
Add n2n supernode ports and rules (#6577)
* 自动开放 supernode 的防火墙端口,这样 openwrtr的edge和supernode都可以用了。
增加edge的第二supernode节点。但当两个supernode都设了后,貌似只有第二个supernode起作用,如果把第二个supernode关掉,就都连不上了

为n2n的防火墙规则添加描述

* Update n2n_v2.init

修复 n2n 的 supernode 添加防火墙规则的错误端口

Co-authored-by: dwj0 <dwj-ubuntu@example.com>
2021-03-31 12:31:52 +08:00
lean
8fd95efe58 baidupcs-web: using upx compress 2021-03-31 12:30:10 +08:00
lean
51aabc9d17 baidupcs-web: bump to v3.7.3 2021-03-31 12:24:14 +08:00
AmadeusGhost
ee6fb24811
rockchip: add support for OrangePi R1 Plus (#6620)
Hardware Specification:
  CPU: RockChip RK3328 (4 cores)
  RAM: 1GB DDR4
  Ethernet: 2x 1000 Base-T
  Flash: SPI-NOR 16 MB (mx25l12835f)
  LED: SYS, LAN, WAN
  MicroSD Slot x 1
  Button: Reset
  USB:1x 2.0
  Serial1: 13 Pin pin-header
  Serial2: 3 Pin debug port
  Type-C: for power input
  Power Supply: DC 5V/2A

Installation:
  Write the image to SD Card with dd.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-03-30 14:03:34 +08:00
klever1988
0bfe0bbf80
luci-app-xlnetacc: update to 1.0.5 (#6622) 2021-03-30 00:42:45 +08:00
lichao0223
52d0aed849
uugamebooster: update to 2.9.0 (#6619)
看到UU加速器更新到2.9.0了
2021-03-30 00:41:35 +08:00