Commit Graph

8851 Commits

Author SHA1 Message Date
Arne Fitzenreiter
726891607b core161: add backup exclude
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 16:00:49 +00:00
Adolf Belka
d2c2025b3d backup/exclude: unbound is missing hosts.conf include after restoring a backup of an older version
- Added unbound.conf to backup/exclude list to fix bug #12441

Fixes: #12441
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 15:59:05 +00:00
Arne Fitzenreiter
bca0fb8147 core161: add ppp changes
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 15:56:53 +00:00
Peter Müller
aa45d923eb Revert "Revert "ppp: update to 2.4.9""
This reverts commit 2d6e633d7f.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:54:07 +00:00
Adolf Belka
d6f1003665 cups-filters: Update to version 1.28.10
- Update from 1.28.9 to 1.28 10
- Update rootfile
- Changelog
    CHANGES IN V1.28.10
	- Sample PPDs: Add borderless page size definitions to Generic
	  PDF Printer, HP Color LaserJet CM3530 MFP PDF, and Ricoh PDF
	  Printer PPD files.
	- Sample PPDs: From the PDF PPD files removed the unneeded
	  "*cupsFilters2: ..." line. For CUPS it does not make any
	  difference.
	- libcupsfilters: Fixed pdftopdf filter to correctly support
	  page ranges without upper limit, like "10-" (Pull request
	  #399).
	- libcupsfilters: Use wildcard tag (IPP_TAG_ZERO) search for
	  "media-type" and "media-type-supported" in the PPD
	  generator (Pull request #398).
	- implicitclass, parallel: Added missing newlines at error
	  messages.
	- libfontembed: Removed unneeded fontembed/main.c and ttfread
	  executable. Eliminates the dependency on DejaVuSans.ttf
	  (Issue #386).
	- gstoraster: Refactor the filter a little to clarify handling
	  of page counts and set job-impressions for TotalPageCount in
	  PWG-Raster header (Pull request #394).
	- cups-browsed: Make NotifLeaseDuration configurable and renew
	  after half the lease duration not 60 sec before end. The
	  early renewal improves reliability on busy systems a
	  lot. For easier development and debugging short durations
	  from 300 sec on can get selected (Pull request #378).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:50:12 +00:00
Arne Fitzenreiter
725d6a4916 core161: add logwatch
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:45:26 +00:00
Adolf Belka
1c71ff6b2c logwatch: mdadm status missing - Fix for Bug 12080
- Addition of mdadm module to logwatch
- Addition of logwatch to sudoers list to run mdadm commands
- patch to change logwatch mdadm.conf to allow scan for raid drives, change mdadm script
   to run mdadm scan commands with sudo, allow clean but degraded drives to be listed
   in the output.

Fixes: 12080
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:43:11 +00:00
Adolf Belka
4ee445ce44 ghostscript: Update to version 9.55.0
- Update from 9.54 to 9.55.0
- Update rootfile
- Changelog
   Version 9.55.0 (2021-09-27)
     Highlights in this release include:
       This release includes the fix for the %pipe% security issue (CVE-2021-3781).
       New PDF Interpreter: This is an entirely new implementation written in C (rather
        than PostScript, as before). For a full discussion of this change and reasons for
        it see: Changes Coming to the PDF Interpreter.
       In this (9.55.0) release, the new PDF interpreter is disabled by default in
        Ghostscript, but can be used by specifying -dNEWPDF. We hope to make it the
        default in 9.56.0, and fully deprecate the PostScript implementation shortly
        after that (depending on the feedback we get).
       This also allows us to offer a new executable (gpdf, or gpdfwin??.exe on Windows)
        which is purely for PDF input. For this release, those new binaries are not
        included in the "install" make targets, nor in the Windows installers (they will
        be from 9.56.0 onwards).
       We would ask that as many users as possible take the opportunity to test with the
        new PDF implementation (i.e. using -dNEWPDF on your gs command line), and discuss
        any problems with us, before the new implementation becomes the default.
       The pdfwrite device now supports "passthrough" for JPX/JPG2000 data images (as
        well as the already supported JPEG/DCT Encoded). That means that if no rescaling
        or color conversion of the image data is required, the encoded/compressed image
        data from the input file will be written unchanged to the output, preventing
        potential image degradation caused by decompressing and recompressing.
       The Ghostscript/GhostPDL demo apps for C, C#, Java and Python have all had
        improvements and the C#/Java/Python language bindings have now been documented,
        see Ghostscript Language Bindings
       The Zugferd compliant PDF generating definitions (lib/zugferd.ps) have been
        updated and expanded to support the current version (2.1.1) of the Zugferd spec,
        and optionally different versions of the specification.
       The PCL/m output devices now support Duplex/Tumble.
       The internal support for "n-up" style simple imposition (introduced in 9.54.0) has
        been extended and improved for better support across all input formats.
       Ghostscript now supports object specific halftone - for example, different
        halftones can be specified for text and images, reflecting the differing needs of
        rendering those two types of object.
       Our efforts in code hygiene and maintainability continue.
       The usual round of bug fixes, compatibility changes, and incremental improvements.
       (9.53.0) We have added the capability to build with the Tesseract OCR engine. In
        such a build, new devices are available (pdfocr8/pdfocr24/pdfocr32) which render
        the output file to an image, OCR that image, and output the image "wrapped" up as
        a PDF file, with the OCR generated text information included as "invisible" text
        (in PDF terms, text rendering mode 3).
       Mainly due to time constraints, we only support including Tesseract from source
        included in our release packages, and not linking to Tesseract/Leptonica shared
        libraries. Whether we add this capability will be largely dependent on community
        demand for the feature.
       See Enabling OCR for more details.
     For a list of open issues, or to report problems, please visit bugs.ghostscript.com.
     Incompatible changes
       (9.55.0) Changes to the device API. This will affect developers and maintainers of
        Ghostscript devices. Firstly, and most importantly, the way device-specific
        "procs" are specified has been rewritten to make it (we think!) clearer and less
        confusing. See The Interface between Ghostscript and Device Drivers and The Great
        Device Rework Of 2021 for more details.
       (9.55.0) The command line options -sGraphicsICCProfile=___, -dGraphicsIntent=#,
        -dGraphicsBlackPt=#, -dGraphicsKPreserve=# have been changed to
        -sVectorICCProfile=___, -dVectorIntent=#, -dVectorBlackPt=#,
        -dVectorKPreserve=#.
     From 9.55.0 onwards, in recognition of how unwieldy very large HTML files can become
      (History9.html had reached 8.1Mb!), we intend to only include the summary
      highlights (above).
     For anyone wanting the full details of the changes in a release, we ask them to look
      at the history in our public git repository: ghostpdl-9.55.0 log.
     If this change does not draw negative feedback, History?.htm file(s) will be removed
      from the release archives.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:41:47 +00:00
Adolf Belka
65710b528a pcengines-apu-firmware: Update to version 4.14.0.4
- Update from 4.14.0.2 to 4.14.0.4
- Update of rootfile
- Changelog
   v4.14.0.4 Release date: 2021-09-17
    Changed:
        Rebased with official coreboot repository commit d9f5d90
        Enabled EHCI controller by default on apu3-apu6 platforms
        Updated sortbootorder to v4.6.22
    Added:
        Safeguard against setting watchdog timeout too low
    Known issues:
        apuled driver doesn't work in FreeBSD. Check the GPIOs document for workaround.
        Some PCIe cards are not detected on certain OSes and/or in certain mPCIe slots.
         Check the mPCIe modules document for solution/workaround.
        Booting with 2 USB 3.x sticks plugged in apu4 sometimes results in detecting
         only 1 stick
        Certain USB 3.x sticks happen to not appear in boot menu
        Booting Xen is unstable
   v4.14.0.3 Release date: 2021-08-06
    Changed:
        Rebased with official coreboot repository commit c049c80

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:25:15 +00:00
Arne Fitzenreiter
f85e3493ac core161: add ca-certificates
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:23:41 +00:00
Peter Müller
82c53ef9df update ca-certificates CA bundle
Update the CA certificates list to what Mozilla NSS ships currently.

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

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:22:16 +00:00
Adolf Belka
4bd07ee400 7zip: Update to version 17.04
- Update from 17.03 to 17.04
- Update rootfile
- Changelog
   Version 17.04
     - add lzip decompress
     - update zstd 1.4.9

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:18:09 +00:00
Arne Fitzenreiter
8c943731b1 core161: add exfatprogs
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:16:23 +00:00
Adolf Belka
574690dc00 exfatprogs: Provide package to work with exfat formats
- Create lfs and rootfile
- Add exfatprogs to make.sh
- exfat is supported as a native kernel module since kernel 5.7
- This package requires CONFIG_EXFAT_FS=m to be set for the kernel module for each
   architecture that will be supported. Currently that is only i586

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:14:51 +00:00
Arne Fitzenreiter
eb8dcf245f core161: add dosfstools
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:14:04 +00:00
Adolf Belka
923cf5358c dosfstools: Update to version 4.2
- Update from 3.0.9 (2013) to 4.2 (2021)
- Update rootfile
- Program names changed in version 2.0.18
    dosfslabel became fatlabel
    dosfsck became fsck.fat
    and mkdosfs became mkfs.fat
- Added --enable-compat-symlinks to ./configure command to maintain original names as
   symlinks

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 09:59:20 +00:00
Arne Fitzenreiter
2e82a4002d kernel: update to 5.10.75
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-21 04:39:52 +02:00
Arne Fitzenreiter
20977f0a83 core161: generate new qos.sh
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 18:36:32 +00:00
Arne Fitzenreiter
a3c9708117 core161: add pakfire.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 18:35:01 +00:00
Arne Fitzenreiter
ef7d9d7657 core161: add suricata changes
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 18:25:11 +00:00
Michael Tremer
9deccd1cba suricata: Enable bypassing unhandled streams
If a stream cannot be identified or if suricata has decided that it
cannot do anything useful any more (e.g. TLS sessions after the
handshake), we will allow suricata to bypass any following packets in
that flow

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:34:19 +00:00
Michael Tremer
11f7218f9c suricata: Define bypass mark
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Tested-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:34:10 +00:00
Michael Tremer
761fadbdde suricata: Set most significant bit as repeat marker
I have no idea why some odd value was chosen here, but one bit should be
enough.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Tested-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:33:47 +00:00
Arne Fitzenreiter
aaf266ac2b core161: add pakfire.conf and pakfire/lib/functions.pl
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:32:00 +00:00
Arne Fitzenreiter
5670285852 core161: add index.cgi and general-functions.pl
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:27:58 +00:00
Michael Tremer
637eb94684 index.cgi: Remove left-over DNSSEC status warning
An error message is still shown although there is no option to disable
DNSSEC at the moment. The old marker file could still be present on
older machines.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:24:07 +00:00
Arne Fitzenreiter
0165dd4025 core161: add partresize
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:23:12 +00:00
Michael Tremer
a09578f4eb OCI: Enable serial console by default
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-19 11:21:57 +00:00
Arne Fitzenreiter
819fdfb17a QoS: imgress Connmark restore, layer7 and IPSec handling
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-18 14:44:59 +02:00
Arne Fitzenreiter
03c7877845 kernel: update to 5.10.74
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-18 00:35:42 +02:00
Arne Fitzenreiter
3c838a59ea makeqosscripts: add missing parenthesis at QOS_OUT Layer7 rules.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-16 10:18:42 +02:00
Arne Fitzenreiter
79930b29a4 kernel: update to 5.10.73
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-15 08:07:04 +02:00
Arne Fitzenreiter
c8bb619a71 core161: remove python2 module from collectd
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 16:36:59 +00:00
Arne Fitzenreiter
97ac4778bb core161: now use 2to3 of python3
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 16:33:43 +00:00
Arne Fitzenreiter
b0302f7fad core161: remove python2 at update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:33:09 +00:00
Adolf Belka
d5bb33744a python: removal of python2 from IPFire
- Final patch for removal of python2 from IPFire. This can be implemented in an
   appropriate Core Update after all other python2 related patches have been implemented
   and confirmed working.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:28:12 +00:00
Matthias Fischer
2f6232d56c Bought a 'd' - fixed an old typo
'bandwith...' should be 'bandwidth...'.

Despite being my favourite typo for the past few years(?),
today I decided to try to say 'Goodbye' to an old friend.

Similar to 'MB writen' its hard but I think it just about time.

'qos' and 'guardian' will never be the same for me... ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:22:49 +00:00
Arne Fitzenreiter
61cc803fad core161: add squid-asnbl and proxy.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:16:45 +00:00
Peter Müller
2b59141553 squid-asnbl: New package
This package adds an ASNBL helper for detecting Fast Flux setups and
selectively announced networks (i. e. FQDNs resolving to IP addresses
not being announced by an Autonomous System) to the distribution.
Afterwards, the helper script is located at /usr/bin/asnbl-helper.py .

The second version of this patch updates squid-asnbl to upstream version
0.2.2, improving logging in case of detected Fast Flux setups.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:13:04 +00:00
Arne Fitzenreiter
e314dc82a8 core161: add hexdump
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:10:04 +00:00
Michael Tremer
45124fbbc2 util-linux: Ship hexdump
This is a handy tool which can help debugging any problems and should be
part of the distribution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:09:27 +00:00
Adolf Belka
9f9d0974f0 client175: Removal of this package as it currently only works with python2
- Removal of the lfs, rootfile and initscript
- Removal of client175 entry in the make.sh file

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:09:09 +00:00
Arne Fitzenreiter
c59dc6a724 core161: add makegraphs and hddshutdown
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:08:30 +00:00
Arne Fitzenreiter
a4d0d0a1e4 core161: add apache2
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:03:56 +00:00
Arne Fitzenreiter
9b189f4493 core161: add firewall changes to update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:00:11 +00:00
Michael Tremer
51c4b73f7a IPsec: Replace MARK 50 by 0x00800000
This change is necessary because we are using the right-hand two bytes
for storing the QoS classes.

All IPsec traffic will now be skipped and never classified by the QoS.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 11:47:27 +00:00
Michael Tremer
f857c5c630 QoS: Make outgoing packet processing use CONNMARK
This will significantly reduce the load when classifying outgoing
traffic as there won't be any overhead as soon as the connection has
been classified. The classficiation is being stored in the iptables MARK
which will be copied to CONNMARK if changed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 11:46:50 +00:00
Michael Tremer
0bb882c4bb QoS: Drop support for hardcoded ACK rules
This feature has to go in order to take advantage of CONNMARK which will
drastically decrease CPU load when passing packets.

We no longer will see every packet in the QOS-INC chain in order to
change classification of that packet. It is also party counter-intuitive
to have parts of one connection in one class and the corresponding ACK
packets in another.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 11:46:35 +00:00
Michael Tremer
c825fcef40 firewall: Always restore all connection marks
This was done by tc only when QoS was enabled

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 11:46:23 +00:00
Michael Tremer
45329c0a66 QoS: Use the two right hand bytes to mark packets
In order to not deal with any marks from NAT and the IPS, this patch
adds masks to all places where packets are being marked for individual
QoS classes.

Instead of being able to use the "fw" match in tc, we have to use the
u32 to apply the mask.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 11:46:06 +00:00