Commit Graph

9812 Commits

Author SHA1 Message Date
Vincent Li
8a0ca16bae Loongarch64: initial change for tool chain build
1. add loongarch64 in make.sh

2. updated many source tar balls with config.guss
   and config.sub with loongarch64 support

3. remove rust and surricata for now

4. workaround binary env dynamic linker missing
   by symbolic link tools_loongarch64/lib to lib64
   when ./make.sh build

   cd build_loongarch64; ln -s tools_loongarch64/lib lib64

./make.sh toolchain to build tool chain
./make clean to start fresh
./make.sh gettoolchain to extract tool chaina from cache
./make.sh build to build software and image

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2024-12-15 09:09:28 -08:00
Michael Tremer
0d774f0db5 flash-image: Create a journal when the filesystem is being created
We recently started to have problems when a new installation was
launched from the flash image that creating the journal corrupted the
filesystem on the next mount operation.

Since we would like all IPFire installations to have a journal, we
create this now when we create the image and won't try to add it later.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-12-14 12:06:43 +00:00
Michael Tremer
f2fce26932 Config: Don't interpret file names as regular expressions
When we are searching for changes in rootfiles, we walk through each
file that we have found in the build and check if it exists in the
rootfile. That check interpreted filenames as regular expressions which
caused a problem in the case of "/usr/bin/[".

This patch changes that grep will only search for an exact string match
(-F) and the string must be the entire line (-x).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-12-14 12:06:30 +00:00
Stefan Schantl
1a4d5cfd92 openssh: Introduce include directory for additional sshd config files
This patch adds the prosibility to place additional *.config files in /etc/ssh/sshd_config.d/
which will be included and loaded during the daemon startup process.

Because this files will not be overwritten by any update, they can be used to place custom
or other persistent settings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-12-13 14:36:51 +00:00
Adolf Belka
38067c08c7 suricata: Update to version 7.0.8
- Update from version 7.0.7 to 7.0.8
- Update of rootfile not required
- Changelog
    7.0.8
	Security #7412: tcp: generic detection bypass using TCP urgent support (7.0.x
	 backport)(HIGH - CVE 2024-55629)
	Security #7405: dns: quadratic complexity in logging and invalid json as output
	 (7.0.x backport)(HIGH - CVE 2024-55628)
	Security #7404: tcp: segfault on StreamingBufferSlideToOffsetWithRegions (7.0.x
	 backport)(CRITICAL - CVE 2024-55627)
	Security #7367: bpf: oversized bpf file can lead to buffer overflow (7.0.x
	 backport)(LOW - CVE 2024-55626)
	Security #7306: detect: write to read-only memory in transforms (7.0.x backport)
	 (CRITICAL - CVE 2024-55605)
	Bug #7445: dpdk: RSS key length missmatch on ice (E810) card with DPDK version
	 22.11.6  (7.0.x backport)
	Bug #7434: requires: rules with unmet requirements are still loaded (7.0.x
	 backport)
	Bug #7432: detect: decoder event rules fail to match on invalid packets (7.0.x
	 backport)
	Bug #7407: detect: missing app-layer metadata in alerts (7.0.x backport)
	Bug #7368: flow: flow timeout pseudo packet triggers unexpected alert (7.0.x
	 backport)
	Bug #7362: rules: unknown internal events not being detected as errors (7.0.x
	 backport)
	Bug #7339: rust: different int types turn garbage on FFI boundary (7.0.x backport)
	Bug #7335: asan/profiling: global-buffer-overflow error (7.0.x backport)
	Bug #7327: http: FN with prefilter if the first of multi buffer did not match
	 (7.0.x backport)
	Bug #7324: mqtt: wrong and missing direction for keywords (7.0.x backport)
	Bug #7310: http: incorrect file direction handling (7.0.x backport)
	Bug #7308: conf: memleak if yaml parser is initialized before checking if file
	 exists (7.0.x backport)
	Bug #7307: detect: memleak in case of errors during initialization (7.0.x
	 backport)
	Bug #7301: output: oversized records lead to invalid json (7.0.x backport)
	Bug #7295: detect: sip.stat_code keyword uses wrong buffer name
	Bug #7294: conf: nullptr dereference if mem alloc fails for a node in yaml
	 parser (7.0.x backport)
	Optimization #7316: template: remove usage of template-rust (7.0.x backport)
	Optimization #7275: tcp/reassemble: GetBlock takes O(nlgn) in worst case (7.0.x
	 backport)
	Feature #7439: eve/alert: enrich decoder event rules (7.0.x backport)
	Task #7427:  flowint: add isnotset support (7.0.x backport)
	Task #7288: schema: add missing tls fields certificate and chain (7.0.x backport)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-12-13 14:32:58 +00:00
