Commit Graph

2939 Commits

Author SHA1 Message Date
Florian Eckert
96760e66dd net/mwan3: remove unused global definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:22 +02:00
Florian Eckert
0b44ca505b net/mwan3: fix mwan3track kill execution
If two interface have the same prefix "wan" for example "wan" and "wan1"
pgrep returns the PID for wan1 also "pgrep -f mwan3track wan".

Before this fix "wan1" was also killed! This is not what we want.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:18 +02:00
Florian Eckert
487278dcd1 net/mwan3: fix ubus output for mwan3track running state
Fix ubus output for mwan3track running state

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:14 +02:00
Florian Eckert
9df6e9dd98 net/mwan3: change logging output on hotplug interface event
Change logging output on hotplug interface event

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:09 +02:00
Florian Eckert
a7a2464d9e net/mwan3: add option keep_failure_interval on failure
Add new boolean interface config param to keep ping failure interval during
interface failure state.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:45:28 +02:00
Florian Eckert
f942701b1a net/mwan3: add process PID to LOG output
Update log output macro to show PID during logging

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 09:06:48 +02:00
Hannu Nyman
e0c9e8fcb8 Merge pull request #4679 from dibdot/dnscrypt-proxy
dnscrypt-proxy: mute needless warnings
2017-08-09 10:26:28 +03:00
Hannu Nyman
4a72c11163 Merge pull request #4670 from larsi-org/master
mwan3: allow to change mwan3's MARKing mask
2017-08-08 20:11:28 +03:00
Noah Meyerhans
3cc9bf75ed Merge pull request #4678 from pprindeville/bind-update-9.11.2
Bind update 9.11.2
2017-08-08 09:00:20 -07:00
Daniel Engberg
470032938b net/nmap: Avoid linking libssh2 unintentionally
Explicitly tell nmap not to link libssh2 if its available, fixes buildbot failure.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-08 09:53:11 +02:00
Dirk Brenken
870f9dae85 dnscrypt-proxy: mute needless warnings
* print only 'missing plugins support warning' if user really configured
'blacklist' or 'block_ipv6' parameter.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-08 09:14:31 +02:00
Stijn Tintel
ba1ead54f0 strongswan: use -eq when testing booleans
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
6f00048eca strongswan: convert init script to procd
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
b93a53bd94 strongswan: check return value instead of output
When the strongswan service is running, `ipsec status` returns 0. Check
the return value instead of checking its output.

While at it, remove the [[ ]] bashism, use rereadall instead of
(reread)secrets, and move it inside the if statement.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
44ef6048e2 strongswan: remove checks for UCI config
In commit 36e073d820, some checks were
added to see if the UCI config file exists and if there are any peers
configured in it. Due to these checks, if /etc/config/ipsec exists, but
contains no enabled peers, strongswan will not be started. This is not
ideal, as a user might want to experiment with the UCI config while
keeping existing connections in /etc/ipsec.conf operational.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
3097a8919e strongswan: add charon-cmd utility
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
6cd24ed87c strongswan: add missing charon config files
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
4e94a3ddfd strongswan: add swanctl utility
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
4bb5d8d892 strongswan: add vici plugin
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
0c30b50fe2 strongswan: rename -utils to -ipsec
Since the strongswan-utils package now only contains the aging ipsec
utility, rename it to strongswan-ipsec.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
1a621aaa35 strongswan: split scepclient into separate package
We currently include the SCEP client in strongswan-utils, which is a
dependency of the strongswan-default meta-package. As it's generally not
recommended to generate keys on embedded devices due to lack of entropy,
move the SCEP client to a separate package, and only depend on it in the
strongswan-full meta-package.

While at it, add scepclient.conf to the package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel
ebf304edf6 strongswan: split PKI tool into separate package
We currently include the PKI tool in strongswan-utils, which is a
dependency of the strongswan-default meta-package. As it's generally not
recommended to generate keys on embedded devices due to lack of entropy,
move the PKI tool to a separate package, and only depend on it in the
strongswan-full meta-package.

While at it, add pki.conf to the package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Philip Prindeville
6ebaad1529 bind: fixes for openssl 1.1.0 thread compatibility
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-07 12:05:19 -06:00
Philip Prindeville
eab56b6bee bind: version update to 9.11.2
Also refresh patches and dependencies.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-07 12:03:47 -06:00
Peter Wagner
61f48f8df8 git: update to 2.14.0
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-07 18:43:31 +02:00
Hannu Nyman
568882c31a Merge pull request #4675 from dibdot/dnscrypt-proxy
dnscrypt-proxy: start from procd interface trigger, not in init
2017-08-07 16:15:21 +03:00
Daniel Engberg
840431acf7 net/nmap: Update to 7.60
* Update nmap-suite to 7.60
* Use PKG_HASH as PKG_MD5SUM is deprecated
* Switch download URL to HTTPS
* Add zlib as dependency and link libpcre dynamically

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-07 12:37:28 +02:00
Dirk Brenken
f5d5f5f176 dnscrypt-proxy: start from procd interface trigger, not in init
* Start dnscrypt-proxy from procd interface trigger rather than
immediately in init, to fix a possible race condition during boot and
get rid of rc.local restarts. You can restrict trigger interface(s) by
'procd_trigger' in new global config section.

