Commit Graph

10 Commits

Author SHA1 Message Date
Peter Müller
926d840fae firewall: Make logging of conntrack INVALIDs configureable
In theory, logging of dropped packets classified by conntrack as being
INVALID should never be disabled, since one wants to have a paper trail
of what his/her firewall is doing.

However, conntrack seems to drop a lot of (at the first glance
legitimate) packets, hence bloating the logs, making spotting the
important firewall hits more difficult.

This patch therefore adds the option to disable logging of packets being
dropped by conntrack due to INVALID state.

Please note:
- This patch does not add this category to the firewall hits graph.
- The variables in this patch ("LOGDROPCTINVALID") should make it clear
  that it is about toggling _logging_, not the actual _dropping_. Other
  variables are still in need of being renamed to clarify this, which
  will be done in a dedicated patch.
- Also, the changes made to update.sh need to take place in
  config/rootfiles/core/164/update.sh for "master", since this patch has
  been developed against "next". Kindly cherry-pick the necessary
  changes.

Partially fixes: #12778

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-19 15:37:16 +00:00
Arne Fitzenreiter
10148970eb core164: fix adding additional optionfw settings
the old code erase the settings and cannot reinstalled.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-02-17 17:07:28 +00:00
Peter Müller
12f867444d Revert "Core Update 164: Ship perl-libwww and delete obsolete files"
This reverts commit e0a904f56a.

See: https://bugzilla.ipfire.org/show_bug.cgi?id=12769#c4

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Cc: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-29 09:38:56 +00:00
Peter Müller
e0a904f56a Core Update 164: Ship perl-libwww and delete obsolete files
Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-25 16:50:26 +00:00
Arne Fitzenreiter
0aec7cbf41 core164: add kernel to update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-21 10:09:22 +00:00
Peter Müller
9f3f612a5f Core Update 164: Ship and apply sysctl changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-19 17:47:19 +00:00
Peter Müller
215c32eb64 Core Update 164: Ship firewall-related changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 14:21:22 +00:00
Peter Müller
7c98204746 Core Update 164: Ship required files for IDS multiple providers feature
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 14:13:08 +00:00
Peter Müller
b2d22bbc8b Core Update 164: Ship and restart Squid
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 13:55:06 +00:00
Peter Müller
8c1cc06d5f Start Core Update 164
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 13:33:55 +00:00