]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/log
people/stevee/ipfire-2.x.git
3 years agoids.cgi: Use get_used_rulesfiles function from ids-functions.pl.
Stefan Schantl [Wed, 31 Mar 2021 10:02:27 +0000 (12:02 +0200)] 
ids.cgi: Use get_used_rulesfiles function from ids-functions.pl.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce get_used_rulesfiles() function.
Stefan Schantl [Wed, 31 Mar 2021 10:01:22 +0000 (12:01 +0200)] 
ids-functions.pl: Introduce get_used_rulesfiles() function.

This function simply returns an array which contains the used rulesfiles
files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce drop_dl_rulesfile().
Stefan Schantl [Wed, 31 Mar 2021 09:26:24 +0000 (11:26 +0200)] 
ids-functions.pl: Introduce drop_dl_rulesfile().

This tiny function is used, to delete the stored rulesfile in case a
provider will be deleted.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Rework function for modify-sid file to be more
Stefan Schantl [Wed, 31 Mar 2021 08:49:19 +0000 (10:49 +0200)] 
ids-functions.pl: Rework function for modify-sid file to be more
generic.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Add cleanup_tmp_directory() function.
Stefan Schantl [Wed, 31 Mar 2021 08:45:14 +0000 (10:45 +0200)] 
ids-functions.pl: Add cleanup_tmp_directory() function.

As the name of the function already says, it is responsible to
delete all temporary files after ruleset generation.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Remove config files on rulesdir cleanup.
Stefan Schantl [Mon, 29 Mar 2021 14:53:52 +0000 (16:53 +0200)] 
ids-functions.pl: Remove config files on rulesdir cleanup.

They every time oinkmaster is called will be generated.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Rework oinkmaster() function.
Stefan Schantl [Mon, 29 Mar 2021 14:51:18 +0000 (16:51 +0200)] 
ids-functions.pl: Rework oinkmaster() function.

Rework the function to work with the latest changes and multiple
providers.

The function now does the following:

* Extract the stored rules tarballs for all enabled providers.
* Copy rules files for enabled providers which provide plain files.
* Still calls oinkmaster to set up the rules and modify them.
* Calls the merge functions for classification and sid to msg files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Assign temporary rules and conf path to variables.
Stefan Schantl [Mon, 29 Mar 2021 13:50:04 +0000 (15:50 +0200)] 
ids-functions.pl: Assign temporary rules and conf path to variables.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce merge_sid_msg() function.
Stefan Schantl [Mon, 29 Mar 2021 13:27:42 +0000 (15:27 +0200)] 
ids-functions.pl: Introduce merge_sid_msg() function.

This function is used to merge the sid to message mapping files
from various providers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Fix typo.
Stefan Schantl [Sun, 28 Mar 2021 10:49:56 +0000 (12:49 +0200)] 
ids-functions.pl: Fix typo.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce merge_classifications() function.
Stefan Schantl [Sun, 28 Mar 2021 10:47:23 +0000 (12:47 +0200)] 
ids-functions.pl: Introduce merge_classifications() function.

This function is used to merge the individual classification files
provided by the providers.

The result will be written to the classification.config which will be
used by the IDS.

Fixes #11884.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce extraceruleset() function.
Stefan Schantl [Sat, 27 Mar 2021 11:07:45 +0000 (12:07 +0100)] 
ids-functions.pl: Introduce extraceruleset() function.

This function is used to extract the required config and rules files
from the stored rules tarball for a given ruleset provider.

* The files will be extracted to a temporary directory layout in
  "/tmp/ids_tmp".

* Names of config files will be adjusted in case multiple providers
  offers the same config files, which is very common.

* The name of the single rulefiles will be adjusted to start with
  the vendors name to allow assigning them very easily to a single
  ruleset provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Always delete temporary file.
Stefan Schantl [Sat, 27 Mar 2021 11:07:13 +0000 (12:07 +0100)] 
ids-functions.pl: Always delete temporary file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Fix typo.
Stefan Schantl [Sat, 27 Mar 2021 11:06:44 +0000 (12:06 +0100)] 
ids-functions.pl: Fix typo.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoruleset-sources: Rename file to plain.
Stefan Schantl [Fri, 26 Mar 2021 12:27:48 +0000 (13:27 +0100)] 
ruleset-sources: Rename file to plain.

