]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/log
people/pmueller/ipfire-2.x.git
4 years agoids-functions.pl: Update generate_dns_servers_file() function.
Stefan Schantl [Thu, 9 Jan 2020 15:25:01 +0000 (16:25 +0100)] 
ids-functions.pl: Update generate_dns_servers_file() function.

The function now uses the newly introduced get_nameservers() function
while generating the DNS servers file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agogeneral-functions.pl: Add get_nameservers().
Stefan Schantl [Thu, 9 Jan 2020 15:08:13 +0000 (16:08 +0100)] 
general-functions.pl: Add get_nameservers().

This function simply return an array of all used nameservers.

It also takes care if the usage of ISP assigned nameservers
is enabled or not and if user-added nameservers are enabled or not.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agoguardian: Remove code for DNS servers.
Stefan Schantl [Thu, 9 Jan 2020 08:15:05 +0000 (09:15 +0100)] 
guardian: Remove code for DNS servers.

In the past this code was used to add the DNS servers
to the ignore list and prevent them from being blocked by
guardian.

Because of the switch to suricata as IPS, guardian now prevents
from password brute-forcing on SSH and/or the webserver, so this
code is not longer needed and safly can be removed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Move grab_address_from_file function to general-functions.pl
Stefan Schantl [Wed, 8 Jan 2020 17:44:41 +0000 (18:44 +0100)] 
dns.cgi: Move grab_address_from_file function to general-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Also restart unbound if a server got enabled/disabled
Stefan Schantl [Wed, 8 Jan 2020 17:19:58 +0000 (18:19 +0100)] 
dns.cgi: Also restart unbound if a server got enabled/disabled

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Remove accidently commited debug code
Stefan Schantl [Wed, 8 Jan 2020 17:15:33 +0000 (18:15 +0100)] 
dns.cgi: Remove accidently commited debug code

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Restart unbound
Stefan Schantl [Wed, 8 Jan 2020 17:10:23 +0000 (18:10 +0100)] 
dns.cgi: Restart unbound

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Display DNS system status.
Stefan Schantl [Wed, 8 Jan 2020 17:00:15 +0000 (18:00 +0100)] 
dns.cgi: Display DNS system status.

For this, a test query to the local unbound instance will be
sent and if the DNS system work properly can be answerd.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Perform server checks on user request
Stefan Schantl [Wed, 8 Jan 2020 14:24:59 +0000 (15:24 +0100)] 
dns.cgi: Perform server checks on user request

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Remove hard-coded box title.
Stefan Schantl [Wed, 8 Jan 2020 14:22:56 +0000 (15:22 +0100)] 
dns.cgi: Remove hard-coded box title.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Do not perform kdig tests when adding a server
Stefan Schantl [Wed, 8 Jan 2020 11:58:50 +0000 (12:58 +0100)] 
dns.cgi: Do not perform kdig tests when adding a server

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Check for empty server address.
Stefan Schantl [Wed, 8 Jan 2020 11:12:29 +0000 (12:12 +0100)] 
dns.cgi: Check for empty server address.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Perform kdig tests only if the system is online.
Stefan Schantl [Wed, 8 Jan 2020 10:13:05 +0000 (11:13 +0100)] 
dns.cgi: Perform kdig tests only if the system is online.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Introduce red_is_active()
Stefan Schantl [Wed, 8 Jan 2020 10:12:42 +0000 (11:12 +0100)] 
dns.cgi: Introduce red_is_active()

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Always display the input field for TLS_HOSTNAME
Stefan Schantl [Wed, 8 Jan 2020 09:35:52 +0000 (10:35 +0100)] 
dns.cgi: Always display the input field for TLS_HOSTNAME

* Mark it as required if the protocol is set to TLS.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agodns.cgi: Only perform reverse lookups if the system is online
Stefan Schantl [Wed, 8 Jan 2020 09:35:24 +0000 (10:35 +0100)] 
dns.cgi: Only perform reverse lookups if the system is online

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agounbound: Implement setting qname minimisation into strict mode
Michael Tremer [Tue, 7 Jan 2020 16:32:35 +0000 (16:32 +0000)] 
unbound: Implement setting qname minimisation into strict mode

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Try to set time when DNS is not working
Michael Tremer [Tue, 7 Jan 2020 16:24:35 +0000 (16:24 +0000)] 
unbound: Try to set time when DNS is not working

