]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
5 years agosysctl.conf: Revert enabling busy loop waiting on sockets core128 v2.21-core128
Michael Tremer [Thu, 28 Feb 2019 18:53:22 +0000 (18:53 +0000)] 
sysctl.conf: Revert enabling busy loop waiting on sockets

This causes the firmware in my ath10k module to crash.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoUpdate openssl rootfile
Michael Tremer [Wed, 27 Feb 2019 03:52:26 +0000 (03:52 +0000)] 
Update openssl rootfile

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship updated OpenSSL
Michael Tremer [Tue, 26 Feb 2019 17:25:11 +0000 (17:25 +0000)] 
core129: Ship updated OpenSSL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoopenssl: Update to 1.1.1b
Michael Tremer [Tue, 26 Feb 2019 16:42:49 +0000 (16:42 +0000)] 
openssl: Update to 1.1.1b

This is a bug fix only release

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoDHCP: Fix error when editing a newly added fixed lease
Michael Tremer [Tue, 26 Feb 2019 11:02:56 +0000 (11:02 +0000)] 
DHCP: Fix error when editing a newly added fixed lease

They key was remembered but then the array was sorted which resulted
the key showing a wrong line.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoDHCP: Restart server in background
Michael Tremer [Tue, 26 Feb 2019 10:18:33 +0000 (10:18 +0000)] 
DHCP: Restart server in background

This allows for the CGI to return quicker.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoDHCP: Escape slashes in filename
Michael Tremer [Tue, 26 Feb 2019 10:16:21 +0000 (10:16 +0000)] 
DHCP: Escape slashes in filename

Fixes: #12006
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship updated credits.cgi
Michael Tremer [Mon, 25 Feb 2019 02:31:23 +0000 (02:31 +0000)] 
core129: Ship updated credits.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoUpdate list of contributors
Michael Tremer [Mon, 25 Feb 2019 02:30:56 +0000 (02:30 +0000)] 
Update list of contributors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship updated OpenVPN
Michael Tremer [Mon, 25 Feb 2019 02:29:29 +0000 (02:29 +0000)] 
core129: Ship updated OpenVPN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoOpenVPN: Update to version 2.4.7
Erik Kapfer [Tue, 26 Feb 2019 10:56:47 +0000 (11:56 +0100)] 
OpenVPN: Update to version 2.4.7

Changelog can be found in here https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24 .

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoupdate Tor to 0.3.5.8
Peter Müller [Sat, 23 Feb 2019 16:54:00 +0000 (16:54 +0000)] 
update Tor to 0.3.5.8

See https://blog.torproject.org/new-releases-tor-0402-alpha-0358-03411-and-03312
for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoupdate metrics links in Tor WebUI
Peter Müller [Sat, 23 Feb 2019 16:54:00 +0000 (16:54 +0000)] 
update metrics links in Tor WebUI

https://atlas.torproject.org/ is deprecated in favour of
https://metrics.torproject.org/ by now.

Fixes #11781.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship updated libgcrypt
Michael Tremer [Mon, 25 Feb 2019 00:58:04 +0000 (00:58 +0000)] 
core129: Ship updated libgcrypt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agolibgcrypt: update to 1.8.4
Peter Müller [Sat, 23 Feb 2019 16:58:00 +0000 (16:58 +0000)] 
libgcrypt: update to 1.8.4

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship updated unbound
Michael Tremer [Mon, 25 Feb 2019 00:56:49 +0000 (00:56 +0000)] 
core129: Ship updated unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agounbound: Update to 1.9.0
Matthias Fischer [Sat, 9 Feb 2019 09:40:36 +0000 (10:40 +0100)] 
unbound: Update to 1.9.0

For details see:
https://nlnetlabs.nl/svn/unbound/tags/release-1.9.0/doc/Changelog

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore129: Ship changes from ipsec branch
Michael Tremer [Mon, 25 Feb 2019 00:55:31 +0000 (00:55 +0000)] 
core129: Ship changes from ipsec branch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoMerge branch 'ipsec' into next
Michael Tremer [Mon, 25 Feb 2019 00:48:08 +0000 (00:48 +0000)] 
Merge branch 'ipsec' into next