This is used if a provider offers a plain rulefile instead an archive.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Allow downloadruleset() function to deal with
Stefan Schantl [Fri, 26 Mar 2021 12:24:26 +0000 (13:24 +0100)] 
ids-functions.pl: Allow downloadruleset() function to deal with
multiple ruleset providers.

When calling the function now a single ruleset provider handle
can be specified to only download this ruleset or by adding "all" or
leaving the handle blank a download of all configured rulesets can be
triggered.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce private _get_dl_rulesfile() function.
Stefan Schantl [Fri, 26 Mar 2021 12:19:58 +0000 (13:19 +0100)] 
ids-functions.pl: Introduce private _get_dl_rulesfile() function.

This function can be used to generate/get the absolute file and path
for a given ruleset provider.

The files will be stored in the usual "/var/tmp" folder with a new
file format based on the dl_file type and the provider.

Examples could be:
* /var/ipfire/idsrules-emerging.tar.gz
* /var/ipfire/idsrules-registered.tar.gz
* /var/ipfire/idsrules-somprovider.rules

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Run in perl strict mode.
Stefan Schantl [Fri, 26 Mar 2021 12:17:59 +0000 (13:17 +0100)] 
ids-functions.pl: Run in perl strict mode.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoruleset-sources: Fix website url for community ruleset.
Stefan Schantl [Fri, 26 Mar 2021 12:16:40 +0000 (13:16 +0100)] 
ruleset-sources: Fix website url for community ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoruleset-sources: Replace subscription code placeholder.
Stefan Schantl [Fri, 26 Mar 2021 12:15:04 +0000 (13:15 +0100)] 
ruleset-sources: Replace subscription code placeholder.

Replace the <oinkcode> placeholder by the more generic
<subscription_code>.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Add code to handle enable/disable a provider.
Stefan Schantl [Tue, 23 Mar 2021 16:42:07 +0000 (17:42 +0100)] 
ids.cgi: Add code to handle enable/disable a provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Add code to handle enable/disable autoupdate for a provider.
Stefan Schantl [Tue, 23 Mar 2021 16:40:44 +0000 (17:40 +0100)] 
ids.cgi: Add code to handle enable/disable autoupdate for a provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Fix type in method.
Stefan Schantl [Tue, 23 Mar 2021 16:40:12 +0000 (17:40 +0100)] 
ids.cgi: Fix type in method.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Remove accidently commited commented code snipped.
Stefan Schantl [Tue, 23 Mar 2021 16:39:32 +0000 (17:39 +0100)] 
ids.cgi: Remove accidently commited commented code snipped.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Correctly use "enabled" for checked checkboxes.
Stefan Schantl [Tue, 23 Mar 2021 16:38:26 +0000 (17:38 +0100)] 
ids.cgi: Correctly use "enabled" for checked checkboxes.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Read-in providers settings file when neccessary.
Stefan Schantl [Tue, 23 Mar 2021 16:37:33 +0000 (17:37 +0100)] 
ids.cgi: Read-in providers settings file when neccessary.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Add code to add/edit a ruleset provider.
Stefan Schantl [Tue, 23 Mar 2021 15:20:52 +0000 (16:20 +0100)] 
ids.cgi: Add code to add/edit a ruleset provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoUpdate language files.
Stefan Schantl [Tue, 23 Mar 2021 15:20:17 +0000 (16:20 +0100)] 
Update language files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Introduce providers_settings_file.
Stefan Schantl [Tue, 23 Mar 2021 13:58:09 +0000 (14:58 +0100)] 
ids-functions.pl: Introduce providers_settings_file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Rework rulesetsettings section.
Stefan Schantl [Tue, 23 Mar 2021 13:56:11 +0000 (14:56 +0100)] 
ids.cgi: Rework rulesetsettings section.

