mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02:00
Correct RFC1918 Logging
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@92 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1623988384
commit
90bb5f1b53
@ -2576,7 +2576,7 @@ initialize_netfilter () {
|
|||||||
add_common_rules() {
|
add_common_rules() {
|
||||||
logdisp() # $1 = Chain Name
|
logdisp() # $1 = Chain Name
|
||||||
{
|
{
|
||||||
echo "LOG --log-prefix "Shorewall:$1{1}:DROP:" --log-level info"
|
echo "LOG --log-prefix "Shorewall:${1}:DROP:" --log-level info"
|
||||||
}
|
}
|
||||||
############################################################################
|
############################################################################
|
||||||
# Reject Rules
|
# Reject Rules
|
||||||
@ -2669,7 +2669,7 @@ add_common_rules() {
|
|||||||
createchain rfc1918 no
|
createchain rfc1918 no
|
||||||
|
|
||||||
createchain logdrop no
|
createchain logdrop no
|
||||||
run_iptables -A logdrop -j `logdisp rfc1818`
|
run_iptables -A logdrop -j `logdisp rfc1918`
|
||||||
run_iptables -A logdrop -j DROP
|
run_iptables -A logdrop -j DROP
|
||||||
|
|
||||||
if [ -n "$MANGLE_ENABLED" ]; then
|
if [ -n "$MANGLE_ENABLED" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user