5 years agoStart Core Update 129
Michael Tremer [Mon, 25 Feb 2019 00:47:28 +0000 (00:47 +0000)] 
Start Core Update 129

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAdd script to search for missing libraries
Michael Tremer [Sun, 24 Feb 2019 11:45:55 +0000 (11:45 +0000)] 
Add script to search for missing libraries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore128: Drop old openssl engines
Michael Tremer [Sun, 24 Feb 2019 04:06:52 +0000 (04:06 +0000)] 
core128: Drop old openssl engines

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocups: Depends on bluetooth library
Michael Tremer [Sun, 24 Feb 2019 04:04:51 +0000 (04:04 +0000)] 
cups: Depends on bluetooth library

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore128: add openldap to update
Arne Fitzenreiter [Sun, 24 Feb 2019 19:50:16 +0000 (20:50 +0100)] 
core128: add openldap to update

openldap was linked against old openssl lib

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agocore128: add sse2 openssl libs
Arne Fitzenreiter [Sun, 24 Feb 2019 16:04:44 +0000 (17:04 +0100)] 
core128: add sse2 openssl libs

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agocore128: apply local sshd config
Arne Fitzenreiter [Sun, 24 Feb 2019 09:55:49 +0000 (10:55 +0100)] 
core128: apply local sshd config

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: update to 4.14.103
Arne Fitzenreiter [Sat, 23 Feb 2019 14:56:21 +0000 (15:56 +0100)] 
kernel: update to 4.14.103

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agocore128: finish core128
Arne Fitzenreiter [Fri, 22 Feb 2019 20:33:45 +0000 (21:33 +0100)] 
core128: finish core128

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: import cve-2019-8912 patch
Arne Fitzenreiter [Fri, 22 Feb 2019 20:20:57 +0000 (21:20 +0100)] 
kernel: import cve-2019-8912 patch

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agocore128: stop apache before replacing files
Arne Fitzenreiter [Fri, 22 Feb 2019 18:26:08 +0000 (19:26 +0100)] 
core128: stop apache before replacing files

apache will not restart without stopped before
the files was replaced.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: apu leds: add more id's
Arne Fitzenreiter [Fri, 22 Feb 2019 17:02:45 +0000 (18:02 +0100)] 
kernel: apu leds: add more id's

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agopartresize: add "apu1" for apus with new bios.
Arne Fitzenreiter [Fri, 22 Feb 2019 17:01:18 +0000 (18:01 +0100)] 
partresize: add "apu1" for apus with new bios.

5 years agoconvert-snort: Try to download ruleset if none is present.
Stefan Schantl [Fri, 22 Feb 2019 09:04:27 +0000 (10:04 +0100)] 
convert-snort: Try to download ruleset if none is present.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agocore128: add kernel to updater
Arne Fitzenreiter [Thu, 21 Feb 2019 18:23:05 +0000 (19:23 +0100)] 
core128: add kernel to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: cleanup unused rpi patch
Arne Fitzenreiter [Thu, 21 Feb 2019 18:13:27 +0000 (19:13 +0100)] 
kernel: cleanup unused rpi patch

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: update to 4.14.102
Arne Fitzenreiter [Thu, 21 Feb 2019 09:50:15 +0000 (10:50 +0100)] 
kernel: update to 4.14.102

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agopartresize: enable serial console on PC Engines APU
Arne Fitzenreiter [Tue, 19 Feb 2019 12:48:12 +0000 (13:48 +0100)] 
partresize: enable serial console on PC Engines APU

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: update apu led patch for apu3 and 4
Arne Fitzenreiter [Tue, 19 Feb 2019 00:04:19 +0000 (01:04 +0100)] 
kernel: update apu led patch for apu3 and 4

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agoconvert-snort: Set correct ownership after modify_sids_file has been generated.
Stefan Schantl [Mon, 18 Feb 2019 12:33:41 +0000 (13:33 +0100)] 
convert-snort: Set correct ownership after modify_sids_file has been generated.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Add language string for ignored hosts section.
Stefan Schantl [Mon, 18 Feb 2019 12:29:47 +0000 (13:29 +0100)] 
ids.cgi: Add language string for ignored hosts section.

Fixes #12002.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agogeneral-functions.pl: Only skip lines with a # at the beginning
Michael Tremer [Mon, 18 Feb 2019 10:28:13 +0000 (10:28 +0000)] 
general-functions.pl: Only skip lines with a # at the beginning