* The page and section now supports multiple ruleset providers at once.
* Adding / Editing a ruleset provider has been moved to a own sub-page.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoruleset-sources: Fix website details for emergingthreats provider.
Stefan Schantl [Tue, 23 Mar 2021 11:39:13 +0000 (12:39 +0100)] 
ruleset-sources: Fix website details for emergingthreats provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Move configuration of ruleset autoupdate intervall to IDS main
Stefan Schantl [Mon, 22 Mar 2021 15:27:33 +0000 (16:27 +0100)] 
ids.cgi: Move configuration of ruleset autoupdate intervall to IDS main
section.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Stop showing ruleset date on customize rulest sub-page.
Stefan Schantl [Mon, 22 Mar 2021 13:42:42 +0000 (14:42 +0100)] 
ids.cgi: Stop showing ruleset date on customize rulest sub-page.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Add "Back" button to customize ruleset sub-page.
Stefan Schantl [Mon, 22 Mar 2021 10:48:58 +0000 (11:48 +0100)] 
ids.cgi: Add "Back" button to customize ruleset sub-page.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Move / Splitt main page and customize ruleset subpage.
Stefan Schantl [Sun, 21 Mar 2021 20:41:42 +0000 (21:41 +0100)] 
ids.cgi: Move / Splitt main page and customize ruleset subpage.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Only read-in ruleset if neccessary.
Stefan Schantl [Sun, 21 Mar 2021 16:22:29 +0000 (17:22 +0100)] 
ids.cgi: Only read-in ruleset if neccessary.

This process takes some time, especially on huge rulesets.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Add button to customize the ruleset.
Stefan Schantl [Sun, 21 Mar 2021 16:17:05 +0000 (17:17 +0100)] 
ids.cgi: Add button to customize the ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Introduce and use get_provider_name() function.
Stefan Schantl [Sat, 20 Mar 2021 17:07:57 +0000 (18:07 +0100)] 
ids.cgi: Introduce and use get_provider_name() function.

This function is used to grab the name of a provider by the given
handle.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Move the section to customize the IDS ruleset to a function.
Stefan Schantl [Sat, 20 Mar 2021 15:58:11 +0000 (16:58 +0100)] 
ids.cgi: Move the section to customize the IDS ruleset to a function.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Remove unused rulesetsources hashes.
Stefan Schantl [Sat, 20 Mar 2021 15:54:37 +0000 (16:54 +0100)] 
ids.cgi: Remove unused rulesetsources hashes.

They have been superseeded by the new ruleset sources file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Require ruleset-sources file for provider details.
Stefan Schantl [Sat, 20 Mar 2021 14:57:51 +0000 (15:57 +0100)] 
ids-functions.pl: Require ruleset-sources file for provider details.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids.cgi: Make CGI work with new ruleset-sources file.
Stefan Schantl [Fri, 19 Mar 2021 20:28:00 +0000 (21:28 +0100)] 
ids.cgi: Make CGI work with new ruleset-sources file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Add get_ruleset_providers() function.
Stefan Schantl [Fri, 19 Mar 2021 20:27:23 +0000 (21:27 +0100)] 
ids-functions.pl: Add get_ruleset_providers() function.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoids-functions.pl: Make downloader work with new ruleset-sources file
Stefan Schantl [Fri, 19 Mar 2021 20:26:44 +0000 (21:26 +0100)] 
ids-functions.pl: Make downloader work with new ruleset-sources file
format.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agoruleset-sources: Rework file format and data.
Stefan Schantl [Fri, 19 Mar 2021 20:24:36 +0000 (21:24 +0100)] 
ruleset-sources: Rework file format and data.

The file now contains a lot more of data and easily can be extended
to provide more and new providers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
3 years agogrub: fix cloudhelper permissions
Arne Fitzenreiter [Mon, 2 Aug 2021 05:38:43 +0000 (07:38 +0200)] 
grub: fix cloudhelper permissions

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agogrub: fix cloud helper installation
Arne Fitzenreiter [Sun, 1 Aug 2021 15:08:46 +0000 (17:08 +0200)] 
grub: fix cloud helper installation

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocups: Bump package version
Michael Tremer [Wed, 28 Jul 2021 11:09:18 +0000 (11:09 +0000)] 
cups: Bump package version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agogrub cloud: Add kernel release to boot ID
Michael Tremer [Tue, 27 Jul 2021 10:07:10 +0000 (10:07 +0000)] 
grub cloud: Add kernel release to boot ID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoflash-image: Enable GRUB_FIRST_BOOT setting
Michael Tremer [Tue, 27 Jul 2021 10:07:09 +0000 (10:07 +0000)] 
flash-image: Enable GRUB_FIRST_BOOT setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agogrub: Add file with cloud helping stuff
Michael Tremer [Tue, 27 Jul 2021 10:07:08 +0000 (10:07 +0000)] 
grub: Add file with cloud helping stuff

