Commit Graph

16979 Commits

Author SHA1 Message Date
CN_SZTL
e519ba00a2
Merge Lean's source 2020-03-04 15:02:21 +08:00
LEAN-ESX
88f8a3b85f
luci-app-ssr-plus: change default ad-filter and chn url 2020-03-04 14:04:21 +08:00
CN_SZTL
8782ce26c8
luci-app-vssr: sync with upstream source 2020-03-04 12:20:17 +08:00
CN_SZTL
1fb7b958aa
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-04 12:19:58 +08:00
CN_SZTL
eb76dc2347
luci-app-passwall: sync with upstream source 2020-03-04 12:18:30 +08:00
CN_SZTL
766b7c3a60
luci-app-serverchan: sync with upstream source 2020-03-04 12:18:15 +08:00
CN_SZTL
a7d5817b8c
Merge Official Source 2020-03-04 11:38:14 +08:00
Xiaok
f9d70d32a2
npc: Improved compile duplicate download issues (#3521) 2020-03-04 10:14:52 +08:00
LEAN-ESX
5ef6caac0b
luci-app-ssr-plus: add support dnsmasq format ad-filter 2020-03-04 10:14:04 +08:00
Xiaok
4ed76dfbdf
luci-app-nps: Optimize translations for zh-cn (#3507)
* luci-app-nps: Adjust translations for zh-cn

* luci-app-nps: Improve log file path

* luci-app-nps: Bump release version to v4
2020-03-04 09:02:22 +08:00
LEAN-ESX
57cb8dac4e
luci-app-ssr-plus: add sock5 server username/password auth method 2020-03-04 09:01:30 +08:00
LEAN-ESX
8ffd44e023
luci-app-ssr-plus: enable unlock Netflix proxy DNS at the same server 2020-03-04 08:57:37 +08:00
Ansuel Smith
57432b9648 modules: fix dwc3-qcom wrong condition
Since now we support both kernel 4.19 and 5.2, change the
condition to remove driver when on kernel 4.14

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-03-03 23:38:23 +01:00
Alan Swanson
25cb5685c1 netifd: rename 20-smp-tune to 20-smp-packet-steering
Rename the script to be more obvious that this is for
packet steering only.

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-03 22:43:09 +01:00
Alan Swanson
d3868f15f8 netifd: change RPS/XPS handling to all CPUs and disable by default
The current implementation is significantly lowering lantiq
performace [1][2] by using RPS with non-irq CPUs and XPS
with alternating CPUs.

The previous netifd implementation (by default but could be
configured) simply used all CPUs and this patch essentially
reverts to this behaviour.

The only document suggesting using non-interrupt CPUs is Red
Hat [3] where if the network interrupt rate is extremely high
excluding the CPU that handles network interrupts *may* also
improve performance.

The original packet steering patches [4] advise that optimal
settings for the CPU mask seems to depend on architectures
and cache hierarcy so one size does not fit all. It also
advises that the overhead in processing for a lightly loaded
server can cause performance degradation.

Ideally, proper IRQ balancing is a better option with
the irqbalance daemon or manually.

The kernel does not enable packet steering by default, so
also disable in OpenWRT by default. (Though mvebu with its
hardware scheduling issues [5] might want to enable packet
steering by default.)

Change undocumented "default_ps" parameter to clearer
"packet_steering" parameter. The old parameter was only ever
set in target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
and matched the default.

[1] https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a
[2] https://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=1105
[3] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/network-rps
[4] https://marc.info/?l=linux-netdev&m=125792239522685&w=2
[5] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=2e1f6f1682d3974d8ea52310e460f1bbe470390f

Fixes: #1852
Fixes: #2573

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-03 22:43:08 +01:00
CN_SZTL
8dfcb1de35
OpenAppFilter: sync with upstream source 2020-03-03 15:33:23 +08:00
CN_SZTL
c925344519
luci-app-passwall: sync with upstream source 2020-03-03 15:32:14 +08:00
CN_SZTL
e9e934ec7c
luci-app-ssr-plus-Jo: sync with upstream source 2020-03-03 15:31:47 +08:00
CN_SZTL
cfa6d39d63
luci-app-vssr: sync with upstream source 2020-03-03 15:31:18 +08:00
CN_SZTL
52372e8c27
luci-app-serverchan: sync with upstream source 2020-03-03 15:30:43 +08:00
CN_SZTL
cff374bc8f
OpenClash: sync with upstream source 2020-03-03 15:30:20 +08:00
ElonH
9b98bbf961
luci-app-flowoffload: fix error in image production 2020-03-03 15:03:41 +08:00
CN_SZTL
39ec79d1a5
rtl88x2bu/rtl8821cu: add packages 2020-03-03 14:33:08 +08:00
CN_SZTL
d786db597d
luci-app-v2ray-server: fix v2ray server killed by ssr plus 2020-03-03 14:32:34 +08:00
CN_SZTL
20f984d376
package lienol: sync packages 2020-03-03 11:52:46 +08:00
CN_SZTL
a2cac47083
chinadns-ng: bump to 1.0-beta.16 2020-03-03 11:51:32 +08:00
CN_SZTL
4901ccf5c0
luci-app-ssr-plus:support socks5 node username/password auth method 2020-03-03 11:50:39 +08:00
ZhenYu
aad39a0cd8
dockerman: add wan mode option (#3486)
* dockerman: add wan mode option

* fix mistake

* impove notice
2020-03-03 11:27:21 +08:00
manyeechen
59106e0862
npc: bump version to v0.26.4 (#3492)
fix:
busybox与sysV环境下(openwrt)service库失效问题 #419
客户端使用http代理连接服务端问题
2020-03-03 11:27:11 +08:00
CN_SZTL
95a8510ab2
Merge Official Source 2020-03-03 11:09:24 +08:00
CN_SZTL
88f87fb20b
Merge Lean's source 2020-03-03 10:05:58 +08:00
CN_SZTL
684c89a934
smartdns: refresh DNS servers 2020-03-03 10:03:44 +08:00
Petr Štetiar
ee92838dd2 kernel: iio: fix st-accel dependencies properly
Add missing register map access SPI/I2C modules.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-02 14:48:53 +01:00
CN_SZTL
9882b97bf3
Merge Lean's source 2020-03-02 20:59:20 +08:00
CN_SZTL
e229035c61
Merge Official Source 2020-03-02 17:50:44 +08:00
CN_SZTL
83c41b4b62
luci-app-cpufreq: add cpufreq luci for ipq40xx by @coolsnowwolf 2020-03-02 16:31:41 +08:00
Petr Štetiar
4642c4864e kernel: iio: fix st-accel missing dependency
Fixes following build error on mpc85xx/p2020:

 Package kmod-iio-st_accel is missing dependencies for the following libraries:
  regmap-core.ko

Fixes: 2d8f4c4fbd ("kernel: iio: add st-accel driver modules")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-02 08:44:02 +01:00
LEAN-ESX
d95f51fb14
Update RTL8156 USB 3.0 2.5Gbps and backport for kernel 4.19 2020-03-02 13:23:02 +08:00
Tomasz Maciej Nowak
b322243d2f x86: add bootloader upgrade on sysupgrade
Currently bootloader always stays on the same version as when first
written to boot medium (not true if partition layout changed, which will
trigger sysupgrade process to write full disk image). That creates
inconveniences as it always stays with same features or/and bugs. Users
wishing to add support to additional modules or new version, would need
to write the whole image, potentially destroying previous system
configuration. To fix these, this commit adds additional routine to
sysupgrade which upgrades unconditionally the bootloader to the latest
state provided by OpenWrt.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2020-03-01 21:36:00 +01:00
Tim Harvey
1d8f21e3a0 kernel: iio: add fxos8700 driver support
Adds various kernel modules for Freescale FXOS8700 3-axis accelerometer.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tim Harvey
2d8f4c4fbd kernel: iio: add st-accel driver modules
Adds kernel modules for various STMicroelectronics accelerometers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tim Harvey
b56e669af9 kernel: can: add MCP251x CAN controller module support
Adds kernel module for Microchip MCP251x SPI CAN controller.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:36:00 +01:00
Tomasz Maciej Nowak
af878339ae uboot-mvebu: point to UBOOT_CONFIG when setting options
The BUILD_VARIANT might differ from UBOOT_CONFIG, so point to a file we
are actually changing. Being here let's call 'Build/Configure/U-Boot'
definition, instead of definig the same command. This'll be more future
proof, if U-Boot configuration procedure will change.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2020-03-01 21:36:00 +01:00
Jeffery To
12020f8a95 base-files: Add /etc/shinit for non-login shell init
Because /etc/profile (and ~/.profile) are read by login shells only,
aliases and functions defined there are not available to non-login
shells, e.g. when using screen or tmux.

If the ENV environment variable exists (exported by /etc/profile or
~/.profile) and references an existing file, then all interactive shells
(login or non-login) will read that file as well.

This sets the ENV environment variable in /etc/profile, pointing to
/etc/shinit.

This also adds /etc/shinit, which:

* Contains alias and function definitions originally in /etc/profile

* Sources /etc/mkshrc if the user is using mksh (also originally in
  /etc/profile), as /etc/mkshrc is meant for all interactive shells

* Sources ~/.mkshrc if the user is using mksh, to compensate for the
  fact that mksh will not read ~/.mkshrc if ENV is set

* Sources ~/.shinit if the user is not using mksh

This also removes the shebang from /etc/profile, as the file is sourced,
not executed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-01 21:35:59 +01:00
Petr Štetiar
2c3c83e40b ppp: activate PIE ASLR by default
This activates PIE ASLR support by default when the regular option is
selected.

Size increase on imx6:

 112681 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 121879 ppp_2.4.8-2_arm_cortex-a9_neon.ipk
 = 9198 diff

Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-01 21:35:59 +01:00
Stijn Tintel
8ce359d6bb libpcap: activate PIE ASLR by default
This activates PIE ASLR support by default when the regular option is
selected. This is required to enable PIE ASLR support by default in ppp,
as it fails to build without it, on x86/64.

The .so file size stays identical.

Suggested-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-03-01 21:35:59 +01:00
CN_SZTL
b0115b00b7
kernel/5.4: add IMQ support 2020-03-01 20:59:57 +08:00
CN_SZTL
e35b881882
luci-app-vssr: bump to v1.16-r4 2020-03-01 20:48:50 +08:00
CN_SZTL
921b23f2a3
luci-app-ssr-plus-Jo: bump to v150-r5 2020-03-01 20:48:17 +08:00
CN_SZTL
95a04250f3
luci-app-passwall: sync with upstream source 2020-03-01 20:47:38 +08:00