projects
/
people
/
teissler
/
ipfire-2.x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb4bb3
)
firewall: Add chain name to logged rules.
author
Michael Tremer
<michael.tremer@ipfire.org>
Tue, 4 Mar 2014 11:38:13 +0000
(12:38 +0100)
committer
Michael Tremer
<michael.tremer@ipfire.org>
Tue, 4 Mar 2014 11:38:13 +0000
(12:38 +0100)
This helps us to debug faster where a packet has been dropped.
config/firewall/rules.pl
patch
|
blob
|
blame
|
history
diff --git
a/config/firewall/rules.pl
b/config/firewall/rules.pl
index
0998c1b
..
4bb40a4
100755
(executable)
--- a/
config/firewall/rules.pl
+++ b/
config/firewall/rules.pl
@@
-330,7
+330,7
@@
sub buildrules {
# Insert firewall rule.
if ($LOG && !$NAT) {
- run("$IPTABLES -A $chain @options @log_limit_options -j LOG");
+ run("$IPTABLES -A $chain @options @log_limit_options -j LOG
--log-prefix '$chain '
");
}
run("$IPTABLES -A $chain @options -j $target");
}