Commit graph

7658 commits

Author SHA1 Message Date
Jianhui Zhao
fe709078ff rp-pppoe: fix typo
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2020-11-04 20:03:01 +08:00
Florian Eckert
d561ea555f wifidog: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
9e6d28b3cb vpnbypass: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
fe4d4f0bcc vpn-policy-routing: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
3364d6665a tinc: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
1b0ddae963 tgt: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
04e52a13c4 simple-adblock: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
6f00afc97b seafile-server: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
154d2482e1 radicale: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
7184a471ef openvswitch: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
1db50a6131 nginx: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
f2820aa328 haproxy: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
0869415ce7 gnunet: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Florian Eckert
faf579b0ab apfree-wifidog: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Dirk Brenken
dd356ed900
Merge pull request #13849 from dibdot/adblock
adblock: adapt openwrt rc.common changes
2020-11-03 20:05:15 +01:00
Dirk Brenken
10da8b0b8e
Merge pull request #13848 from dibdot/banip
banip: adapt openwrt rc.common changes
2020-11-03 20:03:15 +01:00
Dirk Brenken
9922c8e3e0
adblock: adapt openwrt rc.common changes
* since openwrt master has merged the depending P/R, the old
extra_help/extra_commands syntax is no longer working, see #13798 for
reference

* removed test.sh script from package

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-11-03 19:51:46 +01:00
Dirk Brenken
14a6971589 banip: adapt openwrt rc.common changes
* since openwrt master has merged the depending P/R, the old
extra_help/extra_commands syntax is no longer working, see #13798 for
reference

* removed logd dependency, see #13820 for reference

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-11-03 19:44:22 +01:00
Dirk Brenken
65bee292d9
travelmate: adapt openwrt rc.common changes
* since openwrt master has merged the depending P/R, the old
extra_help/extra_commands syntax is no longer working, see #13798 for
reference

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-11-03 19:37:32 +01:00
Rosen Penev
4a94d960c9 usbip: remove no longer necessary udev hack
It's not only unnecessary, it interferes with libudev-zero.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-03 12:38:12 +00:00
Rosen Penev
881aa28fa1 treewide: turn specific libudev-* DEPENDS to generic ones
libudev-zero as well as libudev-fbsd have PROVIDES:=libudev . These
packages have nothing specific that requires one or the other.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-03 12:38:12 +00:00
Florian Eckert
33df7bbda8
Merge pull request #13748 from aaronjg/mwan3-owner-procd
mwan3: fix mwan3 'use'
2020-11-03 12:28:42 +01:00
Aleksander Morgado
a7108c9e12 modemmanager: include all init commands in the procd instance
If procd relaunches the ModemManager daemon after e.g. a crash, we
also want it to notify all cached hotplug events, or otherwise we
would end up leaving the daemon running without the full initial
processing done.

This change modifies the init script to include all the required init
commands as part of the procd instance command, so that procd launches
all of them on every respawn.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-11-02 10:55:17 +01:00
Rosen Penev
2d8029ad62
Merge pull request #13813 from aleksander0m/aleksander/longer-wait-for-init-events
modemmanager: increase initial timeout for event reporting
2020-11-02 00:44:05 -08:00
Rosen Penev
e2b813e3f7
Merge pull request #13755 from r-salvaterra/tor
Tor: a couple of updates
2020-11-01 13:53:12 -08:00
Rosen Penev
5fb093c101
Merge pull request #13678 from oldium/update-fwknopd-defaults
fwknop: Use sensible defaults.
2020-11-01 13:50:37 -08:00
Rosen Penev
1a8daeac5e
Merge pull request #13653 from FinnixB/znc-multiple-listeners
znc: Add support for many configurable listeners for znc
2020-11-01 13:49:53 -08:00
Rosen Penev
a9307eafc8
Merge pull request #13816 from mlichvar/chrony-improvements
chrony: improve configuration and hotplug script
2020-11-01 13:44:28 -08:00
Rosen Penev
222cad4ccc kea: fix compilation with libcxx
Boost headers try to include experimental/string_view when std is less
than c++17. This does not work ith libcxx where this header is not
present.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-31 18:23:28 -07:00
Josef Schlehofer
d442033941 bind: update to version 9.16.8
- DNS Flag Day 2020
(default EDNS buffer size changed from 4096 to 1232 bytes)

