Commit Graph

20101 Commits

Author SHA1 Message Date
Tianling Shen
fa72db9cdc
luci-app-cpufreq: fix tweak for ipq40xx/ipq806x
Reported-by: AmadeusGhost <amadeus@immortalwrt.org>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-12 21:28:10 +08:00
Tianling Shen
c97d4ee646
luci-app-cpufreq: add tweak for sunxi/cortexa53
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-12 04:19:25 +08:00
selboo
ddb09b655a
vsftpd-alt: fix ftp banner doesn't work with LuCI
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 03:14:38 +08:00
Tianling Shen
293a70b734
luci-app-cpufreq: increase boot order
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 02:58:29 +08:00
Tianling Shen
ae7a21a37b
shadowsocksr-libev: reorder patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 02:39:53 +08:00
Tianling Shen
97beb0154b
luci-app-ssr-plus: remove naiveproxy from default dependencies
Only a few people use this.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 02:30:43 +08:00
Tianling Shen
1778376f93
luci-app-ssr-plus: update dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 02:22:43 +08:00
Tianling Shen
9b2b07c2c8
shadowsocksr-libev: add support for read listening mode from config
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-10 02:19:33 +08:00
Tianling Shen
2dcbe2595b
luci-app-cpufreq: enable uci silent mode
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-09 21:57:07 +08:00
Tianling Shen
df6df28676
luci-app-cpufreq: add default tweak for firstboot
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-09 21:51:33 +08:00
Tianling Shen
c5fc507435
kernel: sysctl: enable nf_conntrack_helper by default
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-09 20:00:24 +08:00
Mattraks
2e3eee376e
luci-app-ssr-plus: add vless gRPC support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-07 17:33:15 +08:00
Tianling Shen
1546dc6357
luci-app-ssr-plus: add basic ss server support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Co-authored-by: Mattraks <mattraks@gmail.com>
2021-05-07 17:15:34 +08:00
Tianling Shen
808e42c04b
qt: add missing dependencies
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 22:28:06 +08:00
AmadeusGhost
43763c8a02
dnsmasq: refresh patches
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 21:57:30 +08:00
Tianling Shen
8d76113fff
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:28:38 +08:00
lean
0dd52aec74
luci-app-kodexplorer: fix libxml dependence
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:26:18 +08:00
Alan Swanson
d1a056f620 dnsmasq: Update to version 2.85
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>
(cherry picked from commit 3980daffa4)
2021-05-05 09:22:36 +01:00
Hauke Mehrtens
08cfc7a0d3 ltq-dsl-base: Make package nonshared to fix image builder
This package depends on the lantiq target and is only build for that
target. A normal package would be build by the SDK builder probably
under a different target and then this package will not be selected.
Mark it as nonshared to build it when the lantiq target gets build.

Fixes: FS#3773, FS#3774
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 454d514f46)
2021-05-04 22:29:38 +02:00
Hauke Mehrtens
ce41fc38ba mac80211: Update to version 5.10.34-1
The removed patches were applied upstream and are not needed anymore.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 17ac9849d3)
2021-05-04 22:29:34 +02:00
Hauke Mehrtens
a641502849 busybox: backport fix for CVE-2021-28831
This backports a fix for the low priority CVE-2021-28831:
  decompress_gunzip.c in BusyBox through 1.32.1 mishandles the error bit
  on the huft_build result pointer, with a resultant invalid free or
  segmentation fault, via malformed gzip data.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 13397b2b95)
2021-05-04 22:29:29 +02:00
Tianling Shen
b13ee7ab39
luci-app-ssr-plus: drop ss stream-cipher support
They're totally unsafe, and deprecated in new designs.
All of your data encrypted in these way could be replayed and decrypted.

For details, see:
https://shadowsocks.org/assets/whitepaper.pdf
https://phuker.github.io/shadowsocks-active-probing.html
https://github.com/edwardz246003/shadowsocks

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 01:13:09 +08:00
lean
fc5b2973c1
luci-app-kodexplorer: fix php7-mod-dom support
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-04 22:22:33 +08:00
Roger Pueyo Centelles
701d25b551 ipq40xx: add support for MikroTik SXTsq 5 ac
This commit adds support for the MikroTik SXTsq 5 ac (RBSXTsqG-5acD),
an outdoor 802.11ac wireless CPE with one 10/100/1000 Mbps Ethernet
port.

