Commit Graph

17266 Commits

Author SHA1 Message Date
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
lean
5a700745b0
luci-app-ssr-plus: add external 'proxy in proxy mode' support 2020-03-19 08:46:41 +08:00
Jeffery To
d33200824f cryptodev-linux: Fix error when compiling with 5.4 kernel
Currently, cryptodev-linux fails to compile with a
'"crypto_givcipher_type" undefined' error for targets on the 5.4 kernel,
e.g. armvirt[1].

This backports an upstream patch[2] that fixes this error.

[1]: https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/base/cryptodev-linux/compile.txt
[2]: f971e0cd4a

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-03-18 23:12:48 +01:00
CN_SZTL
2d0253af7a
luci-app-ssr-plus: fix typo error 2020-03-19 02:13:32 +08:00
Daniel Golle
50a59b3a39 hostapd: fix segfault in wpa_supplicant ubus
When introducing ubus reload support, ubus initialization was moved
to the service level instead of being carried out when adding a BSS
configuration. While this works when using wpa_supplicant in that way,
it breaks the ability to run wpa_supplicant on the command line, eg.
for debugging purposes.
Fix that by re-introducing ubus context intialization when adding
configuration.

Reported-by: @PolynomialDivision https://github.com/openwrt/openwrt/pull/2417
Fixes: 60fb4c92b6 ("hostapd: add ubus reload")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-18 19:05:22 +01:00
CN_SZTL
cb28f6ba94
luci-app-serverchan: bump to v1.47 2020-03-19 00:40:15 +08:00
CN_SZTL
379c9359f5
luci-app-ssr-plus: sync with Lean's source 2020-03-18 23:18:05 +08:00
CN_SZTL
9060f9e046
automount: avoid using uas for xhci-mtk 2020-03-18 23:16:16 +08:00
CN_SZTL
8a1778c1f4
openssl: bump to 1.1.1e release 2020-03-17 23:34:42 +08:00
CN_SZTL
5e6df644ac
Merge Official Source 2020-03-17 21:25:28 +08:00
CN_SZTL
647bd54b2f
luci-app-serverchan: sync with upstream source 2020-03-17 21:10:32 +08:00
CN_SZTL
415e56d9a2
luci-app-docker: refresh source code 2020-03-17 21:09:04 +08:00
lean
1a65bbb6f1
luci-app-adbyby-plus: update script to get rules 2020-03-17 21:01:00 +08:00
AmadeusGhost
dd48780f30
automount: remove kmod-usb-storage-uas due to broken xhci-mtk 2020-03-17 21:00:35 +08:00
CN_SZTL
16039f71b6
luci-app-ssr-plus: sync with Lean's source 2020-03-17 20:58:05 +08:00