Commit Graph

17504 Commits

Author SHA1 Message Date
CN_SZTL
863b16c609
luci-app-passwall: sync with upstream source 2020-03-26 12:51:29 +08:00
CN_SZTL
778e87e31d
luci-app-vssr: sync with upstream source# 2020-03-26 12:50:09 +08:00
Henrique de Moraes Holschuh
556b8581a1 dnsmasq: fix dnssec+ntp chicken-and-egg workaround (FS#2574)
Fix the test for an enabled sysntp initscript in dnsmasq.init, and get
rid of "test -o" while at it.

Issue reproduced on openwrt-19.07 with the help of pool.ntp.br and an
RTC-less ath79 router.  dnssec-no-timecheck would be clearly missing
from /var/etc/dnsmasq.conf.* while the router was still a few days in
the past due to non-working DNSSEC + DNS-based NTP server config.

The fix was tested with the router in the "DNSSEC broken state": it
properly started dnsmasq in dnssec-no-timecheck mode, and eventually ntp
was able to resolve the server name to an IP address, and set the system
time.  DNSSEC was then enabled by SIGINT through the ntp hotplug hook,
as expected.

A missing system.ntp.enabled UCI node is required for the bug to show
up.  The reasons for why it would be missing in the first place were not
investigated.

Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
2020-03-25 21:40:51 +01:00
Henrique de Moraes Holschuh
f81403c433 dnsmasq: init: get rid of test -a and test -o
Refer to shellcheck SC2166.  There are just too many caveats that are
shell-dependent on test -a and test -o to use them.

Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
2020-03-25 21:39:20 +01:00
Jo-Philipp Wich
dd166960f4 uclient: update mirror hash
Fixes: 98017228dd ("uclient: bump to latest Git HEAD")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25 19:34:34 +01:00
Jo-Philipp Wich
98017228dd uclient: bump to latest Git HEAD
af585db uclient-fetch: support specifying advertised TLS ciphers

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25 19:32:18 +01:00
Jo-Philipp Wich
052aaa7c96 uhttpd: bump to latest Git HEAD
5e9c23c client: allow keep-alive for POST requests
5fc551d tls: support specifying accepted TLS ciphers

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25 19:22:10 +01:00
Jo-Philipp Wich
cd23dc1d21 ustream-ssl: bump to latest Git HEAD
5e1bc34 ustream-openssl: clear error stack before SSL_read/SSL_write
f7f93ad add support for specifying usable ciphers

Also bump the ABI version since the layout of `struct ustream_ssl_ops`
changed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25 19:16:19 +01:00
Xiaofu
e8b81e48fe
luci-app-adbyby_plus: bugfix (#4020) 2020-03-26 00:42:04 +08:00
Mattraks
be1db7fd77
luci-app-ssr-plus:Fix update.lua (#4018) 2020-03-26 00:41:41 +08:00
AmadeusGhost
24272a4a36
simple-obfs: update to latest git head to fix build on gcc9 2020-03-26 00:39:58 +08:00
CN_SZTL
fb3632c8be
clash: remove outdated package 2020-03-26 00:22:33 +08:00
CN_SZTL
895f2a3789
luci-app-ssr-plus: fix define uci (fix project-openwrt/openwrt-latest#15) 2020-03-25 23:40:41 +08:00
lean
011d47320d
luci-app-ssr-plus: update china_ssr.txt 2020-03-25 21:43:25 +08:00
CN_SZTL
640cd1bec4
subconverter: bump to latest git HEAD 2020-03-25 19:47:37 +08:00
CN_SZTL
256d3436f5
Kernel Modules/USB Net: add support for Aquantia AQtion USB to 5/2.5GbE Controllers 2020-03-25 19:36:15 +08:00
CN_SZTL
0b86dc8a1d
trojan: bump to 1.15.1 2020-03-25 19:18:22 +08:00
CN_SZTL
3dc3199b77
luci-app-passwall: sync with upstream source 2020-03-25 19:17:09 +08:00
CN_SZTL
b34416b495
luci-app-vssr: sync with upstream source 2020-03-25 19:15:57 +08:00
lean
6c4a608c17
luci-app-ssr-plus: return quic by default 2020-03-25 19:14:44 +08:00
Mattraks
a9c19a1cfd
v2ray: bump to V4.23.1 (#3979) 2020-03-25 19:14:14 +08:00
lean
6140a52020
luci-app-ssr-plus: force ssr-monitor to enable ssr-redir 2020-03-25 19:13:00 +08:00
ElonH
1f308a69e0
mt76: refresh patches 2020-03-25 19:02:31 +08:00
ElonH
baffc0df9a
luci-ap-filebrowser: more robust 2020-03-25 16:53:28 +08:00
ElonH
a9eb46d7a5
luci-app-rclone: more robust 2020-03-25 16:52:54 +08:00
CN_SZTL
2048886966
rtl8821cu: disable CONFIG_MP_VHT_HW_TX_MODE for ARM64
rtl8812au driver has some portions of code with floating point (only used when CONFIG_MP_VHT_HW_TX_MODE is enabled).
But on arm64 there are no support for soft floating-point and HW fp is disabled in kernel.
So the only way to disable CONFIG_MP_VHT_HW_TX_MODE functionality.

This fix project-openwrt/openwrt#53.
2020-03-25 06:10:55 +08:00
CN_SZTL
feab910055
rtl8821cu: bump to 5.8.1
TODO: project-openwrt/openwrt#53 is still broken.
2020-03-25 06:10:44 +08:00
CN_SZTL
d9cca5443b
Merge Official Source 2020-03-25 04:10:09 +08:00
lean
0aead55000
luci-app-ssr-plus: fix socks5 global server auto-start 2020-03-25 04:08:07 +08:00
Kevin Darbyshire-Bryant
9b0290ffbd nftables: bump to 0.9.3
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-24 14:42:48 +00:00
CN_SZTL
672a03ee3a
verysync: rollback to 1.3.1 2020-03-24 22:28:49 +08:00
CN_SZTL
34ba359c80
ppp: add shellsync 2020-03-24 21:25:32 +08:00
CN_SZTL
f74714f616
Merge Official Source 2020-03-24 20:40:43 +08:00
lean
ac939ee905
luci-app-zerotier: adjust boot order 2020-03-24 20:25:38 +08:00
lean
cdb4f7f628
luci-app-ssr-plus: adjust boot order 2020-03-24 20:24:19 +08:00
lean
a815c3856c
luci-app-adbyby-plus: fix auto adblock plus update 2020-03-24 20:23:56 +08:00
Max Zhao
e4f3e1535c
luci-app-ssr-plus: add stop mode for netflix service (#3990)
* luci-app-ssr-plus: add stop mode for netflix service

* luci-app-ssr-plus: bump version 174.1

* luci-app-ssr-plus: use 'nil' value to replace empty value in stop mode
2020-03-24 20:23:31 +08:00
Mattraks
18c85db47e
luci-app-ssr-plus:Add gfwlist update URL (#3965) 2020-03-24 20:23:02 +08:00
Kevin Darbyshire-Bryant
a0027f8dbf libnftnl: drop unsupported configure option
--without-json-parsing is not a supported configure option.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-23 21:31:05 +00:00
CN_SZTL
6db1d8f54d
OpenClash: sync with upstream source 2020-03-24 05:11:46 +08:00
CN_SZTL
df0352da9d
luci-app-serverchan: bump to v1.48 2020-03-24 05:11:00 +08:00
CN_SZTL
1280133094
luci-app-passwall: update to 3.6-29 2020-03-24 05:10:37 +08:00
CN_SZTL
00a242a11e
luci-app-vssr: sync with upstream source 2020-03-24 05:10:06 +08:00
CN_SZTL
c23b2107be
Merge Official Source 2020-03-24 05:03:23 +08:00
lean
d146782371
kernel: revert kernel modules for rtl8152 based usb-to-ethernet converters 2020-03-24 04:58:55 +08:00
lean
d9710f6084
luci-app-ssr-plus: use icmp ping first, fallback to tcpping 2020-03-24 04:58:33 +08:00
lean
26afa12472
luci-app-ssr-plus: enhance Netflix rules at "same" mode 2020-03-24 04:58:10 +08:00
Max Zhao
6607b2e3ad
trojan : update to 1.50.0 (#3962) 2020-03-24 04:52:44 +08:00
Álvaro Fernández Rojas
31922c4560 bcm27xx-userland: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-03-23 09:06:49 +01:00
Álvaro Fernández Rojas
8c02e7fe9f bcm27xx-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-03-23 08:55:14 +01:00
Jordan Sokolic
27ffd5ee30 dnsmasq: add 'scriptarp' option
Add option 'scriptarp' to uci dnsmasq config to enable --script-arp functions.
The default setting is false, meaning any scripts in `/etc/hotplug.d/neigh` intended
to be triggered by `/usr/lib/dnsmasq/dhcp-script.sh` will fail to execute.

Also enable --script-arp if has_handlers returns true.

Signed-off-by: Jordan Sokolic <oofnik@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
2020-03-22 22:17:37 +01:00
CN_SZTL
1477e7265d
OpenClash: bump to v0.37.1-beta 2020-03-23 02:52:38 +08:00
lean
ac0ace3923
luci-app-ssr-plus: add proxychains-ng depend 2020-03-23 02:43:23 +08:00
CN_SZTL
034ead44b6
ipt2socks: bump to latest version 2020-03-23 02:39:19 +08:00
lean
7fb776e101
luci-app-ssr-plus:fix typo 2020-03-23 02:38:17 +08:00
CN_SZTL
6003536308
v2ray: bump to 4.23.0 2020-03-23 02:37:53 +08:00
lean
ff5f1e25bb
luci-app-ssr-plus: add ss/v2ray/trojan global socks5 ssr server support 2020-03-23 02:37:40 +08:00
CN_SZTL
9edab76fd3
chinadns-ng: bump to 1.0-beta.18 2020-03-23 02:37:13 +08:00
CN_SZTL
8147a1c5cf
luci-app-passwall: sync with upstream source 2020-03-23 01:33:29 +08:00
lean
b8a7ffc386
luci-app-ssr-plus: fix global socks5 ssr server support 2020-03-23 01:00:49 +08:00
lean
e4cadb641e
luci-app-ssr-plus: global socks5 server is back 2020-03-23 00:31:33 +08:00
CN_SZTL
cc4f87c9e1
default-settings: adjust for LuCI 2020-03-23 00:16:57 +08:00
CN_SZTL
4b17f673c3
luci-app-vlmcsd: init: convert to procd 2020-03-23 00:12:36 +08:00
CN_SZTL
28992ba615
luci-app-dockerman: sync with upstream source 2020-03-22 23:57:46 +08:00
CN_SZTL
c0fd0410cc
base-files: easy to use 2020-03-22 23:50:46 +08:00
CN_SZTL
8a18f5d68d
luci-app-dockerman: fix translation 2020-03-22 23:41:53 +08:00
CN_SZTL
1c9d66644c
luci-theme-bootstrap-mod: remove outdated package 2020-03-22 23:38:38 +08:00
CN_SZTL
6d4a9d0e6b
proxychains-ng: remove duplicate package 2020-03-22 22:00:20 +08:00
lean
a486ac893e
luci-app-ssr-plus: using auto tcpping first then icmp ping 2020-03-22 21:20:20 +08:00
lean
b590d1d6a4
tcpping: add tcpping tool 2020-03-22 21:17:41 +08:00
CN_SZTL
145516a4ec
Merge Official Source 2020-03-22 19:36:06 +08:00
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
David Bauer
46d0ce19f1 iwinfo: update to latest Git HEAD
9f5a7c4 iwinfo: add missing HT modename for HT-None
06a03c9 Revert "iwinfo: add BSS load element to scan result"
9a4bae8 iwinfo: add device id for Qualcomm Atheros QCA9990
eba5a20 iwinfo: add device id for BCM43602
a6914dc iwinfo: add BSS load element to scan result
bb21698 iwinfo: add device id for Atheros AR9287
7483398 iwinfo: add device id for MediaTek MT7615E

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-03-22 02:08:02 +01: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
Rafał Miłecki
8c33debb52 samba36: log error if getting device info failed
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-03-21 22:35:45 +01:00
Rafał Miłecki
547f1ec25a busybox: enable truncate on bcm53xx target
It's needed for optimized sysupgrade. On host machine this change
increased busybox size by 4096 B.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-03-21 22:31:35 +01: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
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
lean
ded992b0f9
luci-app-ssr-plus: add Netflix shunting mode for SS/SSR/V2 2020-03-17 20:46:27 +08:00
lean
975c8067b3
luci-app-ssr-plus: deal with wrong node info 2020-03-17 20:43:05 +08:00
Leon M. George
b78f61c336 hostapd: fix pointer cast warnings
Signed-off-by: Leon M. George <leon@georgemail.eu>
2020-03-17 10:23:28 +01:00
Leon M. George
a8a993e64c hostapd: remove trailing whitespace
Signed-off-by: Leon M. George <leon@georgemail.eu>
2020-03-17 10:23:28 +01:00
ElonH
8fc9f893d7
ootoc: remove var dir 2020-03-17 14:53:13 +08:00
Martin Blumenstingl
0dbe8b9029 lantiq: ltq-tapi: fix compilation with newer Linux kernels
Compiling the ltq-tapi driver against Linux 5.4 results in a compile
error complaining that the size of struct sched_param is not known.
Switch the existing "sched/types.h" include to reference
include/uapi/linux/sched/types.h to fix compilation against Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2020-03-16 22:28:16 +01:00
Martin Blumenstingl
588d574eb9 lantiq: ltq-deu: fix compatibility with Linux 5.3+
Upstream commit 84ede58dfcd1d ("crypto: hash - remove
CRYPTO_ALG_TYPE_DIGEST") drops the CRYPTO_ALG_TYPE_DIGEST define because
it has the same value as CRYPTO_ALG_TYPE_HASH. This was the case for
earlier kernels as well. Switch to CRYPTO_ALG_TYPE_HASH to fix building
against Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2020-03-16 22:28:16 +01:00
Martin Blumenstingl
3fa5f058f6 lantiq: ltq-vdsl: fix compilation with Linux 5.0+
Upstream commit e4b92b108c6cd6 ("timekeeping: remove obsolete time
accessors") removed do_gettimeofday(). In Linux 4.19 this was only a
wrapper around ktime_get_real_ts64(). Use ktime_get_real_ts64() now that
the wrapper is gone to fix compilation against Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
2020-03-16 22:28:16 +01:00
Mathias Kresin
a6698551e5 ltq-adsl: fix compilation with Linux 5.0+
Upstream commit e4b92b108c6cd6 ("timekeeping: remove obsolete time
accessors") removed do_gettimeofday(). In Linux 4.19 this was only a
wrapper around ktime_get_real_ts64(). Use ktime_get_real_ts64() now that
the wrapper is gone to fix compilation against Linux 5.4.

Move the ifxmips_mei_interface header to the include directory, it can't
be found otherwise during compilation. The reason for the changed
behaviour is not yet clear, however having header files in an include
directory is more straight forward.

To use the of_device_id struct, the mod_devicetable header need to be
included. Instead of including this header, include the of_platform
header, which includes the mod_devicetable on its own.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-03-16 22:28:16 +01:00
Mathias Kresin
a3539c82cb ltq-atm: add Linux 5.0+ compatibility
Upstream commit 96d4f267e40f95 ("Remove 'type' argument from access_ok()
function") removes the first argument to access_ok.
Adjust the code so it builds with Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-03-16 22:28:16 +01:00
Mathias Kresin
c01c01891c kernel: kmod-serial-8250: fix linux 5.3 dependencies
Beginning with linux 5.3, kmod-serial-8250 uses functions provided by
serial_mctrl_gpio.ko if GPIO support is enabled.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-03-16 22:28:16 +01:00
Petr Štetiar
52e6fb1369 rpcd: fix respawn settings
Commit 432ec292cc ("rpcd: add respawn param") has introduced infinite
restarting of the service which could be reached over network. This is
not recommended security practice as it might give potential adversary
infinite number of tries in case there might be some issue in the rpcd
or its surrounding stack.

So lets remove the currently bogus `respawn_retry` variable (it wasn't
possible to override it anyway), reverting to the previous default max.
of 5 service restarts which could be now overriden via system's UCI
settings if desired.

Cc: Jo-Philip Wich <jow@mein.io>
Cc: Florian Eckert <fe@dev.tdt.de>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Fixes: 432ec292cc ("rpcd: add respawn param")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-16 22:21:45 +01:00
Hans Dedecker
3db9b83f16 curl: bump to 7.69.1
For changes in 7.69.1; see https://curl.haxx.se/changes.html#7_69_1

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-03-16 21:31:01 +01:00
Rozhuk Ivan
d890f85e59 wwan: fix hotplug event handling
Hotplug manager send: "remove" -> "add" -> "bind" events,
script interpret bind as "not add" = "remove" and mark device
as unavailable.

Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
2020-03-16 21:03:25 +01:00
Rozhuk Ivan
4821ff064b comgt: fix hotplug event handling
Hotplug manager send: "remove" -> "add" -> "bind" events,
script interpret bind as "not add" = "remove" and mark device
as unavailable.

Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
2020-03-16 21:02:33 +01:00
Hans Dedecker
d21f5aaa99 netifd: update to latest git HEAD
dbdef93 interface-ip: transfer prefix route ownership for deprecated ipv6addr to kernel

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-03-16 20:59:12 +01:00
Kevin Darbyshire-Bryant
77b4cb0b39 libnftnl: bump to 1.1.5
Solve missing references to nftnl_set_list_lookup_byname when building
iptables with Nftables support enabled (CONFIG_IPTABLES_NFTABLES)

Bump the ABI version to force everything to match.

/Users/kevin/wrt/staging_dir/toolchain-x86_64_gcc-9.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/9.2.0/../../../../x86_64-openwrt-linux-musl/bin/ld: xtables_nft_multi-nft-bridge.o: in function `nft_bridge_parse_lookup':
nft-bridge.c:(.text.nft_bridge_parse_lookup+0xcd): undefined reference to `nftnl_set_list_lookup_byname'
/Users/kevin/wrt/staging_dir/toolchain-x86_64_gcc-9.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/9.2.0/../../../../x86_64-openwrt-linux-musl/bin/ld: xtables_nft_multi-nft-cache.o: in function `nftnl_set_list_cb':
nft-cache.c:(.text.nftnl_set_list_cb+0x80): undefined reference to `nftnl_set_list_lookup_byname'
/Users/kevin/wrt/staging_dir/toolchain-x86_64_gcc-9.2.0_musl/lib/gcc/x86_64-openwrt-linux-musl/9.2.0/../../../../x86_64-openwrt-linux-musl/bin/ld: xtables_nft_multi-nft-cache.o: in function `fetch_set_cache':
nft-cache.c:(.text.fetch_set_cache+0x10a): undefined reference to `nftnl_set_list_lookup_byname'
collect2: error: ld returned 1 exit status
make[6]: *** [xtables-nft-multi] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [/Users/kevin/wrt/build_dir/target-x86_64_musl/linux-x86_64/iptables-1.8.4/.built] Error 2
make[2]: Leaving directory `/Users/kevin/wrt/package/network/utils/iptables'

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-16 15:49:13 +00:00
Sungbo Eo
6508766d24 kernel: make kmod-i2c-mux selected by dependent modules
Currently kmod-i2c-mux-* will not get into images unless kmod-i2c-mux is added
to DEVICE_PACKAGES as well. By changing the dependencies from "depends on" to
"select", we do not have the issue anymore.

Furthermore, we can remove most occurrences of the package from DEVICE_PACKAGES
and similar variables, as it is now pulled by dependent modules such as:
- kmod-i2c-mux-pca954x

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-03-16 16:26:29 +01:00
ElonH
54cfa96454
dnsmasq: typo fix 2020-03-16 22:34:21 +08:00
CN_SZTL
2b00b24e4c
dnsmasq: refresh patches 2020-03-16 22:16:07 +08:00
CN_SZTL
94166428b7
Merge Official Source 2020-03-16 19:48:31 +08:00
lean
38426c20b7
luci-app-ssr-plus: subscribe UA change to chrome 44 2020-03-16 19:41:01 +08:00
lean
8f2f3f23aa
luci-app-ssr-plus: update cron sh 2020-03-16 19:40:26 +08:00
lean
b04b0612be
luci-app-ssr-plus: add "apply" button and make switch flag selectable 2020-03-16 19:40:00 +08:00
AmadeusGhost
22f79f0c7b ipq40xx: improve cm520-79f support 2020-03-16 09:35:02 +08:00
CN_SZTL
d99694cd92
autocore: adjust for x86 2020-03-16 05:02:00 +08:00
CN_SZTL
c13b05832a
antfs: remove duplicate package 2020-03-16 04:53:33 +08:00
CN_SZTL
a61d72f27e
default-settings: refresh translation 2020-03-16 04:46:37 +08:00
CN_SZTL
81c88ae048
dnsmasq: add support for mini-ttl 2020-03-16 04:46:26 +08:00
Mathias Kresin
1a9408281b iproute2: revert add libcap support, enabled in ip-full
This reverts commit a6da3f9ef7.

The libcap isn't as optional as the commit messages suggests. A hard
dependency to the libcap package is added, which is only available in
the external packages feed. Therefore it is impossible to package
ip-full without having the external packages feed up and running, which
is a regression to the former behaviour.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
2020-03-15 21:38:05 +01:00
CN_SZTL
6f0f3c23fa
dnsmasq: add support for filtering AAAA record 2020-03-16 04:29:58 +08:00
CN_SZTL
ca9c6bd48a
luci-app-flowoffload: remove outdated options 2020-03-16 04:25:53 +08:00
CN_SZTL
b872355455
frp: remove duplicate packages 2020-03-16 04:23:05 +08:00
CN_SZTL
1c251d145d
Merge Official Source 2020-03-16 03:47:11 +08:00
Hans Dedecker
a5c30efeb1 odhcpd: update to latest git HEAD
6594c6b ubus: use dhcpv6 ia assignment flag
a90cc2e dhcpv6-ia: avoid setting lifetime to infinite for static assignments
bb07fa4 dhcpv4: avoid setting lifetime to infinite for static assignments

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2020-03-15 20:09:19 +01:00
Kevin Darbyshire-Bryant
d7613bd02f iptables: update to 1.8.4
Bump to iptable 1.8.4 and address packaging issue as mentioned in the
original bump/revert cycle.

"This reverts commit 10cbc896c0.
The updated iptables package does not build due to the following error
encountered on the buildbots:
    cp: cannot stat '.../iptables-1.8.4/ipkg-install/usr/lib/libiptc.so.*': No such file or directory

The changelog mentions "build: remove -Wl,--no-as-needed and libiptc.so" so
it appears as if further packaging changes are needed beyond a simple
version bump."

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-03-15 15:55:56 +00:00
CN_SZTL
91dd669cab
luci-app-passwall: sync with upstream source 2020-03-15 21:11:47 +08:00
CN_SZTL
cc38e6495c
luci-app-guest-wifi: remove outdated function 2020-03-15 18:30:14 +08:00
CN_SZTL
734a0f7654
luci-app-vssr: sync with upstream source 2020-03-15 16:32:51 +08:00
CN_SZTL
8714d9e477
ootoc: bump to v1.0.0 2020-03-15 16:32:12 +08:00
CN_SZTL
6df0af2f67
luci-app-serverchan: bump to v1.43 2020-03-15 16:31:40 +08:00
lean
506155b9c9
adbyby: update armv7 bin 2020-03-15 16:17:39 +08:00
DreamWalkerXZ
86432293c0
Add port 5222 to luci-app-ssr-plus' common mode (#3810)
5222 is the port that needed by Telegram(refer to https://core.telegram.org/mtproto/transports).
2020-03-15 16:17:20 +08:00
lean
87d7adda11
adbyby: add missing x86 32bit dependence 2020-03-15 16:16:57 +08:00
lean
ba55d79b4a
luci-app-ssr-plus: allowsecure when using h2+tls 2020-03-15 16:16:36 +08:00
CN_SZTL
7802236673
OpenClash: bump to v0.36.11-beta 2020-03-15 05:15:11 +08:00
CN_SZTL
8cb2a68000
luci-app-passwall: sync with upstream source 2020-03-15 01:09:33 +08:00
CN_SZTL
ff727c8b47
luci-app-vssr: sync with upstream source 2020-03-15 01:09:15 +08:00
CN_SZTL
61f2f0b444
luci-app-diskman: sync with upstream source 2020-03-15 01:08:05 +08:00
CN_SZTL
3532a5e53b
luci-app-clash: sync with upstream source 2020-03-15 01:07:42 +08:00
lean
a074069eb8
luci-app-adbyby-plus: avoid download loop from update server 2020-03-14 23:23:35 +08:00
CN_SZTL
60999b0cff
luci-app-233ddns: remove outdated package 2020-03-14 22:18:10 +08:00
ElonH
c14f2dd6f0
rtl88x2bu: enable jobserver 2020-03-14 21:48:19 +08:00
CN_SZTL
0def1755bb
mt-drivers: fix dependency 2020-03-14 20:52:27 +08:00
ElonH
43fa87d683
rtl8812cu: typo fix 2020-03-14 20:47:50 +08:00
CN_SZTL
711871fb59
Merge Official source 2020-03-14 19:58:39 +08:00
CN_SZTL
00b106e5f5
r8168: remove outdated package 2020-03-14 04:52:05 +08:00
Daniel Golle
0933d1363b procd: update to latest git HEAD
77a6782 jail: mount-bind /etc/resolv.conf for non-netns jails

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-13 20:06:55 +01:00
CN_SZTL
f4c2c1ba07
Merge Offcial Source 2020-03-14 03:02:25 +08:00
CN_SZTL
4303a92337
openssl: bump to v1.1.1e-dev 2020-03-14 02:50:12 +08:00
CN_SZTL
31979f15bf
luci-app-mentohust: fix file 2020-03-14 01:09:06 +08:00
CN_SZTL
6422506338
UnblockNeteaseMusic-Go: bump to 0.2.0 2020-03-13 23:44:36 +08:00