Since DNSSEC relies on time to validate its signatures,
a common problem is that some systems (usually those without
a working RTC) are not being able to reach their time server.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Do not update the forwarders when we are running in TLS mode
Michael Tremer [Tue, 7 Jan 2020 16:02:14 +0000 (16:02 +0000)] 
unbound: Do not update the forwarders when we are running in TLS mode

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Read configuration globally
Michael Tremer [Tue, 7 Jan 2020 15:28:21 +0000 (15:28 +0000)] 
unbound: Read configuration globally

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Update forwarders when system connects/disconnects
Michael Tremer [Tue, 7 Jan 2020 15:21:59 +0000 (15:21 +0000)] 
unbound: Update forwarders when system connects/disconnects

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Update setting Safe Search redirects
Michael Tremer [Tue, 7 Jan 2020 14:57:12 +0000 (14:57 +0000)] 
unbound: Update setting Safe Search redirects

When the system comes online, we must update entries
in the unbound cache to point to the "safe" IP addresses.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Show ISP name servers as disabled
Michael Tremer [Tue, 7 Jan 2020 14:49:54 +0000 (14:49 +0000)] 
dns.cgi: Show ISP name servers as disabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Fix handling of WARNINGs from kdig
Michael Tremer [Tue, 7 Jan 2020 14:41:13 +0000 (14:41 +0000)] 
dns.cgi: Fix handling of WARNINGs from kdig

There might be multiple warnings which must all be shown
to the user.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Remove smartmatch operator
Michael Tremer [Tue, 7 Jan 2020 13:46:11 +0000 (13:46 +0000)] 
dns.cgi: Remove smartmatch operator

Perl likes to make things difficult

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Timeout after 2 seconds for DNS server checks
Michael Tremer [Tue, 7 Jan 2020 13:45:21 +0000 (13:45 +0000)] 
dns.cgi: Timeout after 2 seconds for DNS server checks

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoDNS: Write name servers received from ISP to /var/run/dns{1,2}
Michael Tremer [Tue, 7 Jan 2020 13:35:45 +0000 (13:35 +0000)] 
DNS: Write name servers received from ISP to /var/run/dns{1,2}

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Drop live checks
Michael Tremer [Tue, 7 Jan 2020 13:06:09 +0000 (13:06 +0000)] 
unbound: Drop live checks

Those checks have caused us a lot of trouble and are now being dropped.

Users must make sure to choose servers that support DNSSEC or enable
any of the tunneling mechanisms to be able to reach them.

Fixes: #12239
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Add path to TLS CA bundle
Michael Tremer [Tue, 7 Jan 2020 12:59:24 +0000 (12:59 +0000)] 
unbound: Add path to TLS CA bundle

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: No longer read old configuration file
Michael Tremer [Tue, 7 Jan 2020 12:58:28 +0000 (12:58 +0000)] 
unbound: No longer read old configuration file

The old configuration file in /etc/sysconfig/unbound is no
longer being used and all settings should be in
/var/ipfire/dns/settings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Write upstream name servers to forward.conf
Michael Tremer [Tue, 7 Jan 2020 12:55:35 +0000 (12:55 +0000)] 
unbound: Write upstream name servers to forward.conf

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Remove test-name-server command
Michael Tremer [Tue, 7 Jan 2020 11:18:41 +0000 (11:18 +0000)] 
unbound: Remove test-name-server command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Convert forward zones to stub zones
Michael Tremer [Tue, 12 Nov 2019 12:43:28 +0000 (12:43 +0000)] 
unbound: Convert forward zones to stub zones

It was incorrect to use forward zones here, because that
assumes that unbound is talking a recursive resolver here.

The feature is however designed to be talking to an authoritative
server.

Fixes: #12230
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Allow forcing to speak TLS to upstream servers only
Michael Tremer [Mon, 4 Nov 2019 12:04:48 +0000 (12:04 +0000)] 
unbound: Allow forcing to speak TLS to upstream servers only

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agounbound: Set EDNS buffer size to 1232 bytes
Michael Tremer [Tue, 7 Jan 2020 11:12:33 +0000 (11:12 +0000)] 
unbound: Set EDNS buffer size to 1232 bytes