This file will detect whether to do certain actions depending on the
environment it is running on.

Currently this detects whether IPFire is booting up on AWS EC2 and
selects the serial console boot entry.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoflash-images: Label serial console option as "serial"
Michael Tremer [Tue, 27 Jul 2021 10:07:07 +0000 (10:07 +0000)] 
flash-images: Label serial console option as "serial"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoset version to 2.27
Arne Fitzenreiter [Sun, 1 Aug 2021 09:51:14 +0000 (11:51 +0200)] 
set version to 2.27

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.55
Arne Fitzenreiter [Sun, 1 Aug 2021 09:50:25 +0000 (11:50 +0200)] 
kernel: update to 5.10.55

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge branch 'next' of git.ipfire.org:/pub/git/ipfire-3.x into next
Arne Fitzenreiter [Sat, 31 Jul 2021 16:52:02 +0000 (18:52 +0200)] 
Merge branch 'next' of git.ipfire.org:/pub/git/ipfire-3.x into next

3 years agocore159: add libusb
Arne Fitzenreiter [Sat, 31 Jul 2021 16:51:22 +0000 (18:51 +0200)] 
core159: add libusb

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoRevert "libusb: update to 0.0.24"
Arne Fitzenreiter [Sat, 31 Jul 2021 11:27:54 +0000 (13:27 +0200)] 
Revert "libusb: update to 0.0.24"

This reverts commit 937d8dbcb19fcfbdfc0d914b769c93b5cffdba65.

3 years agou-boot-friendlyarm: add armv6l rootfile
Arne Fitzenreiter [Fri, 30 Jul 2021 19:58:56 +0000 (19:58 +0000)] 
u-boot-friendlyarm: add armv6l rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agou-boot: remove uneeded cflags and a unused rpi patch
Arne Fitzenreiter [Fri, 30 Jul 2021 11:29:18 +0000 (11:29 +0000)] 
u-boot: remove uneeded cflags and a unused rpi patch

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agou-boot-friendlyarm: update to 5e8607b
Arne Fitzenreiter [Fri, 30 Jul 2021 11:28:03 +0000 (11:28 +0000)] 
u-boot-friendlyarm: update to 5e8607b

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.54
Arne Fitzenreiter [Wed, 28 Jul 2021 20:42:51 +0000 (22:42 +0200)] 
kernel: update to 5.10.54

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.53
Arne Fitzenreiter [Sun, 25 Jul 2021 21:48:58 +0000 (23:48 +0200)] 
kernel: update to 5.10.53

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoglib: update to 2.69.0
Arne Fitzenreiter [Fri, 23 Jul 2021 11:47:07 +0000 (13:47 +0200)] 
glib: update to 2.69.0

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocups: Reload dbus to load/unload policy
Michael Tremer [Wed, 21 Jul 2021 14:41:58 +0000 (14:41 +0000)] 
cups: Reload dbus to load/unload policy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoavahi: Reload dbus to load/unload policy
Michael Tremer [Wed, 21 Jul 2021 14:41:57 +0000 (14:41 +0000)] 
avahi: Reload dbus to load/unload policy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agodbus: Add reload to initscript
Michael Tremer [Wed, 21 Jul 2021 14:41:56 +0000 (14:41 +0000)] 
dbus: Add reload to initscript

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore159: Fix permissions after extraction
Michael Tremer [Wed, 21 Jul 2021 15:45:00 +0000 (15:45 +0000)] 
core159: Fix permissions after extraction

