]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/log
people/stevee/ipfire-2.x.git
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
Stefan Schantl [Sun, 19 Dec 2021 12:19:03 +0000 (13:19 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x

2 years agosuricata: Do not load rules for dnp3 and modbus.
Stefan Schantl [Thu, 16 Dec 2021 19:23:36 +0000 (20:23 +0100)] 
suricata: Do not load rules for dnp3 and modbus.

The parsers for those are disabled in the suricata config so
the rules are not needed, on the contrary they massively will spam
warnings when launching suricate because of the disabled parsers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: Do not load rules for dnp3 and modbus.
Stefan Schantl [Thu, 16 Dec 2021 19:04:41 +0000 (20:04 +0100)] 
suricata: Do not load rules for dnp3 and modbus.

The parsers for those are disabled in the suricata config so
the rules are not needed, on the contrary they massively will spam
warnings when launching suricate because of the disabled parsers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
Stefan Schantl [Thu, 16 Dec 2021 19:00:18 +0000 (20:00 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x

2 years agosuricata: Disable sid 2210059.
Stefan Schantl [Wed, 8 Dec 2021 17:18:05 +0000 (18:18 +0100)] 
suricata: Disable sid 2210059.

This rule emits a massive logspam and temporary will be disabled until
a better solution is found.

Fixes #12738.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: Cleanup default loaded rules file.
Stefan Schantl [Wed, 8 Dec 2021 17:10:31 +0000 (18:10 +0100)] 
suricata: Cleanup default loaded rules file.

There are no such rules file available and therefore cannot be loaded.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: Move default loaded rulefiles to own included file.
Stefan Schantl [Wed, 8 Dec 2021 17:10:30 +0000 (18:10 +0100)] 
suricata: Move default loaded rulefiles to own included file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agopcengines-apu-firmware: Update to version 4.15.0.1
Adolf Belka [Mon, 6 Dec 2021 17:01:32 +0000 (18:01 +0100)] 
pcengines-apu-firmware: Update to version 4.15.0.1

- Update from 4.14.0.4 to 4.15.0.1
- Update of rootfile
- Changelog
    v4.15.0.1
        rebased with official coreboot repository commit 6973a3e7
    v4.14.0.6
        rebased with official coreboot repository commit d06c0917
        Re-added GPIO bindings to fix LED and button functionality
    v4.14.0.5
        rebased with official coreboot repository commit d4c55353
        Updated CPU declarations in ACPI to comply with newer ACPI standard
        Removed GPIO bindings to fix conflict with OS drivers

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>
2 years agomanualpages: Complete the list of user manual pages
Jon Murphy [Sat, 4 Dec 2021 23:46:20 +0000 (00:46 +0100)] 
manualpages: Complete the list of user manual pages

Jon Murphy gathered all the links and made the updated file
available on the mailing list:
https://lists.ipfire.org/pipermail/development/2021-October/011383.html
https://lists.ipfire.org/pipermail/development/2021-December/011737.html

With kind permission from him, this patch contains the completed list.
The list was successfully checked with "./make.sh check-manualpages".

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reported-by: Jon Murphy <jcmurphy26@gmail.com>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x
Stefan Schantl [Wed, 8 Dec 2021 16:03:31 +0000 (17:03 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x

2 years agoinstaller: add network phy kernel modules to rd
Arne Fitzenreiter [Mon, 6 Dec 2021 12:24:56 +0000 (12:24 +0000)] 
installer: add network phy kernel modules to rd

network for download the sources has not worked with some nic's
like realtek 8169 because the phy driver was missing.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokeepalived: Update to 2.2.4
Michael Tremer [Sat, 4 Dec 2021 12:52:21 +0000 (12:52 +0000)] 
keepalived: Update to 2.2.4

This patch re-enables this package for build and it builds against next
with Linux 5.15.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years ago./make.sh lang
Arne Fitzenreiter [Thu, 2 Dec 2021 12:04:03 +0000 (13:04 +0100)] 
./make.sh lang

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoindex.cgi: set arch eol warning link color to white
Arne Fitzenreiter [Thu, 2 Dec 2021 11:59:13 +0000 (12:59 +0100)] 
index.cgi: set arch eol warning link color to white

The link was red on red backround which is unreadable.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.6
Arne Fitzenreiter [Thu, 2 Dec 2021 10:34:38 +0000 (11:34 +0100)] 
kernel: update to 5.15.6

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoindex.cgi: fix eol link
Arne Fitzenreiter [Wed, 1 Dec 2021 06:42:06 +0000 (07:42 +0100)] 
index.cgi: fix eol link

<li> not official has a href parameter.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agortl8812au: update to git-307d694...
Arne Fitzenreiter [Tue, 30 Nov 2021 13:12:08 +0000 (14:12 +0100)] 
rtl8812au: update to git-307d694...

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agomountkernfs: fix typo (wrong space character)
Arne Fitzenreiter [Tue, 30 Nov 2021 12:51:13 +0000 (13:51 +0100)] 
mountkernfs: fix typo (wrong space character)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add systctl.conf to updater
Arne Fitzenreiter [Tue, 30 Nov 2021 08:58:27 +0000 (09:58 +0100)] 
core162: add systctl.conf to updater

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosysctl: kernel 5.13 has removed some scheduler variables.
Arne Fitzenreiter [Tue, 30 Nov 2021 08:50:38 +0000 (09:50 +0100)] 
sysctl: kernel 5.13 has removed some scheduler variables.

sched_min_granularity_ns and sched_migration_cost_ns are not
available for sysctl anymore. They can only altered via debugfs
if scheduler debugging is enabled.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoissue/motd: add architecture warning also to console and ssh logins.
Arne Fitzenreiter [Tue, 30 Nov 2021 08:35:19 +0000 (09:35 +0100)] 
issue/motd: add architecture warning also to console and ssh logins.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add index.cgi
Arne Fitzenreiter [Tue, 30 Nov 2021 08:34:20 +0000 (09:34 +0100)] 
core162: add index.cgi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoInform users about the eol of i?86
Jonatan Schlag [Sun, 28 Nov 2021 15:43:52 +0000 (16:43 +0100)] 
Inform users about the eol of i?86

The warning point to a wiki page which is currently in construction.
This should give us the opportunity to add further information for
these users even if we do not provide updates anymore.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update arm config and rootfile (oldconfig)
Arne Fitzenreiter [Mon, 29 Nov 2021 09:14:33 +0000 (09:14 +0000)] 
kernel: update arm config and rootfile (oldconfig)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agorpi-firmware: ignore user from tarball
Arne Fitzenreiter [Sun, 28 Nov 2021 08:28:48 +0000 (08:28 +0000)] 
rpi-firmware: ignore user from tarball

flashimage built will fail because it cannot untar the users
to a fat partition.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocore162: add rpi-firmware
Arne Fitzenreiter [Sat, 27 Nov 2021 14:24:18 +0000 (14:24 +0000)] 
core162: add rpi-firmware

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agorpi-firmware: update to 20211127
Arne Fitzenreiter [Sat, 27 Nov 2021 14:21:31 +0000 (14:21 +0000)] 
rpi-firmware: update to 20211127

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agocfgroot: install manualpages file
Arne Fitzenreiter [Thu, 25 Nov 2021 16:06:33 +0000 (17:06 +0100)] 
cfgroot: install manualpages file

this fix the 500 internal server error becuase this file
was not installed by the patch that add the wiki links.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agokernel: update to 5.15.5
Arne Fitzenreiter [Thu, 25 Nov 2021 11:26:12 +0000 (11:26 +0000)] 
kernel: update to 5.15.5

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agosuricata: rootfile update
Arne Fitzenreiter [Wed, 24 Nov 2021 19:09:01 +0000 (19:09 +0000)] 
suricata: rootfile update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2 years agoTor: update to 0.4.6.8
Peter Müller [Wed, 24 Nov 2021 11:12:27 +0000 (12:12 +0100)] 
Tor: update to 0.4.6.8

Full changelog as per https://gitweb.torproject.org/tor.git/plain/ChangeLog?h=tor-0.4.6.8:

Changes in version 0.4.6.8 - 2021-10-26
  This version fixes several bugs from earlier versions of Tor. One
  highlight is a fix on how we track DNS timeouts to report general
  relay overload.

  o Major bugfixes (relay, overload state):
    - Relays report the general overload state for DNS timeout errors
      only if X% of all DNS queries over Y seconds are errors. Before
      that, it only took 1 timeout to report the overload state which
      was just too low of a threshold. The X and Y values are 1% and 10
      minutes respectively but they are also controlled by consensus
      parameters. Fixes bug 40491; bugfix on 0.4.6.1-alpha.

  o Minor features (fallbackdir):
    - Regenerate fallback directories for October 2021. Closes
      ticket 40493.

  o Minor features (testing):
    - On a testing network, relays can now use the
      TestingMinTimeToReportBandwidth option to change the smallest
      amount of time over which they're willing to report their observed
      maximum bandwidth. Previously, this was fixed at 1 day. For
      safety, values under 2 hours are only supported on testing
      networks. Part of a fix for ticket 40337.
    - Relays on testing networks no longer rate-limit how frequently
      they are willing to report new bandwidth measurements. Part of a
      fix for ticket 40337.
    - Relays on testing networks now report their observed bandwidths
      immediately from startup. Previously, they waited until they had
      been running for a full day. Closes ticket 40337.

  o Minor bugfix (onion service):
    - Do not flag an HSDir as non-running in case the descriptor upload
      or fetch fails. An onion service closes pending directory
      connections before uploading a new descriptor which can thus lead
      to wrongly flagging many relays and thus affecting circuit building
      path selection. Fixes bug 40434; bugfix on 0.2.0.13-alpha.
    - Improve logging when a bad HS version is given. Fixes bug 40476;
      bugfix on 0.4.6.1-alpha.

  o Minor bugfix (CI, onion service):
    - Exclude onion service version 2 Stem tests in our CI. Fixes bug 40500;
      bugfix on 0.3.2.1-alpha.

  o Minor bugfixes (compatibility):
    - Fix compatibility with the most recent Libevent versions, which no
      longer have an evdns_set_random_bytes() function. Because this
      function has been a no-op since Libevent 2.0.4-alpha, it is safe
      for us to just stop calling it. Fixes bug 40371; bugfix
      on 0.2.1.7-alpha.

  o Minor bugfixes (onion service, TROVE-2021-008):
    - Only log v2 access attempts once total, in order to not pollute
      the logs with warnings and to avoid recording the times on disk
      when v2 access was attempted. Note that the onion address was
      _never_ logged. This counts as a Low-severity security issue.
      Fixes bug 40474; bugfix on 0.4.5.8.

Since we configure Tor to use libseccomp, the latter has been updated
for kernel 5.15 as well, hence we need to ship Tor either way.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibseccomp: Update to 2.5.3
Peter Müller [Wed, 24 Nov 2021 11:11:48 +0000 (12:11 +0100)] 
libseccomp: Update to 2.5.3

Release annnouncement as per https://github.com/seccomp/libseccomp/releases/tag/v2.5.3:

    Version 2.5.3 - November 5, 2021
        Update the syscall table for Linux v5.15
        Fix issues with multiplexed syscalls on mipsel introduced in v2.5.2
        Document that seccomp_rule_add() may return -EACCES
        Fix issues with test 11-basic-basic_errors on old kernels (API level < 5)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoPostfix: update to 3.6.3
Peter Müller [Wed, 24 Nov 2021 11:07:43 +0000 (12:07 +0100)] 
Postfix: update to 3.6.3

Please refer to http://www.postfix.org/announcements/postfix-3.6.3.html
for this versions' release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship ddns
Peter Müller [Tue, 23 Nov 2021 20:11:31 +0000 (21:11 +0100)] 
Core Update 162: Ship ddns

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship and restart OpenVPN
Peter Müller [Tue, 23 Nov 2021 20:10:57 +0000 (21:10 +0100)] 
Core Update 162: Ship and restart OpenVPN

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Remove jwhois, ship currently maintained whois client
Peter Müller [Tue, 23 Nov 2021 22:48:32 +0000 (23:48 +0100)] 
Core Update 162: Remove jwhois, ship currently maintained whois client

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agojwhois: Remove jwhois and all associated patches
Adolf Belka [Fri, 6 Aug 2021 11:16:42 +0000 (13:16 +0200)] 
jwhois: Remove jwhois and all associated patches

- jwhois being replaced with whois
- Removal of jwhois lfs, rootfile and assoicated patch files.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agowhois: Installation of aan actively maintained whois client
Adolf Belka [Fri, 6 Aug 2021 11:16:41 +0000 (13:16 +0200)] 
whois: Installation of aan actively maintained whois client

- This whois client is being actively maintained. This version 5.5.10 was released on
   June 6th 2021 and regular updates have been ocurring several times per year.
- This client has all of its default whois servers compiled into it. These can be seen
   by reading the source files in the tarball.
- Therefore the whois.conf file is available for any additional servers that are decided
   to be required but as provided is empty.
- Installed on a vm testbed and worked to identify the details of ip addresses. Selecting
   an IP in the WUI logs screen also gets the ip information provided so it is working
   well with the WUI.

Tested-by:Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomake.sh: Remove jwhois and replace with whois
Adolf Belka [Fri, 6 Aug 2021 11:16:40 +0000 (13:16 +0200)] 
make.sh: Remove jwhois and replace with whois

- jwhois is no longer being maintained. The last release was from 2005 and the last commit
   was in 2015. https://github.com/jonasob/jwhois
- Debian switched to another whois client which is being actively maintained.
   https://github.com/rfc1036/whois
- This patch series is the removal of jwhois and the installation of whois

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship dhcpcd
Peter Müller [Tue, 23 Nov 2021 22:42:58 +0000 (23:42 +0100)] 
Core Update 162: Ship dhcpcd

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agodhcpcd: Update to 9.4.1
Matthias Fischer [Mon, 1 Nov 2021 17:30:53 +0000 (18:30 +0100)] 
dhcpcd: Update to 9.4.1

For details see:
https://roy.marples.name/git/dhcpcd/shortlog/refs/heads/dhcpcd-9

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2 years agoCore Update 162: Ship slang
Peter Müller [Tue, 23 Nov 2021 22:39:28 +0000 (23:39 +0100)] 
Core Update 162: Ship slang

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoslang: Update to version 2.3.2
Adolf Belka [Tue, 28 Sep 2021 21:21:39 +0000 (23:21 +0200)] 
slang: Update to version 2.3.2

- Update from 2.3.0 to 2.3.2
- Update rootfile
- Changelog is too large to include here. Details can be found in the changes.txt file in
   the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 162: Ship sshfs
Peter Müller [Tue, 23 Nov 2021 22:37:29 +0000 (23:37 +0100)] 
Core Update 162: Ship sshfs

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agosshfs: Update to version 3.7.2
Adolf Belka [Tue, 28 Sep 2021 21:21:56 +0000 (23:21 +0200)] 
sshfs: Update to version 3.7.2

- Update from 3.7.1 to 3.7.2
- Update of rootfile not required
- Changelog
   Release 3.7.2 (2021-06-08)
     * Added a secondary check so if a mkdir request fails with EPERM an access request
       will be tried - returning EEXIST if the access was successful.
Fixes: https://github.com/libfuse/sshfs/issues/243
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agosslh: Update to version 1.22c
Adolf Belka [Tue, 28 Sep 2021 21:22:10 +0000 (23:22 +0200)] 
sslh: Update to version 1.22c

- Update from 1.7a (2013) to 1.22c (2021)
- Update rootfile
- Changelog is too large to include here. Full details can be read in the ChangeLog file
   in the source tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agostrace: Update to version 5.14
Adolf Belka [Tue, 28 Sep 2021 21:22:32 +0000 (23:22 +0200)] 
strace: Update to version 5.14

- Update from 5.11 to 5.14
- Update of rootfile not required
- Changelog
   Noteworthy changes in release 5.14 (2021-09-02)
    * Improvements
      * Implemented decoding of memfd_secret and quotactl_fd syscalls,
        introduced in Linux 5.14.
      * Enhanced prctl syscall decoding.
      * Enhanced decoding of IFLA_* netlink attributes.
      * Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
      * Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*,
        and UFFD_* constants.
      * Updated lists of ioctl commands from Linux 5.14.
    * Bug fixes
      * Fixed build using bionic libc.
   Noteworthy changes in release 5.13 (2021-07-18)
    * Improvements
      * Print netlink data in a more structured way.
      * Implemented decoding of NT_PRSTATUS and NT_FPREGSET regsets
        of PTRACE_GETREGSET and PTRACE_SETREGSET requests.
      * Implemented decoding of regs argument of PTRACE_GETREGS, PTRACE_GETREGS64,
        PTRACE_SETREGS, PTRACE_SETREGS64, PTRACE_GETFPREGS, and PTRACE_SETFPREGS
        requests.
      * Implemented powerpc System Call Vectored ABI support.
      * Implemented decoding of landlock_add_rule, landlock_create_ruleset,
        and landlock_restrict_self syscalls introduced in Linux 5.13.
      * Enhanced decoding of perf_event_open syscall.
      * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, KVM_*, NT_*, PR_*,
        PTRACE_*, RTM_*, RTPROT_*, TRAP_*, UFFD_*, UFFDIO_*, and V4L2_* constants.
      * Updated lists of ioctl commands from Linux 5.13.
    * Portability
      * On powerpc and powerpc64, linux kernel >= 2.6.23 is required.
        Older versions without a decent PTRACE_GETREGS support will not work.
   Noteworthy changes in release 5.12 (2021-04-26)
    * Improvements
      * Implemented --secontext[=full] option to display SELinux contexts.
      * Implemented decoding of mount_setattr syscall introduced in Linux 5.12.
      * Updated decoding of IFLA_BRPORT_* netlink attributes to match Linux 5.12.
      * Updated lists of DEVCONF_*, IORING_*, KVM_*, MPOL_*, MTD_*, NFT_MSG_*,
        RESOLVE_*, RTM_*, ST_*, and V4L2_* constants.
      * Updated lists of ioctl commands from Linux 5.12.
    * Bug fixes
      * Fixed build using bionic libc.
    * Portability
      * Added binutils 2.36 support to --enable-mpers builds.
- More details of the above changes can be found in the ChangeLog file in the source
   tarball

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoCore Update 162: Ship bind and libuv
Peter Müller [Tue, 23 Nov 2021 22:35:06 +0000 (23:35 +0100)] 
Core Update 162: Ship bind and libuv

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agolibuv: Required for build and run of bind utilities
Adolf Belka [Thu, 11 Nov 2021 08:14:49 +0000 (09:14 +0100)] 
libuv: Required for build and run of bind utilities

- Install libuv lfs and rootfile
- Add libuv to make.sh
- Tested by running bind utilities on a vm testbed

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agobind: Update to version 9.16.22
Adolf Belka [Thu, 11 Nov 2021 08:14:48 +0000 (09:14 +0100)] 
bind: Update to version 9.16.22

- Update from 9.11.32 to 9.16.22
- 9.11 is an ESV (Extended Support Version) that will go EOL in December 2021
  9.16 is the replacement ESV whose EOL is not yet defined but will be at least 4 years
   so should be supported until at least March 2024 as the 9.16 branch was started in 2020
- Update rootfile
- libuv is now required both to build the bind libraries and for the running of the
   utilities.
- Changelog is difficult to define here as this is a change of branch from 9.11 to 9.16
   both of which have been running in parallel. However all the changes from the start of
   9.16.0 can be found in the CHANGES file in the source tarball.
- nslookup, host and dig utilities tested out by installing this on a vm testbed. All
   these utilities worked as the previous version
   nsupdate was not able to be tested other than confirming that running nsupdate
   opened an interactive session. This utility would be good to be tested by someone
   familiar with how to run it.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2 years agoRun "./make.sh lang"
Michael Tremer [Wed, 20 Oct 2021 09:21:35 +0000 (09:21 +0000)] 
Run "./make.sh lang"

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship changed firewall initscript
Peter Müller [Tue, 23 Nov 2021 22:25:13 +0000 (23:25 +0100)] 
Core Update 162: Ship changed firewall initscript

Restarting the firewall is not necessary during the upgrade procedure,
and the user is asked to reboot the machine afterwards either way.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agofirewall: Remove unused CONNTRACK chain in raw table
Michael Tremer [Thu, 24 Jun 2021 17:44:35 +0000 (17:44 +0000)] 
firewall: Remove unused CONNTRACK chain in raw table

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoCore Update 162: Ship vpnmain.cgi
Peter Müller [Tue, 23 Nov 2021 22:22:52 +0000 (23:22 +0100)] 
Core Update 162: Ship vpnmain.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoipsec: Prefer curve448 over curve25519
Michael Tremer [Mon, 14 Jun 2021 09:33:46 +0000 (10:33 +0100)] 
ipsec: Prefer curve448 over curve25519

Curve448 provides better cryptographic security. For more details see:

  https://bugzilla.ipfire.org/show_bug.cgi?id=12634

Fixes: #12634
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoCore Update 162: Ship proxy.cgi
Peter Müller [Tue, 23 Nov 2021 22:17:29 +0000 (23:17 +0100)] 
Core Update 162: Ship proxy.cgi

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agoproxy.cgi: Fix translation string mix-up
Peter Müller [Sun, 10 Oct 2021 19:49:49 +0000 (21:49 +0200)] 
proxy.cgi: Fix translation string mix-up

"advproxy advanced web proxy" was meant to be used in the first place,
followed by "advproxy advanced web proxy configuration", as it is done
in other CGIs.

This patch also fixes a missing German translation, and improves
translations of "one X per line" ("eines" != "eins"). :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2 years agomeson: Update to version 0.59.2
Adolf Belka [Wed, 20 Oct 2021 20:29:23 +0000 (22:29 +0200)] 
meson: Update to version 0.59.2

- Update from 0.58.0 to 0.59.2
- Update rootfile
- Changelog is too long to include here.
   Full details can be read at https://mesonbuild.com/Release-notes-for-0-59-0.html

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agobison: Update to version 3.8.2
Adolf Belka [Wed, 20 Oct 2021 20:27:58 +0000 (22:27 +0200)] 
bison: Update to version 3.8.2

- Update from 3.7.6 to 3.8.2
- Update rootfile
- Changelog
   Noteworthy changes in release 3.8.2 (2021-09-25) [stable]
     Fixed portability issues of bison on Cygwin.
     Improvements in glr2.cc: add support for custom error messages (`%define
      parse.error custom`), allow linking several parsers together.
   Noteworthy changes in release 3.8.1 (2021-09-11) [stable]
     The generation of prototypes for yylex and yyerror in Yacc mode is
      breaking existing grammar files.  To avoid breaking too many grammars, the
      prototypes are now generated when `-y/--yacc` is used *and* the
      `POSIXLY_CORRECT` environment variable is defined.
     Avoid using `-y`/`--yacc` simply to comply with Yacc's file name
      conventions, rather, use `-o y.tab.c`.  Autoconf's AC_PROG_YACC macro uses
      `-y`.  Avoid it if possible, for instance by using gnulib's gl_PROG_BISON.
   Noteworthy changes in release 3.8 (2021-09-07) [stable]
    ** Backward incompatible changes
     In conformance with the recommendations of the Graphviz team
      (https://marc.info/?l=graphviz-devel&m=129418103126092), `-g`/`--graph`
      now generates a *.gv file by default, instead of *.dot.  A transition
      started in Bison 3.4.
     To comply with the latest POSIX standard, in Yacc compatibility mode
      (options `-y`/`--yacc`) Bison now generates prototypes for yyerror and
      yylex.  In some situations, this is breaking compatibility: if the user
      has already declared these functions but with some differences (e.g., to
      declare them as static, or to use specific attributes), the generated
      parser will fail to compile.  To disable these prototypes, #define yyerror
      (to `yyerror`), and likewise for yylex.
    ** Deprecated features
     Support for the YYPRINT macro is removed. It worked only with yacc.c and
      only for tokens.  It was obsoleted by %printer, introduced in Bison 1.50
      (November 2002).
     It has always been recommended to prefer `%define api.value.type foo` to
      `#define YYSTYPE foo`.  The latter is supported in C for compatibility
      with Yacc, but not in C++.  Warnings are now issued if `#define YYSTYPE`
      is used in C++, and eventually support will be removed.
     In C++ code, prefer value_type to semantic_type to denote the semantic
      value type, which is specified by the `api.value.type` %define variable.
    ** New features
    *** A skeleton for the D programming language
     The "lalr1.d" skeleton is now officially part of Bison.
     It was originally contributed by Oliver Mangold, based on Paolo Bonzini's
      lalr1.java, and was improved by H. S. Teoh.  Adela Vais then took over
      maintenance and invested a lot of efforts to complete, test and document
      it.
     It now supports all the bells and whistles of the other deterministic
      parsers, which include: pull/push interfaces, verbose and custom error
      messages, lookahead correction, token constructors, internationalization,
      locations, printers, token and symbol prefixes, etc.
     Two examples demonstrate the D parsers: a basic one (examples/d/simple),
      and an advanced one (examples/d/calc).
    *** Option -H, --header and directive %header
     The option `-H`/`--header` supersedes the option `--defines`, and the
      directive %header supersedes %defines.  Both `--defines` and `%defines`
      are, of course, maintained for backward compatibility.
    *** Option --html
     Since version 2.4 Bison can be used to generate HTML reports.  However it
      was a two-step process: first bison must be invoked with option `--xml`,
      and then xsltproc must be run to the convert the XML reports into HTML.
     The new option `--html` combines these steps.  The xsltproc program must
      be available.
    *** A C++ native GLR parser
     A new version of the C++ GLR parser was added: "glr2.cc".  It generates
      "true C++11", instead of a C++ wrapper around a C parser as does the
      existing "glr.cc" parser.  As a first significant consequence, it supports
      `%define api.value.type variant`, contrary to glr.cc.
     It should be upward compatible in terms of interface, feature and
      performance to "glr.cc". To try it out, simply use
      %skeleton "glr2.cc"
     It will eventually replace "glr.cc".  However we need user feedback on
      this skeleton.  _Please_ report your results and comments about it.
    *** Counterexamples
     Counterexamples now show the rule numbers, and always show ε for rules
      with an empty right-hand side.  For instance
        exp
        ↳ 1: e1       e2     "a"
             ↳ 3: ε • ↳ 1: ε
      instead of
        exp
        ↳ e1  e2  "a"
          ↳ • ↳ ε
    *** Lookahead correction in Java
     The Java skeleton (lalr1.java) now supports LAC, via the `parse.lac`
      %define variable.
    *** Abort parsing for memory exhaustion (C)
     User actions may now use `YYNOMEM` (similar to `YYACCEPT` and `YYABORT`)
      to abort the current parse with memory exhaustion.
    *** Printing locations in debug traces (C)
     The `YYLOCATION_PRINT(File, Loc)` macro prints a location.  It is defined
      when (i) locations are enabled, (ii) the default type for locations is
      used, (iii) debug traces are enabled, and (iv) `YYLOCATION_PRINT` is not
      already defined.
     Users may define `YYLOCATION_PRINT` to cover other cases.
    *** GLR traces
     There were no debug traces for deferred calls to user actions.  They are
      logged now.
   Noteworthy changes in release 3.7.6 (2021-03-08) [stable]
    ** Bug fixes
    *** Reused Push Parsers
     When a push-parser state structure is used for multiple parses, it was
      possible for some state to leak from one run into the following one.
    *** Fix Table Generation
     In some very rare conditions, when there are many useless tokens, it was
      possible to generate incorrect parsers.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: Handle retransmitted SYN with TSval
Michael Tremer [Fri, 19 Nov 2021 17:44:58 +0000 (17:44 +0000)] 
suricata: Handle retransmitted SYN with TSval

Read more in the patch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agoIPS: Do not try to show rules when stat on rules tarball fails
Michael Tremer [Fri, 19 Nov 2021 17:44:57 +0000 (17:44 +0000)] 
IPS: Do not try to show rules when stat on rules tarball fails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 years agosuricata: This package is supported on all architectures
Michael Tremer [Fri, 19 Nov 2021 17:44:55 +0000 (17:44 +0000)] 
suricata: This package is supported on all architectures

There is no need to list them specifically.

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