Commit Graph

2222 Commits

Author SHA1 Message Date
lean
a067631601 pdnsd: change installed patch 2021-06-17 10:49:06 +08:00
lean
a40a462858 amule: fix ibupnp API breakage and compilation with binutils >= 2.33.1 2021-06-17 10:44:53 +08:00
lean
1ac12ab23b Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-17 00:17:21 +08:00
lean
f4b9f11f28 libcryptopp: fix cmake build 2021-06-17 00:17:12 +08:00
Beginner
c312a9fd02
r8125: update to 9.005.06 (#7016)
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-16 20:30:58 +08:00
lean
99db707263 automount: change to NTFS3 mount 2021-06-16 17:47:00 +08:00
lean
0f212bc1ab ntfs3: add Paragon NTFS Read-Write filesystem 2021-06-16 17:45:39 +08:00
lean
84e65d3ad6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-16 16:42:17 +08:00
lean
4e4e31a1bd busybox: add ps -ef option for docker top command 2021-06-16 16:42:10 +08:00
Beginner
45ba1e0679
grub2: update to 2.06 (#7013)
-300-CVE-2015-8370.patch is upstreamed with different code
(upstream id: 451d80e52d851432e109771bb8febafca7a5f1f2)

- fixup OpenWrts setup_root patch

compile tested: x86_64,i386
runtime tested: VM x86_64,VM i386

- booted fine
- grub-editenv worked

Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>

Co-authored-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
2021-06-16 16:33:02 +08:00
lean
b3855f2f18 procd: disable flock 2021-06-16 16:04:30 +08:00
lean
72f3ab2009 rockchip: sync upstream 2021-06-16 15:04:58 +08:00
lean
060621b5fe ipq40xx: replace flow to SFE offload 2021-06-16 13:15:45 +08:00
lean
1fae34cb7f UnblockNeteaseMusicGo: bump version to 0.2.11 2021-06-16 11:33:44 +08:00
lean
27fdec85f9 iwinfo: add ralink support for K2P 2021-06-16 11:14:54 +08:00
lean
744d1ed2c7 autocore: add ax feature 2021-06-16 10:44:10 +08:00
hyy-666
d3df653136
fix dpdk errors (#7001) 2021-06-16 10:36:24 +08:00
Hugo Yuan
931947d20a
Set WiFi country to US by default (#6999) 2021-06-15 23:06:55 +08:00
AmadeusGhost
d48bf5b190
mtwifi: mt7612: fix build error (#6990) 2021-06-15 17:59:09 +08:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
9d8a34c9ab ipq807x: add Xiaomi AX3600 and ath11k support 2021-06-14 20:08:28 +08:00
lean
bb239072f8 Add DPDK 21.05 support for Armv7 based platforms 2021-06-14 19:30:08 +08:00
lean
77181eebf9 luci-app-docker: update docker version 2021-06-14 19:27:27 +08:00
lean
d2c2435b0d Version update to R21.6.14 2021-06-14 18:40:19 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
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