This accidientially dropped all lines that include #. That resulted
in colour codes not being loaded from file any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids-functions.pl: Tune rules to always monitor in both directions.
Stefan Schantl [Mon, 18 Feb 2019 09:55:27 +0000 (10:55 +0100)] 
ids-functions.pl: Tune rules to always monitor in both directions.

This will allow to scan the traffic from an EXTERNAL_NET to the HOME_NET and from
the HOME_NET to the EXTERNAL_NET.

Reference: 10273

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agosuricata: Swith to "16" as repeat-mark and repeat-mask.
Stefan Schantl [Mon, 18 Feb 2019 09:01:47 +0000 (10:01 +0100)] 
suricata: Swith to "16" as repeat-mark and repeat-mask.

Marks "1-3" are used for marking source-natted packets on the
interfaces and 4 up to 6 for TOS and QOS. The mark "32" is used by IPsec.

See commit: f5ad510e3c0f416a1507999f5ad20ab171df9c07

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agounbound: Drop certificates for local control connection
Michael Tremer [Sun, 17 Feb 2019 13:46:51 +0000 (13:46 +0000)] 
unbound: Drop certificates for local control connection

These are a cause of worry because they are sometimes generated with
an invalid timestamp and therefore render unbound being unusable.

There is no strong reason to use self-signed certificates for extra
security here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoAdded 'CONFIG_X86_MSR=y for 'powertop' to i586 and x86_64 builds for fixing #11997
Matthias Fischer [Sun, 10 Feb 2019 19:21:22 +0000 (20:21 +0100)] 
Added 'CONFIG_X86_MSR=y for 'powertop' to i586 and x86_64 builds for fixing #11997

Triggered by:
https://forum.ipfire.org/viewtopic.php?f=69&t=22274

This - probably - fixes Bug #11997.

Needs testing on 64bit installations!

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoFix ownership of sendEmail script
Rob Brewer [Wed, 13 Feb 2019 22:49:11 +0000 (22:49 +0000)] 
Fix ownership of sendEmail script

The script used to be owned by a non-privileged user and it should
just be owned by root.root like any other binary.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoborgbackup: fix build on armv5tel
Arne Fitzenreiter [Sat, 16 Feb 2019 21:49:47 +0000 (22:49 +0100)] 
borgbackup: fix build on armv5tel

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: enable PCA953X GPIO extender for ClearFog boards
Arne Fitzenreiter [Sat, 16 Feb 2019 20:40:50 +0000 (21:40 +0100)] 
kernel: enable PCA953X GPIO extender for ClearFog boards