Fixes: #12240
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Set EDNS buffer size to 1232
Michael Tremer [Tue, 7 Jan 2020 11:06:10 +0000 (11:06 +0000)] 
dns.cgi: Set EDNS buffer size to 1232

References: #12240
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoUpdate English translation
Michael Tremer [Tue, 7 Jan 2020 10:53:34 +0000 (10:53 +0000)] 
Update English translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agowebif: Show menu entry for DNS all the time
Michael Tremer [Tue, 7 Jan 2020 10:48:01 +0000 (10:48 +0000)] 
webif: Show menu entry for DNS all the time

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agonetexternal.cgi: Drop DNSSEC status
Michael Tremer [Tue, 7 Jan 2020 10:45:08 +0000 (10:45 +0000)] 
netexternal.cgi: Drop DNSSEC status

This has now been moved to the new dns.cgi.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agoDNS: Add converter to migrate settings
Michael Tremer [Tue, 7 Jan 2020 10:43:19 +0000 (10:43 +0000)] 
DNS: Add converter to migrate settings

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agolangs/en.pl: Add new strings for modified dns.cgi.
Stefan Schantl [Tue, 7 Jan 2020 09:32:43 +0000 (10:32 +0100)] 
langs/en.pl: Add new strings for modified dns.cgi.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 years agodns.cgi: Rework to allow central DNS configuration.
Stefan Schantl [Tue, 7 Jan 2020 09:30:37 +0000 (10:30 +0100)] 
dns.cgi: Rework to allow central DNS configuration.

Fixes #12237.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agopppsetup.cgi: Remove support for configure DNS settings.
Stefan Schantl [Sun, 5 Jan 2020 11:37:57 +0000 (12:37 +0100)] 
pppsetup.cgi: Remove support for configure DNS settings.

Fixes #12234.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Sun, 5 Jan 2020 11:15:00 +0000 (12:15 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

4 years agocore140: add gcc changes to updater
Arne Fitzenreiter [Sun, 5 Jan 2020 09:28:20 +0000 (09:28 +0000)] 
core140: add gcc changes to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoTor: update to 0.4.2.5
Peter Müller [Sat, 4 Jan 2020 16:15:00 +0000 (16:15 +0000)] 
Tor: update to 0.4.2.5

Please refer to https://blog.torproject.org/new-release-0425-also-0417-0406-and-0359
for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolibseccomp: update to 2.4.2
Peter Müller [Sat, 4 Jan 2020 15:31:00 +0000 (15:31 +0000)] 
libseccomp: update to 2.4.2

Please refer to https://github.com/seccomp/libseccomp/releases/tag/v2.4.2
for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoopenvmtools: Update to 11.0.0
Michael Tremer [Sat, 4 Jan 2020 16:49:16 +0000 (16:49 +0000)] 
openvmtools: Update to 11.0.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoglib: Fix compiling with GCC 9
Michael Tremer [Sat, 4 Jan 2020 16:49:15 +0000 (16:49 +0000)] 
glib: Fix compiling with GCC 9

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoefivar: Update to 37
Michael Tremer [Sat, 4 Jan 2020 16:49:14 +0000 (16:49 +0000)] 
efivar: Update to 37

This also fixes some build issues with GCC 9.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agomdadm: Update to 4.1
Michael Tremer [Sat, 4 Jan 2020 16:49:13 +0000 (16:49 +0000)] 
mdadm: Update to 4.1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agompc: Update to 1.1.0
Michael Tremer [Sat, 4 Jan 2020 16:49:12 +0000 (16:49 +0000)] 
mpc: Update to 1.1.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agompfr: Update to 4.0.2
Michael Tremer [Sat, 4 Jan 2020 16:49:11 +0000 (16:49 +0000)] 
mpfr: Update to 4.0.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agogcc: Update to 9.2.0
Michael Tremer [Sat, 4 Jan 2020 13:06:01 +0000 (13:06 +0000)] 
gcc: Update to 9.2.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolang: Fix typo in "Writen Bytes" and fix grammar
Michael Tremer [Fri, 3 Jan 2020 17:12:32 +0000 (17:12 +0000)] 
lang: Fix typo in "Writen Bytes" and fix grammar

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add convert-snort to updater
Arne Fitzenreiter [Fri, 3 Jan 2020 21:17:05 +0000 (21:17 +0000)] 
core140: add convert-snort to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoconvert-snort: Check and convert snort user and group.
Stefan Schantl [Fri, 3 Jan 2020 10:16:53 +0000 (11:16 +0100)] 
convert-snort: Check and convert snort user and group.