-- Added patch, which should be part of the next release
It fixes an issue while cross-compilation (I linked it in the commit
message with issue link)

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-31 06:39:05 -07:00
Aleksander Morgado
9a16087fd6 modemmanager: increase initial timeout for event reporting
When the ModemManager daemon is started by the init script, we're
explicitly calling mm_report_events_from_cache() so that all the
hotplug events that happened before that moment are properly notified
to the newly launched daemon.

This initial reporting of events does a wait for the ModemManager
process to be available in DBus, and if the daemon isn't registered in
the bus in a given time, the process is considered failed:

  Sun Sep  6 16:20:02 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:02 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:03 2020 [2180]: <info>  ModemManager (version 1.14.6) starting in system bus...
  Sun Sep  6 16:20:03 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:04 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:05 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:05 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:06 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:06 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:07 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:07 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:08 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:08 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:09 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:09 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:10 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:10 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:11 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:11 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:12 2020 ModemManager: hotplug: checking if ModemManager is available...
  Sun Sep  6 16:20:12 2020 ModemManager: hotplug: ModemManager not yet available
  Sun Sep  6 16:20:12 2020 ModemManager: hotplug: error: couldn't report initial kernel events: ModemManager not running

Update the default wait time for this initial event notification from
10s to 60s, because there are cases where the daemon is slower to
boot, e.g. during the first boot after a sysupgrade.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-10-30 23:29:55 +01:00
Miroslav Lichvar
21c0f580f1 chrony: improve configuration
Extend configuration of NTP sources in UCI:
- Add nts option to enable NTS
- Add disabled option to allow inactive sources

Add nts section to UCI with:
- rtccheck option to disable certificate time checks on systems that
  don't have an RTC to avoid the chicken-and-egg problem (it is less
  secure, but still should be better than no NTS at all)
- systemcerts option to disable system certificates
- trustedcerts option to specify path to trusted certificates

Save NTS keys and cookies by default to avoid unnecessary NTS-KE
sessions when restarted or switching back to an already used NTS source.
Also, save the drift to stabilize the clock after chronyd restart.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2020-10-30 20:57:35 +01:00
Miroslav Lichvar
b9d6d6cdd0 chrony: improve hotplug script
- Use the chronyc onoffline command to update state of all sources
  per current routing configuration
- Don't ignore the "ifupdate" action
- Add NTP servers from DHCP for the interface that went up instead of
  the wan4+wan6 interfaces
- Save the servers to files loaded by the sourcedir directive to not
  lose them when chronyd is restarted, and remove them when the
  interface goes down

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2020-10-30 20:02:48 +01:00
Miroslav Lichvar
1dc8c501a6 chrony: rework loading of configuration
Instead of loading /etc/chrony/chrony.conf from the file generated from
the chrony UCI configuration, use the confdir directive in the main
config to load the generated file. This should make it obvious that
chrony is configured in UCI and it can also be easily disabled.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2020-10-30 20:02:11 +01:00
Florian Eckert
81b8d863a7
Merge pull request #13806 from TDT-AG/pr/20201029-stunnel
stunnel: update version to 5.57
2020-10-30 16:38:13 +01:00
Yousong Zhou
f07319d6b1 xl2tpd: bump to version 1.3.16
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-10-30 15:24:27 +08:00
Aaron Goodman
13d22445e4 mwan3: fix rpcd with for routers with no IPv6 support
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-29 23:06:25 -04:00
Daniel Golle
c8bfe55026 nginx: adapt to changed ubus socket path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-29 21:02:18 +02:00
Jan Pavlinec
aa80a02340 lighttpd: add config for logrotate
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-29 15:18:54 +01:00
Florian Eckert
18a130c6bb stunnel: update version to 5.57
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-29 12:49:41 +01:00
Jannis Pinter
b5259ef5da Add option for days until renewal
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-29 10:44:57 +01:00
Rui Salvaterra
6007751c63 tor: disable man pages and html manual generation
We don't need this on an embedded system.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-10-28 22:34:01 +00:00
Rui Salvaterra
929a5a9f0c tor: add a basic variant, without relay/bridge support
If relay/bridge support isn't required, this variant is about 300 kiB smaller
than the full tor daemon.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-10-28 22:33:53 +00:00
Rui Salvaterra
a519b90fd7 tor: improve readability of the packages help text
Whitespace before and after the description makes the package information much
more obvious.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-10-28 21:12:26 +00:00
Matthieu Baerts
dfc8fdf5e5 ifstat: import fixes from Debian package
Extracted from:

  http://deb.debian.org/debian/pool/main/i/ifstat/ifstat_1.1-8.1.diff.gz