Arne Fitzenreiter
58b611a6ab kernel: update to 6.6.63
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-25 18:32:27 +01:00
Arne Fitzenreiter
8f36e4c896 transmission: add minipnpc as dependency
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-19 20:32:47 +01:00
Arne Fitzenreiter
adb153f64f miniupnpc: change to addon pak
transmission need the lib at runtime.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-19 20:32:30 +01:00
Arne Fitzenreiter
a6fac033ba kernel: update to 6.6.62
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-19 19:19:28 +01:00
Arne Fitzenreiter
28636c46cb collectd: fix errormessage on fresh installations
the /etc/collectd.d/ folder must have at least one file in it
so this add an file with a comment that custom configs should placed
there.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-09 09:46:53 +01:00
Arne Fitzenreiter
ac7c2b8270 kernel: update to 6.6.60
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-09 09:46:24 +01:00
Arne Fitzenreiter
afd54bb41a hostapd: fix start/stop buttons
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-06 11:49:11 +01:00
Adolf Belka
2be32bfb99 intel-microcode: Update to version 20241029
- Update from version 20240910 to 20241029
- Update of rootfile not required
- Changelog
    20241029
	Update for functional issues. Refer to 14th/13th Generation Intel® Core™
	 Processor Specification Update for details at
	 https://cdrdv2.intel.com/v1/dl/getContent/740518
	Updated Platforms
	 Processor   Stepping  F-M-S/PI     Old Ver   New Ver   Products
	 RPL-E/HX/S  B0        06-b7-01/32  00000129  0000012b  Core Gen13/Gen14

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 14:32:43 +01:00
Matthias Fischer
ce45a76778 bind: Update to 9.20.3
For details see:
https://downloads.isc.org/isc/bind9/9.20.3/doc/arm/html/notes.html#notes-for-bind-9-20-3

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 09:17:29 +01:00
Matthias Fischer
07abe4e2f6 unbound: Update to 1.22.0
For details see:
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-22-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 09:15:06 +01:00
Michael Tremer
2e92bfc047 chown: Replace . with : on all shipped scripts
I don't like this messy bootup screen that we have with all sorts of
warnings that actually don't cause any problems, but make the boot
messy and send the wrong message to users.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 08:51:45 +01:00
Michael Tremer
3c904d268b hostapd: Enable logging to syslog
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 08:45:33 +01:00
Arne Fitzenreiter
d6dc07a1a8 kernel: update to 6.6.59
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-04 18:00:11 +01:00
Arne Fitzenreiter
da8dc5e86a Config: add ROOTFILE_APPEND variable to select rootfile
also gcc on riscv64 has to different rootfile at build so make
the selection of an additional rootfile univarsal.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-27 13:47:57 +01:00
Arne Fitzenreiter
37eb2ddd07 kernel: update to 6.6.58
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-24 08:22:21 +02:00
Arne Fitzenreiter
e91ae5e75a flash-images: move sleep 1 to a better place
kpartx trigger the automount feature of some desktop environments
which result in a mounted filesystem if it was created to fast after
kpartx.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-24 08:18:07 +02:00
Arne Fitzenreiter
78f1bb1de5 flash-images: add sleep 1 after umount the images
sometime zerofree will not able to write without this delay.
I have no idea why?

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-16 21:37:19 +02:00
Arne Fitzenreiter
4d448aa458 vdr: update to version 2.6.9
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-16 21:35:00 +02:00
Arne Fitzenreiter
16fd55e550 lfs/Config: fix used rootfile for linux headers
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-16 21:33:58 +02:00
Arne Fitzenreiter
135b61b564 freeradius: update rootfile and increment PAK_VER
new package is needed because a lib was not shipped with v21

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-16 21:30:32 +02:00
Adolf Belka
398fa44015 dhcpcd: Update to version 10.1.0
- Update from version 10.0.10 to 10.1.0
- Update of rootfile not required
- Changelog
    10.1.0
	Bug Fixes
		dhcp: get_option_uint32/16 only accept options with correct len by
		 @taoyl-g in #357
		Include frame header in buffer length by @acst1223 in #371
	For full changelog see commits delta in
	 https://github.com/NetworkConfiguration/dhcpcd/compare/v10.0.10...v10.1.0

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-16 09:44:51 +00:00
Matthias Fischer
bb108657a8 squid: Update to 6.12
For details see:
https://github.com/squid-cache/squid/commits/v6

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-14 09:15:23 +00:00
Matthias Fischer
7b4155905c monit: Update to 5.34.2
For details see:
https://mmonit.com/monit/changes/