* tab/whitespace cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-07 11:48:17 +02:00
Christian Schoenebeck
159dec95d2 radicale: Update to 1.1.6
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-08-05 15:57:39 +02:00
Lars Schumann
78b6789475 mwan3: allow to change mwan3's MARKing mask
Signed-off-by: Lars Schumann <larsi.org@gmail.com>
2017-08-04 14:21:50 -04:00
Yousong Zhou
682b0c2be7 shadowsocks-libev: support disable_sni for ss_server section
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04 22:19:30 +08:00
Hannu Nyman
ea9400988d Merge pull request #4669 from dibdot/adblock
adblock: update 2.8.5
2017-08-04 13:34:56 +03:00
Dirk Brenken
9aba9ac562 adblock: update 2.8.5
* add preliminary kresd dns backend support for turris devices,
  see readme (experimental / untested!)
* use tld compression for overall list, too
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-04 11:01:15 +02:00
Hannu Nyman
1d670269fd Merge pull request #4629 from marcin1j/pr/20170725-mwan3-tracking-methods
mwan3: support various interface tracking methods
2017-08-03 11:09:34 +03:00
Marcin Jurkowski
de4fc2b5de mwan3: support various interface tracking methods
Adds support for interface tracking using either ping, arping or
httping. This allows to track interface status on networks with filtered
ICMP traffic or simply to monitor data link layer etc.

To facilitate binding to a specified interface its IP address is passed
as a new mwan3track parameter. It's currently required by httping
and possibly by other tools that may be added in the future.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-08-02 17:44:07 +02:00
Jo-Philipp Wich
024c3e692b nlbwmon: update to latest version
Changes since last update:

32fc092 build: remove extraneous _GNU_SOURCE defines
096aaa3 build: compile with -D_GNU_SOURCE
76487b5 transform to source-only repository

Fixes build with uClibc and eglibc toolchains.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-02 17:13:32 +02:00
Hannu Nyman
a051200c59 Merge pull request #4662 from commodo/ovs-update
openvswitch: bump to version 2.7.2
2017-08-02 16:18:06 +03:00
Alexandru Ardelean
1ef945315b openvswitch: bump to version 2.7.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-02 15:02:37 +03:00
Yousong Zhou
49dcdca5d0 shadowsocks-libev: backport patch for logging with daemon facility
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:49 +08:00
Yousong Zhou
716d2c1357 shadowsocks-libev: add ipv6_first option support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:34:40 +08:00
Hannu Nyman
4f364b29f5 Merge pull request #4631 from marcin1j/pr/20170725-httping
httping: import from oldpackages and upgrade to version 2.5
2017-08-02 08:44:33 +03:00
Jason A. Donenfeld
19e9fbaa70 wireguard: version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-07-31 18:45:59 +02:00
Yousong Zhou
7f0adf9631 shadowsocks-libev: bump to version 3.0.8
Notable changes since 3.0.7

 - ss-local, ss-redir: ipv6_first awareness
 - ss-server: ppbloom_add only after 1st decryption succeeds

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-31 10:23:47 +08:00
Jo-Philipp Wich
60e52df628 Merge pull request #4646 from jow-/introduce-nlbwmon
nlbwmon: add package
2017-07-30 11:52:30 +02:00
champtar
8beed290dd Merge pull request #4651 from dibdot/travelmate
travelmate: update 0.9.1
2017-07-29 14:15:24 -07:00
champtar
3ee61782c1 Merge pull request #4469 from chris5560/master
privoxy: clear PKG_MAINTAINER
2017-07-29 11:05:46 -07:00
Noah Meyerhans
c3b2a417e4 ipsec-tools: Fix CVE-2016-10396
Use patch pulled from Debian's packaging at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867986

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2017-07-29 10:30:28 -07:00
Dirk Brenken
0dc303aaeb travelmate: update 0.9.1
0.9.1
backend:
* load procd reload trigger only in 'manual' mode
* documentation update

frontend:
* further optimized Station Overview & Scan page,
  especially for mobile devices
* add a "Rescan" button in manual mode on overview page
* XHTML fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-29 19:25:54 +02:00
Christian Schoenebeck
e2e30e2e67 privoxy: clear PKG_MAINTAINER
I do not use this software any more and due to lack of time, I give the
maintenance responsibility back to the community.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-07-29 14:39:17 +02:00
Jo-Philipp Wich
e32168f9b7 nlbwmon: add package
This commit introduces nlbwmon, the lightweight NetLink BandWidth Montor.

The nlbwmon daemon gathers per-host traffic statistics by querying netlink
accounting data. Due to this approach, the executable is very small and does
not rely on libpcap and CPU intensive raw sockets to monitor traffic.

Besides raw per-host traffic counters, nlbwmon also support rudimentary
traffic classification by observing IP protocols and used port numbers.

Gathered accounting data is stored into a series of database files which
are regularily committed to persistent storage.

Refresh, commit and accounting intervals are freely configurable as well
as the layer7 protocol mapping rules and observed source subnets.

This package also bundles a cli client which can be used to dump the
gathered traffic data as JSON, CSV or plaintext data. A pull request to
add a graphical LuCI frontend for nlbwmon is pending.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-28 15:30:06 +02:00