]> git.ipfire.org Git - ipfire-2.x.git/log
ipfire-2.x.git
8 months agoMerge branch 'master' into next
Michael Tremer [Mon, 7 Oct 2024 10:23:22 +0000 (10:23 +0000)] 
Merge branch 'master' into next

8 months agocore189: Ship ncat
Michael Tremer [Mon, 7 Oct 2024 10:22:33 +0000 (10:22 +0000)] 
core189: Ship ncat

This is required for the new Unbound/DHCP Leases bridge to work.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoncat: Make this package part of the core system
Michael Tremer [Mon, 7 Oct 2024 10:18:57 +0000 (10:18 +0000)] 
ncat: Make this package part of the core system

The nc command is required for the Unbound/DHCP leases bridge.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship Unbound again
Michael Tremer [Mon, 7 Oct 2024 09:15:40 +0000 (09:15 +0000)] 
core190: Ship Unbound again

This was a late addition to c189

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoMerge branch 'master' into next
Michael Tremer [Mon, 7 Oct 2024 09:15:04 +0000 (09:15 +0000)] 
Merge branch 'master' into next

8 months agocore190: Ship rules.pl
Michael Tremer [Mon, 7 Oct 2024 09:14:37 +0000 (09:14 +0000)] 
core190: Ship rules.pl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agofirewall: Flush SYN_FLOOD_PROTECTION
Michael Tremer [Mon, 7 Oct 2024 09:13:12 +0000 (09:13 +0000)] 
firewall: Flush SYN_FLOOD_PROTECTION

This chain was not flushed when the firewall was being reloaded which
made any ports appear as open when rules have been disabled or deleted.

This has no security implications, but nevertheless isn't right.

Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Ship and restart Unbound
Michael Tremer [Fri, 4 Oct 2024 11:46:22 +0000 (11:46 +0000)] 
core189: Ship and restart Unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agounbound: Update to 1.21.1
Matthias Fischer [Fri, 4 Oct 2024 08:41:17 +0000 (10:41 +0200)] 
unbound: Update to 1.21.1

For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-21-1

"Fix CVE-2024-8508, unbounded name compression could lead to denial of service."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship Suricata & libhtp
Michael Tremer [Wed, 2 Oct 2024 16:02:32 +0000 (16:02 +0000)] 
core190: Ship Suricata & libhtp

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Update to 7.0.7
Matthias Fischer [Wed, 2 Oct 2024 13:41:33 +0000 (15:41 +0200)] 
suricata: Update to 7.0.7

Exerpt from changelog:
"7.0.7 -- 2024-10-01

Security #7289: http: missing hashtable random seed leads to potential DoS(CRITICAL - CVE 2024-47188)
Security #7268: ja4: non alphanumeric characters in alpn lead to panic (7.0.x backport)(HIGH - CVE 2024-47522)
Security #7258: thash: random factor not used; possible abusive hash collisions (7.0.x backport)(CRITICAL - CVE 2024-47187)
Security #7215: defrag: off by one leads to possible evasion (7.0.x backport)(HIGH - CVE 2024-45796)
Security #7196: datasets: rule with unset makes suricata abort (7.0.x backport)(HIGH - CVE 2024-45795)
Security #7192: http: quadratic complexity in headers processing/finding (7.0.x backport)(CRITICAL - CVE 2024-45797)
Bug #7290: tls: a rule stops working since 7.0.5 (7.0.x backport)
Bug #7286: eve/tls: enabling JA4 breaks custom field selection
Bug #7276: ja3: Error: ja3: Buffer should not be NULL (7.0.x backport)
Bug #7271: pgsql: track 'progress' in tx per direction (7.0.x backport)
Bug #7265: detect/flow: ACK with data on 3whs fails to match 'flow:established' (7.0.x backport)
Bug #7257: fuzz: CIFuzz is not fuzzing PRs as it is supposed to (7.0.x backport)
Bug #7242: app-layer-protocol: negated matching false positive (7.0.x backport)
Bug #7239: tls: Invalid ja3 due to double client hello (7.0.x backport)
Bug #7225: dataset: lookup function is not working with ip type (7.0.x backport)
Bug #7214: frames: stream frame is not always the first one registered (7.0.x backport)
Bug #7207: cbindgen: comptability with newer version 0.27 (7.0.x backport)
Bug #7198: log/rfb: inconsistent key value security_result or security-result
Bug #7194: output: jb context not closed on error in EvePacket
Bug #7188: detect: dcerpc logging and matching issues (7.0.x backport)
Bug #7182: fuzz: File confyaml.c is missing (7.0.x backport)
Bug #7173: detect/integers: do not bother to free NULL pointer on setup/parse failure (7.0.x backport)
Bug #7166: profiling: rule profiling doesn't support absolute paths (7.0.x backport)
Bug #7159: tcp: 'broken ack' event set on flow timeout (7.0.x backport)
Bug #7136: util/thash: debug assertion for memuse (7.0.x backport)
Bug #7122: smb/ntlmssp: nonsense smb.ntlmssp.version values (7.0.x backport)
Bug #7116: dpdk: timestamping packets through TSC does not yield the same time as kernel time (7.0.x backport)
Bug #7066: alert/metadata: no pgsql object encapsulation (7.0.x backport)
Bug #7054: bypass: cannot bypass udp flow from first packet (7.0.x backport)
Bug #7001: pgsql: trigger raw stream reassembly (7.0.x backport)
Bug #6608: file: do not store if filestore:both,flow is triggered after the file was set to nostore (7.0.x backport)
Bug #6555: eve/alert: payload/payload_printable misrepresent data in case of overlaps (7.0.x backport)
Bug #6541: landlock: coverity warnings (7.0.x backport)
Optimization #7134: detect/snmp.version: do not free NULL pointer
Optimization #7075: dns/tcp: allow triggering raw stream reassembly (7.0.x backport)
Feature #7102: iprep: support seeing if rule is part of a rep list (7.0.x backport)
Feature #6674: detect: allow alert-then-pass logic (7.0.x backport)
Task #7249: libhtp 0.5.49 (7.0.x backport)
Task #7168: dns: make the version field in a dns object required (7.0.x backport)
Documentation #6641: doc: add tcp timeout fix to upgrade guide (7.0.x backport)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agolibhtp: Update to 0.5.49
Matthias Fischer [Wed, 2 Oct 2024 13:41:32 +0000 (15:41 +0200)] 
libhtp: Update to 0.5.49

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

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agohostapd: update to git 64d60bb4
Arne Fitzenreiter [Sun, 29 Sep 2024 16:03:58 +0000 (18:03 +0200)] 
hostapd: update to git 64d60bb4

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoMerge branch 'master' into next
Michael Tremer [Sun, 29 Sep 2024 11:29:11 +0000 (11:29 +0000)] 
Merge branch 'master' into next

8 months agompd: fix chown syntax
Arne Fitzenreiter [Sun, 29 Sep 2024 07:44:55 +0000 (09:44 +0200)] 
mpd: fix chown syntax

this remove a warning at boot that user and group should
seperated by ":" and not by "."

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoovpnmain.cgi: Remove using dropped &General::getlastip() function
Michael Tremer [Thu, 26 Sep 2024 20:40:04 +0000 (20:40 +0000)] 
ovpnmain.cgi: Remove using dropped &General::getlastip() function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agodnsdist: Update to version 1.9.6
Adolf Belka [Tue, 24 Sep 2024 10:33:36 +0000 (12:33 +0200)] 
dnsdist: Update to version 1.9.6

- Update from version 1.9.4 to 1.9.6
- Tested building on riscv64 and it built without issues and rootfile is sam as for
   x86_64 & aarch64. So supported architectures has been removed and dnsdist is available
   on all three architectures.
- Update of rootfile not required
- Changelog
    1.9.6
New Features
    Add support for a callback when a new tickets key is added
     References: pull request 14449
Improvements
    Make the logging functions available to all Lua environments
     References: pull request 14438
    Handle Quiche >= 0.22.0
     References: pull request 14450
    Don’t include openssl/engine.h if it’s not going to be used (Sander Hoentjen)
     References: pull request 14452
Bug Fixes
    Dedup Prometheus help and type lines for custom metrics with labels¶
     References: #14395, pull request 14439
    Fix a race in the XSK/AF_XDP backend handling code
     References: pull request 14436
    dns.cc: use pdns::views::UnsignedCharView
     References: pull request 14437
    1.9.5
New Features
    Add a Lua FFI function to set proxy protocol values
     References: pull request 14338
    Add Lua FFI bindings to generate SVC responses
     References: pull request 14339