There seems to be a bug in tar (which should be gone by now), but on
affected systems, we might need to reset directory permissions just in
case.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agovdr: cleanup unused patch
Arne Fitzenreiter [Fri, 23 Jul 2021 06:11:48 +0000 (06:11 +0000)] 
vdr: cleanup unused patch

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agovdr: bump package version
Arne Fitzenreiter [Thu, 22 Jul 2021 18:22:14 +0000 (18:22 +0000)] 
vdr: bump package version

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agopcengines-apu-firmware: update to 4.14.0.2
Arne Fitzenreiter [Thu, 22 Jul 2021 08:48:47 +0000 (10:48 +0200)] 
pcengines-apu-firmware: update to 4.14.0.2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agovdr: update to 2.4.7
Arne Fitzenreiter [Wed, 21 Jul 2021 19:49:19 +0000 (21:49 +0200)] 
vdr: update to 2.4.7

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.52
Arne Fitzenreiter [Wed, 21 Jul 2021 16:09:59 +0000 (18:09 +0200)] 
kernel: update to 5.10.52

Signen-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agotshark: update to 3.4.7
Arne Fitzenreiter [Mon, 19 Jul 2021 22:46:54 +0000 (22:46 +0000)] 
tshark: update to 3.4.7

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoREADME: Update installation URL
Michael Tremer [Mon, 19 Jul 2021 10:54:50 +0000 (10:54 +0000)] 
README: Update installation URL

Reported-by: Konrad Panzlaff <konrad.panzlaff@pa-bu.de>
Fixes: #12661
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agotshark: Update to version 3.4.6
Adolf Belka [Wed, 14 Jul 2021 20:41:39 +0000 (22:41 +0200)] 
tshark: Update to version 3.4.6

- Update from 3.4.3 to 3.4.6
- Update rootfile
- Changelog
   Wireshark 3.4.6 Release Notes
    What’s New
     The Windows installers now ship with Npcap 1.31. They previously
      shipped with Npcap 1.10.
     The Windows installers now ship with Qt 5.15.2. They previously
      shipped with Qt 5.12.1.
     Bug Fixes
        • wnpa-sec-2021-04[1] DVB-S2-BB dissector infinite loop
     The following bugs have been fixed:
        • Macro filters can’t handle escaped characters Issue 17160[2].
        • Display filter crashes Wireshark Issue 17316[3].
        • IEEE-1588 Signalling Unicast TLV incorrectly reported as being
          malformed Issue 17355[4].
        • IETF QUIC TLS decryption error with extraneous packets during the
          handshake Issue 17383[5].
        • Statistics → Resolved Addresses: multi-protocol (TCP/UDP/…​)
          ports not displayed Issue 17395[6].
     New and Updated Features
      New Protocol Support
       There are no new protocols in this release.
      Updated Protocol Support
       DNP, DVB-S2-BB, ProtoBuf, PTP, QUIC, RANAP, and TACACS
      New and Updated Capture File Support
       Ascend, ERF, K12, NetScaler, and pcapng
   Wireshark 3.4.5 Release Notes
    What’s New
     Bug Fixes
      The following vulnerabilities have been fixed:
        • wnpa-sec-2021-04[1] MS-WSP dissector excessive memory
          consumption. Issue 17331[2].
      The following bugs have been fixed:
        • TShark does not print GeoIP information Issue 14691[3].
        • TShark error when piping to "head" Issue 16192[4].
        • Parts of ASCII representation in Packet Bytes pane are missing
          Issue 17087[5].
        • Buildbot crash output: fuzz-2021-02-22-1012761.pcap Issue
          17254[6].
        • NDPE attribute of NAN packet is not dissected Issue 17278[7].
        • TECMP: reserved flag interpreted as part of timestamp Issue
          17279[8].
        • Master branch does not compile at least with gcc-11 Issue
          17281[9].
        • DNS IXFR/AXFR multiple response Issue 17293[10].
        • File too large Issue 17301[11].
        • Build fails with CMake 3.20 Issue 17314[12].
     New and Updated Features
      New Protocol Support
       There are no new protocols in this release.
      Updated Protocol Support
       DECT, DNS, EAP, Kerberos, LDAP, MS-WSP, SMB2, Sysdig, TECMP, and WiFi
        NAN
      New and Updated Capture File Support
       pcapng
   Wireshark 3.4.4 Release Notes
    What’s New
     Bug Fixes
      The following vulnerabilities have been fixed:
        • wnpa-sec-2021-03[1] Wireshark could open unsafe URLs. Issue
          17232[2]. CVE-2021-22191[3].
      The following bugs have been fixed:
        • NTP Version 3 Client Decode PDML output issue (Reference ID
          Issue) Issue 17112[4].
        • 3.4.2: public wireshark include files are including build time
          "config.h" Issue 17190[5].
        • wireshark-3.4.3/epan/dissectors/packet-s7comm.c:3521: bad array
          index ? Issue 17198[6].
        • SIP protocol: P-Called-Party-ID header mixed up with
          P-Charge-Info header Issue 17215[7].
        • Asterix CAT010 Decode Error Issue 17226[8].
        • _ws.expert columns not populated for IPv4 Issue 17228[9].
        • Buildbot crash output: fuzz-2021-02-12-1651908.pcap Issue
          17233[10].
        • gQUIC: Wireshark 3.4.3 fails to dissect a packet (gQUIC q024)
          that v3.2.6 succeeds. Issue 17250[11].
     New and Updated Features
      New Protocol Support
       There are no new protocols in this release.
      Updated Protocol Support
       ASTERIX, Frame Relay, GQUIC, NTP, NVMe Fabrics RDMA, S7COMM, and SIP
      New and Updated Capture File Support
       iSeries

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agotftpd: Update to version 5.2
Adolf Belka [Wed, 14 Jul 2021 20:41:23 +0000 (22:41 +0200)] 
tftpd: Update to version 5.2

