Commit Graph
2967 Commits
Author SHA1 Message Date
Karl Palsson 520a5bb50f mosquitto: properly use localhost instead of ipv4
On some environments, connecting to localhost was resolving to ::1,
which didn't match the bind to the explicit 127.0.0.1.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-16 15:01:30 +00:00
Karl Palsson 43acdcdd54 mosquitto: support more config options in UCI
Added many more UCI config options, particularly for bridge connections

The recently introduced username/password options for bridges are kept,
even though they have been deprecated upstream for a while.  In keeping
with this, while support is kept in UCI, the generated mosquitto.conf
file will always generate the "modern" remote_username/remote_password
options preferred by mosquitto instead.

Likewise for bridge clientid and remote_clientid options.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-16 15:00:53 +00:00
tripolarandGitHub 2f8327ec4b Merge pull request #4714 from neheb/master
ssh: Add umdns entry to the init script.
2017-08-16 11:24:09 +02:00
Jo-Philipp WichandGitHub 90a1af9fc7 Merge pull request #4709 from kdarbyshirebryant/nlbwmontweak
nlbwmon: preserve protocols mapping across sysupgrade
2017-08-16 08:55:56 +02:00
Rosen Penev 6cb6666c97 ssh: Add umdns entry to the init script.
This is usefull for hosts to discover the ssh server, especially
on macOS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-08-15 21:44:15 -07:00
Peter Wagner f612cecf49 ntpd: move ntpq to ntp-utils
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-16 03:31:00 +02:00
Toke Høiland-Jørgensen 0424ac8049 acme: Make sure postrm script doesn't fail
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2017-08-16 01:14:18 +02:00
Daniel Golle da2cc49d29 gnurl: update to version 7.55.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-08-15 02:24:53 +02:00
Kevin Darbyshire-Bryant 2305de5f2e nlbwmon: preserve protocols mapping across sysupgrade
Define package config files to preserve
/usr/share/nlbwmon/protocols across sysupgrade

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-08-14 11:51:10 +01:00
Yousong Zhou d4ed4c1f21 shadowsocks-libev: setting mode with default value tcp_only
This is the default value taken by ss-server and ss-redir.  After this
change ss_rules section can still use those ss-redir instances who do
not have mode explicitly specified.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13 12:39:01 +08:00
champtarandGitHub 639586390e Merge pull request #4695 from dibdot/patch-1
dnscrypt-proxy: change start priority
2017-08-12 12:01:15 -07:00
Dirk Brenken 25a3014ee2 dnscrypt-proxy: change start priority
* adapt start priority to the new trigger based setup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-12 20:36:38 +02:00
Hannu NymanandGitHub 5f5a3dc5a0 Merge pull request #4696 from dibdot/travelmate
travelmate: update to 0.9.2
2017-08-12 09:23:06 +03:00
Dirk Brenken 91a378c3d3 travelmate: update to 0.9.2
* backend: fix typo in log message
* frontend: add/modify input datatypes in 'extra' section
* frontend: add support to edit/change wpa enterprise key phrases
* frontend: various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-12 08:01:17 +02:00
Hannu NymanandGitHub c7713af04f Merge pull request #4690 from val-kulkov/subversion-package
subversion: update to 1.9.7
2017-08-11 16:18:05 +03:00
Peter Wagner 5a4d9996bd git: update to 2.14.1
Fixes: CVE-2017-1000117

Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-11 12:59:58 +02:00
Val Kulkov 53e57cb6fb subversion: update to 1.9.7
This is a straightforward update to the latest version that
fixes a security issue per CVE-2017-9800:
http://subversion.apache.org/security/CVE-2017-9800-advisory.txt

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-08-10 16:27:05 -04:00
Hannu NymanandGitHub 860e158103 Merge pull request #4688 from TDT-GmbH/mwan3-features
net/mwan3: add new feature and bug fixes
2017-08-10 21:22:44 +03:00
Florian Eckert a0e8010e7a net/mwan3: update version
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 12:36:21 +02:00
Florian Eckert c872189d66 net/mwan3: add hotplug script for hidden self interface generation
Add new globals config section with option local_source.

With this config option the self interface generation will be done now
automatically on hotplug event. You can specify which interface (ip)
sould be used for router traffic. To replace the self intereface in the
config set local_source to "lan".

The default option is none, so it will not change default behavior if a
"self" interface is configured in the network section.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 12:32:56 +02:00
Florian Eckert 44eb0a7c9d net/mwan3: add Makefile postinst and postrm for rpcd
Restart rpcd on package install/remove

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 11:30:47 +02:00
Florian Eckert a4fbc7eba6 net/mwan3: fix ipset generation in hotplug script with an lock
Fix critical section during hotplug events.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 11:30:47 +02:00
Florian Eckert a934a25f21 net/mwan3: fix ubus json datatyp
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 11:30:47 +02:00
Florian Eckert 929bec6402 net/mwan3: expand ubus to show when last mwan3track check was done
To know how old the ubus output is, add an age parameter which indicats
how old the check informations on the interface are.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 11:30:47 +02:00
Florian Eckert 815e83d461 net/mwan3: on startup mark interface online only if track_ip are reachable
Add new interface config option "inital_state".

If interface comeing up the first time(mwan3 start, boot),
there are now two option for interface behaviour:

- online (default as is now)
  Set up interface regardless wether tracking ip are reachable or not.

- offline
  Set up interface first to ping tracking ip and if they are reachable set up
  the interface completely.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 11:30:47 +02:00
Florian Eckert 6d99b602fd net/mwan3: fix ping issue if last interface recovers from failure
Even though error was fixed the interface checks still fails, if last_resort
was set to blackhole or unreachable.

To fix this issue do not remove failure interface from iptables change on
down event.

Reported-by: Colby Whitney <colby.whitney@luxul.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:40 +02:00
Florian Eckert 5e123852bc net/mwan3: move mwan3track clean up to mwan3 cmd
This is usefull to see the last state of the interface with ubus.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-10 10:48:27 +02:00
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
Kevin Darbyshire-Bryant 4168cdd460 wireguard: bump to release 0.0.20170810
Compile & run tested: ar71xx: archer c7 v2

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-08-10 09:17:54 +01: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 NymanandGitHub e0c9e8fcb8 Merge pull request #4679 from dibdot/dnscrypt-proxy
dnscrypt-proxy: mute needless warnings
2017-08-09 10:26:28 +03:00
Hannu NymanandGitHub 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 MeyerhansandGitHub 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 EngbergandNuno Goncalves 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