Fixes #12102.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoRevert "bind: Update to 9.11.14"
Arne Fitzenreiter [Fri, 3 Jan 2020 21:13:30 +0000 (21:13 +0000)] 
Revert "bind: Update to 9.11.14"

build fails on armv5tel: https://nightly.ipfire.org/next/2020-01-02%2016:17:54%20+0000-c846ed16/armv5tel/

This reverts commit 7d9b0ab69750c19d51833537652c6b11fc1bc2ab.

4 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Fri, 3 Jan 2020 10:06:47 +0000 (11:06 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

4 years agopakfire: use HTTPS if no protocol is specified
Arne Fitzenreiter [Thu, 2 Jan 2020 16:12:35 +0000 (16:12 +0000)] 
pakfire: use HTTPS if no protocol is specified

also use HTTPS on fallback to mainserver if no mirror was left

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoMerge branch 'master' into next
Arne Fitzenreiter [Thu, 2 Jan 2020 15:59:53 +0000 (15:59 +0000)] 
Merge branch 'master' into next

4 years agostripper: Strip all unneeded relocation information
Michael Tremer [Tue, 24 Dec 2019 10:46:51 +0000 (10:46 +0000)] 
stripper: Strip all unneeded relocation information

Libraries were treated differently and therfore it could
happen that they were not stripped from any unnecessary
relocation information at all.

This patch changes that and strips everything from
libraries that we do not need.

The ISO was 3MB smaller.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agonano: Update to 4.7
Matthias Fischer [Mon, 23 Dec 2019 18:19:44 +0000 (19:19 +0100)] 
nano: Update to 4.7

For details see:
https://www.nano-editor.org/news.php

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add bind to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 19:19:12 +0000 (19:19 +0000)] 
core140: add bind to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agobind: Update to 9.11.14
Matthias Fischer [Mon, 23 Dec 2019 14:47:45 +0000 (15:47 +0100)] 
bind: Update to 9.11.14

For details see:
https://downloads.isc.org/isc/bind9/9.11.14/RELEASE-NOTES-bind-9.11.14.html

"Bug Fixes

Fixed a bug that caused named to leak memory on reconfiguration when any
GeoIP2 database was in use. [GL #1445]

Fixed several possible race conditions discovered by Thread Sanitizer."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add file to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 19:16:55 +0000 (19:16 +0000)] 
core140: add file to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agofile: Update to 5.38
Michael Tremer [Sat, 21 Dec 2019 11:12:06 +0000 (11:12 +0000)] 
file: Update to 5.38

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agodehydrated: Update to 0.6.5
Michael Tremer [Thu, 19 Dec 2019 19:13:42 +0000 (19:13 +0000)] 
dehydrated: Update to 0.6.5

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agorfkill: New package.
Stefan Schantl [Thu, 19 Dec 2019 17:09:42 +0000 (18:09 +0100)] 
rfkill: New package.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add ids.cgi and suricata initskript to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 19:13:28 +0000 (19:13 +0000)] 
core140: add ids.cgi and suricata initskript to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoIDS: Allow to inspect traffic from or to OpenVPN
Stefan Schantl [Tue, 17 Dec 2019 12:06:29 +0000 (13:06 +0100)] 
IDS: Allow to inspect traffic from or to OpenVPN

This commit allows to configure suricata to monitor traffic from or to
OpenVPN tunnels. This includes the RW server and all established N2N
connections.

Because the RW server and/or each N2N connection uses it's own tun?
device, it is only possible to enable monitoring all of them or to disable
monitoring entirely.

Fixes #12111.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add suricata and libhtp to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 19:10:55 +0000 (19:10 +0000)] 
core140: add suricata and libhtp to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolibhtp: Update to 0.5.32
Matthias Fischer [Sat, 14 Dec 2019 11:24:46 +0000 (12:24 +0100)] 
libhtp: Update to 0.5.32

For details see:
https://github.com/OISF/libhtp/releases

Bundled with 'suricata 4.1.6'

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agosuricata: Update to 4.1.6
Matthias Fischer [Sat, 14 Dec 2019 11:24:45 +0000 (12:24 +0100)] 
suricata: Update to 4.1.6

