Commit Graph

17280 Commits

Author SHA1 Message Date
lean
d4d82f455e
luci-app-ssr-plus: add simple-obfs by default 2020-03-22 19:17:03 +08:00
Kevin Yang
5af95c7bc1
Update ssr-switch (#3908)
Co-authored-by: KevinZjYang <kevin.zi.yang@outlook.com>
2020-03-22 19:14:49 +08:00
CN_SZTL
0fb31462d2
luci-app-adbyby-plus: sync with upstream source 2020-03-22 19:11:39 +08:00
zxlhhyccc
75d38a002f update smartdns.init 2020-03-22 18:28:41 +08:00
CN_SZTL
6e0c381e61
default-settings: adjust LuCI version 2020-03-22 06:42:35 +08:00
CN_SZTL
a9c0a21fa3
autocore: fix typo error 2020-03-22 06:34:41 +08:00
CN_SZTL
4e45118e57
luci-app-flowoffload: fix path to resolv file 2020-03-22 04:12:19 +08:00
CN_SZTL
bf15cff1d4
OpenClash: sync with upstream source 2020-03-22 03:49:04 +08:00
CN_SZTL
aa0c8e231c
Merge Official Source 2020-03-22 02:12:01 +08:00
CN_SZTL
a5bb705f42
openssl: refresh patches 2020-03-22 02:06:29 +08:00
CN_SZTL
1994012b22
base-files: soft link resolv file to /tmp to compatible with some plugins 2020-03-22 01:35:00 +08:00
Christian Lamparter
d107aaa910 kernel: backport and package drivetemp hwmon from v5.5
This patch backports the hwmon drivetemp sensor module from vanilla
linux 5.5 to be available on OpenWrt's 5.4 kernel.

Extract from The upstream commit by Guenter Roeck <linux@roeck-us.net>:
hwmon: Driver for disk and solid state drives with temperature sensors

"Reading the temperature of ATA drives has been supported for years
by userspace tools such as smarttools or hddtemp. The downside of
such tools is that they need to run with super-user privilege, that
the temperatures are not reported by standard tools such as 'sensors'
or 'libsensors', and that drive temperatures are not available for use
in the kernel's thermal subsystem.

This driver solves this problem by adding support for reading the
temperature of ATA drives from the kernel using the hwmon API and
by adding a temperature zone for each drive.

With this driver, the hard disk temperature can be read [...]
using sysfs:

$ grep . /sys/class/hwmon/hwmon9/{name,temp1_input}
/sys/class/hwmon/hwmon9/name:drivetemp
/sys/class/hwmon/hwmon9/temp1_input:23000

If the drive supports SCT transport and reports temperature limits,
those are reported as well.

drivetemp-scsi-0-0
Adapter: SCSI adapter
temp1:        +27.0<C2><B0>C (low  =  +0.0<C2><B0>C, high = +60.0<C2><B0>C)
                             (crit low = -41.0<C2><B0>C, crit = +85.0<C2><B0>C)
                             (lowest = +23.0<C2><B0>C, highest = +34.0<C2><B0>C)

The driver attempts to use SCT Command Transport to read the drive
temperature. If the SCT Command Transport feature set is not available,
or if it does not report the drive temperature, drive temperatures may
be readable through SMART attributes. Since SMART attributes are not well
defined, this method is only used as fallback mechanism."

This patch incorperates a patch made by Linus Walleij:
820-libata-Assign-OF-node-to-the-SCSI-device.patch
This patch is necessary in order to wire-up the drivetemp
sensor into the device tree's thermal-zones.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-03-21 17:48:34 +01:00
Eneas U de Queiroz
dcef8d6093 openssl: update to 1.1.1e
This version includes bug and security fixes, including medium-severity
CVE-2019-1551, affecting RSA1024, RSA1536, DSA1024 & DH512 on x86_64.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-03-21 17:48:34 +01:00
Eneas U de Queiroz
d9d689589b openssl: add configuration example for afalg-sync
This adds commented configuration help for the alternate, afalg-sync
engine to /etc/ssl/openssl.cnf.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-03-21 17:48:34 +01:00
AmadeusGhost
4502203eca
luci-app-cpufreq: drop untest target (#3915)
Someone reports that it has bug in arm64
2020-03-21 22:37:10 +08:00
CN_SZTL
fcc82e37ba
autocore: show cpubench score 2020-03-21 22:32:13 +08:00
CN_SZTL
10da1d9fc0
luci-app-qbittorrent: fix get port 2020-03-21 22:01:58 +08:00
CN_SZTL
954e9cbd1c
OpenClash: sync with upstream source 2020-03-21 20:23:39 +08:00
CN_SZTL
7accfa52fe
Merge Official Source 2020-03-21 20:21:18 +08:00
ElonH
60b628981b
cpulimit-ng: missing sysctl.h 2020-03-21 19:36:03 +08:00
ElonH
80f20f2570
tmate: link openwrt's libssh instead of system 2020-03-21 18:55:45 +08:00
Paul Spooren
5a5df62d95 x86/grub2: move grub2 image creation to package
Let the grub2 package take care of creating installable grub2 images,
this will allow creating grub2 images without first calling x86 image
generation recipe. Also as side effect, since those images are now
shared, it'll reduce the number of calling grub-mkimage.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
[rebase, adjusted commit title]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-21 10:36:00 +00:00
ElonH
978a9c469b
update ootoc to v2.2.3 2020-03-21 17:47:43 +08:00
Jason A. Donenfeld
2bd56595a6 wireguard: bump to 0.0.20200318
WireGuard had a brief professional security audit. The auditors didn't find
any vulnerabilities, but they did suggest one defense-in-depth suggestion to
protect against potential API misuse down the road, mentioned below. This
compat snapshot corresponds with the patches I just pushed to Dave for
5.6-rc7.

* curve25519-x86_64: avoid use of r12

This buys us 100 extra cycles, which isn't much, but it winds up being even
faster on PaX kernels, which use r12 as a RAP register.

* wireguard: queueing: account for skb->protocol==0

This is the defense-in-depth change. We deal with skb->protocol==0 just fine,
but the advice to deal explicitly with it seems like a good idea.

* receive: remove dead code from default packet type case

A default case of a particular switch statement should never be hit, so
instead of printing a pretty debug message there, we full-on WARN(), so that
we get bug reports.

* noise: error out precomputed DH during handshake rather than config

All peer keys will now be addable, even if they're low order. However, no
handshake messages will be produced successfully. This is a more consistent
behavior with other low order keys, where the handshake just won't complete if
they're being used anywhere.

* send: use normaler alignment formula from upstream

We're trying to keep a minimal delta with upstream for the compat backport.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-21 09:42:07 +01:00
Jason A. Donenfeld
858c6b17c8 wireguard-tools: bump to 1.0.20200319
* netlink: initialize mostly unused field
* curve25519: squelch warnings on clang

Code quality improvements.

* man: fix grammar in wg(8) and wg-quick(8)
* man: backlink wg-quick(8) in wg(8)
* man: add a warning to the SaveConfig description

Man page improvements. We hope to rewrite our man pages in mdocml at some
point soon.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-21 09:41:52 +01:00
Luiz Angelo Daros de Luca
5a326688ea kernel: load rtl8366_smi and rtl8367b on boot
This external switch driver should be loaded on boot for network support
in failsafe mode.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[alter commit message]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-03-21 12:58:29 +08:00
Oldřich Jedlička
23a885bf89 mac80211: do not try to setup hostapd-managed interfaces.
For virtual access points (when multiple SSIDs are used for one
physical AP), there exist one physical network interface and
multiple virtual interfaces, which are fully under control of
hostapd. When networking is setup, the script
`/lib/netifd/wireless/mac80211.sh` is called, which tries to bring
the interface up by a call to `ip link set dev <iface> up`. This
call might fail for virtual APs, because the virtual interface
might not have been created by hostapd yet. There are some artifical
delays in the script most probably to handle this, but when DFS
channel availability check on 5GHz band is issued, hostapd can
delay creating virtual interfaces by a minute.

In order to fix this (or work around it), do not try to bring the
interface up (this is responsibility of hostapd anyway) and
do not try to set txpower on the virtual interface.

Fixes FS#2698.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-03-20 21:55:17 +00:00
Chen Minqiang
ec5e8461c1 x86: make crashdump works
1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
2. select crashkernel mem size by totalmem
   mem <= 256M disable crashkernel by default
   mem >= 4G use 256M for crashkernel
   mem >= 8G use 512M for crashkernel
   default use 128M
3. set BOOT_IMAGE in kdump.init
4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error

Tested on x86_64

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-20 21:45:06 +00:00
ElonH
2fb9962900
ootoc: update to 2.0.2 2020-03-21 01:54:19 +08:00
CN_SZTL
e5ca5e7c80
subweb: add package 2020-03-21 01:49:11 +08:00
CN_SZTL
8b48b278e0
Merge Official Source 2020-03-21 01:34:27 +08:00
CN_SZTL
196682b8bb
OpenClash: sync with upstream source 2020-03-21 01:25:42 +08:00
CN_SZTL
0108411bdc
Merge Lean's source 2020-03-21 01:24:13 +08:00
Jan Kardell
ecef29b294 readline: needs host depend on ncurses to build
We must ensure that host ncurses is build before host readline.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
2020-03-20 17:08:58 +00:00
CN_SZTL
90e84673e0
OpenClash: add trojan support 2020-03-20 04:57:20 +08:00
CN_SZTL
98e24f1af9
simple-torrent: add package 2020-03-20 04:37:31 +08:00
CN_SZTL
f1452b407b
subconverter: bump to latest git HEAD 2020-03-20 03:42:56 +08:00
CN_SZTL
d421959b56
Merge Lean's source 2020-03-20 00:21:34 +08:00
AmadeusGhost
e1c4e42327
rtl8821cu: fix build on 4.19 2020-03-19 23:13:08 +08:00
lean
59da392bf2
add support for Solarflare dula 10Gb network adapter 2020-03-19 23:12:31 +08:00
lean
855a398b47
ramips: mt7530: Implement set_port_link 2020-03-19 23:11:53 +08:00
Mattraks
031a1a82bc
luci-app-ssr-plus:Adjust custom item display (#3879) 2020-03-19 23:11:08 +08:00
CN_SZTL
dda3a521da
OpenClash: sync with upstream source 2020-03-19 20:40:09 +08:00
CN_SZTL
2c78f763c7
luci-app-serverchan: sync with upstream source 2020-03-19 20:39:33 +08:00
CN_SZTL
38e1b193ea
luci-app-vssr: sync with upstream source 2020-03-19 20:34:46 +08:00
lean
995fc2d039
luci-app-ssr-plus: fix GFW netflix mode 2020-03-19 18:49:38 +08:00
CN_SZTL
96df31be20
mac80211: allow VHT on 2.4GHz 2020-03-19 18:19:23 +08:00
LGA1150
4ec51186d1
mt76: allow VHT on 2.4GHz 2020-03-19 18:16:34 +08:00
AmadeusGhost
febeb5d36f
fix file permissions 2020-03-19 13:17:33 +08:00
CN_SZTL
6ac0acb60f
Merge Official Source 2020-03-19 08:47:43 +08:00