Note that I also created a new git repository with these fixes:

  https://github.com/matttbe/ifstat/

The original author of these modification is:

  Goswin von Brederlow <goswin-v-b@web.de>

ChangeLog:

  * snmp.c: fix 2 pointer targets differ in signedness warnings
  * Adding upport for 64bit /proc/net/dev counters.
  * Clean up compiler warnings.

More modifications are available in the patch from the Debian project
but mostly related to the "debian" dir, man page and debug mode. Here I
only took the modifications related to the .c and .h files.

The most important fix is related to the support for 64bit counters in
/proc/net/dev instead of displaying 0 after a while.

Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
2020-10-27 23:53:28 -07:00
Aaron Goodman
f1bfda4c37 mwan3: do not wait to process ifup/ifdown events
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-27 23:18:18 -04:00
Aaron Goodman
8d4e202fa4 mwan3: fix mwan3 route handling
- support trailing route space from iproute2
- add routes even when iface is down
- fix source_routing argument check
- add quotes in logging to better detect issues with trailing spaces

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-27 21:40:06 -04:00
Petr Štetiar
351e4e01c5 cgi-io: update to version 2020-10-27
Contains following list of changes:

 ab4c3471b261 tests: add cram based unit tests
 7b4e3241e1bd tests: add cgi-io built with clang sanitizers
 21831f45d16d Disable session ACLs during unit testing
 2f525417b5df Add initial GitLab CI support
 57f1c4f18cb6 Add .gitignore
 09f9ac5066ee Fix off-by-one in postdecode_fields
 ed8ce0d5d28b Add fuzzing of utility functions
 a61581819800 Add fuzzing of multipart_parser
 6b0615b728ed Refactor utility functions into static library
 a0ed2c9a7a72 Fix clang compiler errors
 232659da19a4 Fix possible NULL dereference
 8e5719b37a67 Fix warnings reported by clang-10 static analyzer
 b99aa8a64cca Remove Makefile

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-27 23:10:17 +01:00
Daniel Salzman
67e3c594de knot: disable libnghttp2 autodetection
Signed-off-by: Daniel Salzman <daniel.salzman@nic.cz>
2020-10-27 18:04:00 +02:00
Florian Eckert
ca5dc9754f
Merge pull request #13752 from TDT-AG/pr/20201023-xinetd
xinetd: some changes
2020-10-27 09:21:16 +01:00
Rosen Penev
3fa36bf958 softethervpn: update to 4.34-9745
Several patch changes regarding to OpenSSL as this version does not
compile under LibreSSL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-26 21:46:20 -07:00
Rosen Penev
56e4edad82 transmission: remove variants and use libcurl's TLS library
Allows the Makefile to be cleaned up and to have fewer dependencies.
There's no need for multiple TLS libraries to be installed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-26 21:45:32 -07:00
Rosen Penev
7b5513659f
Merge pull request #13768 from bmork/conserver
conserver: update to version 8.2.6
2020-10-26 19:33:10 -07:00
Olivier Poitrey
2da8c48c39 nextdns: Update to version 1.8.8
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-10-26 20:45:16 +02:00
Jan Hak
4069bb1e72 knot: update to version 3.0.1
definition of PSELECT_COMPAT could be removed many years ago, is no longer needed