"Fixed: The network protocol test may occasionally fail with a
"Poll failed: Interrupted system call" error."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-14 09:15:20 +00:00
Adolf Belka
b71fe1a1e7 tshark: Update to version 4.4.1
- Update from version 4.2.7 to 4.4.1
- The 4.4.x series is the new Stable Release replascing the 4.2.x series which becomes
   the Old Stable Release.
- There is an sobump so find-dependencies was run for the three libraries with changes
   but all linked programs are within tshark.
- Changelog is too large to include here. Links provided
    4.4.1
	https://www.wireshark.org/docs/relnotes/wireshark-4.4.1.html
    4.4.0
	https://www.wireshark.org/docs/relnotes/wireshark-4.4.0.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-12 09:38:25 +00:00
Arne Fitzenreiter
24f875d787 mympd: update to 18.0.0
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-11 13:30:13 +02:00
Arne Fitzenreiter
019f139b20 kernel: update to 6.6.56
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-10-11 13:17:53 +02:00
Matthias Fischer
384c5ba18e monit: Update to 5.34.1
For details see:
https://mmonit.com/monit/changes/

"Fixed: The check program now avoids leaving zombie processes between cycles."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-09 18:26:01 +00:00
Adolf Belka
1af2530c07 lcdproc: removal as discussed in Conf call 7th Oct
- removal of lfs, rootfile and config files
- backup includes file is also removed, althouigh it was an empty file, so not backing
   anything up.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-09 18:25:56 +00:00
Adolf Belka
5fd4ca19a8 mpfire: removal as discussed in Conf call 7th Oct
- removal of lfs, rootfile, backup, paks, misc-progs, mpfire perl, language file
   content, mpfire.cgi, mpfire menu references and files, mpfire specific image,
   web-user-interface references and references in manualpages.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-09 18:25:53 +00:00
Adolf Belka
8e33ca3246 ppp: Update to version 2.5.1
- Update from version commit e1266c7 to 2.5.1
- Version 2.5.1 has around 34 additional commits from e1266c7. To me all look minor
   changes, some related to other system types such as Solaris that we don't use.
- Update of rootfile
- They have added example to the configuration files to prevent accidental overwriting
   of configuration systems.
- Changelog - There is no longer any changelog provided. Even the one that used to
   exist for version 2.5.0 has been removed. The only option now is to look through the
   commits - https://github.com/ppp-project/ppp/commits/master/?before=d5aeec65752d4a9b3bb46771d0b221c4a4a6539e+35
- Some of the patches had to be updated as the changes were enough that some hunks did
   not get found for patching. Patch file number 6 has been removed as the sed lines are
   no longer to be found in the configure file. The other files that patched successfully
   were renamed to 2.5.1

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-09 18:25:03 +00:00
Michael Tremer
e28cb28628 Merge branch 'master' into next 2024-10-07 10:23:22 +00:00
Michael Tremer
7eec7e2c8b 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>
2024-10-07 10:19:14 +00:00
Michael Tremer
388802662f Merge branch 'master' into next 2024-10-07 09:15:04 +00:00
Matthias Fischer
b38609d64d 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>
2024-10-04 11:45:37 +00:00
Matthias Fischer
252a5d4d06 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>
2024-10-02 16:01:39 +00:00
Matthias Fischer
7386cc1f60 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>
2024-10-02 16:01:39 +00:00
Arne Fitzenreiter
202d48c340 hostapd: update to git 64d60bb4
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-09-30 16:05:07 +00:00
Arne Fitzenreiter
a5c7005c3d 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>
2024-09-29 11:28:26 +00:00
Adolf Belka
dcd828666a 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>
2024-09-26 14:14:37 +00:00
Adolf Belka
c2cd03024f 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>
2024-09-24 10:03:22 +00:00
Adolf Belka
5702c62b11 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>
2024-09-24 10:03:11 +00:00
Michael Tremer
6ca5fb74ab Merge branch 'master' into next 2024-09-24 08:54:50 +00:00
Matthias Fischer
0a3bdf20f5 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>
2024-09-24 08:54:27 +00:00
Michael Tremer
17887e69a8 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>
2024-09-24 08:42:32 +00:00
Adolf Belka
853e1e41e9 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>
2024-09-23 21:22:09 +00:00