Specifications:
 - SoC: Qualcomm Atheros IPQ4018
 - RAM: 256 MB
 - Storage: 16 MB NOR
 - Wireless: IPQ4018 (SoC) 802.11a/n/ac 2x2:2, 16 dBi antennae
 - Ethernet: IPQ4018 (SoC) 1x 10/100/1000 port, 10-28 Vdc PoE in
 - 1x Ethernet LED (green)
 - 7x user-controllable LEDs
  · 1x power (blue)
  · 1x user (green)
  · 5x rssi (green)

Note:
 Serial UART is probably available on the board, but it has not been
 tested.

Flashing:
 Boot via TFTP the initramfs image. Then, upload a sysupgrade image
 via SSH and flash it normally. More info at the "Common procedures
 for MikroTik products" page https://openwrt.org/toh/mikrotik/common.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
(cherry picked from commit d1f1e5269e)
[Compile and Run Tested]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-05-03 14:57:29 +02:00
Robert Marko
3ce7f1e477 ipq40xx: add MikroTik hAP ac2 support
This adds support for the MikroTik RouterBOARD RBD52G-5HacD2HnD-TC
(hAP ac²), a  indoor dual band, dual-radio 802.11ac
wireless AP with integrated omnidirectional antennae, USB port and  five
10/100/1000 Mbps Ethernet ports.

See https://mikrotik.com/product/hap_ac2 for more info.

Specifications:
 - SoC: Qualcomm Atheros IPQ4018
 - RAM: 128 MB
 - Storage: 16 MB NOR
 - Wireless:
   · Built-in IPQ4018 (SoC) 802.11b/g/n 2x2:2, 2.5 dBi antennae
   · Built-in IPQ4018 (SoC) 802.11a/n/ac 2x2:2, 2.5 dBi antennae
 - Ethernet: Built-in IPQ4018 (SoC, QCA8075) , 5x 1000/100/10 port,
             passive PoE in
- 1x USB Type A port

Installation:
Boot the initramfs image via TFTP and then flash the sysupgrade
image using "sysupgrade -n"

Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit faea7becaf)
[Compile Tested]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-05-03 14:57:29 +02:00
kuma
c8cc89c9e9
luci-app-ssr-plus: bug fixes
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 17:18:58 +08:00
Tianling Shen
83d1f37927
luci-app-ssr-plus: correct protocol place for ss
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 15:47:11 +08:00
greekstreet
1e1e202b3b
luci-app-ssr-plus: make it compatible with procps-ng-ps
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 15:47:11 +08:00
zxlhhyccc
d5faba8973
luci-app-adbyby-plus: fix typo error
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-02 18:04:51 +08:00
Tianling Shen
41cb458f3d
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-29 13:58:01 +08:00
AmadeusGhost
26493cbb22
r8168: switch to use git source
There's no reason to keep the src here.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-29 13:49:16 +08:00
AmadeusGhost
3efef60d5b
r8168: add LED configuration from OF
This adds the ability to configure the LED configuration register using
OF. This way, the correct value for board specific LED configuration can
be determined.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-29 13:36:42 +08:00
Tianling Shen
aeb61021db
Revert "r8168: a ugly hack to light up LAN led on NanoPi R4S"
This reverts commit 6c3f6d2686.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-29 13:36:33 +08:00
Felix Fietkau
f066ee2ad5 mac80211: minstrel_ht: fix issue in calculating success probability
Missing braces in a macro were leading to badly working rates sometimes
getting a success probabilty of 1.0

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 12cb52bd06)
2021-04-28 21:11:15 +02:00
Tianling Shen
53c46cbd3a
v2ray: remove package
This is replaced by v2ray-core.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-28 00:13:43 +08:00
Beginner
2d51a75d2e
v2ray-core: update to 4.38.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-28 00:13:43 +08:00
Tianling Shen
3db41f77a1
UnblockNeteaseMusic-Go: Update to 0.2.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-26 23:36:41 +08:00
Mattraks
17fdfe2ad8
luci-app-ssr-plus: allow run socks5 server independently
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-26 17:39:37 +08:00
zxlhhyccc
ee6c4d2d52
luci-app-qbittorrent: fix typo error
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-25 21:05:35 +08:00
Tianling Shen
173c2af216
luci-app-n2n_v2: fix typo error
Fixes: fb950f2786 ("treewide: add ACL dependency annotations to legacy controllers")