Signed-off-by: Jan Hak <jan.hak@nic.cz>
2020-10-26 17:45:32 +02:00
Mengyang Li
b6119433a5 openconnect: allow specify --protocol from config
openconnect v8.10 supports 4 VPN protocols

  --protocol=anyconnect  Compatible with Cisco AnyConnect SSL VPN, as well as ocserv (default)
  --protocol=nc          Compatible with Juniper Network Connect
  --protocol=gp          Compatible with Palo Alto Networks (PAN) GlobalProtect SSL VPN
  --protocol=pulse       Compatible with Pulse Connect Secure SSL VPN

This patch allows user to specify protocol use the new "vpn_protocol"
option and deprecate the old option "juniper" which seems to be missing in
the current openconnect client.

Signed-off-by: Mengyang Li <mayli.he@gmail.com>
2020-10-25 21:44:32 +01:00
Bjørn Mork
cff9e9e660 conserver: update to version 8.2.6
version 8.2.6 (October 19, 2020):
        - try and address license concerns with LICENSE.md
        - replace usleep with nanosleep (Rosen Penev <rosenp@gmail.com>)
        - console: Add 'k' option to exit on console-down (Mylène Josserand <mylene.josserand@collabora.com>)
        - Fix #48 - apply ipv4 CIDR access list when compiled with ipv6 support

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2020-10-25 19:24:52 +01:00
Lucian Cristian
80ac8dac11 libreswan: update to 4.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-10-25 16:09:13 +02:00
Richard Gering
29a4f8bbb7 banip: Added packet logging feature. Resolved shellcheck warnings.
Signed-off-by: Richard Gering <rg4github@dutchies.us>
2020-10-24 16:20:21 -07:00
Helge Mader
2bba943e99 xinetd: update config sample to latest requirements
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:15:20 +02:00
Helge Mader
90ab809f7f xinetd: include additional (runtime) directory in configuration file
The additional directory is created and can be used e.g. for configurations
which are created e.g. dynamically from an uci config.

Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:14:44 +02:00
Helge Mader
4a3e547f5d xinetd: save configurations in /etc/xinetd.d on sysupgrade
For applications writing their own xinetd configuration to the /etc/xinetd.d
directory it would be necessary to save them (e.g. a user edits them manually)

Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:14:07 +02:00
Helge Mader
65c49f0030 xinetd: update PKG_RELEASE to 9
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-10-23 11:12:56 +02:00
Florian Eckert
c374711e60 mwan3: fix reload handling
When the interface section was changed, the changed configuration
options were not applied.
This commit adds the service reload handling again.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-23 08:15:57 +02:00
Aaron Goodman
e5dc144968 mwan3: fix mwan3 'use'
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-22 09:41:48 -04:00
Florian Eckert
dd719e4960 ddns-scripts: update sitelutions url
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-22 07:44:26 +02:00
Rosen Penev
b55f95dbd3
Merge pull request #13734 from Meano/fix-udpxy
udpxy: fix error 'enable verbose' command flag in init script
2020-10-21 15:23:37 -07:00
Rosen Penev
f64c1d6a91
Merge pull request #13183 from mrjoel/mrjoel/ddns-default-bindnetwork
ddns-scripts: use ip_source as bind_network default
2020-10-21 15:21:42 -07:00
Joel Johnson
5b362932a7 ddns-scripts: use ip_source as bind_network default
Fixes: #13182 on https://github.com/openwrt/packages

