]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
4 years agofilesystem-cleanup: Automatically remove old libraries
Michael Tremer [Fri, 10 Jan 2020 11:12:36 +0000 (11:12 +0000)] 
filesystem-cleanup: Automatically remove old libraries

This script runs through /usr/lib and /lib and tries to find
all libraries which are no longer being used and more and
deletes them.

This will help us to free space on root partitions that
are limited to 2GB.

However, the script does not cover 100% of the cases, so that
some files still need to be deleted manually (e.g. boost with
their weird versioning schema).

This script should be executed after a Core Update has been
installed.

Fixes: #12270
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoamazon-ssm-agent: Move source to GOPATH
Michael Tremer [Mon, 13 Jan 2020 21:06:38 +0000 (21:06 +0000)] 
amazon-ssm-agent: Move source to GOPATH

Go won't build when this is only symlinked any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoGo: Move the cache to the ccache directory
Michael Tremer [Tue, 24 Dec 2019 12:58:54 +0000 (12:58 +0000)] 
Go: Move the cache to the ccache directory

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoGo: Cleanup Go Path after build
Michael Tremer [Tue, 24 Dec 2019 12:58:53 +0000 (12:58 +0000)] 
Go: Cleanup Go Path after build

Go leaves temporary build files in the directory
which we do not need and we should clean up after
every build.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoamazon-ssm-agent: New package
Michael Tremer [Tue, 24 Dec 2019 12:58:52 +0000 (12:58 +0000)] 
amazon-ssm-agent: New package

AWS Systems Manager Agent (SSM Agent) is Amazon software that can be
installed and configured on an Amazon EC2 instance, an on-premises
server, or a virtual machine (VM). SSM Agent makes it possible for
Systems Manager to update, manage, and configure these resources. The
agent processes requests from the Systems Manager service in the AWS
Cloud, and then runs them as specified in the request. SSM Agent then
sends status and execution information back to the Systems Manager
service by using the Amazon Message Delivery Service.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopython3: exclude __pycache__ from iso, core and packages
Arne Fitzenreiter [Sat, 11 Jan 2020 20:22:07 +0000 (21:22 +0100)] 
python3: exclude __pycache__ from iso, core and packages

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agounbound: No longer try to include safe-search.conf
Michael Tremer [Fri, 10 Jan 2020 10:57:49 +0000 (10:57 +0000)] 
unbound: No longer try to include safe-search.conf

This file is no longer generated and therefore cannot
be imported any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore140: ship updated vpnmain.cgi
Arne Fitzenreiter [Sat, 11 Jan 2020 14:17:50 +0000 (14:17 +0000)] 
core140: ship updated vpnmain.cgi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoupdate translation files for vpnmain.cgi changes
Peter Müller [Tue, 7 Jan 2020 21:47:00 +0000 (21:47 +0000)] 
update translation files for vpnmain.cgi changes

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agovpnmain.cgi: set SubjectAlternativeName default during root certificate generation
Peter Müller [Tue, 7 Jan 2020 21:47:00 +0000 (21:47 +0000)] 
vpnmain.cgi: set SubjectAlternativeName default during root certificate generation

Some IPsec implementations such as OpenIKED require SubjectAlternativeName
data on certificates and refuse to establish connections otherwise.