Excerpt from 'ChangeLog':

"4.1.6 -- 2019-12-13

Bug #3276: address parsing: memory leak in error path (4.1.x)
Bug #3278: segfault when test a nfs pcap file (4.1.x)
Bug #3279: ikev2 enabled in config even if Rust is disabled
Bug #3325: lua issues on arm (fedora:29) (4.1.x)
Bug #3326: Static build with pcap fails (4.1.x)
Bug #3327: tcp: empty SACK option leads to decoder event (4.1.x)
Bug #3347: BPF filter on command line not honored for pcap file (4.1.x)
Bug #3355: DNS: DNS over TCP transactions logged with wrong direction. (4.1.x)
Bug #3356: DHCP: Slow down over time due to lack of detect flags (4.1.x)
Bug #3369: byte_extract does not work in some situations (4.1.x)
Bug #3385: fast-log: icmp type prints wrong value (4.1.x)
Bug #3387: suricata is logging tls log repeatedly if custom mode is enabled (4.1.x)
Bug #3388: TLS Lua output does not work without TLS log (4.1.x)
Bug #3391: Suricata is unable to get MTU from NIC after 4.1.0 (4.1.x)
Bug #3393: http: pipelining tx id handling broken (4.1.x)
Bug #3394: TCP evasion technique by overlapping a TCP segment with a fake packet (4.1.x)
Bug #3395: TCP evasion technique by faking a closed TCP session (4.1.x)
Bug #3402: smb: post-GAP some transactions never close (4.1.x)
Bug #3403: smb1: 'event only' transactions for bad requests never close (4.1.x)
Bug #3404: smtp: file tracking issues when more than one attachment in a tx (4.1.x)
Bug #3405: Filehash rule does not fire without filestore keyword
Bug #3410: intermittent abort()s at shutdown and in unix-socket (4.1.x)
Bug #3412: detect/asn1: crashes on packets smaller than offset setting (4.1.x)
Task #3367: configure: Rust 1.37+ has cargo-vendor support bundled into cargo (4.1.x)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add knot to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 18:03:34 +0000 (18:03 +0000)] 
core140: add knot to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoknot: Update to 2.9.2
Matthias Fischer [Sat, 14 Dec 2019 11:13:40 +0000 (12:13 +0100)] 
knot: Update to 2.9.2

For details see:
https://www.knot-dns.cz/2019-12-12-version-292.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add unbound to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 17:59:50 +0000 (17:59 +0000)] 
core140: add unbound to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agounbound: Update to 1.9.6
Matthias Fischer [Sat, 14 Dec 2019 11:09:58 +0000 (12:09 +0100)] 
unbound: Update to 1.9.6

For details see:
https://nlnetlabs.nl/pipermail/unbound-users/2019-December/011941.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoUpdate French translation
Stéphane Pautrel [Tue, 10 Dec 2019 11:10:42 +0000 (11:10 +0000)] 
Update French translation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agotshark: Update to version 3.0.7
Erik Kapfer [Tue, 10 Dec 2019 10:40:04 +0000 (11:40 +0100)] 
tshark: Update to version 3.0.7

Several bugfixes are included in this version, some protocol support has been added.
For a complete overview of the changelog, take a look in here -->
https://www.wireshark.org/docs/relnotes/wireshark-3.0.6.html
https://www.wireshark.org/docs/relnotes/wireshark-3.0.7.html .

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: add unbound/saveserch changes to updater
Arne Fitzenreiter [Sun, 29 Dec 2019 13:44:20 +0000 (13:44 +0000)] 
core140: add unbound/saveserch changes to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocheckrootfiles: ignore arch folder and add x86_64,aarch64
Arne Fitzenreiter [Sun, 29 Dec 2019 13:42:31 +0000 (13:42 +0000)] 
checkrootfiles: ignore arch folder and add x86_64,aarch64

rust has arch depending rootfiles which make no sense to
replache the arch by machine.
Also added missing arches to check.

4 years agounbound: Configure Safe Search dynamically
Michael Tremer [Mon, 9 Dec 2019 23:36:59 +0000 (23:36 +0000)] 
unbound: Configure Safe Search dynamically

The safe search code relied on working DNS resolution, but
was executed before unbound was even started and no network
was brought up.