Bug Fixes
    Use the correct source IP for outgoing QUIC datagrams
     References: pull request 14166
    Reply to HTTP/2 PING frames immediately
     References: pull request 14163
    Log the correct amount of bytes sent for DoH w/ nghttp2
     References: pull request 14332
    Prevent a race when calling registerWebHandler at runtime
     References: pull request 14170
    Enforce a maximum number of HTTP request fields and a maximum HTTP request line size
     References: pull request 14333
    Fix a race condition with custom Lua web handlers
     References: pull request 14342
    Syslog should be enabled by default
     References: pull request 14331
    Fix a warning when compiling the unit tests without XSK¶
     References: pull request 14334
    autoconf: allow prerelease systemd versions (Chris Hofstaedtler)
     References: pull request 14335
    Edit the systemd unit file, CAP_BPF is no longer enough
     References: #14279, pull request 14336
    Fix ‘Error creating TCP worker’ error message
     References: pull request 14337

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoheader.pl: Force browsers to reload rrdimage.js
Michael Tremer [Thu, 26 Sep 2024 14:13:10 +0000 (14:13 +0000)] 
header.pl: Force browsers to reload rrdimage.js

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoovpnmain.cgi: Fix IP address calculation with static pools
Michael Tremer [Sun, 22 Sep 2024 14:33:03 +0000 (14:33 +0000)] 
ovpnmain.cgi: Fix IP address calculation with static pools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agominiupnpc: Required for build of transmission to replace bundled version
Adolf Belka [Tue, 24 Sep 2024 09:43:01 +0000 (11:43 +0200)] 
miniupnpc: Required for build of transmission to replace bundled version

- miniupnpc is required for the build of transmiossion but the bundled version was not
   working properly with version 4.0.6 and we prefer to not use bundled versions.
- Only used for the build so rootfile is 100% commented out. No miniupnpc installed
   on IPFire.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agotransmission: Update to version 4.0.6
Adolf Belka [Tue, 24 Sep 2024 09:43:00 +0000 (11:43 +0200)] 
transmission: Update to version 4.0.6

- Update from version 4.0.5 to 4.0.6
- Update of rootfile not required
- Bundled miniupnpc not working with build of 4.0.6 As we prefer not to use bundled
   packages where possible, this patch set builds miniupnpc prior to transmission. As
   miniupnpc is only required for the build of transmission, nothing is installed from
   miniupnpc.
- miniupnpc-2.2.8 has a problem with transmission and needs a patch to fix it. Added
   into the transmission lfs file
- Changelog
    4.0.6