Reported-by: fuqiang03
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-21 23:58:09 +08:00
Mattraks
9077558947
luci-app-ssr-plus: bump to 183-11
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-21 15:53:01 +08:00
msylgj
fb950f2786
treewide: add ACL dependency annotations to legacy controllers
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-21 14:48:31 +08:00
Tianling Shen
ea54d53dd1
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-20 18:01:44 +08:00
EnnawYang
dfafd54529
cypress-firmware: bump to v5.4.18-2021_0114
Ref: https://community.cypress.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-01-14/m-p/268899
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-20 17:45:58 +08:00
Florian Eckert
15cd9a5d5c ltq-vdsl-app: extent dsl metrics with state_num and power_state_num
With the old ubus dsl API, the numbers for the individual line_states and
power_states were also returned. These were not ported to the new DSL
C-API. This commit adds the missing information.

For this the internal values are mapped to numbers.

* additional JSON output for state_num:
"state_num": <map_state_number>

Since not all values are meaningful only the following values are
implemented, this can be extended if the future.

* LSTATE_MAP_NOT_INITIALIZED
* LSTATE_MAP_EXCEPTION
* LSTATE_MAP_IDLE
* LSTATE_MAP_SILENT
* LSTATE_MAP_HANDSHAKE
* LSTATE_MAP_FULL_INIT
* LSTATE_MAP_SHOWTIME_NO_SYNC
* LSTATE_MAP_SHOWTIME_TC_SYNC
* LSTATE_MAP_RESYNC

* additinal JSON output for power_level:
"power_state_num": <map_power_satte_number>,

Since there are not so many here, all are mapped.

* PSTATE_MAP_NA,
* PSTATE_MAP_L0,
* PSTATE_MAP_L1,
* PSTATE_MAP_L2,
* PSTATE_MAP_L3,

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
v6:
Add state LSTATE_MAP_NOT_INITILIZED at the beginning of the list
Start the list LSTATE_MAP with -1
Reviewed-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 4407d45d96)
2021-04-19 23:25:02 +02:00
Jeroen Peelaerts
dd43fae67b lantiq: use ActualNetDataRate for speed reporting
Switch to Actual Net Data Rate (ACTNDR) for speed reporting on lantiq VDSL modems

Refer to ITU-T G.997.1 chapter 7.5.2.8

Independent whether retransmission is used or not in a given transmit direction:
-   In L0 state, this parameter reports the Net Data Rate (as specified in G.992.3, G.992.5 or G.993.2) at which the bearer channel is operating.
-   In  L2 state, the parameter contains the Net Data Rate (as specified in G.992.3, G.992.5 or G.993.2) in the previous L0 state.

Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
Reviewed-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 4f27ea7c33)
2021-04-19 23:24:57 +02:00
Jeroen Peelaerts
51a5053300 lantiq: enable G.INP retransmission counters
This commit adds monitoring for a couple of DSL line features that are
present in the lantiq firmware blobs.

* G.INP ON/OFF
* Trellis encoding ON/OFF
* Virtaul Noise ON/OFF
* Bitswap ON/OFF

Difference in size for ltq-vdsl-app = 1k
Difference in size for kmod-ltq-vdsl-vr9 < 1k

Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
(cherry picked from commit 48162e4c0c)
2021-04-19 23:24:36 +02:00
Hauke Mehrtens
1d5aa4bde7 OpenWrt v21.02.0-rc1: revert to branch defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-19 21:10:17 +02:00
Hauke Mehrtens
2ce89a3578 OpenWrt v21.02.0-rc1: adjust config defaults
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-19 21:10:14 +02:00
Tianling Shen
34a2761548
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-18 21:44:14 +08:00