That resulted in no records being created and nothing being
filtered.

This will now set/reset safe search when the system connects
to the Internet.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoUpdate of French translations
Stéphane Pautrel [Mon, 9 Dec 2019 23:10:03 +0000 (23:10 +0000)] 
Update of French translations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agorust: Update to 1.39
Stefan Schantl [Mon, 9 Dec 2019 10:38:11 +0000 (11:38 +0100)] 
rust: Update to 1.39

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agomake.sh: Introduce RUSTFLAGS
Stefan Schantl [Sat, 7 Dec 2019 18:30:45 +0000 (19:30 +0100)] 
make.sh: Introduce RUSTFLAGS

This allows to set arch-specific FLAGS when dealing with
software written in rust.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Mon, 16 Dec 2019 08:04:29 +0000 (09:04 +0100)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

4 years agoCore Update 139: fix syntax of generated Suricata DNS server file
Peter Müller [Fri, 13 Dec 2019 17:28:00 +0000 (17:28 +0000)] 
Core Update 139: fix syntax of generated Suricata DNS server file

The YAML syntax of /var/ipfire/suricata/suricata-dns-servers.yaml was
invalid and caused Suricata to crash after upgrading to Core Update 139.

Due to strange NFQUEUE behaviour, this caused IPsec traffic to be
emitted to the internet directly. While this patch represents a quick
solution for Core Update 139, another one is needed for changing the
IPtables chain order to avoid similar information leaks in future.

Thanks to Michael for his debugging effort.

Fixes #12260
Partially fixes #12257

Cc: Michael Tremer <michael.tremer@ipfire.org>
Cc: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoCore Update 139 needs a reboot
Peter Müller [Fri, 13 Dec 2019 16:31:00 +0000 (16:31 +0000)] 
Core Update 139 needs a reboot

Fixes #12258

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoCore Update 139: apply SSH configuration and restart SSH daemon
Peter Müller [Fri, 13 Dec 2019 16:30:00 +0000 (16:30 +0000)] 
Core Update 139: apply SSH configuration and restart SSH daemon

Fixes #12259

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: start
Arne Fitzenreiter [Mon, 9 Dec 2019 18:50:03 +0000 (19:50 +0100)] 
core140: start

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoMerge branch 'next'
Arne Fitzenreiter [Mon, 9 Dec 2019 18:03:14 +0000 (18:03 +0000)] 
Merge branch 'next'

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: finish
Arne Fitzenreiter [Mon, 9 Dec 2019 17:48:07 +0000 (18:48 +0100)] 
core139: finish

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoleds: use new APUx ACPI Bios leds if exist.
Arne Fitzenreiter [Sun, 8 Dec 2019 21:55:26 +0000 (22:55 +0100)] 
leds: use new APUx ACPI Bios leds if exist.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocrontab: Adjust crontab to hourly launch the update-location-database
Stefan Schantl [Mon, 9 Dec 2019 13:19:53 +0000 (14:19 +0100)] 
crontab: Adjust crontab to hourly launch the update-location-database
script.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agoIntroduce update-location-database script.
Stefan Schantl [Mon, 9 Dec 2019 13:14:34 +0000 (14:14 +0100)] 
Introduce update-location-database script.

This script obsoletes the old xt_geoip_update script.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
4 years agoovpn: Fix LZO checkbox restore
Erik Kapfer [Fri, 6 Dec 2019 06:08:33 +0000 (07:08 +0100)] 
ovpn: Fix LZO checkbox restore

Triggered by --> https://community.ipfire.org/t/openvpn-is-lzo-compression-now-effectively-disabled/503 .

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopcengines-firmware: fix rootfile
Arne Fitzenreiter [Fri, 6 Dec 2019 02:18:09 +0000 (03:18 +0100)] 
pcengines-firmware: fix rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoCore Update 139: ship updated OpenSSH
Peter Müller [Wed, 4 Dec 2019 16:32:00 +0000 (16:32 +0000)] 
Core Update 139: ship updated OpenSSH

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoOpenSSH: update to 8.1p1
Peter Müller [Wed, 4 Dec 2019 16:30:00 +0000 (16:30 +0000)] 
OpenSSH: update to 8.1p1

Please refer to https://www.openssh.com/txt/release-8.1 for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>