All Platforms
    Improved parsing HTTP tracker announce response. (#6223)
    Fixed 4.0.0 bug that caused some user scripts to have an invalid TR_TORRENT_TRACKERS environment variable. (#6434)
    Fixed 4.0.0 bug where alt-speed-enabled had no effect in settings.json. (#6483)
    Fixed 4.0.0 bug where the GTK client's "Use authentication" option was not saved between's sessions. (#6514)
    Fixed 4.0.0 bug where the filename for single-file torrents aren't sanitized. (#6846)
macOS Client
    Fix: Sparkle support for handling beta version updates. (#5263)
    Fixed app unable to start when having many torrents and TimeMachine enabled. (#6523)
    Fix: Sparkle Version Comparator. (#6623)
Qt Client
    Fixed 4.0.0 bug where piece size description text and slider state in torrent creation dialog are not always up-to-date. (#6516)
GTK Client
    Fixed build when compiling with GTKMM 4. (#6393)
    Added developer name to metainfo files. (#6598)
    Added the launchable desktop-id to metainfo files. (#6779)
    Fixed build when compiling on BSD. (#6812)
Web Client
    Fixed a 4.0.0 bug where the infinite ratio symbol was displayed incorrectly in the WebUI. (#6491, #6500)
    Fixed layout issue in speed display. (#6570)
    General UI improvement related to filterbar and fixes download/upload speed info wrap. (#6761)
Daemon
    Fixed a couple of logging issues. (#6463)
Everything Else
    Updated flatpak release metainfo. (#6357)
    Fixed libtransmission build on very old cmake versions. (#6418)
    UTP peer connections follow user-defined speed limits better now. (#6551)
    Only use a single concurrent queue for timeMachineExclude instead of one queue per torrent (#6523). (#6558)
    Fixed 4.0.5 bug where svg and png icons in the WebUI might not be displayed. (#6563)
    Fixed 4.0.0 bug where alt-speed-enabled had no effect in settings.json. (#6564)
    Fixed 4.0.0 bugs where some RPC methods don't put torrents in recently-active anymore. (#6565)
    Improved parsing HTTP tracker announce response. (#6567)
    Fixed compatibility with clang-format 18. (#6690)
    Fixed build when compiling with mbedtls 3.x . (#6823)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship Compress::Raw::Zlib
Michael Tremer [Tue, 24 Sep 2024 10:01:44 +0000 (10:01 +0000)] 
core190: Ship Compress::Raw::Zlib

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoShip Compress/Raw/Zlib.pm
Jonatan Schlag [Tue, 24 Sep 2024 08:30:54 +0000 (10:30 +0200)] 
Ship Compress/Raw/Zlib.pm

This is needed for the captive portal. This was maybe caused by
008eca2c2f2a11739a70c754a367e7a5086773da .

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship suricata changes for people who missed them from c189
Michael Tremer [Tue, 24 Sep 2024 08:56:53 +0000 (08:56 +0000)] 
core190: Ship suricata changes for people who missed them from c189

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoMerge branch 'master' into next
Michael Tremer [Tue, 24 Sep 2024 08:54:50 +0000 (08:54 +0000)] 
Merge branch 'master' into next

8 months agocore190: Ship squid
Michael Tremer [Mon, 23 Sep 2024 21:47:04 +0000 (21:47 +0000)] 
core190: Ship squid

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosquid: Update to 6.11
Matthias Fischer [Mon, 23 Sep 2024 19:10:00 +0000 (21:10 +0200)] 
squid: Update to 6.11

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Ship suricata changes
Michael Tremer [Tue, 24 Sep 2024 08:53:40 +0000 (08:53 +0000)] 
core189: Ship suricata changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Enable scanning IPsec packets
Michael Tremer [Tue, 24 Sep 2024 08:33:22 +0000 (10:33 +0200)] 
suricata: Enable scanning IPsec packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Add UI to enable scanning on IPsec
Michael Tremer [Sun, 22 Sep 2024 15:22:48 +0000 (17:22 +0200)] 
ids.cgi: Add UI to enable scanning on IPsec

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add support for zones having multiple interfaces
Michael Tremer [Sun, 22 Sep 2024 15:08:03 +0000 (17:08 +0200)] 
suricata: Add support for zones having multiple interfaces

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Split marking packets off into a separate chain
Michael Tremer [Sun, 22 Sep 2024 15:06:21 +0000 (17:06 +0200)] 
suricata: Split marking packets off into a separate chain

This is required so that we can have different policies for incoming and
outgoing packets.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Clear IPS bits after use
Michael Tremer [Sat, 21 Sep 2024 15:55:09 +0000 (17:55 +0200)] 
suricata: Clear IPS bits after use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Always count the whitelisted packets
Michael Tremer [Sat, 21 Sep 2024 10:39:32 +0000 (12:39 +0200)] 
suricata: Always count the whitelisted packets

Even if there are no rules, if this does not exist, collectd will be
unhappy and we cannot generate the graph.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Don't show the graph if there is no RRD data
Michael Tremer [Sat, 21 Sep 2024 10:37:09 +0000 (12:37 +0200)] 
ids.cgi: Don't show the graph if there is no RRD data

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Fix empty states of tables
Michael Tremer [Sat, 21 Sep 2024 10:34:56 +0000 (12:34 +0200)] 
ids.cgi: Fix empty states of tables

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agographs.pl: Fix suricata graph name
Michael Tremer [Sat, 21 Sep 2024 10:28:50 +0000 (12:28 +0200)] 
graphs.pl: Fix suricata graph name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agofirewall: Move the IPS back to INPUT/FORWARD/OUTPUT
Michael Tremer [Tue, 17 Sep 2024 02:04:07 +0000 (04:04 +0200)] 
firewall: Move the IPS back to INPUT/FORWARD/OUTPUT

We cannot use the PREROUTING/POSTROUTING chains here because Suricata
will fail to track NAT-ed connections.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Track whitelisted traffic and add it to the IPS graph
Michael Tremer [Fri, 13 Sep 2024 08:12:30 +0000 (10:12 +0200)] 
suricata: Track whitelisted traffic and add it to the IPS graph

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoIPS: Ada a graph that shows the IPS throughput
Michael Tremer [Tue, 10 Sep 2024 22:43:59 +0000 (00:43 +0200)] 
IPS: Ada a graph that shows the IPS throughput

This graph is split into three parts. One shows bypassed packets, the
next one shows the actually scanned packets and lastly we show the total
throughput.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Collect metrics on scanned and bypassed packets
Michael Tremer [Tue, 10 Sep 2024 21:45:53 +0000 (23:45 +0200)] 
suricata: Collect metrics on scanned and bypassed packets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Force Suricata to write a PID file again
Michael Tremer [Tue, 10 Sep 2024 21:23:38 +0000 (23:23 +0200)] 
suricata: Force Suricata to write a PID file again

The PID file does not get written when Suricata is not being started in
daemon mode and therefore we need to pass it as a command line
parameter.

The initscript should not deal with the PID file when starting but needs
it to terminate the process and to check the process status.

The web UI can use the PID file again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Fix syntax error in watcher script
Michael Tremer [Tue, 10 Sep 2024 21:23:18 +0000 (23:23 +0200)] 
suricata: Fix syntax error in watcher script

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove debugging code
Michael Tremer [Tue, 10 Sep 2024 21:17:20 +0000 (23:17 +0200)] 
suricata: Remove debugging code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agofirewall: Move the IPS after the NAT marking
Michael Tremer [Tue, 10 Sep 2024 09:37:38 +0000 (11:37 +0200)] 
firewall: Move the IPS after the NAT marking

This is because we might still land in the scenario where Suricata
crashes and NFQUEUE will simply ACCEPT all packets which will terminate
the processing of the mangle table.

Therefore the NFQUEUE rule should be the last one so that we never skip
any of the other processing.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Fix detection for the Suricata process
Michael Tremer [Tue, 10 Sep 2024 09:35:18 +0000 (11:35 +0200)] 
ids.cgi: Fix detection for the Suricata process

We don't seem to have a PID file any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Remove box from the top section
Michael Tremer [Tue, 10 Sep 2024 09:24:01 +0000 (11:24 +0200)] 
ids.cgi: Remove box from the top section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Sort whitelist entries
Michael Tremer [Tue, 10 Sep 2024 09:22:59 +0000 (11:22 +0200)] 
ids.cgi: Sort whitelist entries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Use new-style table for whitelist entries
Michael Tremer [Tue, 10 Sep 2024 09:17:33 +0000 (11:17 +0200)] 
ids.cgi: Use new-style table for whitelist entries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoids.cgi: Use new style tables for rulesets
Michael Tremer [Tue, 10 Sep 2024 09:09:58 +0000 (11:09 +0200)] 
ids.cgi: Use new style tables for rulesets

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Fix broken spacing in the settings section
Michael Tremer [Tue, 10 Sep 2024 09:01:52 +0000 (11:01 +0200)] 
suricata: Fix broken spacing in the settings section

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add option to scan WireGuard
Michael Tremer [Tue, 10 Sep 2024 08:50:15 +0000 (10:50 +0200)] 
suricata: Add option to scan WireGuard

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Don't load /var/ipfire/ethernet/settings
Michael Tremer [Tue, 10 Sep 2024 08:42:11 +0000 (10:42 +0200)] 
suricata: Don't load /var/ipfire/ethernet/settings

We no longer need this directly as it is being pulled in from the
network functions.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove superfluous bits from the initscript
Michael Tremer [Tue, 10 Sep 2024 08:41:19 +0000 (10:41 +0200)] 
suricata: Remove superfluous bits from the initscript

I don't know why these hacks are here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Restore the interface selection
Michael Tremer [Tue, 10 Sep 2024 08:40:28 +0000 (10:40 +0200)] 
suricata: Restore the interface selection

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Start the new watcher in the background
Michael Tremer [Mon, 9 Sep 2024 21:08:11 +0000 (23:08 +0200)] 
suricata: Start the new watcher in the background

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add a watcher to restart on unexpected termination
Michael Tremer [Mon, 9 Sep 2024 18:09:22 +0000 (20:09 +0200)] 
suricata: Add a watcher to restart on unexpected termination

This patch adds a watcher process that will restart suricata when it is
being killed by SIGKILL (e.g. by the OOM killer) or after a SEGV.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Be more efficient with marks
Michael Tremer [Mon, 9 Sep 2024 17:38:47 +0000 (19:38 +0200)] 
suricata: Be more efficient with marks

This patch changes that we introduce a new mark which allows us to
identify any newly bypassed connections and permanently store the bypass
flag.

We also only restore marks from the connection tracking when a packet
has no marks, yet.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Replace removed CPU count function
Michael Tremer [Mon, 9 Sep 2024 17:37:56 +0000 (19:37 +0200)] 
suricata: Replace removed CPU count function

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Add whitelist to iptables
Michael Tremer [Mon, 9 Sep 2024 10:46:23 +0000 (12:46 +0200)] 
suricata: Add whitelist to iptables

This allows us to workaround better against any problems in Suricata
because we never send any whitelisted packets to the IPS in the first
place.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Remove some unused constants
Michael Tremer [Mon, 9 Sep 2024 09:58:50 +0000 (11:58 +0200)] 
suricata: Remove some unused constants

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Use getconf to determine the number of processors
Michael Tremer [Mon, 9 Sep 2024 09:55:34 +0000 (11:55 +0200)] 
suricata: Use getconf to determine the number of processors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoinitscripts: Fix bash function definitions in suricata
Michael Tremer [Mon, 9 Sep 2024 09:54:04 +0000 (11:54 +0200)] 
initscripts: Fix bash function definitions in suricata

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosuricata: Move the IPS into the mangle table
Michael Tremer [Mon, 9 Sep 2024 09:49:30 +0000 (11:49 +0200)] 
suricata: Move the IPS into the mangle table

This should make the IPS more efficient, we should have fewer rules and
the IPS will now sit at the edge of the networking stack as it will see
packets immediately when they come and and just before they leave.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Ship cURL
Michael Tremer [Mon, 23 Sep 2024 21:22:22 +0000 (21:22 +0000)] 
core189: Ship cURL

This fixes a leaked SIGPIPE that makes transmission crash.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocurl: Update to version 8.10.0
Adolf Belka [Fri, 13 Sep 2024 16:25:16 +0000 (18:25 +0200)] 
curl: Update to version 8.10.0

- Update from vesion 8.9.1 to 8.10.0
- Update of rootfile
- In previous versions if libpsl was not found then the build excluded it. Now it needs
   to be explicitly disabled otherwise the build will stop with a warning that it could
   not be found.
- Changelog
    8.10.0
      changes:
 o autotools: add `--enable-windows-unicode` option [103]
 o curl: --help [option] displays documentation for given cmdline option [19]
 o curl: add --skip-existing [54]
 o curl: for -O, use "default" as filename when the URL has none [34]
 o curl: make --rate accept "number of units" [4]
 o curl: make --show-headers the same as --include [6]
 o curl: support --dump-header % to direct to stderr [31]
 o curl: support embedding a CA bundle and --dump-ca-embed [20]
 o curl: support repeated use of the verbose option; -vv etc [35]
 o curl: use libuv for parallel transfers with --test-event [82]
 o getinfo: add CURLINFO_POSTTRANSFER_TIME_T [87]
 o mbedtls: add CURLOPT_TLS13_CIPHERS support [78]
 o rustls: add support for setting TLS version and ciphers [113]
 o vtls: stop offering alpn http/1.1 for http2-prior-knowledge [53]
 o wolfssl: add CURLOPT_TLS13_CIPHERS support [76]
 o wolfssl: add support for ssl cert blob / ssl key blob options [50]
      bugfixes:
 o asyn-thread: stop using GetAddrInfoExW on Windows [241]
 o autotools: fix MS-DOS builds [249]
 o autotools: fix typo in tests/data target [30]
 o aws_sigv4: fix canon order for headers with same prefix [74]
 o bearssl: fix setting tls version [203]
 o bearssl: improve shutdown handling [45]
 o BINDINGS: add zig binding [100]
 o build: add `iphlpapi` lib for libssh on Windows [166]
 o build: add `poll()` detection for cross-builds [244]
 o build: add options to disable SHA-512/256 hash algo [239]
 o build: check OS-native IDN first, then libidn2 [223]
 o build: delete unused `REQUIRE_LIB_DEPS` [226]
 o build: drop unused `NROFF` reference [253]
 o build: drop unused feature-detection code for Apple `poll()` [227]
 o build: generate `buildinfo.txt` for test logs [256]
 o build: improve compiler version detection portability
 o build: make `CURL_FORMAT_CURL_OFF_T[U]` work with mingw-w64 <=7.0.0 [207]
 o build: silence C4232 MSVC warnings in vcpkg ngtcp2 builds [137]
 o build: use -Wno-format-overflow [195]
 o buildconf.bat: fix tool_hugehelp.c generation [173]
 o cf-socket: fix pollset for listening [179]
 o cf-socket: prevent KEEPALIVE_FACTOR being set to 1000 for Windows [185]
 o cfilters: send flush [13]
 o CHANGES: rename to CHANGES.md, no longer generated [40]
 o CI: enable parallel testing in CI builds [18]
 o ci: Update actions/upload-artifact digest to 89ef406 [24]
 o cmake: `Libs.private` improvements [215]
 o cmake: add `CURL_USE_PKGCONFIG` option [138]
 o cmake: add Linux CI job, fix pytest with cmake [71]
 o cmake: add math library when using wolfssl and ngtcp2 [66]
 o cmake: add missing `pkg-config` hints to Find modules [158]
 o cmake: add missing version detection to Find modules [170]
 o cmake: add rustls [116]
 o cmake: add support for versioned symbols option [51]
 o cmake: add wolfSSH support [117]
 o cmake: allow `pkg-config` in more envs [147]
 o cmake: cleanup header paths [59]
 o cmake: default `CURL_DISABLE_LDAPS` to the value of `CURL_DISABLE_LDAP` [231]
 o cmake: delete MSVC warning suppression for tests/server [101]
 o cmake: detect `nghttp2` via `pkg-config`, enable by default [21]
 o cmake: detect and show VCPKG in platform flags [84]
 o cmake: distcheck for files in CMake subdir [9]
 o cmake: drop custom `CMakeOutput.log`/`CMakeError.log` logs [27]
 o cmake: drop libssh CONFIG-style detection [167]
 o cmake: drop no-op `tests/data/CMakeLists.txt` [26]
 o cmake: drop reference to undefined variable [25]
 o cmake: drop unused `HAVE_IDNA_STRERROR` [62]
 o cmake: drop unused internal variable [22]
 o cmake: exclude tests/http/clients builds by default [110]
 o cmake: fix `GSS_VERSION` for Heimdal found via pkg-config [77]
 o cmake: fix `pkg-config`-based detection in `FindGSS.cmake` [94]
 o cmake: fix and tidy up c-ares builds, enable in more CI jobs [156]
 o cmake: fix find rustls [148]
 o cmake: fixup linking libgsasl when detected via CMake-native
 o cmake: honor custom `CMAKE_UNITY_BUILD_BATCH_SIZE` [163]
 o cmake: limit `pkg-config` to UNIX and MSVC+vcpkg by default [188]
 o cmake: limit libidn2 `pkg-config` detection to `UNIX` [109]
 o cmake: migrate dependency detections to Find modules [183]
 o cmake: more small tidy-ups and fixes [80]
 o cmake: rename wolfSSL and zstd config variables to uppercase [151]
 o cmake: respect cflags/libdirs of native pkg-config detections [175]
 o cmake: show CMake platform/compiler flags [63]
 o cmake: show warning if libpsl is not found [154]
 o cmake: sync code between test/example targets [234]
 o cmake: sync up formatting in Find modules [129]
 o cmake: TLS 1.3 warning only for bearssl and sectranp [118]
 o cmake: update `curl-config.cmake.in` template var list
 o cmake: update list of "advanced" variables [119]
 o cmake: use numeric comparison for `HAVE_WIN32_WINNT` [69]
 o cmdline-opts: language fix for expect100-timeout.md and max-time.md [192]
 o configure: delete unused `CURL_DEFINE_UNQUOTED` function [224]
 o configure: delete unused `HAVE_OPENSSL3` macro [225]
 o configure: delete unused `m4/xc-translit.m4` [114]
 o configure: detect AppleIDN [70]
 o configure: fail if PSL is not disabled but not found [46]
 o configure: fix WinIDN builds targeting old Windows [210]
 o configure: remove USE_EXPLICIT_LIB_DEPS [199]
 o configure: replace nonportable grep -o with awk [111]
 o connect: always prefer ipv6 in IP eyeballing [209]
 o connect: limit update IP info [191]
 o cookie.md: try to articulate the two different uses this option has [92]
 o curl: allow 500MB data URL encode strings [38]
 o curl: find curlrc in XDG_CONFIG_HOME without leading dot [186]
 o curl: fix --proxy-pinnedpubkey [91]
 o curl: fix the -w urle.* variables [153]
 o curl: make the progress bar detect terminal width changes [169]
 o curl: warn on unsupported SSL options [106]
 o Curl_rand_bytes to control env override [17]
 o curl_sha512_256: fix symbol collisions with nettle library [131]
 o CURLMOPT_SOCKETFUNCTION.md: expand on the easy argument [216]
 o CURLOPT_XFERINFOFUNCTION: clarify the callback return codes [141]
 o dist: add missing `docs/examples/CMakeLists.txt` [58]
 o dist: add missing `FindNettle.cmake` [11]
 o dist: add missing `lib/optiontable.pl` [115]
 o dist: add missing `test_*.py` scripts [102]
 o dist: drop buildconf [65]
 o dist: fix reproducible build from release tarball [36]
 o dmaketgz: only run 'make distclean' if Makefile exists
 o docs/SSLCERTS: rewrite [174]
 o docs: add description of effect of --location-trusted on cookie [157]
 o docs: document the (weak) random value situation in rustls builds [252]
 o docs: fix some examples in man pages
 o docs: improve cipher options documentation [159]
 o docs: mention "@-" in more places [67]
 o docs: remove ALTSVC.md, HSTS.md, HTTP2.md and PARALLEL-TRANSFERS.md [105]
 o docs: update CIPHERS.md [140]
 o doh-url.md: point out DOH server IP pinning [37]
 o doh: remove redundant checks [242]
 o easy: fix curl_easy_upkeep for shared connection caches [52]
 o escape: allow curl_easy_escape to generate 3*input length output [39]
 o FEATURES.md: fix typo [180]
 o ftp: always offer line end conversions [219]
 o ftp: flush pingpong before response [73]
 o getinfo: return zero for unsupported options (when disabled) [189]
 o GHA/windows: enable MulitSSL in an MSVC job [2]
 o GHA: scan git repository and detect unvetted binary files [3]
 o gnutls/wolfssl: improve error message when certificate fails [125]
 o gnutls: send all data [230]
 o gtls: fix OCSP stapling management [206]
 o haproxy: send though next filter [222]
 o hash: provide asserts to verify API use [96]
 o http/2: simplify eos/blocked handling [90]
 o http2+h3 filters: fix ctx init [142]
 o http2: fix GOAWAY message sent to server [171]
 o http2: improve rate limiting of downloads [33]
 o http2: improved upload eos handling [41]
 o http3.md: mention how the fallback can be h1 or h2 [194]
 o hyper: call Curl_req_set_upload_done() [126]
 o idn: more strictly check AppleIDN errors [98]
 o idn: support non-UTF-8 input under AppleIDN [99]
 o INSTALL.md: MultiSSL and QUIC are mutually exclusive [7]
 o KNOWN_BUGS: "special characers" in URL works with aws-sigv4 [81]
 o krb5: add Linux/macOS CI tests, fix cmake GSS detection [83]
 o krb5: fix `-Wcast-align` [95]
 o lib: add eos flag to send methods [14]
 o lib: avoid macro collisions between wolfSSL and GnuTLS headers [133]
 o lib: convert some debugf()s into traces [8]
 o lib: delete stray undefs for `vsnprintf`, `vsprintf` [152]
 o lib: fix AIX build issues [112]
 o lib: fix building with wolfSSL without DES support [134]
 o lib: make SSPI global symbols use Curl_ prefix [251]
 o lib: prefer `CURL_SHA256_DIGEST_LENGTH` over the unprefixed name [132]
 o lib: remove the final strncpy() calls [240]
 o lib: remove use of RANDOM_FILE [235]
 o libcurl.def: move from / into lib [238]
 o libcurl.pc: add `Cflags.private` [10]
 o libcurl.pc: add reference to `libgsasl` [150]
 o libcurl/docs: expand on redirect following and secrets to other hosts [85]
 o llist: remove direct struct accesses, use only functions [72]
 o Makefile.dist: fix `ca-firefox` target [254]
 o Makefile.mk: fixup enabling libidn2 [61]
 o Makefile: remove 'scripts' duplicate from DIST_SUBDIRS
 o maketgz: accept option to include latest commit hash [5]
 o maketgz: fix RELEASE-TOOLS.md for daily tarballs [243]
 o maketgz: move from / into scripts [237]
 o managen: fix superfluous leading blank line in quoted sections [211]
 o managen: in man output, remove the leading space from examples [198]
 o managen: wordwrap long example lines in ASCII output [143]
 o manpage: ensure a maximum width for the text version [75]
 o max-filesize.md: mention zero disables the limit [93]
 o mbedtls: add more informative logging [162]
 o mbedtls: fix setting tls version [200]
 o mbedtls: no longer use MBEDTLS_SSL_VERIFY_OPTIONAL [181]
 o mime: avoid inifite loop in client reader [155]
 o mk-ca-bundle.pl: include a link to the caextract webpage [68]
 o multi: make the "general" list of easy handles a Curl_llist [97]
 o multi: on socket callback error, remove socket hash entry nonetheless [149]
 o ngtcp2/osslq: remove NULL pointer dereferences [213]
 o ngtcp2: use NGHTTP3 prefix instead of NGTCP2 for errors in h3 callbacks [79]
 o openssl quic: fix memory leak [229]
 o openssl: certinfo errors now fail correctly [250]
 o openssl: fix the data race when sharing an SSL session between threads [221]
 o openssl: improve shutdown handling [44]
 o pingpong: drain the input buffer when reading responses [193]
 o POP3: fix multi-line responses [168]
 o pop3: use the protocol handler ->write_resp [220]
 o printf: fix mingw-w64 format checks [228]
 o progress: ratelimit/progress tweaks [32]
 o pytests: add tests for HEAD requests in all HTTP versions [42]
 o rand: only provide weak random when needed [233]
 o runtests: if DISABLED cannot be read, error out [56]
 o runtests: log ignored but passed tests [130]
 o runtests: remove "has_textaware" [217]
 o rustls: fix setting tls version [202]
 o rustls: make all tests pass [1]
 o schannel: avoid malloc for CAinfo_blob_digest [247]
 o scorecard: tweak request measurements [139]
 o sectransp: fix setting tls version [204]
 o SECURITY: mention OpenSSF best practices gold badge [161]
 o setopt: allow CURLOPT_INTERFACE to be set to NULL [165]
 o setopt: let CURLOPT_ECH set to NULL reset to default [187]
 o setopt: make CURLOPT_TFTP_BLKSIZE accept bad values [184]
 o sha256: fix symbol collision between nettle (GnuTLS) and OpenSSL [135]
 o share: don't reinitialize conncache [214]
 o sigpipe: init the struct so that first apply ignores [49]
 o smb: convert superflous assign into assert [246]
 o smtp: add tracing feature [120]
 o splay: use access functions, add asserts, use Curl_timediff [121]
 o spnego_gssapi: implement TLS channel bindings for openssl [146]
 o src: delete `curlx_m*printf()` aliases [197]
 o src: fix potential macro confusion in cmake unity builds [208]
 o src: namespace symbols clashing with lib [248]
 o src: replace copy of printf mappings with an include [190]
 o ssh: deduplicate SSH backend includes (and fix libssh cmake unity build) [177]
 o system_win32: fix typo
 o test httpd: tweak cipher list [124]
 o test1521: verify setting options to NULL better [182]
 o test1707: output diff more for debugging differences in CI outputs
 o test556: improve robustness [64]
 o test579: improve robustness [60]
 o test587: improve robustness [123]
 o test649: improve robustness [122]
 o test677: improve robustness [47]
 o tests/runner: only allow [!A-Za-z0-9_-] in %if feature names [55]
 o tests: constrain http pytest to tests/http directory [205]
 o tests: don't mangle output if hostname or type unknown
 o tests: ignore QUIT from FTP protocol comparisons [108]
 o tests: provide docs as curldown, not nroff [12]
 o tidy-up: misc build, tests, `lib/macos.c` [172]
 o tidy-up: OS names [57]
 o tool_operhlp: fix  "potentially uninitialized local variable 'pc' used" [48]
 o tool_paramhlp: bump maximum post data size in memory to 16GB [128]
 o transfer: Curl_sendrecv() and event related improvements [164]
 o transfer: remove comments, add asserts [218]
 o transfer: skip EOS read when download done [196]
 o url: dns_entry related improvements [16]
 o url: fix connection reuse for HTTP/2 upgrades [236]
 o urlapi: verify URL *decoded* hostname when set [160]
 o urldata: introduce `data->mid`, a unique identifier inside a multi [127]
 o urldata: remove 'scratch' from the UrlState struct [86]
 o urldata: remove crlf_conversions counter [232]
 o urldata: remove proxy_connect_closed bit [178]
 o verify-release: shell script that verifies a release tarball [29]
 o version: fix shadowing a `libssh.h` symbol [176]
 o vtls: add SSLSUPP_CIPHER_LIST [107]
 o vtls: fix MSVC 'cast truncates constant value' warning [23]
 o vtls: fix static function name collisions between TLS backends [136]
 o vtls: init ssl peer only once [15]
 o websocket: introduce blocking sends [145]
 o wolfssl: avoid taking cached x509 store ref if sslctx already using it [88]
 o wolfssl: fix CURLOPT_SSLVERSION [144]
 o wolfssl: fix setting tls version [201]
 o wolfssl: improve shutdown handling [43]
 o ws: flags to opcodes should ignore CURLWS_CONT flag [104]
 o x509asn1: raise size limit for x509 certification information [28]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoweb: Fix reloading graphs
Michael Tremer [Mon, 23 Sep 2024 19:44:42 +0000 (19:44 +0000)] 
web: Fix reloading graphs

Suggested-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agomake.sh: Flag rootfiles that have lines starting with + or -
Michael Tremer [Mon, 23 Sep 2024 19:35:24 +0000 (19:35 +0000)] 
make.sh: Flag rootfiles that have lines starting with + or -

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Ship libfdt (from dtc)
Michael Tremer [Mon, 23 Sep 2024 17:43:10 +0000 (17:43 +0000)] 
core189: Ship libfdt (from dtc)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Ship ntp because of OpenSSL mismatch warning
Michael Tremer [Mon, 23 Sep 2024 14:39:04 +0000 (14:39 +0000)] 
core189: Ship ntp because of OpenSSL mismatch warning

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agolog.dat: Remove stupid line breaks and update markup of table
Michael Tremer [Mon, 23 Sep 2024 12:50:32 +0000 (14:50 +0200)] 
log.dat: Remove stupid line breaks and update markup of table

Reported-by: Stephen Cuka <stephen@firemypi.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship Apache configuration and updated initscript
Michael Tremer [Sun, 22 Sep 2024 14:44:40 +0000 (14:44 +0000)] 
core190: Ship Apache configuration and updated initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agobackup: No longer save RSA keys
Peter Müller [Fri, 20 Sep 2024 14:20:22 +0000 (14:20 +0000)] 
backup: No longer save RSA keys

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoDrop RSA key and certificate from HTTPS configuration
Peter Müller [Fri, 20 Sep 2024 14:20:21 +0000 (14:20 +0000)] 
Drop RSA key and certificate from HTTPS configuration

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoapache: Drop RSA key and certificate generation
Peter Müller [Fri, 20 Sep 2024 14:20:19 +0000 (14:20 +0000)] 
apache: Drop RSA key and certificate generation

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosshd: Do not generate new RSA host key on first boot
Peter Müller [Fri, 20 Sep 2024 14:20:18 +0000 (14:20 +0000)] 
sshd: Do not generate new RSA host key on first boot

This patch will also ensure the maximum supported key length
is used for ECDSA. Existing installations will remain unaffected.

Note that the key size for ED25519 is fixed, and explicitly
setting it to 521 bytes will not have any impact.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agosamba: Update to version 4.21.0
Adolf Belka [Sat, 21 Sep 2024 11:06:46 +0000 (13:06 +0200)] 
samba: Update to version 4.21.0

- Update from 4.20.4 to 4.21.0
- Update of rootfile for x86_64, aarch64 & riscv64
- Changelog
    4.21.0
Hardening of "valid users", "invalid users", "read list" and "write list"
 In previous versions of Samba, if a user or group name in either of the
  mentioned options could not be resolved to a valid SID, the user (or group)
  would be skipped without any notification. This could result in unexpected and
  insecure behaviour. Starting with this version of Samba, if any user or group
  name in any of the options cannot be resolved due to a communication error with
  a domain controller, Samba will log an error and the tree connect will fail.
 Non existing users (or groups) are ignored.
LDAP TLS/SASL channel binding support
 The ldap server supports SASL binds with
  kerberos or NTLMSSP over TLS connections
  now (either ldaps or starttls).
 Setups where 'ldap server require strong auth = allow_sasl_over_tls'
  was required before, can now most likely move to the
  default of 'ldap server require strong auth = yes'.
 If SASL binds without correct tls channel bindings are required
  'ldap server require strong auth = allow_sasl_without_tls_channel_bindings'
  should be used now, as 'allow_sasl_over_tls' will generate a
  warning in every start of 'samba', as well as '[samba-tool ]testparm'.
 This is similar to LdapEnforceChannelBinding under
  HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters
  on Windows.
 All client tools using ldaps also include the correct
  channel bindings now.
NEW FEATURES/CHANGES
LDB no longer a standalone tarball
 LDB, Samba's LDAP-like local database and the power behind the Samba
  AD DC, is no longer available to build as a distinct tarball, but is
  instead provided as an optional public library.
 If you need ldb as a public library, say to build sssd, then use
   ./configure --private-libraries='!ldb'
 This re-integration allows LDB tests to use the Samba's full selftest
  system, including our knownfail infrastructure, and decreases the work
  required during security releases as a coordinated release of the ldb
  tarball is not also required.
 This approach has been demonstrated already in Debian, which is already
  building Samba and LDB is this way.
 As part of this work, the pyldb-util public library, not known to be
  used by any other software, is made private to Samba.
LDB Module API Python bindings removed
 The LDB Modules API, which we do not promise a stable ABI or API for,
  was wrapped in python in early LDB development.  However that wrapping
  never took into account later changes, and so has not worked for a
  number of years.  Samba 4.21 and LDB 2.10 removes this unused and
  broken feature.
Changes in LDB handling of Unicode
 Developers using LDB up to version 2.9 could call ldb_set_utf8_fns()
  to determine how LDB handled casefolding. This is used internally by
  string comparison functions. In LDB 2.10 this function is deprecated,
  and ldb_set_utf8_functions() is preferred. The new function allows a
  direct comparison function to be set as well as a casefold function.
 This improves performance and allows for more robust handling of
  degenerate cases. The function should be called just after ldb_init(),
  with the following arguments:
     ldb_set_utf8_functions(ldb, /* the struct ldb_ctx LDB object */
                            context_variable /* possibly NULL */
                            casefold_function,
                            case_insensitive_comparison_function);
 The default behaviour of LDB remains to perform ASCII casefolding
  only, as if in the "C" locale. Recent versions have become
  increasingly consistent in this.
Some Samba public libraries made private by default
 The following Samba C libraries are currently made public due to their
  use by OpenChange or for historical reasons that are no longer clear.
    dcerpc-samr, samba-policy, tevent-util, dcerpc, samba-hostconfig,
    samba-credentials, dcerpc_server, samdb
 The libraries used by the OpenChange client now private, but can be
  made public (like ldb above) with:
   ./configure --private-libraries='!dcerpc,!samba-hostconfig,!samba-credentials,!ldb'
 The C libraries without any known user or used only for the OpenChange
  server (a dead project) may be made private entirely in a future Samba
  version.
 If you use a Samba library in this list, please be in touch with the
  samba-technical mailing list.
Using ldaps from 'winbindd' and 'net ads'
 Beginning with Samba 3.0.22 the 'ldap ssl = start tls' option also
  impacted LDAP connections to active directory domain controllers.
 Using the STARTTLS operation on LDAP port 389 connections. Starting
  with Samba 3.5.0 'ldap ssl ads = yes' was required in addition in
  order let to 'ldap ssl = start tls' have any effect on those
  connections.
 'ldap ssl ads' was deprecated with Samba 4.8.0 and removed together
  with the whole functionality in Samba 4.14.0, because it didn't support
  tls channel bindings required for the sasl authentication.
 The functionality is now re-added using the correct channel bindings
  based on the gnutls based tls implementation we already have, instead
  of using the tls layer provided by openldap. This makes it available
  and consistent with all LDAP client libraries we use and implement on
  our own.
 The 'client ldap sasl wrapping' option gained the two new possible values:
  'starttls' (using STARTTLS on tcp port 389)
  and
  'ldaps' (using TLS directly on tcp port 636).
 If you had 'ldap ssl = start tls' and 'ldap ssl ads = yes'
  before, you can now use 'client ldap sasl wrapping = starttls'
  in order to get STARTTLS on tcp port 389.
 As we no longer use the openldap tls layer it is required to configure the
  correct certificate trusts with at least one of the following options:
  'tls trust system cas', 'tls ca directories' or 'tls cafile'.
 While 'tls verify peer' and 'tls crlfile' are also relevant,
  see 'man smb.conf' for further details.
New DNS hostname config option
 To get `net ads dns register` working correctly running manually or during a
  domain join a special entry in /etc/hosts was required. This not really
  documented and thus the DNS registration mostly didn't work. With the new option
  the default is [netbios name].[realm] which should be correct in the majority of
  use cases.
 We will also use the value to create service principal names during a Kerberos
  authentication and DNS functions.
 This is not supported in samba-tool yet.
Samba AD will rotate expired passwords on smartcard-required accounts
 Traditionally in AD, accounts set to be "smart card require for logon"
  will have a password for NTLM fallback and local profile encryption
  (Windows DPAPI). This password previously would not expire.
 Matching Windows behaviour, when the DC in a FL 2016 domain and the
  msDS-ExpirePasswordsOnSmartCardOnlyAccounts attribute on the domain
  root is set to TRUE, Samba will now expire these passwords and rotate
  them shortly before they expire.
 Note that the password expiry time must be set to twice the TGT lifetime for
  smooth operation, e.g. daily expiry given a default 10 hour TGT
  lifetime, as the password is only rotated in the second half of its
  life.  Again, this matches the Windows behaviour.
 Provided the default 2016 schema is used, new Samba domains
  provisioned with Samba 4.21 will have this enabled once the domain
  functional level is set to 2016.
 NOTE: Domains upgraded from older Samba versions will not have this
  set, even after the functional level preparation, matching the
  behaviour of upgraded Windows AD domains.
Per-user and group "veto files" and "hide files"
 "veto files" and "hide files" can optionally be restricted to certain users and
  groups. To apply a veto or hide directive to a filename for a specific user or
  group, a parametric option like this can be used:
   hide files : USERNAME = /somefile.txt/
   veto files : GROUPNAME = /otherfile.txt/
  For details consult the updated smb.conf manpage.
Automatic keytab update after machine password change
 When machine account password is updated, either by winbind doing regular
  updates or manually (e.g. net ads changetrustpw), now winbind will also support
  update of keytab entries in case you use newly added option
  'sync machine password to keytab'.
  The new parameter allows you to describe what keytabs and how should be updated.
  From smb.conf(5) manpage - each keytab can have exactly one of these four forms:
                 account_name
                 sync_spns
                 spn_prefixes=value1[,value2[...]]
                 spns=value1[,value2[...]]
 The functionaity provided by the removed commands "net ads keytab
  add/delete/add_update_ads" can be achieved via the 'sync machine password to
  keytab' as in these examples:
  "net ads keytab add  wurst/brot@REALM"
    - this command is not adding <principal> to AD, so the best fit can be specifier
      "spns"
    - add to smb.conf:
      sync machine password to keytab = /path/to/keytab1:spns=wurst/brot@REALM:machine_password
    - run:
      "net ads keytab create"
  "net ads keytab delete wurst/brot@REALM"
    - remove the principal (or the whole keytab line if there was just one)
    - run:
      "net ads keytab create"
  "net ads keytab add_update_ads wurst/brot@REALM"
    - this command was adding the principal to AD, so for this case use a keytab
      with specifier sync_spns
    - add to smb.conf:
      sync machine password to keytab = /path/to/keytab2:sync_spns:machine_password
    - run:
      "net ads setspn add  wurst/brot@REALM"  # this adds the principal to AD
      "net ads keytab create"  # this sync it from AD to local keytab
 A new parameter 'sync machine password script' allows to specify external script
  that will be triggered after the automatic keytab update. If keytabs should be
  generated in clustered environments it is recommended to update them on all
  nodes.  Check in smb.conf(5) the scripts winbind_ctdb_updatekeytab.sh and
  46.update-keytabs.script in section 'sync machine password script' for details.
 For detailed information check the smb.conf(5) and net(8) manpages.
New cephfs VFS module
 Introduce new vfs-to-cephfs bridge which uses libcephfs low-level APIs (instead
  of path-based operations in the existing module). It allows users to pass
  explicit user-credentials per call (including supplementary groups), as well as
  faster operations using inode and file-handle caching on the Samba side.
  Configuration is identical to existing module, but using 'ceph_new' instead of
  'ceph' for the relevant smb.conf entries. This new module is expected to
  deprecate and replace the old one in next major release.
Group Managed Service Accounts
 Samba 4.21 adds support for gMSAs (Group Managed Service Accounts),
  completing support for Functional Level 2012.
 The purpose of a gMSA is to allow a single host, or a cluster of
  hosts, to share access to an automatically rotating password, avoiding
  the weak static service passwords that are often the entrypoint of
  attackers to AD domains. Each server has a strong and regularly
  rotated password, which is used to access the gMSA account of (e.g.)
  the database server.
 Samba provides management and client tools, allowing services on Unix
  hosts to access the current and next gMSA passwords, as well as obtain
  a credentials cache.
 Samba 4.20 announced the client-side tools for this feature. To avoid
  duplication and provide consistency, the existing commands for
  password viewing have been extended, so these commands operate both on
  a gMSA (with credentials, over LDAP, specify -H) and locally for
  accounts that have a compatible password (e.g. plaintext via GPG,
  compatible hash)
    samba-tool user getpassword
    samba-tool user get-kerberos-ticket
    samba-tool domain exportkeytab
 An example command, which gets the NT hash for use with NTLM, is
   samba-tool user getpassword -H ldap://server --machine-pass  \
       TestUser1 --attributes=unicodePwd
 Kerberos is a better choice (gMSA accounts should not use LDAP simple
  binds, for reasons of both security and compatibility). Use
   samba-tool user get-kerberos-ticket -H ldap://server --machine-pass \
       TestUser1 --output-krb5-ccache=/srv/service/krb5_ccache
 gMSAs disclose a current and previous password. To access the previous
  NT hash, use:
   samba-tool user getpassword -H ldap://server --machine-pass TestUser1 \
      --attrs=unicodePwd;previous=1
 To access the previous password as UTF8, use:
   samba-tool user getpassword -H ldap://server --machine-pass TestUser1 \
       --attributes=pwdLastSet,virtualClearTextUTF8;previous=1
 However, Windows tools for dealing with gMSAs tend to use Active
  Directory Web Services (ADWS) from Powershell for setting up the
  accounts, and this separate protocol is not supported by Samba 4.21.
 Samba-tool commands for handling gMSA (KDS) root keys
   Group managed service accounts rotate passwords based on root keys,
    which can be managed using samba-tool, with commands such as
      samba-tool domain kds root_key create
      samba-tool domain kds root_key list
 Samba will create a new root key for new domains at provision time,
  but users of gMSA accounts on upgraded domains will need to first
  create a root key.
RFC 8070 PKINIT "Freshness extension" supported in the Heimdal KDC
 The Heimdal KDC will recognise when a client provides proof that they
  hold the hardware token used for smart-card authentication 'now' and
  has not used a saved future-dated reply. Samba 4.21 now matches
  Windows and will assign an extra SID to the user in this case,
  allowing sensitive resources to be additionally protected.
 Only Windows clients are known to support the client side of this
  feature at this time.
New samba-tool Authentication Policy management command structure
 As foreshadowed in the Samba 4.20 release notes, the "samba-tool
  domain auth policy" commands have been reworked to be more intuitive
  based on user feedback and reflection.
Support for key features of AD Domain/Forest Functional Level 2012R2
 Combined with other changes in recent versions (such as claims support
  in 4.20), Samba can now claim Functional Level 2012R2 support.
Build system
 In previous versions of Samba, packagers of Samba would set their
  package-specific version strings using a patch to the
  SAMBA_VERSION_VENDOR_SUFFIX line in the ./VERSION file. Now that is
  achieved by using --vendor-suffix (at configure time), allowing this
  to be more easily scripted. Vendors are encouraged to include their
  name and full package version to assist with upstream debugging.
More deterministic builds
 Samba builds are now more reproducible, providing better assurance
  that the Samba binaries you run are the same as what is expected from
  the source code. If locale settings are not changed, the same objects
  will be produced from each compilation run. If Samba is built in a
  different path, the object code will remain the same, but DWARF
  debugging sections will change (while remaining functionally
  equivalent).
Improved command-line redaction
 There are several options that can be used with Samba tools for
  specifying secrets. Although this is best avoided, when these options
  are used, Samba will redact the secrets in /proc, so that they won't
  be seen in ps or top. This is now carried out more thoroughly,
  redacting more options. There is a race inherent in this, and the
  passwords will be visible for a short time. The secrets are also not
  removed from .bash_history and similar files.
REMOVED FEATURES
Following commands are removed:
net ads keytab add <principal>
net ads keytab delete <principal>
net ads keytab add_update_ads
Changes
smb.conf changes
  Parameter Name                          Description     Default
  --------------                          -----------     -------
  client ldap sasl wrapping               new values
  client use spnego principal             removed
  ldap server require strong auth         new values
  tls trust system cas                    new
  tls ca directories                      new
  dns hostname                            client dns name [netbios name].[realm]
  valid users                             Hardening
  invalid users                           Hardening
  read list                               Hardening
  write list                              Hardening
  veto files                              Added per-user and per-group vetos
  hide files                              Added per-user and per-group hides
  sync machine password to keytab         keytabs
  sync machine password script            script
CHANGES SINCE 4.21.0rc4
   * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated.
   * BUG 15702: Bad variable definition for ParseTuple causing test failure for
     Smb3UnixTests.test_create_context_reparse.
   * BUG 15686: Add new vfs_ceph module (based on low level API).
CHANGES SINCE 4.21.0rc3
   * BUG 15698: samba-tool can not load the default configuration file.
   * BUG 15700: Crash when readlinkat fails.
CHANGES SINCE 4.21.0rc2
   * BUG 15689: Can't add/delete special keys to keytab for nfs, cifs, http etc.
   * BUG 15696: Compound SMB2 requests don't return
     NT_STATUS_NETWORK_SESSION_EXPIRED for all requests, confuses
     MacOSX clients.
   * BUG 15689: Can't add/delete special keys to keytab for nfs, cifs, http etc.
CHANGES SINCE 4.21.0rc1
   * BUG 15673: --version-* options are still not ergonomic, and they reject
     tilde characters.
   * BUG 15686: Add new vfs_ceph module (based on low level API)
   * BUG 15673: --version-* options are still not ergonomic, and they reject
     tilde characters.
   * BUG 15690: ldb_version.h is missing from ldb public library
   * BUG 15689: Can not add/delete special keys to keytab for nfs, cifs, http etc
   * BUG 15686: Add new vfs_ceph module (based on low level API)
   * BUG 15673: --version-* options are still not ergonomic, and they reject
     tilde characters.
   * BUG 15687: undefined reference to winbind_lookup_name_ex
   * BUG 15688: per user veto and hide file syntax is to complex
   * BUG 15689: Can not add/delete special keys to keytab for nfs, cifs, http etc
   * BUG 15688: per user veto and hide file syntax is to complex

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship OpenSSH
Michael Tremer [Sun, 22 Sep 2024 14:40:39 +0000 (14:40 +0000)] 
core190: Ship OpenSSH

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoOpenSSH: Order symmetric ciphers by strength
Peter Müller [Sat, 21 Sep 2024 15:30:00 +0000 (15:30 +0000)] 
OpenSSH: Order symmetric ciphers by strength

We also wish to prefer AES over Chacha/Poly, given the
prevalence of hardware accelaration for the former.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoOpenSSH: Add alias name for sntrup761x25519-sha512 key exchange
Peter Müller [Sat, 21 Sep 2024 15:29:59 +0000 (15:29 +0000)] 
OpenSSH: Add alias name for sntrup761x25519-sha512 key exchange

This makes sure OpenSSH connections make use of this post-quantum
key exchange whenever possible, even if one peer still running
OpenSSH 9.8 or older.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoOpenSSH: Add ML-KEM x X25519 hybrid key exchange
Peter Müller [Sat, 21 Sep 2024 15:29:58 +0000 (15:29 +0000)] 
OpenSSH: Add ML-KEM x X25519 hybrid key exchange

This was newly introduced in OpenSSH 9.9, hence our custom
configurations for both SSH server and client need to be updated.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoOpenSSH :Update to 9.9p1
Peter Müller [Sat, 21 Sep 2024 15:29:57 +0000 (15:29 +0000)] 
OpenSSH :Update to 9.9p1

Please refer to https://www.openssh.com/releasenotes.html#9.9p1
for the release announcement of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship apr
Michael Tremer [Sun, 22 Sep 2024 14:38:42 +0000 (14:38 +0000)] 
core190: Ship apr

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoapr: Update to 1.7.5
Peter Müller [Sat, 21 Sep 2024 12:29:30 +0000 (12:29 +0000)] 
apr: Update to 1.7.5

Full changelog of this release:

  *) SECURITY: CVE-2023-49582: Apache Portable Runtime (APR):
     Unexpected lax shared memory permissions (cve.mitre.org)
     Lax permissions set by the Apache Portable Runtime library on
     Unix platforms would allow local users read access to named
     shared memory segments, potentially revealing sensitive
     application data.
     This issue does not affect non-Unix platforms, or builds with
     APR_USE_SHMEM_SHMGET=1 (apr.h)
     Users are recommended to upgrade to APR version 1.7.5, which
     fixes this issue.
     Credits: Thomas Stangner

  *) Unix: Implement apr_shm_perms_set() for the "POSIX shm_open()"
     and "classic mmap" shared memory implementations.  [Joe Orton,
     Ruediger Pluem]

  *) Fix missing ';' for XML/HTML hex entities from apr_escape_entity().
     [Yann Ylavic]

  *) Fix crash in apr_pool_create() with --enable-pool-debug=all|owner.
     [Yann Ylavic]

  *) Improve platform detection by updating config.guess and config.sub.
     [Rainer Jung]

  *) CMake: Add support for CMAKE_WARNING_AS_ERROR. [Ivan Zhakov]

  *) CMake: Enable support for MSVC runtime library selection by abstraction.
     [Ivan Zhakov]

  *) CMake: Export installed targets (libapr-1, apr-1, libaprapp-1, aprapp-1)
     to apr:: namespace. [Ivan Zhakov]

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoovpnmain.cgi: Fix IP address calculation with static pools
Michael Tremer [Sun, 22 Sep 2024 14:33:03 +0000 (14:33 +0000)] 
ovpnmain.cgi: Fix IP address calculation with static pools

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship vpnmain.cgi
Michael Tremer [Sun, 22 Sep 2024 14:25:12 +0000 (14:25 +0000)] 
core190: Ship vpnmain.cgi

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agovpnmain.cgi: Add coding to differentiate old and base64 encoded PSK's
Adolf Belka [Fri, 5 Jul 2024 17:18:56 +0000 (19:18 +0200)] 
vpnmain.cgi: Add coding to differentiate old and base64 encoded PSK's

- An additional key was defined for a PSK being base64 encoded. All existing PSK's that
   are not base64 encoded will have that key empty. This enables base64 encoded PSK's and
   non base64 encoded PSK'sd to be differentiated.
- If the PSK connection is disabled and then enabled with a non base64 encoded PSK the PSK
   will be left as it is. If the edit page is selected and Save pressed, even if nothing
   has been modified, then the PSK will be converted to a base64 encoded PSK.
- The old style and new style PSK was tested out on my vm system and worked without any
   issue.
- Using an old non base64 encoded PSK the IPSec connection worked without any problems.
   If the PSK was tehn converted to basse64 encoding by saving from the Edit page without
   changing anything, then the client IPSec connection was successfully made without any
   indication of a change. The conversion from non base64 to base64 encoded PSK occurred
   seamlessly without any hiccup.

Fixes: Bug13029
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>
8 months agoen.pl: Update to explicitly mention single quotation mark being invalid
Adolf Belka [Fri, 5 Jul 2024 17:18:55 +0000 (19:18 +0200)] 
en.pl: Update to explicitly mention single quotation mark being invalid

- As all characters, except for the single quotation mark, are now allowed in the PSK
   with the base64 encoding implemented then the error message in the English Lang file
   has been changed to explicitly mention the single quotation mark rather than characters
   as a generic message.

Fixes: Bug13029
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>
8 months agovpnmain.cgi: Fix for bug13029 - add base64 encoding to IPSec cgi page
Adolf Belka [Fri, 5 Jul 2024 17:18:54 +0000 (19:18 +0200)] 
vpnmain.cgi: Fix for bug13029 - add base64 encoding to IPSec cgi page

- This adds the base64 encoded PSK into the config file and when the ipsec.secrets file
   is created the PSK is base64 decoded to write it to the file. The ipsec.secrets file
   surrounds the PSK with single quotation marks so that character is not allowed to be
   used in the PSK but anything else can be.
- Tested out on my vm system and shown to be working. New PSK with various characters
   characters including commas was base64 encoded before putting into the config file
   and therefore was accepted by the code. If a single quotation mark was used in the
   PSK then the error message about invalid characters was shown.

Fixes: Bug13029
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>
8 months agocore190: Ship collectd changed
Michael Tremer [Sun, 22 Sep 2024 14:20:28 +0000 (14:20 +0000)] 
core190: Ship collectd changed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocollectd: Fixes bug-13074, create collectd.d directory
Adolf Belka [Wed, 7 Aug 2024 12:16:45 +0000 (14:16 +0200)] 
collectd: Fixes bug-13074, create collectd.d directory

- As requested in bug 13074, create a collectd.d directory to enable any addon definitions
   to be created.
- Added include statement in conf file to load everything that is stored in the collectd.d
   directory.
- collectd.precache and collectd.thermal have been left in their original locations
- Removed the arm section in the initscript as only aarch64 is now used.
- Modified the lfs to create the collectd.d directory
- Removal of collectd.custom file as this was the previous way to define custom collectd
   profiles but would have been overwritten by any update of collectd.
- Update of rootfile to take account of new path and removal of collectd.custom
- Tested out in vm testbed with Core Update 188 and all existing graphs were still created
   and updated. From my evaluation the changes have not affected anything.
- The creation of the collectd.d directory now allows users to add their own desired
   profiles but also if it is decided that an addon should be included in the processes
   graph, or if a new graph for addons is created then profiles for that addon can be
   placed in the collectd.d directory and will be automatically included by collectd.

Fixes: Bug13074
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>
8 months agocore190: Ship logwatch and log.dat
Michael Tremer [Sun, 22 Sep 2024 14:17:35 +0000 (14:17 +0000)] 
core190: Ship logwatch and log.dat

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agologwatch: Fixes bug13762 - ssh logins not shown on Log Summary page
Adolf Belka [Wed, 28 Aug 2024 10:04:46 +0000 (12:04 +0200)] 
logwatch: Fixes bug13762 - ssh logins not shown on Log Summary page

- Due to the update of openssh to version 9.8 in CU187, logwatch no longer found the sshd
   login data from the messages log as the daemon was changed to sshd-session.
- Therefore the daily logwatch files were missing the sshd information in them.
- A patch to add support for openssh-9.8 sshd-session and port info has been merged into
   the logwatch git system and will be included into the next released version of logwatch
- Update logwatch from version 7.8 to 7.11 and add patch for openssh-9.8 support.
- Update the previous three logwatch patches for version 7.11
- Tested on my vm testbed. Confirmed that logwatch now includes back the sshd information
   into the Log Summary page.
- When logwatch is updated to version 7.12 then the openssh-9.8 support patch will be able
   to be removed.

Fixes: bug13762
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>
8 months agolog.dat: Fix bug13762 - ssh logins not shown in system logs
Adolf Belka [Wed, 28 Aug 2024 10:04:45 +0000 (12:04 +0200)] 
log.dat: Fix bug13762 - ssh logins not shown in system logs

- With the update of openssh to version 9.8 in CU187 the daemon was changed from sshd to
   sshd-session. Therefore the log.dat no longer finds any info related to the logins.
- This updates the section regex to look for both sshd and sshd-session.
- Tested out on my vm system and confirmed to work.
- This fix will make available all previous log info for sshd-session in the messages log
   as it continued to be stored, just could not be read by the WUI system log.

Fixes: bug13762
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agowlanap.cgi: Fix listing channels
Michael Tremer [Sat, 21 Sep 2024 11:33:07 +0000 (13:33 +0200)] 
wlanap.cgi: Fix listing channels

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoConfig: Fix determining the package size
Michael Tremer [Sat, 21 Sep 2024 12:24:58 +0000 (12:24 +0000)] 
Config: Fix determining the package size

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore190: Ship ca-certificates
Michael Tremer [Fri, 20 Sep 2024 13:07:00 +0000 (13:07 +0000)] 
core190: Ship ca-certificates

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoca-certificates: Remove distrusted root CA operated by "e-commerce monitoring GmbH"
Peter Müller [Fri, 20 Sep 2024 12:32:45 +0000 (12:32 +0000)] 
ca-certificates: Remove distrusted root CA operated by "e-commerce monitoring GmbH"

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1897457

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agoca-certificates: Update root CA certificates bundle
Peter Müller [Fri, 20 Sep 2024 12:32:44 +0000 (12:32 +0000)] 
ca-certificates: Update root CA certificates bundle

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 months agocore189: Fix IPS rule files again for c188
Michael Tremer [Fri, 20 Sep 2024 12:54:37 +0000 (12:54 +0000)] 
core189: Fix IPS rule files again for c188

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>