Signed-off-by: Joel Johnson <mrjoel@lixil.net>
2020-10-21 08:43:18 -06:00
Florian Eckert
9485b9401d
Merge pull request #13169 from aaronjg/mwan3-owner-procd
mwan3: mwan3track via default routing table and use procd from mwan3track & mwan3rtmon
2020-10-21 16:33:19 +02:00
Meano
568e381cd2 udpxy: fix error 'enable verbose' command flag in init script
Signed-off-by: Meano <meano@foxmail.com>
2020-10-21 15:39:53 +08:00
Pavel Demkovich
2f5f520971 znc: Add support for many configurable listeners
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-20 21:06:05 +03:00
Rosen Penev
8ccfc1fc82
Merge pull request #13699 from peter-stadler/etesync-server
etesync-server: use relative path for static_url
2020-10-19 16:14:58 -07:00
Matthias Schiffer
f20908cbad
fastd: update to v21
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-10-19 21:52:43 +02:00
Dirk Brenken
4b0d029bb5
adblock: update 4.0.7-2
* switch all safesearch providers to dynamic ips (derived from cname)
* made the new safesearch approach compatible with bind-nslookup
* removed 3.x config compatibility code

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-10-19 09:32:37 +02:00
Yousong Zhou
6c50a78b65 ovn: bump to version 20.09.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-10-19 14:17:04 +08:00
Meano
0a23f1f066 acme: fix the 'Unknown parameter' problem caused by acme_server
Signed-off-by: Meano <meano@foxmail.com>
2020-10-19 01:47:43 +08:00
Dirk Brenken
d36fd57662
adblock: update 4.0.7
* fix aria2c download options
* fix report engine with empty domains
* fix safesearch ips of safe.duckduckgo.com (get ips dynamically)
* fix safesearch ips of safesearch.pixabay.com (get ips dynamically)
* add regional blocklist for italy
* shellcheck adjustments
* add test.sh for CI testing

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-10-18 17:06:32 +02:00
Peter Stadler
edb201b9d4 etesync-server: use relative path for static_url
Django 3.1 supports relative paths for static_url.
Use it to make it more flexible.
Minor fixes for upgrade:
* ignore-fail-on-non-empty for rmdir /usr/share/etesync-server/etesync_server
* do not stop service (it is stopped already and init file is removed)

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-10-17 21:29:44 +02:00
Jannis Pinter
3f7d03eda6 acme: Allow custom ACME server directory URL
The underlying `acme.sh` allows custom ACME server URLs (using `--server`). Adding the necessary field to specify a custom ACME server URL from UCI.

Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
2020-10-16 21:47:42 +02:00
Josef Schlehofer
5e3e021f3d
Merge pull request #13578 from BKPepe/bind
bind: update to version 9.16.7
2020-10-16 17:45:48 +02:00
James White
14d62d6599 mwan3: Simplify default configuration, mostly use defaults
Signed-off-by: James White <james@jmwhite.co.uk>
2020-10-16 09:55:40 -04:00
Aaron Goodman
41d5f486ee mwan3: cleanup mwan3track
- reduce duplicate logging code
- simplify nping track code
- simplify ping result parsing

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
Aaron Goodman
1990a90702 mwan3: add back support for iputils ping
With the new wrapper code, we can override the broken binding behavior of
iputils ping v20101006.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:55:40 -04:00
Aaron Goodman
d49ca29eca mwan3: add "use" function to mwan3 utils
Use "mwan3 use" to wrap a command with interface bindings so that you can
avoid the mwan3 rules and test behavior on a specific interface.

eg "mwan3 use wan ping -c1 1.1.1.1"

Additional binding arguments to the command will have their system
calls intercepted and ignored.

eg "mwan3 use wan ping -c1 -I tun0 1.1.1.1" will use the
device associated with "wan", rather than "tun0".

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
bbbc6127ab mwan3: use helper library for mwan3track
Rather than using a special mwan3 user to manage mwan3track's tracking
packets, this commit implements a small helper library to bind to
device and to set a fwmark so that the tracking packets can be routed
out of the correct interface.

This provides a consistent method for binding to a device rather than
relying on various packages potentially buggy implementations. For
example: #8139 and #12836