The StrongSwan project also recommends it (see:
https://wiki.strongswan.org/projects/strongswan/wiki/SimpleCA) although
it is currently not enforced by their IPsec software.

For convenience purposes and to raise awareness, this patch adds a default
SubjectAlternativeName based on the machines hostname or IP address. Existing
certificates remain unchanged for obvious reasons.

The third version of this patch fixes a duplicate DNS query reported by Michael.

Fixes #11594

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoMerge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
Arne Fitzenreiter [Sat, 11 Jan 2020 14:11:06 +0000 (14:11 +0000)] 
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next

4 years agosuricata: update rootfile
Arne Fitzenreiter [Sat, 11 Jan 2020 14:10:23 +0000 (14:10 +0000)] 
suricata: update rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoelinks: move to core system.
Arne Fitzenreiter [Sat, 11 Jan 2020 14:04:48 +0000 (15:04 +0100)] 
elinks: move to core system.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopathon: update to 3.8 and move pyhton to core
Arne Fitzenreiter [Sat, 11 Jan 2020 13:35:11 +0000 (14:35 +0100)] 
pathon: update to 3.8 and move pyhton to core

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agomake.sh: update IPFire and Toolchain verion
Arne Fitzenreiter [Sat, 11 Jan 2020 13:15:45 +0000 (14:15 +0100)] 
make.sh: update IPFire and Toolchain verion

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agogcc: update armv5tel rootfile
Arne Fitzenreiter [Sat, 11 Jan 2020 13:11:12 +0000 (14:11 +0100)] 
gcc: update armv5tel rootfile

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 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 agoCore Update 139: fix syntax of generated Suricata DNS server file core139 v2.23-core139
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 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>
4 years agopcengines-firmware: update to 4.10.0.3
Arne Fitzenreiter [Thu, 5 Dec 2019 17:53:16 +0000 (18:53 +0100)] 
pcengines-firmware: update to 4.10.0.3

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agointel-microcode: update to 20191115
Arne Fitzenreiter [Thu, 5 Dec 2019 11:48:13 +0000 (12:48 +0100)] 
intel-microcode: update to 20191115

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agolinux-firmware: update to 20191022
Arne Fitzenreiter [Thu, 5 Dec 2019 11:44:45 +0000 (12:44 +0100)] 
linux-firmware: update to 20191022

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add cpio to updater
Arne Fitzenreiter [Mon, 2 Dec 2019 17:11:30 +0000 (17:11 +0000)] 
core139: add cpio to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocpio: Update to 2.13
Matthias Fischer [Sat, 30 Nov 2019 16:03:47 +0000 (17:03 +0100)] 
cpio: Update to 2.13

For details see:
https://www.gnu.org/software/cpio/

Fix CVE-2015-1197
Fix CVE-2016-2037
Fix CVE-2019-14866

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agonano: Update to 4.6
Matthias Fischer [Sat, 30 Nov 2019 15:57:46 +0000 (16:57 +0100)] 
nano: Update to 4.6

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

... and a long list of other changes in https://www.nano-editor.org/dist/latest/ChangeLog ...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agospectre-meltdown-checker: update to 0.42
Peter Müller [Thu, 28 Nov 2019 21:43:00 +0000 (21:43 +0000)] 
spectre-meltdown-checker: update to 0.42

See https://github.com/speed47/spectre-meltdown-checker/releases/tag/v0.42
for release announcements.

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 agoPostfix: update to 3.4.8
Peter Müller [Thu, 28 Nov 2019 21:14:00 +0000 (21:14 +0000)] 
Postfix: update to 3.4.8

See http://www.postfix.org/announcements/postfix-3.4.8.html for release
announcements.

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 agoupdate ca-certificates CA bundle
Peter Müller [Thu, 28 Nov 2019 17:19:00 +0000 (17:19 +0000)] 
update ca-certificates CA bundle

Update the CA certificates list to what Mozilla NSS ships currently.

The original file can be retrieved from:
https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add hwdata to updater
Arne Fitzenreiter [Mon, 2 Dec 2019 17:05:15 +0000 (17:05 +0000)] 
core139: add hwdata to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agohwdata: update PCI/USB databases
Peter Müller [Thu, 28 Nov 2019 17:08:00 +0000 (17:08 +0000)] 
hwdata: update PCI/USB databases

PCI IDs: 2019-11-26 03:15:03
USB IDs: 2019-11-05 20:34:06

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agodhcpcd.exe: remove red.down run on "NOCARRIER"
Arne Fitzenreiter [Sun, 1 Dec 2019 17:33:19 +0000 (18:33 +0100)] 
dhcpcd.exe: remove red.down run on "NOCARRIER"

after "NOCARRIER" the dhcp client always run "EXPIRE" event.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoMerge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next
Arne Fitzenreiter [Sun, 1 Dec 2019 15:36:43 +0000 (16:36 +0100)] 
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-2.x into next

4 years agoup/down beep: move from ppp ip-up/down to general red.up/down
Arne Fitzenreiter [Sun, 1 Dec 2019 14:29:59 +0000 (15:29 +0100)] 
up/down beep: move from ppp ip-up/down to general red.up/down

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years ago70-dhcpdd.exe: don't run red.down scripts at "PREINIT"
Arne Fitzenreiter [Sun, 1 Dec 2019 13:03:46 +0000 (14:03 +0100)] 
70-dhcpdd.exe: don't run red.down scripts at "PREINIT"

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add dhcp and network changes to updater
Arne Fitzenreiter [Sat, 30 Nov 2019 23:45:02 +0000 (00:45 +0100)] 
core139: add dhcp and network changes to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agonetworking red: add delay to wait for carrier
Arne Fitzenreiter [Sat, 30 Nov 2019 21:26:00 +0000 (22:26 +0100)] 
networking red: add delay to wait for carrier

some nic's need some time after link up to get a carrier

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agodhcpcd: 10-mtu break if carrier was lost
Arne Fitzenreiter [Sat, 30 Nov 2019 21:21:42 +0000 (22:21 +0100)] 
dhcpcd: 10-mtu break if carrier was lost

some nic's like Intel e1000e needs a reinit to change the
mtu. In this case the dhcp hook reinit the nic and terminate now
to let the dhcpcd reinit the card in backgrounnd without running the
rest of the hooks.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoclamav: Allow downloads to take up to 10 minutes
Michael Tremer [Mon, 25 Nov 2019 11:09:58 +0000 (11:09 +0000)] 
clamav: Allow downloads to take up to 10 minutes

freshclam did not have a receive timeout set and a default of
60s was used. That causes that the large main database cannot
be downloaded over a line with a 16 MBit/s downlink.

This patch increases that timeout and should allow a successful
download on slower connections, too.

Suggested-by: Tim Fitzgeorge <ipfb@tfitzgeorge.me.uk>
Fixes: #12246
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agobind: Update to 9.11.13
Matthias Fischer [Fri, 22 Nov 2019 18:26:59 +0000 (19:26 +0100)] 
bind: Update to 9.11.13

For details see:

https://downloads.isc.org/isc/bind9/9.11.13/RELEASE-NOTES-bind-9.11.13.html

"Security Fixes

    Set a limit on the number of concurrently served pipelined TCP queries.
    This flaw is disclosed in CVE-2019-6477. [GL #1264]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoclamav: Update to 0.102.1
Matthias Fischer [Thu, 21 Nov 2019 16:57:48 +0000 (17:57 +0100)] 
clamav: Update to 0.102.1

For details see:
https://blog.clamav.net/2019/11/clamav-01021-and-01015-patches-have.html

"Fix for the following vulnerability affecting 0.102.0 and 0.101.4 and prior:

CVE-2019-15961:
A Denial-of-Service (DoS) vulnerability may occur when scanning
a specially crafted email file as a result of excessively long scan
times. The issue is resolved by implementing several maximums in parsing
MIME messages and by optimizing use of memory allocation.

Build system fixes to build clamav-milter, to correctly link with
libxml2 when detected, and to correctly detect fanotify for on-access
scanning feature support.

Signature load time is significantly reduced by changing to a more
efficient algorithm for loading signature patterns and allocating the AC
trie. Patch courtesy of Alberto Wu.

Introduced a new configure option to statically link libjson-c with
libclamav. Static linking with libjson is highly recommended to prevent
crashes in applications that use libclamav alongside another JSON
parsing library.

Null-dereference fix in email parser when using the --gen-json metadata
option.

Fixes for Authenticode parsing and certificate signature (.crb database)
bugs."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add unbound to updater
Arne Fitzenreiter [Sat, 30 Nov 2019 09:56:29 +0000 (09:56 +0000)] 
core139: add unbound to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agounbound: Update to 1.9.5
Matthias Fischer [Wed, 20 Nov 2019 16:24:01 +0000 (17:24 +0100)] 
unbound: Update to 1.9.5

For details see:
https://nlnetlabs.nl/pipermail/unbound-users/2019-November/011897.html

"This release is a fix for vulnerability CVE-2019-18934, that can cause
shell execution in ipsecmod.

Bug Fixes:
- Fix for the reported vulnerability.

The CVE number for this vulnerability is CVE-2019-18934"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add captive.cgi to updater
Arne Fitzenreiter [Sat, 30 Nov 2019 09:54:14 +0000 (09:54 +0000)] 
core139: add captive.cgi to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agoBUG12245: captive portal - clients are not automatically removed
Alexander Marx [Wed, 20 Nov 2019 10:45:18 +0000 (11:45 +0100)] 
BUG12245: captive portal - clients are not automatically removed

With this patch the clients are updated and those who are expired get deleted from the hash.
In addition the table of active clients is now sorted.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agobird: Fix path of configuration file in backup
Michael Tremer [Tue, 19 Nov 2019 15:28:22 +0000 (15:28 +0000)] 
bird: Fix path of configuration file in backup

The backup did not pack the configuration file
due to an incorrect path.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add pcregrep to updater
Arne Fitzenreiter [Sat, 30 Nov 2019 09:49:58 +0000 (09:49 +0000)] 
core139: add pcregrep to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopcre: Add pcregrep to core system
Erik Kapfer [Tue, 19 Nov 2019 07:09:42 +0000 (08:09 +0100)] 
pcre: Add pcregrep to core system

Triggered by --> https://community.ipfire.org/t/pcregrep-on-ipfire/259 .

This patch adds pcregrep only from the actual package not from pcre-compat.

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocore139: add updated calamaris mkreport
Arne Fitzenreiter [Sat, 30 Nov 2019 09:48:00 +0000 (09:48 +0000)] 
core139: add updated calamaris mkreport

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agocalamaris: Bug fix for proxy reports staying empty after Core 136 upgrade
Matthias Fischer [Thu, 14 Nov 2019 18:03:46 +0000 (19:03 +0100)] 
calamaris: Bug fix for proxy reports staying empty after Core 136 upgrade

After upgrading to Core 136, 'calamaris' "Proxy reports" stayed empty.
GUI always show "No reports available".

Tested manually on console stops and throws an error:

...
root@ipfire: ~ # /usr/bin/perl /var/ipfire/proxy/calamaris/bin/mkreport
1 0 2019 8 10 2019 -d 10 -P 30 -t 10 -D 2 -u -r -1 -R 100 -s
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?)
at /var/ipfire/proxy/calamaris/bin/calamaris line 2609.
...

Line 2609 was changed and reports are built again.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agopython: update to 2.7.17
Arne Fitzenreiter [Thu, 28 Nov 2019 17:41:18 +0000 (18:41 +0100)] 
python: update to 2.7.17

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
4 years agokernel: fix x86_64 rootfile
Arne Fitzenreiter [Fri, 15 Nov 2019 15:29:42 +0000 (16:29 +0100)] 
kernel: fix x86_64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>