- Update from 0.48 (2007) to 5.2 (2011)
   Version 5.2 is the last update made to this program
- Update to rootfile
- Changelog
   Changes in 5.2:
Fix breakage on newer Linux when a single interface has
         multiple IP addresses.
   Changes in 5.1:
Add -P option to write a PID file.  Patch by Ferenc Wagner.
Bounce the syslog socket in standalone mode, in case the
         syslog daemon has been restarted.  Patch by Ferenc Wagner.
Build fixes.
Fix handling of block number wraparound after a successful
         options negotiation.
Fix a buffer overflow in option parsing.
   Changes in 5.0:
Try to on platforms with getaddrinfo() without AI_ADDRCONFIG or
         AI_CANONNAME.
Implement the "rollover" option, for clients which want block
         number to rollover to anything other than zero.
Correctly disable PMTU in standalone mode.  Patch by Florian
         Lohoff.
   Changes in 0.49:
Add IPv6 support.  Patch by Karsten Keil.
Support systems with editline instead of readline.
Support long options in the server.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agosamba: Update version to 4.14.6
Adolf Belka [Wed, 14 Jul 2021 11:37:12 +0000 (13:37 +0200)] 
samba: Update version to 4.14.6

- Update from 4.14.4 to 4.14.6
- Update of rootfile not required
- Changelog
   Release Notes for Samba 4.14.6
        * BUG 14722: s3: lib: Fix talloc heirarcy error in parent_smb_fname().
        * BUG 14732: smbd: Fix pathref unlinking in create_file_unixpath().
        * BUG 14734: s3: VFS: default: Add proc_fd's fallback for vfswrap_fchown().
        * BUG 14736: s3: smbd: Remove erroneous TALLOC_FREE(smb_fname_parent) in
          change_file_owner_to_parent() error path.
        * BUG 14730: NT_STATUS_FILE_IS_A_DIRECTORY error messages when using
          glusterfs VFS module.
        * BUG 14734: s3/modules: fchmod: Fallback to path based chmod if pathref.
        * BUG 14740: Spotlight RPC service doesn't work with vfs_glusterfs.
        * BUG 14750: gensec_krb5: Restore ipv6 support for kpasswd.
        * BUG 14752: smbXsrv_{open,session,tcon}: protect
          smbXsrv_{open,session,tcon}_global_traverse_fn against invalid records.
        * BUG 14027: samba-tool domain backup offline doesn't work against bind DLZ
          backend.
        * BUG 14669: netcmd: Use next_free_rid() function to calculate a SID for
          restoring a backup.
   Release Notes for Samba 4.14.5
        * BUG 14696: s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success.
        * BUG 14708: s3: smbd: Ensure POSIX default ACL is mapped into returned
          Windows ACL for directory handles.
        * BUG 14721: s3: smbd: Fix uninitialized memory read in
          process_symlink_open() when used with vfs_shadow_copy2().
        * BUG 14689: docs: Expand the "log level" docs on audit logging.
        * BUG 14714: smbd: Correctly initialize close timestamp fields.
        * BUG 14699: Fix gcc11 compiler issues.
        * BUG 14718: docs-xml: Update smbcacls manpage.
        * BUG 14719: docs: Update list of available commands in rpcclient.
        * BUG 14475: ctdb: Fix a crash in run_proc_signal_handler().
        * BUG 14695: s3:winbind: For 'security = ADS' require realm/workgroup to be
          set.
        * BUG 14699: lib:replace: Do not build strndup test with gcc 11 or newer.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore159: add mountkernfs script to update