This helper issue also allows for more tracking methods to be added
even if they do not have a command line option to bind to device,
such as iperf3 (eg  #13050).

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
fb4a2d99ef mwan3: give warning if ip of incorrect family specified in a rule
also use global IPv4_REGEX environment variable as consistent IPv4 regex

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
566293d228 mwan3: use procd for mwan3rtmon and mwan3track
start all mwan3mon and mwan3track instances on mwan3 start
if an interface is down when mwan3track starts, it waits
for a signal from the hotplug script to start

procd can then handle stopping all of the scripts when mwan3
is halted

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
5faa99f3b8 mwan3: fix bug when one interface is a prefix of another
correctly terminate interface status checks with new lines so that
interface status does not get confused when one interface is a prefix
of another interface.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
189f92da4a mwan3: only update src_iface rules on ifup
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
c8deccc0e7 mwan3: improvements to route creation
handle creation of routing tables in mwan3rtmon to avoid race
conditions and potentially missing routes

handle ipv6 routes that have expiry

update directly connected ipset when routes are added or deleted

add fall through rules so that the default routing table is not
used if no rule in the interface-specific routing table matches

add option to comply with mwan3 source based routing

get default route parameters from main routing table

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
27492f64f8 mwan3: use MWAN3TRACK_STATUS_DIR variable throughout
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Aaron Goodman
b7e26dd431 mwan3: fixup some extra spaces and shellcheck warnings
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-10-16 09:54:48 -04:00
Rosen Penev
eb46e231cd prosody: fix shellcheck warnings
Remove paxctl stuff. pax is not packaged in OpenWrt.

Add reload support.

Install lua cfg file as 644. It's needed to be readable as prosody user

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 18:20:20 -07:00
Rosen Penev
68a3a06e98 prosody: update to 0.11.7
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-15 15:34:51 -07:00
Oldřich Jedlička
53e9a3296a fwknop: Use sensible defaults.
* Change KEY/HMAC_KEY to __CHANGEME__, which is rejected by fwknopd
   during start-up. The value CHANGEME is used only by LuCI package
   luci-app-fwknopd - pull request for generating keys directly from
   LuCI has been created already.
 * Add sensible defaults for ENABLE_IPT_FORWARDING and ENABLE_NAT_DNS,
   which both are/were set by luci-app-fwknopd. Move the defaults here.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-10-15 20:11:30 +02:00
Rosen Penev
cdaf0a8b3d jool: update to 4.1.4
Added BUILDONLY to eliminate warning.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:46:08 -07:00
Nicholas Smith
87593abb06 modemmanager: bump to 1.14.6
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-10-15 09:39:02 +10:00
Rosen Penev
daa6ed8980
Merge pull request #13656 from odmdas/freeradius3-fix_version
freeradius3: move "release_" from PKG_VERSION
2020-10-14 14:04:23 -07:00
Hannu Nyman
6459c0aeb8
Merge pull request #13642 from ja-pa/ooniprobe-3.0.8
ooniprobe: update to version 3.0.8
2020-10-14 18:31:35 +03:00
Jan Pavlinec
d8b07415e8
ooniprobe: update to version 3.0.8
Changes:
-Add tag to disable QUIC
-remove dependecy for measurement-kit

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-14 13:54:54 +02:00
Alexey Dobrovolsky
11aa0b9653 freeradius3: move "release_" from PKG_VERSION
The substring "release_" does not reflect the version number.
In addition, package names will be shorter.

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
2020-10-14 13:02:22 +03:00
Rosen Penev
27ba7533e1
transmission: fix mbedtls search
mbedcrypto should be searched, not mbedtls. Also, there is no pkgconfig
file with mbedtls. Fixed that as well. Removed Makefile hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-13 21:07:46 -07:00
Rosen Penev
c1cec7b134
Merge pull request #13647 from jefferyto/seafile-server-7.1.5
seafile-server: Update to 7.1.5
2020-10-13 15:36:55 -07:00
Rosen Penev
89e47e937a
Merge pull request #13651 from neheb/build
treewide: add missing BUILDONLY
2020-10-13 15:24:35 -07:00
Pavel Demkovich
dd586837e8 znc: Add support for many configurable listeners for znc
Function add_listener called from /etc/init.d/znc, but not implemented

Signed-off-by: Pavel Demkovich <finn@finnix.servebeer.com>
2020-10-13 15:40:11 +03:00
Florian Eckert
6519bc5b76
Merge pull request #13641 from TDT-AG/pr/20201012-keepalived
keepalived: update to 2.1.5
2020-10-13 11:42:52 +02:00
Rosen Penev
5a7148d112
treewide: add missing BUILDONLY
Fixes Makefile warnings:

WARNING: skipping X -- package has no install section

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-12 17:43:49 -07:00
Rosen Penev
9fe9aa0493
Merge pull request #13636 from neheb/pdnsr2
pdns-resursor: add missing dependency
2020-10-12 16:12:20 -07:00
Rosen Penev
9250e521b9
Merge pull request #13639 from neheb/geth
geth: update to 1.9.22
2020-10-12 16:01:02 -07:00
Jeffery To
d183759998
seafile-server: Update to 7.1.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:27 +08:00
Jeffery To
a702c90b9a
seafile-seahub: Update to 7.1.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:26 +08:00
Jeffery To
f841fedd7b
seafile-ccnet: Update to 7.1.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-10-13 06:42:26 +08:00
David Bauer
ed80af94ca
Merge pull request #13630 from blocktrron/pr-static-neighbor-reports
static-neighbor-reports: add package
2020-10-12 20:30:11 +02:00
Florian Eckert
7a503ca84b keepalived: update PKG_VERSION to 2.1.5
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-12 08:55:18 +02:00
Rosen Penev
bc039f8421
geth: update to 1.9.22
Removed bogus PKGARCH.

Added nls.mk to fix compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 19:13:38 -07:00
Rosen Penev
983e7b34a7
pdns-resursor: add missing dependency
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 19:11:15 -07:00
David Bauer
c149813371 static-neighbor-reports: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-10-12 01:40:30 +02:00
Rosen Penev
a506e61978
Merge pull request #13629 from ynezz/upstream/cgi-io-oot-project
cgi-io: move into out of tree project
2020-10-11 15:18:07 -07:00
Rosen Penev
ca8b045814
Merge pull request #13560 from odmdas/odmdas-freeradius3-meta
freeradius3: add meta-package for default modules
2020-10-11 15:16:33 -07:00
Rosen Penev
6953898f61
Merge pull request #13633 from expiron/kcptun-updates
kcptun: bump to v20201010
2020-10-11 15:13:41 -07:00
Olivier Poitrey
a5bd2a78b0 nextdns: Update to version 1.8.6
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-10-11 21:19:35 +00:00
Chao Liu
7931ec7972
kcptun: bump to v20201010
Signed-off-by: Chao Liu <expiron18@gmail.com>
2020-10-12 02:23:42 +08:00
Petr Štetiar
08be327942 cgi-io: move into out of tree project
No functional changes, just moved the sources into out of tree
project[1] so it's going to be easier to do CI with unit testing,
fuzzing etc.

1. https://git.openwrt.org/?p=project/cgi-io.git;a=shortlog

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-10-11 14:54:55 +02:00
Rosen Penev
cb2b03a719
Merge pull request #13627 from neheb/pdnsrr
pdns-recursor: update to 4.3.4
2020-10-10 21:13:22 -07:00
Rosen Penev
0bb477c97d
Merge pull request #13626 from neheb/pdnsd
pdns: update to 4.3.1
2020-10-10 20:51:27 -07:00
Rosen Penev
af3b2e21dd pdns-recursor: update to 4.3.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 19:56:42 -07:00
Rosen Penev
6c654b4d61
pdns: update to 4.3.1
Remove features removed upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 18:58:19 -07:00
Rosen Penev
3c1d623606
dnsdist: update to 1.5.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-10 14:27:27 -07:00
Matthias Schiffer
a916211b67
fastd: update to v20
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-10-10 19:02:24 +02:00
Rosen Penev
6885fa2645
Merge pull request #13615 from mlichvar/chrony-update-4.0
chrony: update to 4.0
2020-10-10 01:02:48 -07:00
Stan Grishin
92e6b29920 simple-adblock: config update file fix
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-10-09 09:20:55 -10:00
Miroslav Lichvar
65d3734358 chrony: add NTS option
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2020-10-09 16:52:30 +02:00
Miroslav Lichvar
fcbb1f9fc4 chrony: update to 4.0
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
2020-10-09 16:52:22 +02:00
Rosen Penev
ef58c37408
Merge pull request #13576 from marcin1j/pr/20191209-mbusd
New package: mbusd
2020-10-08 11:53:34 -07:00
Marcin Jurkowski
19794e9af8 mbusd: add mbusd
Mbusd is open-source Modbus TCP to Modbus RTU (RS-232/485) gateway.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2020-10-08 16:57:00 +02:00
Dobroslaw Kijowski
9d2d678db5 adguardhome: Implement initial package recipe
AdGuardHome is a network-wide ads and trackers blocking DNS server.
After installing it with opkg, start it like every service:
/etc/init.d/adguardhome start

In order to complete the installation vist http://{YOUR_ROUTERS_IP}:3000.

Then you can setup dnsmasq to forward DNS traffic to AdGuardHome:
uci -q delete dhcp.@dnsmasq[0].server
uci add_list dhcp.@dnsmasq[0].server=127.0.0.1#{PORT_SET_DURING_INSTALL}
uci set dhcp.@dnsmasq[0].noresolv=1
uci commit dhcp
/etc/init.d/dnsmasq restart

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
2020-10-08 00:26:12 +02:00
Rosen Penev
7e00eb967f
Merge pull request #13582 from jan-kardell/TQ_fix_lighttpd_mod_auth
[lighttpd] Pull in mod-authn_file with mod-auth
2020-10-07 02:54:33 -07:00
Rosen Penev
ec8d3aa196
Merge pull request #13510 from zhoreeq/bump_0_3_15
yggdrasil: bump to 0.3.15
2020-10-07 02:53:30 -07:00
Rosen Penev
70156c9682
Merge pull request #13528 from wevsty/patch-1
openssh: update to 8.4p1
2020-10-07 02:52:51 -07:00
Rosen Penev
77adfcac25
Merge pull request #13573 from ja-pa/ooniprobe-3.0.7
ooniprobe: update to version 3.0.7
2020-10-06 03:17:02 -07:00
Jan Kardell
18967c9593 [lighttpd] Pull in mod-authn_file with mod-auth
If lighttpd loads mod-auth, it also automatically tries to load
mod-authn_file, and fails if it's not available. That is a compatibility
feature of lighttpd after the funtionality was split into modules.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
2020-10-06 11:40:22 +02:00
Josef Schlehofer
ededaf2977
bind: update to version 9.16.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-05 19:49:50 +02:00
Josef Schlehofer
b390d74704
Merge pull request #13574 from ja-pa/dnstap-0.2.2
dnstap: update to version 0.2.2
2020-10-05 17:55:23 +02:00
Hannu Nyman
d6689e7fad
Merge pull request #13575 from eglooca/master
netifyd: Updated to v3.05.
2020-10-05 17:50:14 +03:00
Johnathan Arsenault
33d6dc4027 ddns-scripts: add ipv6 capability for no-ip.com
Signed-off-by: Johnathan Arsenault <johnathan.arsenault@gmail.com>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
2020-10-05 16:02:26 +02:00
Darryl Sokoloski
7bfaf50c36 netifyd: Updated to v3.05.
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2020-10-05 09:30:56 -04:00
Jan Pavlinec
364d702e53
dnstap: update to version 0.2.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-05 15:17:54 +02:00
Jan Pavlinec
ba97a9fdb1
ooniprobe: update to version 3.0.7
Remove measurement-kit dependency since it's
no longer needed.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-05 13:43:57 +02:00
Yuan Tao
27e8c832d6 openssh: update to 8.4p1
Signed-off-by: Yuan Tao <ty@wevs.org>
2020-10-05 15:20:26 +08:00