Commit Graph

14682 Commits

Author SHA1 Message Date
Peter Müller
b5e1ccaee2 kernel: enable CONFIG_DEBUG_WX on aarch64
Since this is described as 'Generate a warning if any W+X mappings are
found at boot.', it most likely does not break anything and can be
safely enabled.

Fixes: #12373

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-02 11:14:50 +00:00
Peter Müller
efd508e9f6 kernel: enable page poisoning on x86_64
This is already active on i586 and prevents information leaks from freed
data.

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-02 11:14:15 +00:00
Peter Müller
442a7f5ea2 Kernel: drop Memstick support
These are not needed anymore since Sony announced EOL in 2010 and there
is no legitimate use case for such hardware on a firewall system.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-02 11:13:14 +00:00
Peter Müller
90ecad4f66 Kernel: drop bluetooth support
The bluetooth addon was recently removed by commit
592be1d206, which is why we do not need to
carry the corresponding kernel modules around anymore.

The second version of this patch correctly updates kernel configuration
files via "make oldconfig" as requested by Arne.

Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-02 11:12:58 +00:00
Arne Fitzenreiter
bea09ff261 core145: found more urlfilter db files to cleanup
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-30 18:04:33 +00:00
Arne Fitzenreiter
30830d62a0 core145: remove converted urlfilter database
to force rebuilt with new db.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-30 17:33:40 +00:00
Michael Tremer
371661367c netatalk: Add krb5 as a dependency
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-29 10:27:15 +00:00
Matthias Fischer
fead20a917 knot: Update to 2.9.5
For details see:
https://www.knot-dns.cz/2020-05-25-version-295.html

"Bugfixes:

 Old ZSK can be withdrawn too early during a ZSK rollover if maximum
 zone TTL is computed automatically
 Server responds SERVFAIL to ANY queries on empty non-terminal nodes

Improvements:

 Also module onlinesign returns minimized responses to ANY queries
 Linking against libcap-ng can be disabled via a configure option"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-27 11:07:55 +00:00
Matthias Fischer
ca33424de5 minidlna: Update to 1.2.1
For details see:
https://sourceforge.net/projects/minidlna/files/minidlna/1.2.1/

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>
2020-05-26 11:13:06 +00:00
Matthias Fischer
6e670b9c9d ffmpeg: Update to 4.2.3
For details see:
http://ffmpeg.org/download.html#release_4.2

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>
2020-05-26 11:12:51 +00:00
Michael Tremer
6d78ec1a1c core145: Enable OpenVPN metrics collection
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-26 11:12:39 +00:00
Michael Tremer
75bb55e716 openvpn: Create database schema if not exists
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-26 11:12:23 +00:00
Matthias Fischer
5336aaa6fa make.sh: Suppress 'ls :cannot access *.bz2'-message
The message "ls: cannot access '*.bz2': No such file or directory" comes
from the 'ls' command prior to creating the *.md5-files for *.bz2, *.img.xz
and *.iso files.

But on most builds we have especially no more bzip2 compressed images anymore.

This message can usually be ignored and is just irritating.

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>
2020-05-26 11:12:04 +00:00
Matthias Fischer
442717a127 nano: Update to 4.9.3
For details see:
https://www.nano-editor.org/news.php

"One more bug introduced in version 4.9 is fixed: a crash when
the terminal screen is resized while at a lock-file prompt."

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>
2020-05-26 11:11:51 +00:00
Michael Tremer
91b23ce05b squidGuard: Fix generating databases with libdb >= 5
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-22 12:47:32 +00:00
Michael Tremer
7479c99349 ids-functions.pl: Quote array of subnets
Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-20 12:39:17 +00:00
Arne Fitzenreiter
76a1dedb4f move perl-DBI and perl-DBD-SQLite to core system
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-20 09:47:25 +00:00
Arne Fitzenreiter
b2896abb64 update credits.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-20 09:15:36 +00:00
Arne Fitzenreiter
1d3698fc00 core145: add bind
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:45:29 +00:00
Matthias Fischer
c7e79ba602 bind: Update to 9.11.19
For details see:
https://downloads.isc.org/isc/bind9/9.11.19/RELEASE-NOTES-bind-9.11.19.html

"Security Fixes

    To prevent exhaustion of server resources by a maliciously
    configured domain, the number of recursive queries that can be
    triggered by a request before aborting recursion has been further
    limited. Root and top-level domain servers are no longer exempt from
    the max-recursion-queries limit. Fetches for missing name server
    address records are limited to 4 for any domain. This issue was
    disclosed in CVE-2020-8616. [GL #1388]

    Replaying a TSIG BADTIME response as a request could trigger
    an assertion failure. This was disclosed in CVE-2020-8617. [GL
    #1703]

Feature Changes

    Message IDs in inbound AXFR transfers are now checked for
    consistency. Log messages are emitted for streams with inconsistent
    message IDs. [GL #1674]

Bug Fixes

    When running on a system with support for Linux capabilities, named
    drops root privileges very soon after system startup. This was
    causing a spurious log message, "unable to set effective uid to 0:
    Operation not permitted", which has now been silenced. [GL #1042]
    [GL #1090]

    When named-checkconf -z was run, it would sometimes incorrectly set
    its exit code. It reflected the status of the last view found;
    if zone-loading errors were found in earlier configured views but
    not in the last one, the exit code indicated success. Thanks
    to Graham Clinch. [GL #1807]

    When built without LMDB support, named failed to restart after
    a zone with a double quote (") in its name was added with rndc
    addzone. Thanks to Alberto Fernández. [GL #1695]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:45:02 +00:00
Arne Fitzenreiter
35d361d72e core145: stop/start suricata and squid
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:43:39 +00:00
Arne Fitzenreiter
1eba21f2a8 core145: restart squid
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:41:22 +00:00
Arne Fitzenreiter
996b64e513 core145: add unbound
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:39:30 +00:00
Matthias Fischer
82d0a71743 unbound: Update to 1.10.1
For details see:
https://lists.nlnetlabs.nl/pipermail/unbound-users/2020-May/006833.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>
2020-05-19 19:36:13 +00:00
Peter Müller
2bd5209d49 Tor: update to 0.4.3.5
Please refer to https://blog.torproject.org/node/1872 for release notes.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-19 19:36:02 +00:00
Arne Fitzenreiter
714ef1cf95 core145: add knot
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-18 20:21:21 +00:00
Matthias Fischer
d73e1c75c8 knot: Update to 2.9.4
For details see:
https://www.knot-dns.cz/2020-05-05-version-294.html

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>
2020-05-18 20:20:06 +00:00
Arne Fitzenreiter
177f79b692 core145: add ids-functions.pl
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-18 20:19:16 +00:00
Stefan Schantl
adb320bc4a ids-functions.pl: Fix generating of HOME_NET declaration
Fixes #12407.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-18 20:09:07 +00:00
Michael Tremer
5011657a7b de: Fix typo in "received"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-18 20:08:49 +00:00
Stéphane Pautrel
1a2cc05fef fr: Add missing strings
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-18 20:08:33 +00:00
Michael Tremer
ba137dd898 make.sh: Add command to find dependencies
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 08:04:47 +00:00
Matthias Fischer
cb9fd5923b clamav: Update to 0.102.3
For details see:
https://blog.clamav.net/2020/05/clamav-01023-security-patch-released.html

"ClamAV 0.102.3 is a bug patch release to address the following issues.

- CVE-2020-3327: Fix a vulnerability in the ARJ archive parsing module
in ClamAV 0.102.2 that could cause a Denial-of-Service (DoS) condition.
Improper bounds checking of an unsigned variable results in an
out-of-bounds read which causes a crash.

- CVE-2020-3341: Fix a vulnerability in the PDF parsing module in ClamAV
0.101 - 0.102.2 that could cause a Denial-of-Service (DoS) condition.
Improper size checking of a buffer used to initialize AES decryption
routines results in an out-of-bounds read which may cause a crash. Bug
found by OSS-Fuzz.

- Fix "Attempt to allocate 0 bytes" error when parsing some PDF
documents.

- Fix a couple of minor memory leaks.

- Updated libclamunrar to UnRAR 5.9.2."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:58:37 +00:00
Arne Fitzenreiter
dde7e22c44 core145: add pci id database
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:57:45 +00:00
Peter Müller
bd0feb32e3 hwdata: update PCI database
PCI IDs: 2020-05-07 03:15:02

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>
2020-05-17 07:55:07 +00:00
Erik Kapfer
3f6b25de59 tshark: Update to version 3.2.3
This update includes several bugfixes but also updated protocols.
For a full overview, in here -->
https://www.wireshark.org/docs/relnotes/wireshark-3.2.3.html the
changelog can be found.

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>
2020-05-17 07:54:30 +00:00
Erik Kapfer
8e1149afd4 libseccomp: Update to version 2.4.3
- Add list of authorized release signatures to README.md
- Fix multiplexing issue with s390/s390x shm* syscalls
- Remove the static flag from libseccomp tools compilation
- Add define for __SNR_ppoll
- Update our Travis CI configuration to use Ubuntu 18.04
- Disable live python tests in Travis CI
- Use default python, rather than nightly python, in TravisCI
- Fix potential memory leak identified by clang in the scmp_bpf_sim too

The changelog can be found in here https://github.com/seccomp/libseccomp/blob/master/CHANGELOG .

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>
2020-05-17 07:53:48 +00:00
Michael Tremer
b61a9a2716 shairport-sync: Update to 3.3.6
This patch also fixes the backup.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:53:25 +00:00
Erik Kapfer
4728e44c51 update.sh: Stop|Start OpenVPN for update
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:53:04 +00:00
Erik Kapfer
3460ff86a2 OpenVPN: Update to version 2.4.9
Beneath several smaller fixes, this version fixes also some OpenSSL problems but also CVE-2020-11810.
The full changelog can be found in here https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24 .

Signed-off-by: Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:52:52 +00:00
Arne Fitzenreiter
e3226328ea core145: update rng init
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:51:32 +00:00
Michael Tremer
97b1857ba4 random: Initialise the kernel's PRNG earlier
Since more processes depend on good randomness, we need to
make sure that the kernel's PRNG is initialized as early as
possible.

For systems without a HWRNG, we will need to fall back to our
noisy loop and wait until we have enough randomness.

This patch also removes saving and restoring the seed. This
is no longer useful because the kernel's PRNG only takes any
input after it has successfully been seeded from other sources.

Hence adding this seed does not increase its randomness.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:46:32 +00:00
Michael Tremer
65cb935200 random: Launch rngd earlier in the boot process
We should initialise the kernel's PRNG as early as we can.

Starting rngd very early will seed the random number generator
when RDRAND or other hardware random number generators are available.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-17 07:45:30 +00:00
Arne Fitzenreiter
80a2765de5 core145: add files linked against new libpng, libdb
also bump cups-filters, ghostscript, minidlna and qemu

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-13 20:44:43 +00:00
Arne Fitzenreiter
bd61ace39b core145: add gnupg, squid and bump cups
they are linked against updated openldap

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-13 18:46:04 +00:00
Arne Fitzenreiter
289a86a320 rootfiles: change MACHINE to xxxMACHINExxx
berkeley has a file that nane contain MACHINE wich should not
replaced by the build architecture.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-10 17:27:28 +00:00
Arne Fitzenreiter
c6744d67f0 mtools: update rootfile
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-10 07:36:12 +00:00
Arne Fitzenreiter
22fe6d6f6e berkelay-compat: fix build on aarch64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-09 21:11:25 +00:00
Arne Fitzenreiter
d1e20e8ca7 core145: fix firewall rules.pl path
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-09 19:27:02 +00:00
Arne Fitzenreiter
4c1d6ed23b berkeley: fix typo
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-09 19:20:02 +00:00