Arne Fitzenreiter [Mon, 19 Jul 2021 18:21:49 +0000 (18:21 +0000)] 
core159: add mountkernfs script to update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agolibvirtd: Enable required cgroups
Michael Tremer [Fri, 16 Jul 2021 11:14:13 +0000 (11:14 +0000)] 
libvirtd: Enable required cgroups

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agomountkernfs: Mount cgroup2 hierarchy
Michael Tremer [Fri, 16 Jul 2021 11:14:12 +0000 (11:14 +0000)] 
mountkernfs: Mount cgroup2 hierarchy

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agolibcdada: Patch file to allow build to work with GCC 11 and update version to 0.3.5
Adolf Belka [Fri, 16 Jul 2021 11:12:58 +0000 (13:12 +0200)] 
libcdada: Patch file to allow build to work with GCC 11 and update version to 0.3.5

- Update from 0.3.4 to 0.3.5
- Created libcdada-0.3.5-Werror.patch based on the gentoo 0.3.5 patch to remove -Werror
   flags from the configure. This was flagging up warnings as errors and stopping
   the build
- Removed the SUP_ARCH line to allow it to build again
- Added --without-tests and --without-checks to the ./configure statement. This prevents
   the test and checks being built
- Removed libcdada-0.3.4-use-shared-library-for-tests-and-examples-build.patch as no
   longer needed with the tests and checks no longer being built
- No update required for rootfile
- Changelog
   v0.3.5 (20th April 2021)
    New
     - Improved public API documentation
     - build: add --without-tests --without-examples build options
    Bug fix
     - Fix `E_EMPTY` return codes set/map/list/stack/queue
     - Fix `make check` when valgrind is not installed

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agopmacct: Patch file to allow build to work with GCC 11
Adolf Belka [Fri, 16 Jul 2021 11:12:57 +0000 (13:12 +0200)] 
pmacct: Patch file to allow build to work with GCC 11

- Created pmacct-1.7.6-Werror.patch to remove -Werror flags from the configure
   This was flagging up warnings as errors and stopping the build
- Removed the SUP_ARCH line to allow it to build again
- No update required to the rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.51
Arne Fitzenreiter [Mon, 19 Jul 2021 12:08:08 +0000 (14:08 +0200)] 
kernel: update to 5.10.51

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agokernel: update to 5.10.50
Arne Fitzenreiter [Thu, 15 Jul 2021 20:41:51 +0000 (22:41 +0200)] 
kernel: update to 5.10.50

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocpufrequtils: enable build on all arches
Arne Fitzenreiter [Wed, 14 Jul 2021 18:04:02 +0000 (20:04 +0200)] 
cpufrequtils: enable build on all arches

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocpufrequtils: add some patches from the debian patchset
Arne Fitzenreiter [Wed, 14 Jul 2021 17:57:58 +0000 (19:57 +0200)] 
cpufrequtils: add some patches from the debian patchset

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoMerge remote-tracking branch 'origin/master' into next
Arne Fitzenreiter [Wed, 14 Jul 2021 11:16:04 +0000 (13:16 +0200)] 
Merge remote-tracking branch 'origin/master' into next

3 years agomake.sh: Explicitely call zstd to extract toolchain
Michael Tremer [Sun, 11 Jul 2021 13:12:15 +0000 (14:12 +0100)] 
make.sh: Explicitely call zstd to extract toolchain

Some older versions of tar do not recognise Zstandard, yet.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocdrom: Compress file system image using Zstandard
Michael Tremer [Tue, 13 Jul 2021 16:27:59 +0000 (16:27 +0000)] 
cdrom: Compress file system image using Zstandard

This patch uses the new Zstandard algorithm to compress the file system
image on the ISO image. This comes with these advantages:

* Compression is about twice as fast than XZ with the parameters we have
  selected here
* We use a lot less memory during compression and can therefore utilise
  all processor cores of the build machines
* Decompression (when installing IPFire and when creating the
  flash-image) is substantically faster

The downside is that the generated ISO image is slighty larger (~10MiB)
which I am okay with as a trade-off for the points mentioned above.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoinstaller: Fix reading /proc/cmdline when launched by GRUB
Michael Tremer [Tue, 13 Jul 2021 15:44:20 +0000 (15:44 +0000)] 
installer: Fix reading /proc/cmdline when launched by GRUB

The installer was reading the kernel command line and was looking for
certain values which configured the installer.

GRUB appended a trailing newline character which was not accounted for
and caused that the last parameter was not correctly compared to the
list of possible keys.

Fixes: #12656 - core 157: unattended installation don't work as expected on EFI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agoaws: Enable serial console by default
Michael Tremer [Tue, 13 Jul 2021 10:11:31 +0000 (10:11 +0000)] 
aws: Enable serial console by default

AWS for some time now has a serial console feature which is enabled by
default on all systems. The VGA console is not enabled for any new
non-x86 instance types and not interactive.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocore159: add makegraphs and hddshutdown cronjob
Arne Fitzenreiter [Wed, 14 Jul 2021 08:20:23 +0000 (10:20 +0200)] 
core159: add makegraphs and hddshutdown cronjob

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agocrontab: dont run makegraphs and hddshutdown to the same time
Arne Fitzenreiter [Wed, 14 Jul 2021 06:14:21 +0000 (08:14 +0200)] 
crontab: dont run makegraphs and hddshutdown to the same time

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agomakegraphs: fix status collection for hddshutdown
Arne Fitzenreiter [Wed, 14 Jul 2021 06:12:16 +0000 (08:12 +0200)] 
makegraphs: fix status collection for hddshutdown

with kernel 5.10.x also the reading of s.m.a.r.t. data to update
the temperatur graphs is countet as disk read so update the stored
value after reading.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
3 years agostrip: Silence any warnings for files without capabilities
Michael Tremer [Tue, 13 Jul 2021 15:34:59 +0000 (15:34 +0000)] 
strip: Silence any warnings for files without capabilities

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agovpnmain.cgi: Join certificate output before &Header::cleanhtml();
Michael Tremer [Tue, 13 Jul 2021 15:30:53 +0000 (15:30 +0000)] 
vpnmain.cgi: Join certificate output before &Header::cleanhtml();

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoPartially revert "vpnmain.cgi: Use new system methods"
Michael Tremer [Tue, 13 Jul 2021 15:30:52 +0000 (15:30 +0000)] 
Partially revert "vpnmain.cgi: Use new system methods"

This reverts commit a81cbf61273536ee36f3d26504aabdcd65d39cca.

It was no longer possible to generate the root/host certificates.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agoovpnmain.cgi: Join certificate output before &Header::cleanhtml();
Michael Tremer [Tue, 13 Jul 2021 15:30:51 +0000 (15:30 +0000)] 
ovpnmain.cgi: Join certificate output before &Header::cleanhtml();

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agocore158: Ship etherwake
Michael Tremer [Mon, 12 Jul 2021 16:23:54 +0000 (16:23 +0000)] 
core158: Ship etherwake

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 years agodnsdist: build only for x86_64
Arne Fitzenreiter [Sat, 10 Jul 2021 17:53:08 +0000 (17:53 +0000)] 
dnsdist: build only for x86_64

32bit archs fail because time_t is only 4 bytes and
aarch64 not build on builders with 2GB ram.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>