Commit Graph

2197 Commits

Author SHA1 Message Date
CN_SZTL
7883a5d2e6
r8152: fix build under kernel >= 4.19.10 or kernel >= 4.14.217 (#6965)
Fixes: 1024f0ec23 ("r8152: update to 2.15 (#6900)")
Fixes: #6946

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-12 01:57:31 +08:00
coolsnowwolf
e2535799fb
Update usb_printer_hotplug 2021-06-11 11:38:31 +08:00
Beginner
5a56f1eeaa
curl: update to version 7.77.0 (security fix) (#6952)
Fixes:
CVE-2021-22897
CVE-2021-22898
CVE-2021-22901

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>

Co-authored-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-06-10 17:29:56 +08:00
Eason
d871216a7c
luci-app-frpc: Support TLS Connection and Admin Web (#6945) 2021-06-07 23:14:22 +08:00
Beginner
38862e7f50
baidupcs-web: update to 3.7.4 (#6939)
Co-authored-by: hue715 <hue715@gmail.com>
2021-06-07 15:02:15 +08:00
Beginner
6f0e710582
UnblockNeteaseMusic: bump to latest git HEAD (#6935)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-05 21:02:41 +08:00
AmadeusGhost
eb1e8ce8f8
zram-swap: sync upstream source (#6930) 2021-06-05 10:32:05 +08:00
lean
9ae00955cc Revert "rpcd: iwinfo add 802.11ax HE support"
This reverts commit 6d496145ed.
2021-06-03 21:20:27 +08:00
lean
6d496145ed rpcd: iwinfo add 802.11ax HE support 2021-06-03 21:15:18 +08:00
Beginner
9826d70a9b
luci-app-jd-dailybonus: Keep up to date (#6916) 2021-06-02 12:57:17 +08:00
Beginner
07ad9ff555
luci-app-syncdial: adapt LuCI style of luci-theme-openwrt-2020 (#6906)
Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-05-31 18:42:08 +08:00
Beginner
568814d998
cypress-firmware: bump to v5.4.18-2021_0527 (#6898)
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-05-27/td-p/277394

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-31 18:41:57 +08:00
Beginner
1024f0ec23
r8152: update to 2.15 (#6900)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-31 18:41:30 +08:00
Hugo Yuan
6cd9c7393e
UnblockNeteaseMusic: Change source to 1715173329 (#6903) 2021-05-31 18:40:34 +08:00
lean
3403deeaf8 Version update to R21.6.1 2021-05-28 13:03:20 +08:00
Beginner
7a92f40719
luci-app: adapt LuCI style of luci-theme-openwrt-2020 (#6884)
* luci-app-amule: adapt LuCI style of luci-theme-openwrt-2020

* luci-app-unblockmusic: adapt LuCI style of luci-theme-openwrt-2020

Co-authored-by: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com>
2021-05-28 11:18:58 +08:00
AmadeusGhost
5d4aa4be33
luci-proto-bonding: add zh-cn translations (#6890) 2021-05-28 11:18:10 +08:00
FFBest
10ba223e88
修改 argon 的样式,好多不对齐,改 cbi-value 相关成 flex,chrome 90 做了测试 (#6879)
Co-authored-by: BestZF <realtozf@qq.com>
2021-05-25 22:07:37 +08:00
Beginner
ff49c6e8aa
mac80211: fix ATH_REG_DYNAMIC_USER_REG_HINTS (#6878)
ATH_REG_DYNAMIC_USER_REG_HINTS is currently not being set as mac80211
tries to set it as m which is not possible as its boolean only.

Since its used alongside user regulatory, move it to USER_REGD.

This is required for ath11k to accept regulatory changes, otherwise
it wont accept any changes and will simply force US.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2021-05-25 22:06:59 +08:00
Beginner
678606b603
grub2: update to 2.06-rc1 (#6855)
* grub2: update to 2.06-rc1

When building GRUB with binutils 2.35.2 or later, an error occurs due to
a section .note.gnu.property that is placed at an offset such that
objcopy needs to pad the img file with zeros. This in turn causes the
following error: "error: Decompressor is too big.".

The fix accepted by upstream patches a python script that isn't executed
at all when building GRUB with OpenWrt buildroot. There's another patch
that patches the files generated by that python script directly, but by
including it we would deviate further from upstream. Instead of doing
that, simply bump to the latest release candidate.

As one of the fixes for the CVEs causes grub to crash on some x86
hardware using legacy BIOS when compiled with -O2, filter -O2 and
-O3 out of TARGET_CFLAGS.

Fixes the following CVEs:
- CVE-2020-14372
- CVE-2020-25632
- CVE-2020-25647
- CVE-2020-27749
- CVE-2020-27779
- CVE-2021-3418
- CVE-2021-20225
- CVE-2021-20233

Runtime-tested on x86/64.

Fixes: FS#3790

Suggested-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

* grub2: disable liblzma dependency

Florian Ekert reported:

"I have build a fresh master branch recently, Since your last change [1]
on grub2, I have now a new dependency on liblzma for the install package
grub2-editenv.

root@st-dev-07 /usr/lib # ldd /root/grub-editenv
       /lib/ld-musl-x86_64.so.1 (0x7f684b088000)
       liblzma.so.5 => /usr/lib/liblzma.so.5 (0x7f684b06d000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f684b059000)
       libc.so => /lib/ld-musl-x86_64.so.1 (0x7f684b088000)

This was not the case before your update.

root@st-dev-07 /usr/sbin # ldd /usr/sbin/grub-editenv
       /lib/ld-musl-x86_64.so.1 (0x7fd970176000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fd970162000)
       libc.so => /lib/ld-musl-x86_64.so.1 (0x7fd970176000)

My build complains that it cannot satisfy the runtime package dependency
for grub2-editenv.

install -d -m0755 /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv/usr/sbin
install -m0755 /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/grub-editenv /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv/usr/sbin/
find /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/build_dir/target-x86_64_musl/linux-x86_64/grub-pc/grub-2.06~rc1/ipkg-x86_64/grub2-editenv -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package grub2-editenv is missing dependencies for the following libraries:
liblzma.so.5
make[2]: *** [Makefile:166: /home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/bin/APOS/feckert/master/master-Maggie-455-ga5edc0e8e/x86_64/targets/x86/64/packages/grub2-editenv_2.06~rc1-1_x86_64.ipk] Error 1
make[2]: Leaving directory '/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/package/boot/grub2'
time: package/boot/grub2/pc/compile#78.64#9.79#83.88
   ERROR: package/boot/grub2 failed to build (build variant: pc).
make[1]: *** [package/Makefile:116: package/boot/grub2/compile] Error 1
make[1]: Leaving directory '/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt'
make: *** [/home/feckert/workspace/openwrt/LDM-master-x86_64/build/openwrt/include/toplevel.mk:230: package/boot/grub2/compile] Error 2

If I add the following changes to the package all works as expected.

<snip>
-  DEPENDS:=@TARGET_x86
+  DEPENDS:=@TARGET_x86 +liblzma
  VARIANT:=pc
endef

This is a hotfix but I dont´t think this is the final solution, because lzma is provided by the package xz.
And This is maintained in the package feed [not the core]"

Dirk stated & offered his patch to disable liblzma and thus resolve the
'out of core dependency' problem:

"LZMA is used in mkimage.c
disabling it prints
Without liblzma (no support for XZ-compressed mips images) (explicitly disabled)
(see configure.ac)

liblzma is autodetected so this issue was present but hidden somehow

[unsure: grep/image generation does not use grub with that option]
OpenWrt does not use that feature currently

[!] some scripts and examples use --compression=xz or -C xz and those will break

grub has an internal xzlib for different "lzma" functionality
(ext. LIBLZMA from XZ (GRUB_COMPRESSION_XZ) vs. GRUB_COMPRESSION_LZMA)"

Hopefully fixes e74d81e and doesn't
break anything else.

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
[include Florian's description of how problem 1st encountered]
[bump package release]
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2021-05-22 12:07:40 +08:00
Beginner
79b427589c
wireguard,wireguard-tools: update to 1.0.20210424 (#6864)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-21 18:57:54 +08:00
AmadeusGhost
c07e97d809
ramips: add support for JCG Q20 (#6850)
JCG Q20 is an AX 1800M router.

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W29N01HV 128 MiB
  RAM: Winbond W632GU6NB-11 256 MiB
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue)
  Button: Reset, WPS
  Power: DC 12V,1A

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page,
  do not preserve settings.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-21 13:44:01 +08:00
Beginner
9b223be451
UnblockNeteaseMusicGo: renew certs (#6860)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-21 11:04:45 +08:00
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