* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. e895c2de72a79feda5a653bf4fd569c36c2d94da
@ 2022-03-08 11:30 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2022-03-08 11:30 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 2157 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via e895c2de72a79feda5a653bf4fd569c36c2d94da (commit)
from de686e49e2a7c12c4b3c46931ecd9d9635565357 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e895c2de72a79feda5a653bf4fd569c36c2d94da
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Sat Mar 5 19:13:39 2022 +0100
optionsfw.cgi: Add default settings for newly added options.
If no settings for those features can be obtained from the settings
file, set them to the following defaults.
* DROPSPOOFEDMARTIAN -> on (yes)
* DROPHOSTILE -> off (no - because only fresh installed systems should
do this)
* LOGDROPCTINVALID -> on (yes)
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
Reviewed-by: Peter Müller <peter.mueller(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
html/cgi-bin/optionsfw.cgi | 9 +++++++++
1 file changed, 9 insertions(+)
Difference in files:
diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi
index 5611b71b7..fbff67b2f 100644
--- a/html/cgi-bin/optionsfw.cgi
+++ b/html/cgi-bin/optionsfw.cgi
@@ -88,6 +88,15 @@ if (!$settings{'MASQUERADE_ORANGE'}) {
if (!$settings{'MASQUERADE_BLUE'}) {
$settings{'MASQUERADE_BLUE'} = 'on';
}
+if (!$settings{'DROPSPOOFEDMARTIAN'}) {
+ $settings{'DROPSPOOFEDMARTIAN'} = 'on';
+}
+if (!$settings{'DROPHOSTILE'}) {
+ $settings{'DROPHOSTILE'} = 'off';
+}
+if (!$settings{'LOGDROPCTINVALID'}) {
+ $settings{'LOGDROPCTINVALID'} = 'on';
+}
$checked{'DROPNEWNOTSYN'}{'off'} = '';
$checked{'DROPNEWNOTSYN'}{'on'} = '';
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-08 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08 11:30 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. e895c2de72a79feda5a653bf4fd569c36c2d94da Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox