]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
2 years agonetwork-functions.pl: Fix whitespace issues
Michael Tremer [Wed, 20 Mar 2024 11:10:37 +0000 (12:10 +0100)] 
network-functions.pl: Fix whitespace issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agonetwork-functions.pl: Add function to extract prefix
Michael Tremer [Wed, 20 Mar 2024 11:09:58 +0000 (12:09 +0100)] 
network-functions.pl: Add function to extract prefix

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCSS: Make text/number inputs 100% wide, too
Michael Tremer [Tue, 9 Apr 2024 16:25:11 +0000 (18:25 +0200)] 
CSS: Make text/number inputs 100% wide, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCSS: Make all <select> and <textarea> use all available space
Michael Tremer [Tue, 19 Mar 2024 17:02:17 +0000 (18:02 +0100)] 
CSS: Make all <select> and <textarea> use all available space

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCSS: Don't make headings so skinny
Michael Tremer [Tue, 9 Apr 2024 17:23:18 +0000 (19:23 +0200)] 
CSS: Don't make headings so skinny

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoheader.pl: Allow passing more HTTP headers to showhttpheaders()
Michael Tremer [Wed, 10 Apr 2024 15:34:28 +0000 (17:34 +0200)] 
header.pl: Allow passing more HTTP headers to showhttpheaders()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoRemove orphaned Apache patch
Peter Müller [Sun, 21 Apr 2024 21:10:52 +0000 (21:10 +0000)] 
Remove orphaned Apache patch

See: https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/message/BENPLQ43YKYOWIKIEXHDVEQWNE3SBKEH/

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 186: Ship and restart Apache
Peter Müller [Sun, 21 Apr 2024 21:10:29 +0000 (21:10 +0000)] 
Core Update 186: Ship and restart Apache

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoapache: Update to 2.4.59
Matthias Fischer [Sun, 21 Apr 2024 12:55:25 +0000 (14:55 +0200)] 
apache: Update to 2.4.59

For details see:
https://dlcdn.apache.org/httpd/CHANGES_2.4.59

Fixes CVE-2024-27316 / CVE-2024-24795 / CVE-2023-38709

Previously applied patch (apache-2.4.58_mod_xml2enc_remove_dependency_on_xmlstring_header.patch)
has been removed - is now included.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibloc: Adjust changed URL format
Peter Müller [Sun, 21 Apr 2024 20:09:40 +0000 (20:09 +0000)] 
libloc: Adjust changed URL format

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolangs: Update Spamhaus DROP URL
Peter Müller [Sun, 21 Apr 2024 20:06:52 +0000 (20:06 +0000)] 
langs: Update Spamhaus DROP URL

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibloc: Update location database shipped with new installations
Peter Müller [Sun, 21 Apr 2024 20:04:51 +0000 (20:04 +0000)] 
libloc: Update location database shipped with new installations

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agocore186: ship ipblocklist sources
Arne Fitzenreiter [Fri, 19 Apr 2024 19:55:13 +0000 (19:55 +0000)] 
core186: ship ipblocklist sources

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agobackup.pl: removes any references to ALIENVAULT & SPAMHAUSEDROP from restores
Adolf Belka [Fri, 19 Apr 2024 13:39:41 +0000 (15:39 +0200)] 
backup.pl: removes any references to ALIENVAULT & SPAMHAUSEDROP from restores

- This patch ensures that if a restore is carried out from an earlier version that includes
   ALIENVAULT and/or SPAMHAUS_EDROP that the references will be removed.
- This is the same code as was put into the update.sh file with the previous patch of this
   set.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoupdate.sh: Remove existing entries for ALIENVAULT & SPAMHAUS_EDROP
Adolf Belka [Fri, 19 Apr 2024 13:39:40 +0000 (15:39 +0200)] 
update.sh: Remove existing entries for ALIENVAULT & SPAMHAUS_EDROP

- This removes any time entries in the modified file for either ALIENVAULT or
   SPAMHAUS_EDROP.
- This also removes any blocklists for either of these sources from the /var/lib/ipblocklist
   directory.
- This patch will ensure that any reference to either of these sources is removed from the
   ipblocklist files.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosources: Removal of ALIENVAULT and SPAMHAUS_EDROP from ipblocklist sources
Adolf Belka [Fri, 19 Apr 2024 13:39:39 +0000 (15:39 +0200)] 
sources: Removal of ALIENVAULT and SPAMHAUS_EDROP from ipblocklist sources

- ALIENVAULT has not been updated since at least Nov 2022 but probably earlier. There is no
   date for the file to be downloaded but a forum user has log messages from Nov 2022 that
   indicate the file had not changed as therefore no download occurred.
- AT&T aquired AlienVault in August 2018. Somewhere between 2018 and 2022 the list stopped
   getting updated. AlienVault references on the AT&T website are now for a different
   product.
- Discussed in IPFire conf call of April 2024 and agreed to remove the ALIENVAULT
   blocklist.
- On Apr 10th the Spamhaus eDROP list was merged with the Spamhaus DROP list. The eDROP
   list is still available but is now empty. Trying to select the SPAMHAUS_EDROP list
   gives an error message that the blocklist was found to be empty.
- This patch removes both the ALIENVAULT and the SPAMHAUS_EDROP lists from the ipblocklist
   sources file.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore185: ship fixes for bug12763
Arne Fitzenreiter [Fri, 19 Apr 2024 18:53:27 +0000 (18:53 +0000)] 
core185: ship fixes for bug12763

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agooci-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:08 +0000 (17:01 +0200)] 
oci-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agogcp-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:07 +0000 (17:01 +0200)] 
gcp-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoexoscale-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:06 +0000 (17:01 +0200)] 
exoscale-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoazure-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:05 +0000 (17:01 +0200)] 
azure-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoaws-setup: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:04 +0000 (17:01 +0200)] 
aws-setup: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoip-up: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:03 +0000 (17:01 +0200)] 
ip-up: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agored: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:02 +0000 (17:01 +0200)] 
red: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot if an empty table is accessed.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agostatic-routes: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:01 +0000 (17:01 +0200)] 
static-routes: Fixes bug12763

- This ensures that all ip route and ip rule commands are redirected to null if the output
   is not used to feed into a variable.
- This will prevent any error messages related to empty iproute tables being displayed
   during boot.
- Tested on my vm system and confirmed that the fix in ipsec-interfaces stops the "FIB
   table does not exist" and "RTNETLINK answers: no such file or directory" messages during
   boot.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoipsec-interfaces: Fixes bug12763
Adolf Belka [Thu, 11 Apr 2024 15:01:00 +0000 (17:01 +0200)] 
ipsec-interfaces: Fixes bug12763

- Some of the ip route commands are not redirected to null. This causes the "FIB table does
   not exist" message from bug12763
- This patch makes all ip route commands get redirected to null, preventing the error
   message from being seen at boot.
- One of the ip rule commands is not redirected to null. This causes the "RTNETLINK
    answers: no such file or directory" message.
- This patch makes all ip rule commands get redirected to null, preventing the error
   message from being seen at boot.
- Additional patches in this set ensure that all ip route and ip rule commands in all
   IPFire code is redirected to null unless the output of the ip route or ip rule command
   is used in a variable for use elsewhere in the code.
- Tested on my vm system and confirmed that the fix in ipsec-interfaces stops the "FIB
   table does not exist" and "RTNETLINK answers: no such file or directory" messages during
   boot.

Fixes: Bug#12763
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore186: remove incinga and sslh if installed
Arne Fitzenreiter [Fri, 19 Apr 2024 06:17:04 +0000 (06:17 +0000)] 
core186: remove incinga and sslh if installed

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoicinga: Removal of icinga addon
Adolf Belka [Wed, 10 Apr 2024 11:39:39 +0000 (13:39 +0200)] 
icinga: Removal of icinga addon

- As discussed in the Dev conf call on 2024-Jan-08
- The 1.x version of Icinga has been EOL since 2018
- The 2.x version would require a complete new configuration approach as the settings
   and options are completely different to 1.x and so would be a start from scratch.
- removal of icinga from make.sh file
- removal of lfs file
- removal of rootfile
- removal of configuration file
- removal of backup includes file

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinitscripts: Removal of references to sslh
Adolf Belka [Tue, 9 Apr 2024 14:07:09 +0000 (16:07 +0200)] 
initscripts: Removal of references to sslh

- sslh is listed in the initscripts lfs and rootfiles.
- Removal of these references with the bremoval of sslh

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosslh: Removal of sslh addon
Adolf Belka [Tue, 9 Apr 2024 14:07:08 +0000 (16:07 +0200)] 
sslh: Removal of sslh addon

- As discussed in the Dev conf call on 2024-Apr-08
- sslh has not been functioning since last update ion Sep 2021. Configuration syntax
   was radically changed somewhere in the update from 1.7a(2013) to 1.22c in Sep 2021
- removal of sslh from make file
- removal of lfs file
- removal of rootfile
- removal of paks files
- removal of initscript

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agodnsdist: Update to 1.9.3
Michael Tremer [Fri, 5 Apr 2024 13:03:01 +0000 (13:03 +0000)] 
dnsdist: Update to 1.9.3

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Fix using uninitialized variables
Michael Tremer [Fri, 5 Apr 2024 12:59:42 +0000 (12:59 +0000)] 
installer: Fix using uninitialized variables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Fix more const warnings
Michael Tremer [Fri, 5 Apr 2024 12:59:41 +0000 (12:59 +0000)] 
installer: Fix more const warnings

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Pass correct length of hostname to sethostname()
Michael Tremer [Fri, 5 Apr 2024 12:59:40 +0000 (12:59 +0000)] 
installer: Pass correct length of hostname to sethostname()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Replace all uses of strncpy with snprintf
Michael Tremer [Fri, 5 Apr 2024 12:59:39 +0000 (12:59 +0000)] 
installer: Replace all uses of strncpy with snprintf

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Correctly pass mount flags
Michael Tremer [Fri, 5 Apr 2024 12:59:38 +0000 (12:59 +0000)] 
installer: Correctly pass mount flags

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Fix use of uninitialized variable
Michael Tremer [Fri, 5 Apr 2024 12:59:37 +0000 (12:59 +0000)] 
installer: Fix use of uninitialized variable

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Remove unused variables
Michael Tremer [Fri, 5 Apr 2024 12:59:36 +0000 (12:59 +0000)] 
installer: Remove unused variables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Make hw_mkdir static
Michael Tremer [Fri, 5 Apr 2024 12:59:35 +0000 (12:59 +0000)] 
installer: Make hw_mkdir static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Make btrfs functions static
Michael Tremer [Fri, 5 Apr 2024 12:59:34 +0000 (12:59 +0000)] 
installer: Make btrfs functions static

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Fix lots of constify issues
Michael Tremer [Fri, 5 Apr 2024 12:59:33 +0000 (12:59 +0000)] 
installer: Fix lots of constify issues

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Remove obsolete macros from configure script
Michael Tremer [Fri, 5 Apr 2024 12:59:32 +0000 (12:59 +0000)] 
installer: Remove obsolete macros from configure script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Translate BTRFS string
Michael Tremer [Fri, 5 Apr 2024 12:59:31 +0000 (12:59 +0000)] 
installer: Translate BTRFS string

Fixes: #13630 - BTRFS - Add translations to installer
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinstaller: Update language files
Michael Tremer [Fri, 5 Apr 2024 12:59:30 +0000 (12:59 +0000)] 
installer: Update language files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agodnsdist: Update to 1.9.2
Michael Tremer [Fri, 5 Apr 2024 10:05:53 +0000 (10:05 +0000)] 
dnsdist: Update to 1.9.2

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoCONTRIBUTING.md: adjust links to new URLs
Rico Hoppe [Sun, 31 Mar 2024 20:39:24 +0000 (20:39 +0000)] 
CONTRIBUTING.md: adjust links to new URLs

- change wiki to documentation
- fix bugzilla link

Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore186: ship bind
Arne Fitzenreiter [Fri, 19 Apr 2024 05:59:16 +0000 (05:59 +0000)] 
core186: ship bind

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agobind: Update to 9.16.49
Matthias Fischer [Sat, 23 Mar 2024 23:28:40 +0000 (00:28 +0100)] 
bind: Update to 9.16.49

For details see:
https://downloads.isc.org/isc/bind9/9.16.49/doc/arm/html/notes.html#notes-for-bind-9-16-49

"Bug Fixes

    A regression in cache-cleaning code enabled memory use to grow
    significantly more quickly than before, until the configured
    max-cache-size limit was reached. This has been fixed. [GL #4596]

    Using rndc flush inadvertently caused cache cleaning to become
    less effective. This could ultimately lead to the configured
    max-cache-size limit being exceeded and has now been fixed. [GL #4621]

    The logic for cleaning up expired cached DNS records was tweaked to be
    more aggressive. This change helps with enforcing max-cache-ttl and
    max-ncache-ttl in a timely manner. [GL #4591]

    It was possible to trigger a use-after-free assertion when the overmem
    cache cleaning was initiated. This has been fixed. [GL #4595]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 6.6.28
Arne Fitzenreiter [Wed, 17 Apr 2024 17:39:14 +0000 (19:39 +0200)] 
kernel: update to 6.6.28

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: rootfile update
Arne Fitzenreiter [Tue, 16 Apr 2024 04:50:49 +0000 (06:50 +0200)] 
kernel: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: disable CONFIG_N_GSM
Arne Fitzenreiter [Sun, 14 Apr 2024 12:38:32 +0000 (14:38 +0200)] 
kernel: disable CONFIG_N_GSM

this feature should not used by IPFire and there
is a possible unfixed race condition that can
used for a privilege elevation attack.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 6.6.27
Arne Fitzenreiter [Sun, 14 Apr 2024 12:38:00 +0000 (14:38 +0200)] 
kernel: update to 6.6.27

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 6.6.26
Arne Fitzenreiter [Thu, 11 Apr 2024 10:55:25 +0000 (12:55 +0200)] 
kernel: update to 6.6.26

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Wed, 10 Apr 2024 05:11:02 +0000 (07:11 +0200)] 
Merge remote-tracking branch 'origin/master' into next

2 years agosuricata: Change midstream policy to "pass-flow" v2.29-core185
Michael Tremer [Tue, 9 Apr 2024 09:51:18 +0000 (10:51 +0100)] 
suricata: Change midstream policy to "pass-flow"

Pass packet isn't allowed here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Tue, 9 Apr 2024 04:52:42 +0000 (06:52 +0200)] 
Merge remote-tracking branch 'origin/master' into next

2 years agoconfigroot: Add in LOGDROPHOSTILExxx values
Adolf Belka [Mon, 8 Apr 2024 16:57:21 +0000 (18:57 +0200)] 
configroot: Add in LOGDROPHOSTILExxx values

- I checked out doing a fresh install of CU184 and found that although the
   LOGDROPHOSTILEIN and LOGDROPHOSTILEOUT entries were selected as "on" the values were not
   in the /var/ipfire/optionsfw/settings file.
- After some investigfation I realised that when I created the LOGDROPHOSTILE split into
   incoming and outgoing I had not added them into the configroot lfs file.
- This patch adds the two entries and this was tested out with a fresh install and
   confirmed to update the settings file.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Disable Landlock support
Michael Tremer [Mon, 8 Apr 2024 16:01:20 +0000 (16:01 +0000)] 
suricata: Disable Landlock support

See #13645 for details.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Update require paths for Landlock
Michael Tremer [Mon, 8 Apr 2024 16:00:41 +0000 (16:00 +0000)] 
suricata: Update require paths for Landlock

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Enable midstream scanning
Michael Tremer [Mon, 8 Apr 2024 14:57:49 +0000 (14:57 +0000)] 
suricata: Enable midstream scanning

We require this because Suricata might be restarted due to development
or rule refreshment purposes. We should then try to resume any
decoders/app-layers wherever possible.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Set midstream-policy to pass-packet
Stefan Schantl [Fri, 5 Apr 2024 19:26:40 +0000 (21:26 +0200)] 
suricata: Set midstream-policy to pass-packet

Set this value to the same as the exception-policy to keep in sync and
hopefully have the same behaviour. In case this option is not set an
ugly message about a not correctly set value will be logged to syslog
during startup.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Enable landlock security feature
Stefan Schantl [Fri, 5 Apr 2024 19:26:39 +0000 (21:26 +0200)] 
suricata: Enable landlock security feature

This will limit the suricata process to only read and write to a certain
files/directories.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Set exception-policy to pass-packet
Stefan Schantl [Fri, 5 Apr 2024 19:26:38 +0000 (21:26 +0200)] 
suricata: Set exception-policy to pass-packet

This simply will skip processing a packet that caused an exception and will
allow Suricata to process all following packets of a flow.

Reference: #13638

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Update suricata.yaml
Stefan Schantl [Fri, 5 Apr 2024 19:26:37 +0000 (21:26 +0200)] 
suricata: Update suricata.yaml

Updata the configuration file for suricata 7.

This includes:
* Default values for newly introduced features and parsers
* Enable recently added protocol parsers for HTTP2, QUIC, Telnet and Torrent
* Update of URL for documentation
* Fixes of various typos and other clarifications

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoattr: update rootfile
Arne Fitzenreiter [Mon, 8 Apr 2024 08:14:55 +0000 (10:14 +0200)] 
attr: update rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinitscripts: update riscv64 rootfile
Arne Fitzenreiter [Mon, 8 Apr 2024 08:14:17 +0000 (10:14 +0200)] 
initscripts: update riscv64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update riscv64 config and rootfile
Arne Fitzenreiter [Mon, 8 Apr 2024 08:10:27 +0000 (10:10 +0200)] 
kernel: update riscv64 config and rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: enable CPUFREQ for Raspberry Pi
Arne Fitzenreiter [Sat, 6 Apr 2024 07:43:01 +0000 (07:43 +0000)] 
kernel: enable CPUFREQ for Raspberry Pi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoinitskripts: update aarch64 rootfile
Arne Fitzenreiter [Sat, 6 Apr 2024 07:42:21 +0000 (07:42 +0000)] 
initskripts: update aarch64 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Fri, 5 Apr 2024 20:29:37 +0000 (22:29 +0200)] 
Merge remote-tracking branch 'origin/master' into next

2 years agokernel: update to 6.6.25
Arne Fitzenreiter [Fri, 5 Apr 2024 20:27:55 +0000 (22:27 +0200)] 
kernel: update to 6.6.25

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: Disable fail-open on NFQUEUE
Michael Tremer [Wed, 3 Apr 2024 20:42:13 +0000 (21:42 +0100)] 
suricata: Disable fail-open on NFQUEUE

This change causes that if suricata crashes, the NFQUEUE will no longer
fall into a mode where ALL packets are being accepted. This used the be
the case before which opened the entire firewall.

If suricata randomly crashes, we will fall back to the "bypass" mode
where packets will bypass suricata, but nothing else.

Fixes: #13642
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agokernel: update to 6.6.24
Arne Fitzenreiter [Thu, 4 Apr 2024 21:33:01 +0000 (23:33 +0200)] 
kernel: update to 6.6.24

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore186: add collectd to updater
Arne Fitzenreiter [Thu, 4 Apr 2024 16:26:55 +0000 (18:26 +0200)] 
core186: add collectd to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocollectd: fix cpufreq graph if virtual cores are offline
Arne Fitzenreiter [Thu, 4 Apr 2024 16:23:29 +0000 (18:23 +0200)] 
collectd: fix cpufreq graph if virtual cores are offline

the kernel doesn't allow to read the frequency of a offline virtual core
if smt is disabled so now no error is reported in this case and NaN submited to the
database.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore186: add grub-btrfs initskript changes to updater
Arne Fitzenreiter [Tue, 2 Apr 2024 19:36:46 +0000 (19:36 +0000)] 
core186: add grub-btrfs initskript changes to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agogrub-btrfsd: Drop redundant used PIDFILE mechanism
Stefan Schantl [Wed, 27 Mar 2024 19:39:20 +0000 (20:39 +0100)] 
grub-btrfsd: Drop redundant used PIDFILE mechanism

This case is already covered by the PID mechanism of the used functions

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>
2 years agogrub-btrfsd: Adjust displayed starting message
Stefan Schantl [Wed, 27 Mar 2024 19:39:19 +0000 (20:39 +0100)] 
grub-btrfsd: Adjust displayed starting message

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>
2 years agogrub-btrfsd: Use generic volume_fs_type function for FS detection
Stefan Schantl [Wed, 27 Mar 2024 19:39:18 +0000 (20:39 +0100)] 
grub-btrfsd: Use generic volume_fs_type function for FS detection

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>
2 years agoinitscripts: Add generic function to get the filesystem type of a volume
Stefan Schantl [Wed, 27 Mar 2024 19:39:17 +0000 (20:39 +0100)] 
initscripts: Add generic function to get the filesystem type of a volume

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>
2 years agogrub-btrfs: fix grub-btrfs build and remove bugtracker url
Arne Fitzenreiter [Sun, 31 Mar 2024 14:30:50 +0000 (16:30 +0200)] 
grub-btrfs: fix grub-btrfs build and remove bugtracker url

grub-btrfs try to reconfigure grub in the buildsystem and print always the bugtracker url on every error even when its not a bug

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Sun, 31 Mar 2024 11:36:08 +0000 (13:36 +0200)] 
Merge remote-tracking branch 'origin/master' into next

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore185: excplicit erase liblzma.so.5.6.*
Arne Fitzenreiter [Sun, 31 Mar 2024 11:27:46 +0000 (13:27 +0200)] 
core185: excplicit erase liblzma.so.5.6.*

because if this file exist the cleanap script will remove the older version after downgrade
and the system still use the malewared version.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 6.6.23
Arne Fitzenreiter [Sun, 31 Mar 2024 08:49:46 +0000 (10:49 +0200)] 
kernel: update to 6.6.23

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agofrr: Bump release version
Michael Tremer [Sat, 30 Mar 2024 12:14:51 +0000 (12:14 +0000)] 
frr: Bump release version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofrr: Update reloading all services
Michael Tremer [Thu, 28 Mar 2024 17:41:12 +0000 (17:41 +0000)] 
frr: Update reloading all services

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agofrr: Start the management daemon, too
Michael Tremer [Thu, 28 Mar 2024 17:41:11 +0000 (17:41 +0000)] 
frr: Start the management daemon, too

This daemon is running the configuration validation and required to run
at all times.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoprotobuf-c: Ship libraries
Michael Tremer [Thu, 28 Mar 2024 17:41:10 +0000 (17:41 +0000)] 
protobuf-c: Ship libraries

FRR links against this and fails to start without.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agomake.sh: Update contributors
Michael Tremer [Sat, 30 Mar 2024 12:13:08 +0000 (12:13 +0000)] 
make.sh: Update contributors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoREADME.md: fix minor typo
Rico Hoppe [Thu, 28 Mar 2024 09:51:53 +0000 (09:51 +0000)] 
README.md: fix minor typo

Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoREADME.md: update text & adjust links to new URLs
Rico Hoppe [Thu, 28 Mar 2024 09:51:52 +0000 (09:51 +0000)] 
README.md: update text & adjust links to new URLs

- links for: about, documentation, help
- wording: wiki to documentation

Signed-off-by: Rico Hoppe <rico.hoppe@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore185: Ship new perl modules for libarchive
Michael Tremer [Sat, 30 Mar 2024 12:11:42 +0000 (12:11 +0000)] 
core185: Ship new perl modules for libarchive

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoids-functions.pl: Use libarchive to extract archives
Stefan Schantl [Sat, 30 Mar 2024 11:35:30 +0000 (12:35 +0100)] 
ids-functions.pl: Use libarchive to extract archives

This gives us a lot of benefits:

* Speed up the extraction process
* More supported archive types due the power of libarchive
* Support of passphrase protected archives

It also fixes a problem with non extracted files next to a zero sized
file inside an archive.

Fixes #13632.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Archive-Peek-Libarchive: New package
Stefan Schantl [Sat, 30 Mar 2024 11:35:29 +0000 (12:35 +0100)] 
perl-Archive-Peek-Libarchive: New package

As very simple XS based perl binding for libarchive
to get header data and extract files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Object-Tiny: New package
Stefan Schantl [Sat, 30 Mar 2024 11:35:28 +0000 (12:35 +0100)] 
perl-Object-Tiny: New package

This is a runtime dependency of perl-Archive-Peek-Libarchive

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Config-AutoConf: New package
Stefan Schantl [Sat, 30 Mar 2024 11:35:27 +0000 (12:35 +0100)] 
perl-Config-AutoConf: New package

This is only a build dependency for perl-Arhive-Peek-Libarchive and
will not be installed on a system

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoperl-Capture-Tiny: New package
Stefan Schantl [Sat, 30 Mar 2024 11:35:26 +0000 (12:35 +0100)] 
perl-Capture-Tiny: New package

This is only a build dependency for perl-Config-AutoConf and
will not be installed on a system

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agocore185: Ship everything that is linked against XZ
Michael Tremer [Sat, 30 Mar 2024 12:07:22 +0000 (12:07 +0000)] 
core185: Ship everything that is linked against XZ

This is a precautionary step to avoid that we have any issues to face
because of a downgrade as new symbols have been added to liblzma 5.6.0.

Furthermore, this should avoid shipping any traces of any other
potential malware in XZ that has been added in 5.6.0 or after.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoxz: Remove excess whitespace
Michael Tremer [Sat, 30 Mar 2024 11:58:24 +0000 (11:58 +0000)] 
xz: Remove excess whitespace

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoxz: Revert back to version 5.4.5 due to backdoor issue
Adolf Belka [Sat, 30 Mar 2024 08:14:58 +0000 (09:14 +0100)] 
xz: Revert back to version 5.4.5 due to backdoor issue

- xz version 5.6.0 and 5.6.1 discovered to have been backdoored by what looks to have
   been one of the xz devs.
- IPFire looks not to be affected by the problem as we don't patch openssh to be linked
   with liblzma
- However due to question marks about what else might be in these 5.6.x versions it is
   better to revert back to a version that did not have the build-to-host.m4 file with the
   code that modifies the build if it meets certain criteria.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>