Commit graph

2923 commits

Author SHA1 Message Date
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
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
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
tripolar
43aadd7f7d Merge pull request #4634 from pprindeville/ntp-add-uci-support
ntpd: use UCI to synthesize minimal conf file
2017-07-28 10:01:11 +02:00
Yousong Zhou
2f910479cf shadowsocks-libev: use xargs -r just in case
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:10:46 +08:00
Yousong Zhou
b7f69c0633 shadowsocks-libev: fix compiling with stale object files
This will cause various kinds of failures in the buildbot

    ➜  shadowsocks-libev-3.0.7 git:(master) find . -name '*.o' -o -name '*.lo'
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.lo
    ./libbloom/libbloom_la-bloom.lo
    ./libbloom/libbloom_la-bloom.o
    ➜  shadowsocks-libev-3.0.7 git:(master) ls -l libbloom/murmur2
    total 24
    -rw-r--r-- 1 yousong yousong  324 Jun 27 14:17 libbloom_la-MurmurHash2.lo
    -rw-r--r-- 1 yousong yousong 4168 Jun 27 14:17 libbloom_la-MurmurHash2.o
    -rw-r--r-- 1 yousong yousong 1344 Feb 17 08:47 MurmurHash2.c
    -rw-r--r-- 1 yousong yousong  142 Feb 17 08:47 murmurhash2.h
    -rw-r--r-- 1 yousong yousong  213 Feb 17 08:47 README
    ➜  shadowsocks-libev-3.0.7 git:(master) file ./libbloom/murmur2/libbloom_la-MurmurHash2.o
    ./libbloom/murmur2/libbloom_la-MurmurHash2.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
    ➜  shadowsocks-libev-3.0.7 git:(master)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-28 15:06:24 +08:00
Florian Fainelli
99374712ac softethervpn: Pass down CFLAGS, CPPFLAGS and LDFLAGS
The softethervpn does not actually supported CCFLAGS, or other standard
variables, so we need to override CC to include all of those to fix
build errors with external toolchains.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-27 18:23:04 -07:00
Philip Prindeville
f5ca3ea50f ntpd: use UCI to synthesize minimal conf file
Borrowed code from Busybox's sysntpd.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-07-27 17:47:27 -06:00
Yousong Zhou
1999396443 shadowsocks-libev: configure options for release build
- It's a common practice that assert should be ignored in release build
 - Whether to enable ssp should be decided by the config of build system

This was taken from Makefile in shadowsocks/openwrt-shadowsocks.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-26 10:17:48 +08:00
Marcin Jurkowski
aef80dbb9d httping: import from oldpackages and upgrade to version 2.5
Package version upgraded to 2.5 with patches:
- Fixed compiler warnings
- Fixed miscalculated response time
- Reduced binary size by stripping unused code

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-07-26 00:23:34 +02:00
Yousong Zhou
c7195ece14 shadowsocks-libev: configure with --disable-silent-rules
So that more details will be shown in faillogs

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 16:48:34 +08:00
Thomas Heil
e9ad69b59a Merge pull request #4034 from artynet/apache-fix
apache : fixing zlib dependency
2017-07-25 02:44:46 +02:00
Yousong Zhou
1c82410cf9 shadowsocks-libev: bump version 3.0.7
Notable changes since 3.0.6

    f308dde ss-server: fix a use-after-free bug
    0b2dce5 ss-redir: fix a mem leak
    b7bdb16 ss-local: SOCKS5 UDP associate terminates the connection prematurely
    3f0d39a ss-local: use getsockname udp_fd where it applies (fixes local_port==0)
    eb30a3d fix possible data loss with salsa20 cipher
    0559d8c fix partial nonce data being overwritten

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-25 01:06:10 +08:00
Yousong Zhou
57114609c4 shadowsocks-libev: fix cases where passwords contain dquote
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24 13:10:18 +08:00
Hannu Nyman
4921352d75 Merge pull request #4605 from dibdot/travelmate
travelmate: update 0.9.0
2017-07-23 19:34:24 +03:00
Hannu Nyman
d3732c9bd9 Merge pull request #4612 from pcmulder/patch-1
adblock: Added Netherlands as a region.
2017-07-23 19:23:33 +03:00
Yousong Zhou
3fe965dd1c shadowsocks-libev: validate bool with default value 0
The change is mainly for keeping compatibility with old validate_data
before ubox commit ac481cdd999ee84d3f115c33a56397237e95ec64 in Sat Jul
16 14:52:36 2016 +0200.  The behaviour change comes with that commit can
be seen with the following command line session

    root@LEDE:/usr/bin# validate_data network interface wan 'disabled:bool:false'
    network.wan.disabled is unset and defaults to bool false
    disabled=0; root@LEDE:/usr/bin#

    root@OpenWrt:/# validate_data network interface lan 'disabled:bool:false'
    disabled='false'; root@OpenWrt:/#

This will cause shadowsocks-libev in current master branch fail on OpenWrt
15.01 though they actually should only use packages from the 15.01 branch...

Fixes openwrt/packages#4614

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:29:47 +08:00
Yousong Zhou
8ad2f36550 shadowsocks-libev: ss-rules: add executable bits 2017-07-23 23:29:12 +08:00
Patrick Mulder
0513566fcf adblock: Added a new region.
Signed-off-by: Patrick Mulder <pcmulder89@gmail.com>
2017-07-22 20:33:26 +02:00