fixes: #12000

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agokernel: update to 4.14.101
Arne Fitzenreiter [Fri, 15 Feb 2019 16:46:54 +0000 (17:46 +0100)] 
kernel: update to 4.14.101

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agoSuricata: Start service on red.up event if requested
Stefan Schantl [Fri, 15 Feb 2019 12:26:55 +0000 (13:26 +0100)] 
Suricata: Start service on red.up event if requested

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agocollectd: Stop collecting process details for snort
Stefan Schantl [Fri, 15 Feb 2019 11:39:56 +0000 (12:39 +0100)] 
collectd: Stop collecting process details for snort

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoservices.cgi: Show status of suricata instead of snort
Stefan Schantl [Fri, 15 Feb 2019 11:18:45 +0000 (12:18 +0100)] 
services.cgi: Show status of suricata instead of snort

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agologrotate: Rotate suricata logs instead of snort ones
Stefan Schantl [Fri, 15 Feb 2019 10:22:14 +0000 (11:22 +0100)] 
logrotate: Rotate suricata logs instead of snort ones

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoconvert-snort: Always create directory and filelayout
Stefan Schantl [Thu, 14 Feb 2019 11:37:13 +0000 (12:37 +0100)] 
convert-snort: Always create directory and filelayout

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoconvert-snort: Call subfunction to change ownership of rulestarball
Stefan Schantl [Thu, 14 Feb 2019 11:15:41 +0000 (12:15 +0100)] 
convert-snort: Call subfunction to change ownership of rulestarball

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids-ruleset-sources: Fix rootfile
Stefan Schantl [Thu, 14 Feb 2019 10:43:31 +0000 (11:43 +0100)] 
ids-ruleset-sources: Fix rootfile

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata
Stefan Schantl [Wed, 13 Feb 2019 18:46:45 +0000 (19:46 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata

5 years agocore128: Ship kdig
Michael Tremer [Wed, 13 Feb 2019 11:32:00 +0000 (11:32 +0000)] 
core128: Ship kdig

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoknot: Reduced version of knot with kdig only
Erik Kapfer [Sat, 9 Feb 2019 07:41:15 +0000 (08:41 +0100)] 
knot: Reduced version of knot with kdig only

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocore128: Ship libedit
Michael Tremer [Wed, 13 Feb 2019 11:31:24 +0000 (11:31 +0000)] 
core128: Ship libedit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agolibedit: A command line editor library
Erik Kapfer [Sat, 9 Feb 2019 07:41:14 +0000 (08:41 +0100)] 
libedit: A command line editor library

Dependency for knot (kdig).

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agopowertop: Update to 2.10
Matthias Fischer [Sun, 10 Feb 2019 19:13:17 +0000 (20:13 +0100)] 
powertop: Update to 2.10

Hi,

Triggered by:
https://forum.ipfire.org/viewtopic.php?f=69&t=22274

For details see:
https://01.org/powertop/downloads/powertop-v2.10

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agodhcpcd: Update to 7.1.1
Matthias Fischer [Sat, 9 Feb 2019 09:59:08 +0000 (10:59 +0100)] 
dhcpcd: Update to 7.1.1

For details see:
https://roy.marples.name/blog/dhcpcd-7-1-1-released

"A minor update, highlights include:

 IPv4LL: Fixed build with this disabled
 IPv4LL: Remember last address between carrier resets
 BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN
 FreeBSD: Avoid panicing kernel when RTA_IFP is set for IPv6 prefix routes"

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agocurl: Update to 7.64.0
Matthias Fischer [Sat, 9 Feb 2019 09:37:22 +0000 (10:37 +0100)] 
curl: Update to 7.64.0

Hi,

For details see:
https://curl.haxx.se/changes.html

This came rather unexpected - if I'd known, I'd have waited with 7.63.0.

"Changes:
cookies: leave secure cookies alone
hostip: support wildcard hosts
http: Implement trailing headers for chunked transfers
http: added options for allowing HTTP/0.9 responses
timeval: Use high resolution timestamps on Windows

Bugfixes:
CVE-2018-16890: NTLM type-2 out-of-bounds buffer read
CVE-2019-3822: NTLMv2 type-3 header stack buffer overflow
CVE-2019-3823: SMTP end-of-response out-of-bounds read
FAQ: remove mention of sourceforge for github
OS400: handle memory error in list conversion
OS400: upgrade ILE/RPG binding.
README: add codacy code quality badge
Revert http_negotiate: do not close connection
THANKS: added several missing names from year <= 2000
build: make 'tidy' target work for metalink builds
cmake: added checks for variadic macros
cmake: updated check for HAVE_POLL_FINE to match autotools
cmake: use lowercase for function name like the rest of the code
configure: detect xlclang separately from clang
configure: fix recv/send/select detection on Android
configure: rewrite --enable-code-coverage
conncache_unlock: avoid indirection by changing input argument type
cookie: fix comment typo
cookies: allow secure override when done over HTTPS
cookies: extend domain checks to non psl builds
cookies: skip custom cookies when redirecting cross-site
curl --xattr: strip credentials from any URL that is stored
curl -J: refuse to append to the destination file
curl/urlapi.h: include "curl.h" first
curl_multi_remove_handle() don't block terminating c-ares requests
darwinssl: accept setting max-tls with default min-tls
disconnect: separate connections and easy handles better
disconnect: set conn->data for protocol disconnect
docs/version.d: mention MultiSSL
docs: fix the --tls-max description
docs: use $(INSTALL_DATA) to install man page
docs: use meaningless port number in CURLOPT_LOCALPORT example
gopher: always include the entire gopher-path in request
http2: clear pause stream id if it gets closed
if2ip: remove unused function Curl_if_is_interface_name
libssh: do not let libssh create socket
libssh: enable CURLOPT_SSH_KNOWNHOSTS and CURLOPT_SSH_KEYFUNCTION for libssh
libssh: free sftp_canonicalize_path() data correctly
libtest/stub_gssapi: use "real" snprintf
mbedtls: use VERIFYHOST
multi: multiplexing improvements
multi: set the EXPIRE_*TIMEOUT timers at TIMER_STARTSINGLE time
ntlm: fix NTMLv2 compliance
ntlm_sspi: add support for channel binding
openssl: adapt to 3.0.0, OpenSSL_version_num() is deprecated
openssl: fix the SSL_get_tlsext_status_ocsp_resp call
openvms: fix OpenSSL discovery on VAX
openvms: fix typos in documentation
os400: add a missing closing bracket
os400: fix extra parameter syntax error
pingpong: change default response timeout to 120 seconds
pingpong: ignore regular timeout in disconnect phase
printf: fix format specifiers
runtests.pl: Fix perl call to include srcdir
schannel: fix compiler warning
schannel: preserve original certificate path parameter
schannel: stop calling it "winssl"
sigpipe: if mbedTLS is used, ignore SIGPIPE
smb: fix incorrect path in request if connection reused
ssh: log the libssh2 error message when ssh session startup fails
test1558: verify CURLINFO_PROTOCOL on file:// transfer
test1561: improve test name
test1653: make it survive torture tests
tests: allow tests to pass by 2037-02-12
tests: move objnames-* from lib into tests
timediff: fix math for unsigned time_t
timeval: Disable MSVC Analyzer GetTickCount warning
tool_cb_prg: avoid integer overflow
travis: added cmake build for osx
urlapi: Fix port parsing of eol colon
urlapi: distinguish possibly empty query
urlapi: fix parsing ipv6 with zone index
urldata: rename easy_conn to just conn
winbuild: conditionally use /DZLIB_WINAPI
wolfssl: fix memory-leak in threaded use
spnego_sspi: add support for channel binding"

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agokernel: update to 4.14.98
Arne Fitzenreiter [Fri, 8 Feb 2019 19:50:37 +0000 (20:50 +0100)] 
kernel: update to 4.14.98

todo: check if RPi dwc dma patch still need to reverted before release

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
5 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata
Stefan Schantl [Fri, 8 Feb 2019 08:59:31 +0000 (09:59 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata

5 years agolibhtp: Update to 0.5.29
Stefan Schantl [Fri, 8 Feb 2019 08:56:36 +0000 (09:56 +0100)] 
libhtp: Update to 0.5.29

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoruleset-sources: Update sourcefire rulesets to latest snapshot version
Stefan Schantl [Fri, 8 Feb 2019 08:55:46 +0000 (09:55 +0100)] 
ruleset-sources: Update sourcefire rulesets to latest snapshot version

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoborgbackup: Fix build on i586
Matthias Fischer [Fri, 8 Feb 2019 11:01:42 +0000 (12:01 +0100)] 
borgbackup: Fix build on i586

Fixes

...
'/usr/src/config/rootfiles/packages//borgbackup' -> '/install/packages/package/ROOTFILES'
tar: usr/lib/python3.6/site-packages/borg/chunker.cpython-36m-i586-linux-gnu.so: Cannot stat: No such file or directory
tar: usr/lib/python3.6/site-packages/borg/compress.cpython-36m-i586-linux-gnu.so: Cannot stat: No such file or directory
tar: usr/lib/python3.6/site-packages/borg/crypto.cpython-36m-i586-linux-gnu.so: Cannot stat: No such file or directory
tar: usr/lib/python3.6/site-packages/borg/hashindex.cpython-36m-i586-linux-gnu.so: Cannot stat: No such file or directory
tar: usr/lib/python3.6/site-packages/borg/platform_linux.cpython-36m-i586-linux-gnu.so: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
make: *** [borgbackup:58: dist] Error 2
...

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agopython3-llfuse: Fix build on i586
Matthias Fischer [Fri, 8 Feb 2019 10:57:47 +0000 (11:57 +0100)] 
python3-llfuse: Fix build on i586

Fixes

"tar: usr/lib/python3.6/site-packages/llfuse.cpython-36m-i586-linux-gnu.so:
Cannot stat: No such file or directory"

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoSuricata: detect DNS events on port 853, too
Peter Müller [Thu, 7 Feb 2019 17:47:00 +0000 (17:47 +0000)] 
Suricata: detect DNS events on port 853, too

As DNS over TLS popularity is increasing, port 853 becomes
more interesting for an attacker as a bypass method. Enabling
this port for DNS monitoring makes sense in order to avoid
unusual activity (non-DNS traffic) as well as "normal" DNS
attacks.

Partially fixes #11808

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoSuricata: enable full detection for missing protocols
Peter Müller [Thu, 7 Feb 2019 17:41:00 +0000 (17:41 +0000)] 
Suricata: enable full detection for missing protocols

These are IMAP and MSN, which can be safely enabled.

Partially fixes #11808

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoSuricata: detect TLS traffic on IMAPS/POP3S/SSMTP ports as, well
Peter Müller [Thu, 7 Feb 2019 17:38:00 +0000 (17:38 +0000)] 
Suricata: detect TLS traffic on IMAPS/POP3S/SSMTP ports as, well

Partially fixes #11808

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agocore128: Ship updated firewall initscript
Michael Tremer [Thu, 7 Feb 2019 15:13:50 +0000 (15:13 +0000)] 
core128: Ship updated firewall initscript

Require reboot after the update

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoapply default firewall policy for ORANGE, too
Peter Müller [Wed, 6 Feb 2019 21:00:00 +0000 (21:00 +0000)] 
apply default firewall policy for ORANGE, too

If firewall default policy is set to DROP, this setting was not
applied to outgoing ORANGE traffic as well, which was misleading.

Fixes #11973

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Cc: Oliver Fuhrer <oliver.fuhrer@bluewin.ch>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoTor: update to 0.3.5.7
Peter Müller [Wed, 6 Feb 2019 19:21:00 +0000 (19:21 +0000)] 
Tor: update to 0.3.5.7

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 years agoids.cgi: Format and show date of the current ruleset again
Stefan Schantl [Thu, 7 Feb 2019 09:33:29 +0000 (10:33 +0100)] 
ids.cgi: Format and show date of the current ruleset again

Fixes #11992

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Change name of the button to apply the ruleset changes
Stefan Schantl [Thu, 7 Feb 2019 08:46:01 +0000 (09:46 +0100)] 
ids.cgi: Change name of the button to apply the ruleset changes

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agolangs: Remove snort related and unused strings
Stefan Schantl [Thu, 7 Feb 2019 08:02:32 +0000 (09:02 +0100)] 
langs: Remove snort related and unused strings

Fixes #11993.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agologs.cgi/ids.dat: Do not call the IDS snort again
Stefan Schantl [Thu, 7 Feb 2019 08:00:35 +0000 (09:00 +0100)] 
logs.cgi/ids.dat: Do not call the IDS snort again

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Improve showed messages while the IDS is working
Stefan Schantl [Thu, 7 Feb 2019 07:51:31 +0000 (08:51 +0100)] 
ids.cgi: Improve showed messages while the IDS is working

Reference #11993

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoAdd german translation for "system is offline"
Stefan Schantl [Thu, 7 Feb 2019 07:28:29 +0000 (08:28 +0100)] 
Add german translation for "system is offline"

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Lock page while autoupdate script is running
Stefan Schantl [Thu, 7 Feb 2019 07:24:15 +0000 (08:24 +0100)] 
ids.cgi: Lock page while autoupdate script is running

Fixes #11991

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoupdate-ids-ruleset: Lock and Unlock the IDS page during runtime
Stefan Schantl [Thu, 7 Feb 2019 07:06:49 +0000 (08:06 +0100)] 
update-ids-ruleset: Lock and Unlock the IDS page during runtime

Reference #11991

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids-functions.pl: Add code to lock/unlock ids page while autoupdating the ruleset
Stefan Schantl [Thu, 7 Feb 2019 06:59:20 +0000 (07:59 +0100)] 
ids-functions.pl: Add code to lock/unlock ids page while autoupdating the ruleset

Reference #11991

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Show "Update Ruleset"-Button only if automatic updates are disabled
Stefan Schantl [Thu, 7 Feb 2019 06:44:11 +0000 (07:44 +0100)] 
ids.cgi: Show "Update Ruleset"-Button only if automatic updates are disabled

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoaliases.cgi: Handle suricata related actions when dealing with aliases
Stefan Schantl [Wed, 6 Feb 2019 14:59:02 +0000 (15:59 +0100)] 
aliases.cgi: Handle suricata related actions when dealing with aliases

When working with aliases (adding/modifying/removing), the file which
contains the HOME_NET declarations needs to be re-generated and suricata
requires a restart afterwards.

Fixes #11990

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoIDS: Call helper script when red interface gets up
Stefan Schantl [Wed, 6 Feb 2019 14:23:46 +0000 (15:23 +0100)] 
IDS: Call helper script when red interface gets up

The helper script will be automatically called when the red interface gets up
and will re-generate the HOME_NET file, to take care if the IP-address of this
interface has changed.

Fixes #11989

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoIDS: Edit german translation for "ids oinkcode required".
Stefan Schantl [Wed, 6 Feb 2019 12:12:50 +0000 (13:12 +0100)] 
IDS: Edit german translation for "ids oinkcode required".

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Check if the selected ruleset requires an oinkcode
Stefan Schantl [Wed, 6 Feb 2019 11:49:01 +0000 (12:49 +0100)] 
ids.cgi: Check if the selected ruleset requires an oinkcode

Fixes #11983

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Only perform actions when saving ruleset settings, if there are no error...
Stefan Schantl [Wed, 6 Feb 2019 11:48:08 +0000 (12:48 +0100)] 
ids.cgi: Only perform actions when saving ruleset settings, if there are no error messages

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids-functions.pl: Do not send HEAD requests to sourcefire (snort.org) servers
Stefan Schantl [Wed, 6 Feb 2019 09:58:59 +0000 (10:58 +0100)] 
ids-functions.pl: Do not send HEAD requests to sourcefire (snort.org) servers

Using this feature to fetch the size of the requested tarball is not allowed by these
servers, so skip this feature for their rulesets.

Fixes #11987

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoRevert "ids-functions.pl: Use GET method to fetch Header data of a file"
Stefan Schantl [Wed, 6 Feb 2019 09:00:17 +0000 (10:00 +0100)] 
Revert "ids-functions.pl: Use GET method to fetch Header data of a file"

Using the GET method will download the file twice and does not provide the
desired mechanism here.

This reverts commit 81592314ebe93ae942f28a1bc9037185f155ccda.

5 years agoids.cgi: Fix HTML formated spaces.
Stefan Schantl [Tue, 5 Feb 2019 13:34:44 +0000 (14:34 +0100)] 
ids.cgi: Fix HTML formated spaces.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Rework "Enable IPS" section
Stefan Schantl [Tue, 5 Feb 2019 13:14:11 +0000 (14:14 +0100)] 
ids.cgi: Rework "Enable IPS" section

Just use one language string for a maximum of flexiblity for the
transloators.

Fixes #11986

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agosuricata: Do not display messages when starting up
Stefan Schantl [Tue, 5 Feb 2019 12:57:40 +0000 (13:57 +0100)] 
suricata: Do not display messages when starting up

Fixes #11979.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Change lang string from "Activate IPS" to "Enable IPS"
Stefan Schantl [Tue, 5 Feb 2019 12:51:08 +0000 (13:51 +0100)] 
ids.cgi: Change lang string from "Activate IPS" to "Enable IPS"

Reference #11986

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoIDS: Rename IDS strings to IPS
Stefan Schantl [Tue, 5 Feb 2019 12:25:27 +0000 (13:25 +0100)] 
IDS: Rename IDS strings to IPS

Reference: #11986

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Stop suricata when the rulest source has been changed
Stefan Schantl [Tue, 5 Feb 2019 11:43:49 +0000 (12:43 +0100)] 
ids.cgi: Stop suricata when the rulest source has been changed

If the ruleset source has been changed, it has to be configured again.
This happens because of different rule categories, filenames rule ID's etc.

In case suricata currently is running it has to be stopped and after the configuration
has been done by the user, it can be launched again.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
5 years agoids.cgi: Fix downloading rules if source changed
Stefan Schantl [Tue, 5 Feb 2019 11:36:30 +0000 (12:36 +0100)] 
ids.cgi: Fix downloading rules if source changed

Fix the if statement to detect wheater the ruleset has been
changed and automatically download the new one.

Fixes #11984.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>