Commit Graph

2615 Commits

Author SHA1 Message Date
coolsnowwolf
6a18e18416 ipq806x: add quantenna 5G wifi support for E8350/R7500v1 2021-07-23 16:59:44 +08:00
coolsnowwolf
ecd242eddd ipq806x: fix linksys e8350 boot 2021-07-23 11:35:05 +08:00
coolsnowwolf
922d471d21 qca-nss-crypto: add PKG_MIRROR_HASH 2021-07-22 17:42:31 +08:00
coolsnowwolf
54d5790ab6 ipq806x: add quantenna wireless firmware for E8350/R7500v1 2021-07-22 14:11:47 +08:00
HoldOnBro
d037c4b9fd
fix ntfs3 compiling problem (#7467) 2021-07-21 15:17:01 +00:00
EnnawYang
4d5e9db0d9
luci-app-jd-dailybonus: sync upstream (#7468) 2021-07-21 15:16:24 +00:00
Beginner
13fabde28e
dnsproxy: update to 0.38.3 (#7455) 2021-07-20 13:54:45 +00:00
coolsnowwolf
e34e5b584e luci-app-pptp-server: rollback pptpd server 2021-07-20 14:12:48 +08:00
coolsnowwolf
facd06ed14 luci-app-ipsec-vpnd: rules security optimization 2021-07-20 14:08:13 +08:00
Beginner
5d2b458012
luci-app-unblockmusic: fix typo error (#7448) 2021-07-20 05:43:29 +00:00
HoldOnBro
74a25bc921
qt: Update to 5.15.2 (#7444)
* Update Makefile

* Update Makefile

* Create 010-gcc11.patch
2021-07-20 10:02:11 +08:00
Beginner
12d469347a
UnblockNeteaseMusic: bump to latest git HEAD (#7440)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-20 09:59:50 +08:00
Beginner
1768458fc1
UnblockNeteaseMusic-Go: Update to 0.2.12 (#7441)
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-20 09:59:28 +08:00
Beginner
051dcb72bd
luci-app-unblockmusic: tidy up Makefile (#7442)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-07-20 09:59:15 +08:00
coolsnowwolf
19741fb812 luci-app-ipsec-vpnd: change zh-cn po 2021-07-20 00:22:58 +08:00
coolsnowwolf
567628d38b luci-app-ipsec-vpnd: add rule settings 2021-07-19 23:20:44 +08:00
Beginner
a38acb62a9
libs: sync upstream (#7420)
* elfutils: update to 0.182

Add --disable-libdebuginfod with remove libcurl dependency.

Remove totally unused host elfutils.

Refreshed and rebased patches.

Also happens to fix compilation with GCC11.

Newer versions of elfutils seem to have some kind of dependency on
obstack.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libcap: update to 2.51

Switched to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libnftnl: update to 1.2.0

Switch to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* libpcap: update to 1.10.1

Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* mbedtls: update to 2.16.11

Switched to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* nettle: update to 3.7.3

Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* pcre: update to 8.45

Switch to AUTORELEASE to avoid manual increments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-07-19 12:56:38 +00:00
Beginner
3865fb059b
util-linux: update to 2.37 (#7427)
Switched to AUTORELEASE to avoid manual increments.

Changed PKG_LICENSE to SPDX format.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-07-19 12:50:07 +00:00
Beginner
7f94662b94
dnsmasq: add /tmp/hosts/ to jail_mount (#7438)
Programs like the olsr-name-plugin write hostname files to "/tmp/hosts/".
If you don't add this to the jail_mount, dnsmasq can't read it anymore.

Signed-off-by: Nick Hainke <vincent@systemli.org>

Co-authored-by: Nick Hainke <vincent@systemli.org>
2021-07-19 12:49:50 +00:00
coolsnowwolf
e7b3959470 mtk_apcli: move catagory 2021-07-19 18:56:46 +08:00
coolsnowwolf
4329a501b5 pacakge: add mtk_apcli for mt proprietary driver 2021-07-19 18:53:24 +08:00
coolsnowwolf
ea79bf45a6 ramips: add wireless tool for K2P 2021-07-19 17:05:35 +08:00
coolsnowwolf
7bfab38104 nss pacakge: rename package 2021-07-19 12:52:07 +08:00
AmadeusGhost
2848dc4722
ipq40xx: add qca-rfs and qca-ssdk support (#7410)
Also fix the limitation of the original makefile
so that it can be compiled on arm.
Fixes: eac26cc (ipq807x: add Redmi/Xiaomi support")
2021-07-18 22:53:04 +08:00
Beginner
071719b69e
luci-app-jd-dailybonus: use uclient-fetch replace wget (#7422)
Co-authored-by: Mattraks <16359027+Mattraks@users.noreply.github.com>
2021-07-18 14:41:44 +08:00
coolsnowwolf
f0d208f443 ath11k: Update signal filled flag during sta_statistics drv 2021-07-16 16:50:37 +08:00
AmadeusGhost
ef375fa1c2
mentohust: add package (#7400) 2021-07-16 06:22:57 +00:00
Beginner
7fa4c56a1c
mt76: update to the latest version (#7399) 2021-07-16 02:18:24 +00:00
coolsnowwolf
770e3a0e9e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-16 10:11:51 +08:00
coolsnowwolf
23e72ed38c remove luci-app-dnsfilter 2021-07-16 10:11:42 +08:00
Beginner
37f8d160c7
luci-app-arpbind: fix init doesn't work (#7397)
Added missing START and STOP priorities, also removed the useless
references to functions.

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-16 02:09:33 +00:00
Beginner
25ccbb49aa
dnsproxy: remove unnecessary args (#7396)
Go toolchain will scan the dependencies automatically.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-15 16:52:58 +00:00
coolsnowwolf
467e89a2b6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-15 22:12:53 +08:00
coolsnowwolf
6d64ad25d0 mt7615: reduce noise log 2021-07-15 22:12:39 +08:00
Beginner
5aa1f7fcbd
hostapd: add "force" parameter for channel switch (#7394)
This will restart the interface in case the CSA fails and can be used to
force the device on a DFS channel (including full CAC)

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 13:31:45 +00:00
coolsnowwolf
d2400e73ea Version update to R21.7.15 2021-07-15 16:18:29 +08:00
coolsnowwolf
55b7d1afe9 uugamebooster: fix download path 2021-07-15 11:28:47 +08:00
Beginner
889ce56607
mac80211: sync upstream (#7387)
* mac80211: merge the virtual time based airtime scheduler

Improves airtime fairness, especially for devices with larger firmware buffers

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

* mac80211: merge a 4-addr client mode fix

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

* mac80211: backport SAR power limit support

Needed for an upcoming mt76 update

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

* mt76: update to the latest version

624c681ef0c6 mt76: mt7921: enable VHT BFee capability
a27dfcb63ccf mt76: connac: fix UC entry is being overwritten
6b691e62470e mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref
b14365bea586 mt76: mt7921: wake the device before dumping power table
82af16bddfc0 mt76: mt7921: make mt7921_set_channel static
b24598b1c1a9 mt76: connac: add mt76_connac_mcu_get_nic_capability utility routine
5954e3381ff9 mt76: testmode: move chip-specific stats dump before common stats
fd5b612f9aa4 mt76: mt7915: fix rx fcs error count in testmode
d9d26a294f7b mt76: connac: fix the maximum interval schedule scan can support
ed39c882f388 mt76: reduce rx buffer size to 2048
60f3d3adbba6 mt76: move mt76_get_next_pkt_id in mt76.h
67ed4d902c84 mt76: connac: check band caps in mt76_connac_mcu_set_rate_txpower
23c6ec49c000 mt76: make mt76_update_survey() per phy
5ca602fb9455 mt76: mt7915: introduce mt7915_mcu_set_txbf()
c13df42282e9 mt76: mt7915: improve MU stability
dee7dcddcaa0 mt76: use SPDX header file comment style
6fbd47153b3d mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
1b97dd1762ca mt76: mt7921: fix sta_state incorrect implementation
1b89053b5a6f mt76: mt7921: improve code readability for mt7921_update_txs
126649816785 mt76: mt7921: limit txpower according to userlevel power
a5163ac09be2 mt76: mt7921: introduce dedicated control for deep_sleep
e47c04db4d7e mt76: mt7921: fix kernel warning when reset on vif is not sta
063d3611662c mt76: mt7921: fix the coredump is being truncated
12bf28feba7c mt76: fix iv and CCMP header insertion
949327e76ee4 mt76: disable TWT capabilities for the moment
3530254c1bc9 mt76: mt7921: enable HE BFee capability
599e35f5d9b8 mt76: sdio: do not run mt76_txq_schedule directly
3b6d30c28946 mt76: mt7663s: rely on pm reference counting
529d55a79088 mt76: mt7663s: rely on mt76_connac_pm_ref/mt76_connac_pm_unref in tx path
ef44ff116ee2 mt76: mt7663s: enable runtime-pm
3a71e71a555e mt76: mt7615: set macwork timeout according to runtime-pm
925d96e443a4 mt76: mt7921: allow chip reset during device restart
63b114d84361 mt76: mt76x0e: fix device hang during suspend/resume
7f5ea5e2fd10 mt7915: check return code of sysfs_create_link
ca64a36908b7 mt76: fix mt76_rates for the multiple devices
f517116bf14c mt76: add mt76_default_basic_rate more devices can rely on
6c70b0100513 mt76: mt7921: fix mgmt frame using unexpected bitrate
c00a9a6b52af mt76: mt7915: fix mgmt frame using unexpected bitrate
0e4089949565 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
55f314120ef2 mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event
541cd3276488 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
817761e87c4f mt76: mt7921: fix endianness warning in mt7921_update_txs
b8eca74bbd7b mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
5e5e07f0def3 mt76: mt7915: fix potential overflow of eeprom page index
abda4cded420 mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
535899f81a46 mt76: mt7915: fix calling mt76_wcid_alloc with incorrect parameter
adfa1b9a3ca0 mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
2a65b105ea4a mt76: mt7921: enable aspm by default
c57158c82804 mt76: fix build error implicit enumeration conversion
41f607cab83c mt76: mt7921: fix survey-dump reporting
25b4f885a937 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
e63fadb87fe1 mt76: mt7915: report HE MU radiotap
135ef3e9827a mt76: mt7915: adapt new firmware to update BA winsize for Rx session
7118eacb7ce4 mt76: mt7921: add .set_sar_specs support
f1f6569da408 mt76: mt7915: fix an off-by-one bound check
f7da39467965 mt76 mt7915: take RCU read lock when calling ieee80211_bss_get_elem()
87af8e5c72b1 mt76: mt7915: cleanup -Wunused-but-set-variable
8e2d383fbd92 mt76: mt7915: report tx rate directly from tx status
ddce30977591 mt76: mt7915: remove mt7915_sta_stats
4ccd42029519 mt76: mt7921: introduce testmode support

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 03:23:47 +00:00
AmadeusGhost
e6f03100aa
rockchip: fixes re-boot with UHS cards (#6482) (#7380)
Some boards have SD card connectors where the power rail cannot be switched
off by the driver. If the card has not been power cycled, it may still be
using 1.8V signaling after a warm re-boot. Bootroms expecting 3.3V signaling
will fail to boot from a UHS card that continue to use 1.8V signaling.

Set initial signal voltage in mmc_power_off() to allow re-boot to function.

This fixes re-boot with UHS cards on Asus Tinker Board (Rockchip RK3288),
same issue have been seen on some Rockchip RK3399 boards.

Signed-off-by: CN_SZTL <cnsztl@immortalwrt.org>

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2021-07-14 21:57:15 +08:00
dansir
5c2745d5fc
uugamebooster: update to 2.12.0 (#7386) 2021-07-14 21:56:49 +08:00
Hyy2001X
9111ddb8b1
luci-app-nfs: fix page jump (#7368) 2021-07-13 21:11:41 +08:00
AmadeusGhost
5e34f40296
ramips: improve support for dlink and xiaomi devices (#7370)
* ramips: dlink_dir-8xx-a1: switch to breed partition

* ramips: improve support for cr660x
2021-07-13 21:11:06 +08:00
coolsnowwolf
b35d695901 ath10k-ct: remove noise log 2021-07-13 10:10:34 +08:00
HoldOnBro
4e1890478e
Update docker.po (#7366)
* Update docker.po

* Update docker.lua
2021-07-13 01:43:10 +00:00
coolsnowwolf
604ceaa750 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-13 00:39:11 +08:00
coolsnowwolf
3625a73046 ramips: switch to kernel 5.10 2021-07-13 00:37:50 +08:00
Beginner
4641e712d0
hostapd: sync upstream (#7361)
* hostapd: make it possible to update station airtime weights via ubus

This allows dynamic tuning based on other runtime information

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

* hostapd: add support for enabling HE on channel switch

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

* hostapd: initialize ht/vht/he mode on channel switch by default

Use the current mode, but allow overwriting via ubus command parameters

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

* hostapd: fix uninitialized stack variable on CSA

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-12 14:06:20 +00:00
coolsnowwolf
25683fe038 ipq807x: add NSS ecm 64 support 2021-07-10 08:43:31 +08:00
coolsnowwolf
f01d2831cb wireless-regdb: add 30dbm wireless signal for CN/US region 2021-07-09 18:30:21 +08:00
coolsnowwolf
67e0aa3a01 ath10k: add tx hw 802.11 encapusaltion offloading support 2021-07-09 18:18:34 +08:00
coolsnowwolf
2513ccaf94 mac80211: NSS classify tx support 2021-07-09 17:39:01 +08:00
coolsnowwolf
ff90683203 luci-app-turboacc: add NSS-ECM support for IPQ806x/IPQ807x 2021-07-09 17:06:07 +08:00
coolsnowwolf
adf04492ee ipq806x: add NSS Hardware Offloading support 2021-07-09 17:03:34 +08:00
AmadeusGhost
b6f610d00d
luci-app-turboacc: use flow offload by default for ramips (#7320) 2021-07-09 02:01:31 +00:00
coolsnowwolf
4790aa244b mac80211: add tasklet_kill step during NSS interface take down 2021-07-08 12:57:11 +08:00
coolsnowwolf
e82fddcf0e mac80211: add support for NSS firmware 2021-07-08 12:27:04 +08:00
coolsnowwolf
f85ad474b4 luci-app-turboacc: use SFE by default 2021-07-07 15:37:06 +08:00
Beginner
3d3d099f90
dnsproxy: update to 0.38.2 (#7297) 2021-07-06 15:26:33 +00:00
AmadeusGhost
d9e4d8d981
ntfs3: update to latest git HEAD (#7295)
Removed patches that were merged upstream.
2021-07-06 15:25:42 +00:00
David Bauer
40b63f28e8 hostapd: add HE flag to get_clients
Expose the hostapd HE flag via ubus to indicate HE capable devices.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-06 14:30:48 +08:00
Martin Weinelt
935151084e hostapd: remove unused mac_buff allocation
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2021-07-06 14:30:34 +08:00
Martin Weinelt
1754452baa hostapd: report bssid, ssid and channel over ubus
Imports a function from iw to convert frequencies to channel numbers.

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
[fix potential out of bounds read]
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-07-06 14:30:16 +08:00
coolsnowwolf
01438961e6 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-06 14:29:19 +08:00
Kevin Darbyshire-Bryant
0c8e2bd7d0 dnsmasq: use local option for local domain parameter
'--local' is a synonym for '--server' so let's use '--local' in the
resultant config file for uci's 'local' instead of uci's local
parameter being turned into '--server'.  Slightly less confusion all
round.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2021-07-06 14:28:49 +08:00
Tianling Shen
0f29dec405
Revert "ath11k: fixes a memory leak as the MHI controller was allocated but never freed" (#7286)
This makes memory leak more seriously.

This reverts commit 48a880a190.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-06 06:27:21 +00:00
coolsnowwolf
6675de3732 Revert "ath11k: fix for peer memory corruption"
This reverts commit 83b29e014f.
2021-07-06 14:26:13 +08:00
coolsnowwolf
6ad4588a9b ath11k: allow vht on 2.4g 2021-07-06 00:08:31 +08:00
coolsnowwolf
83b29e014f ath11k: fix for peer memory corruption 2021-07-06 00:07:39 +08:00
coolsnowwolf
6967bf73f0 ipq807x: ax6/ax3600 use 512M RAM profile 2021-07-06 00:06:32 +08:00
coolsnowwolf
9c78339ab5 iproute2: re-nice patch 2021-07-05 22:46:11 +08:00
coolsnowwolf
c4b625f3bb iproute2: drop sprint_rate() and uses print_rate() 2021-07-05 18:40:12 +08:00
coolsnowwolf
48a880a190 ath11k: fixes a memory leak as the MHI controller was allocated but never freed 2021-07-05 18:01:22 +08:00
coolsnowwolf
d7ee5d6016 iproute2: tc: add support for NSS qdisc 2021-07-05 17:24:38 +08:00
coolsnowwolf
ddfd47b436 shortcut-fe: add simulated-driver 2021-07-05 17:11:19 +08:00
Beginner
a595602d28
luci-app-jd-dailybonus: sync upstream (#7276)
Co-authored-by: cielpy <beijiu572@gmail.com>
2021-07-05 05:35:42 +00:00
Her0R0cket
8c1df6e3c3
add qt-sql for qBittorrent-Enhanced-Edition (#7263)
add qt-sql for qBittorrent-Enhanced-Edition
2021-07-03 17:19:56 +08:00
dansir
d7bef8a8f4
packages: use old extra_command wrapper (#7259)
* dnsforwarder: use old extra_command wrapper

* zram-swap: use old extra_command wrapper

* ltq-adsl-app: use old extra_command wrapper

* ltq-vdsl-app: use old extra_command wrapper
2021-07-03 14:44:24 +08:00
coolsnowwolf
80abbb1656 x86: add luci-app-qbittorrent by default 2021-07-02 22:17:15 +08:00
qianxu2001
0deda920ef
base-files: NTP change (#7252)
https://help.aliyun.com/document_detail/92704.html
2021-07-02 21:39:39 +08:00
AmadeusGhost
0497ccf1cc
ntfs3: simplified patch (#7255)
However, I'm not sure whether the changes below kernel 4.14
are correct, use at your own risk.
2021-07-02 21:37:47 +08:00
Beginner
34ad4fec88
luci-app-dnsfilter: fixed failure to start (#7247)
Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-07-02 15:36:00 +08:00
coolsnowwolf
4a06bf69e4 ntfs3: backport support to kernel 4.9 2021-07-01 16:59:40 +08:00
coolsnowwolf
adc5d8f12d Version Update to R21.7.1.100 2021-07-01 16:41:11 +08:00
coolsnowwolf
4c552bf00e luci-app-dnsfilter: add zh_Hans po 2021-07-01 15:55:37 +08:00
coolsnowwolf
c2c27b6ddf Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-07-01 15:51:33 +08:00
coolsnowwolf
dd7d3d8cb6 luci-app-dnsfilter: add package from garypang13 2021-07-01 15:51:22 +08:00
Beginner
12a44d5e54
mac80211: backport fix for nl80211 control port tx (fixes FS#3857) (#7241)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-01 05:27:14 +00:00
coolsnowwolf
a9b30b2b2d ipsec: disable ESP offload 2021-06-30 22:02:26 +08:00
Beginner
8d192ea9a4
luci-app-turboacc: some minor adjustments (#7235) 2021-06-30 13:58:32 +00:00
coolsnowwolf
382647e995 luci-app-turboacc: use old extra_command wrapper 2021-06-30 21:29:49 +08:00
coolsnowwolf
4a0fbb84ad dropbear: use old extra_command wrapper 2021-06-30 21:26:45 +08:00
Crazy365
fc00955465
fix k3screenctrl DEPENDS (#7232)
fix #7228
2021-06-30 20:37:43 +08:00
coolsnowwolf
01e4998f6d qBittorrent: add static build for lazy guys 2021-06-30 19:15:41 +08:00
coolsnowwolf
a7e39ff214 x86: gen EFI image only by default 2021-06-30 17:30:55 +08:00
coolsnowwolf
8fc5020e3e dnsmasq: sync upstream 2021-06-30 16:16:46 +08:00
Beginner
d7e0201ce9
dnsmasq: distinct Ubus names for multiple instances (#7225)
Currently, when using multiple dnsmasq instances they are all assigned
to the same Ubus instance name. This does not work, as only a single
instance can register with Ubus at a time. In the log, this leads to
`Cannot add object to UBus: Invalid argument` error messages.
Furthermore, upstream 3c93e8eb41952a9c91699386132d6fe83050e9be changes
behaviour so that instead of the log, dnsmasq exits at start instead.

With this patch, all dnsmasq instances are assigned unique names so that
they can register with Ubus concurrently. One of the enabled instances
is always assigned the previous default name "dnsmasq" to avoid breaking
backwards compatibility with other software relying on that default.
Previously, a random instance got assigned that name (while the others
produced error logs). Now, the first unnamed dnsmasq config section is
assigned the default name. If there are no unnamed dnsmasq sections the
first encountered named dnsmasq config section is assigned instead.

A similar issue exists for Dbus and was similarly addressed.

Signed-off-by: Etan Kissling <etan.kissling@gmail.com>
[tweaked commit message] dnsmasq was not crashing it is exiting
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

Co-authored-by: Etan Kissling <etan.kissling@gmail.com>
2021-06-30 05:05:20 +00:00
coolsnowwolf
5d99eeef7c luci-app-ipsec-vpnd: add strongswan-mod-kernel-libipsec 2021-06-30 13:04:33 +08:00
Beginner
ced4dc7500
mac80211: fix a regression in starting aggregation sessions on mesh interfaces (#7226)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-30 01:01:01 +08:00
coolsnowwolf
6add79ce44 fix luci-app-turboacc dependence 2021-06-29 22:37:51 +08:00
Tianling Shen
d05161e2a3
luci-app-turboacc: add the new offloading controller (#7223)
The new LuCI controller rewritten by Tianling, based on the previous
version of luci-app-flowoffload written by Lean and modified by ntlf9t.

This app merged flow offloading and shortcut-fe support into a single
package, and you can switch to each of them easily without conflicts
or rebooting. Also adapted the Qualcomm QCA NSS ECM driver
(controlling is not supported yet).

For DNS caching, the new promgrams dnsforwarder and dnsproxy were
supported, the latter one supports more advanced procotols like DoT,
DoH, and QUIC. It is useful for users whose ISP hijacked their DNS
requests.

Re-licensed under GPL-3.0-only.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-29 14:32:29 +00:00
coolsnowwolf
87d72cae64 mac80211: remove ath11k nss code temporality 2021-06-29 22:24:20 +08:00
Saxon
3e0302e832
Add docker-cli depend (#7217) 2021-06-29 18:38:17 +08:00
coolsnowwolf
892b521774 mac80211: grace code 2021-06-29 17:09:06 +08:00
coolsnowwolf
9faf3ea90d mac80211: add ipq807x dep for ath11k nss 2021-06-29 16:19:40 +08:00
coolsnowwolf
9be314ba8f mac80211: add ath11k nss dependence 2021-06-29 14:07:54 +08:00
coolsnowwolf
37efc3f069 ath11k: Update tx descriptor search index properly 2021-06-29 12:03:04 +08:00
coolsnowwolf
9e2257c44a ath11k: add hw nss ax wifi offload support 2021-06-29 11:47:43 +08:00
coolsnowwolf
aa3cc2ddfa ath11k: add decap offload support 2021-06-29 11:42:28 +08:00
Bob Cantor
d444b78fc9 base-files: wifi: tidy up the reconf code
commit 5edbd390d321532d9a697d6895a1a7c71c40bd5d rearranged the
"wifi up" code.

This commit tidies up the "wifi reconf" code so as to
keep it aligned with the "wifi up" code.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:51 +08:00
Bob Cantor
420bd45ca2 base-files: wifi: swap the order of some ubus calls
"/sbin/wifi up" makes three ubus calls:
1. ubus call network reload
2. ubus call network.wireless down
3. ubus call network.wireless up

The first and third ubus calls call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel,
so the call sequence becomes,

1. drv_mac80211_setup
2. wireless_device_setup_cancel
3. drv_mac80211_setup

This commit swaps the order of the first two ubus calls,
1. ubus call network.wireless down
2. ubus call network reload
3. ubus call network.wireless up

Consequently drv_mac80211_setup is only called once,
and two related bugs (#FS3784 and #FS3902) are no longer triggered
by /sbin/wifi.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:32 +08:00
Bob Cantor
5df9eeddbf mac80211: print an error if wifi teardown fails
drv_mac80211_teardown fails silently if the device to be torn down is
not defined.  This commit prints an error message.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:17:01 +08:00
Bob Cantor
00be744e8f mac80211: always call wireless_set_data (FS#3784)
When wifi is turned off, drv_mac80211_teardown sometimes fails (silently)
because the device to be torn down is not defined.

This situation arises if drv_mac80211_setup was called twice when
wifi was turned on.

This commit ensures that the device to be torn down is always defined
in drv_mac80211_teardown.

Steps to reproduce:

1) Use /sbin/wifi to turn on wifi.
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

2) Use /sbin/wifi to turn off wifi.
   uci set wireless.@wifi-device[0].disabled=1
   uci commit
   wifi

3) Observe that wifi is still up.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:40 +08:00
Bob Cantor
9cdb2a6cd3 mac80211: fix no_reload logic (FS#3902)
If drv_mac80211_setup is called twice with the same wifi configuration,
then the second call returns early with error HOSTAPD_START_FAILED.
(wifi works nevertheless, despite the fact that setup is incomplete.  But
"ubus call network.wireless status" erroneously reports that radio0 is down.)

The relevant part of drv_mac80211_setup is,

if [ "$no_reload" != "0" ]; then
        add_ap=1
        ubus wait_for hostapd
        local hostapd_res="$(ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}")"
        ret="$?"
        [ "$ret" != 0 -o -z "$hostapd_res" ] && {
                wireless_setup_failed HOSTAPD_START_FAILED
                return
        }
        wireless_add_process "$(jsonfilter -s "$hostapd_res" -l 1 -e @.pid)" "/usr/sbin/hostapd" 1 1
fi

This commit sets no_reload = 0 during the second call of drv_mac80211_setup.

It is perhaps worth providing a way to reproduce the situation
where drv_mac80211_setup is called twice.

When /sbin/wifi is used to turn on wifi,
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

/sbin/wifi makes the following ubus calls,
   ubus call network reload
   ubus call network.wireless down
   ubus call network.wireless up

The first and third ubus calls both call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel.
So the call sequence becomes,

   drv_mac80211_setup
   wireless_device_setup_cancel
   drv_mac80211_setup

In contrast, when LuCI is used to turn on wifi only a single call
is made to drv_mac80211_setup.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:16 +08:00
Felix Fietkau
4d4799ac4c iwinfo: update to the latest version
c9b1672f5a83 nl80211: fix path compatibility issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-29 11:11:37 +08:00
Alexey Dobrovolsky
b789e068a3 busybox: sysntpd: add trigger to reload server
sysntpd server becomes unavailable if the index of the bound
interface changes. So let's add an interface trigger to reload sysntpd.

This patch also adds the ability for the sysntpd script to handle
uci interface name from configuration.

Fixes: 4da60500ebd2 ("busybox: sysntpd: option to bind server to iface")
Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
2021-06-29 11:09:36 +08:00
coolsnowwolf
99fe6d7249 libtorrent: bump to v1.2.14 2021-06-28 13:06:24 +08:00
coolsnowwolf
03a0c027a6 qbittorrent: bump to v4.3.6 2021-06-28 11:42:55 +08:00
coolsnowwolf
0e42710c09 Revert "Update Makefile (#7205)"
This reverts commit ab5ed92656.
2021-06-28 11:36:38 +08:00
Tianling Shen
b40baddcfe
kernel: 5.10: re-add shortcut-fe patch (#7204)
* kernel: 5.10: re-add shortcut-fe patch

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* ipq807x: compat with SFE patch

Patch for ECM support includes some stuff provided by the one for sfe
alreadly, simply remove these duplicated parts.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

* qca-nss-ecm: rework netfilter conntrack notification

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-28 02:30:57 +00:00
eSir
ab5ed92656
Update Makefile (#7205) 2021-06-28 02:30:48 +00:00
libinanshu
b9ea47bdff
Perfect translation (#7202)
* Update arpbind.po

* Update sfe.po

* Update flowoffload.po
2021-06-28 00:22:18 +08:00
AmadeusGhost
41ba774971
ath10k: re-added 256qam support (#7200)
* mac80211: allow VHT on 2.4GHz

Allow VHT rate on 2.4GHz in order to use 256-QAM

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ath10k: allow VHT on 2.4GHz

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* hostapd: add vendor_vht option

hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz
Add this option to hostapd.sh so users can enable it via uci

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* mac80211: ath.mk: typo fixes

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-06-27 17:47:04 +08:00
coolsnowwolf
5e0c803478 mac80211: enable ATH10K THERMAL 2021-06-27 01:17:59 +08:00
Karel Kočí
c03bf68330 ustream-ssl: variants conflict with each other
This adds conflicts between variants of libustream pacakge.
They provide the same file and thus it should not be possible to install
them side by side.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2021-06-27 01:00:05 +08:00
coolsnowwolf
283f361f58 Revert "automount: change to NTFS3 mount"
This reverts commit 99db707263.
2021-06-26 23:26:52 +08:00
ntlf9t
b8abbb6856
update lan bat0 binding (#7190) 2021-06-25 18:48:33 +00:00
coolsnowwolf
3a87b9106c ipq807x: fix Xiaomi AX3600/AX9000 support 2021-06-26 02:47:30 +08:00
dansir
ce2874f528
luci-app-mwan3helper: update data (#7173)
gfw数据来源:https://cokebar.github.io/gfwlist2dnsmasq/gfwlist_domain.txt
ispip数据来源:https://ispip.clang.cn/
2021-06-25 04:41:15 +00:00
dansir
0d655dc5c1
luci-app-xlnetacc: luci-compat (#7159)
* luci-app-xlnetacc: 删除非必要依赖luci-compat

当前源码采用旧版luci,luci-compat此兼容包只配合新版luci使用

* default-settings: 删除非必要依赖luci-compat
2021-06-25 04:40:43 +00:00
Beginner
39fc6395fd
hostapd: add support for providing vendor specific IE elements (#7178)
They can be added as hex digit strings via the 'vendor_elements' option

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-25 04:40:25 +00:00
AmadeusGhost
f1d18ecb17
ipq-wifi: makefile bug fixes (#7180)
Fixes: eac26cc353
2021-06-25 04:40:12 +00:00
Dingcon
a2c991e755
Luci-app-diskman: update to v0.2.11 (#7170)
* Update to v0.3.4

Update to lastest version from lisaac.

* Update to v0.3.4

Update to lastest version from lisaac

* luci-lib-docker: Update to v0.3.4

Update to lastest version from lisaac.

* luci-app-diskman: Update to v0.2.11
2021-06-24 09:37:57 +00:00
Dingcon
6930f1bef1
Luci-lib-docker: Update to v0.3.4 (#7168)
* Update to v0.3.4

Update to lastest version from lisaac.

* Update to v0.3.4

Update to lastest version from lisaac

* luci-lib-docker: Update to v0.3.4

Update to lastest version from lisaac.
2021-06-24 07:11:26 +00:00
coolsnowwolf
a77abd4064 ddns-scripts_dnspod: fix dependence 2021-06-24 13:30:34 +08:00
dansir
6abd652604
hostapd: disassoc_low_ack disable by default (#7160)
https://openwrt.org/faq/disconnected_due_to_excessive_missing_acks
https://openwrt.org/faq/deauthenticated_due_to_inactivity
2021-06-24 05:26:23 +00:00
Beginner
6752f7970f
hostapd: add default_disabled option to the supplicant (#7165)
With the default configuration we generate, the supplicant starts
scanning and tries to connect to any open network when the interface
is enabled.

In some cases it can be desirable to prevent the supplicant from
scanning by itself. For example, if on the same radio an AP is
configured and an unconfigured STA is added (to be configured with
WPS), the AP might not be able to beacon until the STA stops
scanning.

In such a case, the STA configuration can still be required to set
specific settings (e.g. multi_ap_backhaul_sta) so it can't be set to
"disabled" in uci (because that would prevent the supplicant from
being run at all). The alternative is to add the "disabled" parameter
to the default network block in the supplicant configuration.

This patch adds a "default_disabled" setting in UCI which, when set,
adds the "disabled" parameter to the supplicant default network block.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>

Co-authored-by: Raphaël Mélotte <raphael.melotte@mind.be>
2021-06-24 05:25:38 +00:00
coolsnowwolf
37e0686458 ipq807x: add ath11k wireless 2021-06-24 12:26:35 +08:00
coolsnowwolf
b3908e3b65 mac80211: add ath11k support 2021-06-24 12:20:23 +08:00
coolsnowwolf
eac26cc353 ipq807x: add Redmi AX6, Xiaomi AX9000 support 2021-06-24 12:16:06 +08:00
coolsnowwolf
fb9568cbe3 kernel: bump 5.4 to 5.4.128 2021-06-24 10:49:50 +08:00
bluskai
2dee07b5c5
Update frp to v0.37.0 (#7149)
* Update frp to v0.37.0

* Update frp to v0.37.0
2021-06-23 13:23:36 +08:00
Beginner
3929e40fda
hostapd: make wnm_sleep_mode_no_keys configurable (#7150)
In the aftermath of the KRACK attacks, hostapd gained an AP-side workaround
against WNM-Sleep Mode GTK/IGTK reinstallation attacks. WNM Sleep Mode is not
enabled by default on OpenWrt, but it is configurable through the option
wnm_sleep_mode. Thus, make the AP-side workaround configurable as well by
exposing the option wnm_sleep_mode_no_keys. If you use the option
wpa_disable_eapol_key_retries and have wnm_sleep_mode enabled, you might
consider using this workaround.

Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

Co-authored-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2021-06-23 13:22:57 +08:00
coolsnowwolf
37805151b3 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-22 21:55:17 +08:00
coolsnowwolf
0a9825206d ddns-scripts_aliyun: fix VAR 2021-06-22 21:55:07 +08:00
Beginner
2c7a6b92b0
hostapd: sync upstream (#7135)
* hostapd: make country3 option configurable

The country3 option in hostapd.conf allows the third octet of the country
string to be set. It can be used e.g. to indicate indoor or outdoor use (see
hostapd.conf for further details). Make this option configurable but optional
in OpenWrt.

Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

* hostapd: fix handling of the channel utilization options

Commit 0a7657c ("hostapd: add channel utilization as config option") added the
two new uci options bss_load_update_period and chan_util_avg_period. However,
the corresponding "config_add_int" calls for these options weren't added, so
attempting to actually use these options and change their values is bound to
fail - they always stay at their defaults. Add the missing code to actually
make these options work.

Fixes: 0a7657c ("hostapd: add channel utilization as config option")
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>

Co-authored-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2021-06-22 11:07:36 +00:00
coolsnowwolf
07863551c8 ddns-scripts_aliyun: use uclient-fetch replace wget-ssl 2021-06-22 18:42:25 +08:00
coolsnowwolf
0b2a95ce24 default-settings: redirect ipv6 dns 2021-06-22 17:54:02 +08:00
coolsnowwolf
60ac048388 Version update to R21.6.22 2021-06-22 17:17:43 +08:00
coolsnowwolf
9a8c1923b2 UnblockNeteaseMusic: nodejs version use Tianling's source 2021-06-22 17:07:02 +08:00
coolsnowwolf
d60ec7c320 ntfs3: add kmod-nls-utf8 depend 2021-06-22 16:58:00 +08:00
coolsnowwolf
24714104cc autocore-arm: drop lm-sensor for ipq806x 2021-06-22 13:18:56 +08:00
coolsnowwolf
84d1b74472 autocore-arm: get rip of lm-sensor to speedup display index.html 2021-06-22 12:57:40 +08:00
Michael Yartys
248dbdb904 hostapd: add support for setting sae_pwe
Make it possible to specify the SAE mechanism for PWE derivation. The
following values are possible:

0 = hunting-and-pecking loop only
1 = hash-to-element only
2 = both hunting-and-pecking loop and hash-to-element enabled

hostapd currently defaults to hunting-and-pecking loop only.

Signed-off-by: Michael Yartys <michael.yartys@protonmail.com>
2021-06-21 15:49:10 +08:00
Dobroslaw Kijowski
31d876d11a hostapd: stop advertising 11w feature
This is a follow up of 1a9b896d ("treewide: nuke DRIVER_11W_SUPPORT").
LuCI commit ab010406 ("luci-mod-network: skip check for 802.11w feature")
skips check of the 11w feature [1]. Now advertising it in hostapd is
superfluous so stop doing it.

[1]: https://github.com/openwrt/luci/pull/4689

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
[remove outdated PKG_RELEASE bump and update to SPDX]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-06-21 15:48:51 +08:00
lean
e3b1fa5ef0 urngd: fix busy loop in case of ioctl cause high cpu usage 2021-06-21 11:52:55 +08:00
lean
e616c4b3f8 luci-app-jd-dailybonus: use wget-ssl replace wget 2021-06-21 11:37:58 +08:00
lean
e56235aa3c luci-app-unblockmusic: use uclient-fetch replace wget-ssl 2021-06-21 11:32:41 +08:00
lean
f8046684f8 luci-app-arpbind: use ip-tiny replace ip-full 2021-06-21 11:10:49 +08:00
lean
526dc79377 revert: uclient sylink to wget-ssl 2021-06-21 10:35:33 +08:00
lean
017d7d1cbd luci-app-adbyby-plus: use uclient-fetch replace wget-ssl 2021-06-21 10:03:17 +08:00
lean
80d6eac5e9 uclient: sylink to wget-ssl 2021-06-21 10:01:31 +08:00
lean
38cbf28fbc Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-21 09:27:11 +08:00
lean
1e60e3186e luci-app-adbyby-plus: replace wget-ssl with uclient-fetchuclient 2021-06-21 09:27:02 +08:00
AmadeusGhost
8554a670a0
mbedtls: add missing armv8 ce patches (#7110)
Fixes: 53f353337b
2021-06-21 00:10:07 +00:00
lean
ca7325417d luci-app-unblockmusic: add softfloat support for MIPS 2021-06-20 21:36:19 +08:00
lean
1bb9b83c5a luci-app-easymesh: add package from ntlf9t 2021-06-20 13:51:09 +08:00
dansir
89d2ce56df
dropbear: set listen interface to lan (#7100)
默认设置为“未指定”不安全
2021-06-20 05:29:18 +00:00
dansir
7143083908
base-files: NTP servers set for CN users (#7101) 2021-06-20 05:28:04 +00:00
lean
8c77c54d15 ntfs3-mount: mount NTFS with codepage utf8 2021-06-20 13:26:55 +08:00
lean
b7cb7b0185 Revert "Revert "automount: change to NTFS3 mount""
This reverts commit 46a59df3e2.
2021-06-20 13:25:06 +08:00
lean
1eed211889 dpdk: add x64 and armv8 64bit support 2021-06-19 23:16:19 +08:00
lean
607ded4bbd luci-app-cpufreq: fix governor setting 2021-06-19 22:25:24 +08:00
lean
260fbd3a46 dnsmasq: unselect DNSEC 2021-06-19 20:19:26 +08:00
Felix Fietkau
4b93d4f442 mac80211: fix an issue with wds links on 802.11ax devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 19:46:31 +08:00
lean
13ed5020f3 fstools: enable any device with non-MTD rootfs_data volume to support extroot 2021-06-19 19:26:22 +08:00
lean
46a59df3e2 Revert "automount: change to NTFS3 mount"
This reverts commit 99db707263.
2021-06-19 16:38:00 +08:00
lean
34fa22926e Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-06-19 13:03:34 +08:00
lean
bae5572a81 luci-app-docker: add data-root path config 2021-06-19 13:03:27 +08:00
Beginner
9a2df98c56
mac80211: sync upstream (#7077)
* mac80211: remove patches stripping down crypto support

Use of WPA3 and things like FILS is getting much more common, and platforms
that can't affort the extra kilobytes for this code are fading away.
Let's not hold back modern authentication methods any longer

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

* kernel: make cryptoapi support needed by mac80211 built-in

This reduces the flash space impact, since built-in code is much smaller
than a bunch of kernel modules on squashfs

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

* mac80211: remove extra patch accidentally added during rebase

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 12:44:24 +08:00
Beginner
5a80754f03
mac80211: system hang caused by deferring calls into minstrel to dequeue (#7057)
Move the aggregation check to mac80211

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

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-18 10:12:55 +08:00
Beginner
2ac40de1cb
luci-app-arpbind: Translation "IP Address" (#7058) 2021-06-18 10:12:21 +08:00
AmadeusGhost
e041b4889e
ipq40xx: add missing wifi fw (#7060) 2021-06-18 10:12:02 +08:00
lean
b3cdf4ee1b pdnsd-alt: fix turboacc dns cache 2021-06-17 23:47:51 +08:00
Felix Fietkau
a4e2bd54c6 mac80211: fix minstrel sample time check
We need to skip sampling if the next sample time is after jiffies, not before.
This patch fixes an issue where in some cases only very little sampling (or none
at all) is performed, leading to really bad data rates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:52 +08:00
Felix Fietkau
f89a6ad13d mac80211: select iwinfo
Since iwinfo is now used in the core scripts, it needs to be present on the system

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:31 +08:00
Felix Fietkau
f58e450837 mac80211: fix processing HE capabilities (FS#3871)
Use the right argument to fix setting unsupported capabilities to 0

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:15:56 +08:00
lean
3ec824b86c gmediarender: bump version 2021-06-17 16:04:31 +08:00
lean
53f353337b mbedtls: add ARMv8 Crypto Extensions AES and SSE2 on x86 2021-06-17 15:37:02 +08:00
lean
58973c3e8c linux: enable default automatic CT helper 2021-06-17 15:25:45 +08:00
lean
cf84a00c7d luci-app-qbittorrent: refresh config 2021-06-17 14:55:45 +08:00
lean
c13ad1940b luci-app-qbittorrent: drop python3 by default 2021-06-17 13:39:01 +08:00
lean
68791db727 qBittorrent: bump to v4.3.5 (QT 5.15.1) 2021-06-17 13:37:52 +08:00
lean
069d9a1d19 bcm53xx: fix phicomm-k3 wireless 2021-06-17 11:08:29 +08:00
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
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