mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 15:35:50 +02:00
Fix dropInvalid
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6005 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e581c5573c
commit
798c44d2c2
@ -10,6 +10,10 @@ Changes in 3.9.3
|
|||||||
|
|
||||||
5) Make a number of interface options binary.
|
5) Make a number of interface options binary.
|
||||||
|
|
||||||
|
6) Add wildcard edits in interface processing.
|
||||||
|
|
||||||
|
7) Fix dropInvalid.
|
||||||
|
|
||||||
Changes in 3.9.2
|
Changes in 3.9.2
|
||||||
|
|
||||||
1) Implement '-C {shell|perl}'.
|
1) Implement '-C {shell|perl}'.
|
||||||
|
@ -37,6 +37,9 @@ Problems corrected in Shorewall 3.9.3
|
|||||||
- All addresses
|
- All addresses
|
||||||
- Routed networks
|
- Routed networks
|
||||||
|
|
||||||
|
5) The 'dropInvalid' now correctly generates a DROP rule rather than a
|
||||||
|
REJECT rule.
|
||||||
|
|
||||||
Other changes in Shorewall 3.9.3
|
Other changes in Shorewall 3.9.3
|
||||||
|
|
||||||
1) An 'optional' option has been added to
|
1) An 'optional' option has been added to
|
||||||
@ -70,6 +73,9 @@ Other changes in Shorewall 3.9.3
|
|||||||
interfaces for which the option is specified and will set the
|
interfaces for which the option is specified and will set the
|
||||||
option to the given value.
|
option to the given value.
|
||||||
|
|
||||||
|
A fatal compilation error is also generated if you specify one of
|
||||||
|
these options with a wildcard interface (one ending with '+').
|
||||||
|
|
||||||
Migration Considerations:
|
Migration Considerations:
|
||||||
|
|
||||||
1) You cannot simply upgrade your existing Shorewall package. You must
|
1) You cannot simply upgrade your existing Shorewall package. You must
|
||||||
|
@ -526,7 +526,7 @@ sub process_actions3 () {
|
|||||||
my ($chainref, $level, $tag) = @_;
|
my ($chainref, $level, $tag) = @_;
|
||||||
|
|
||||||
log_rule_limit $level, $chainref, 'dropInvalid' , 'DROP', '', $tag, 'add', '-m state --state INVALID ' if $level;
|
log_rule_limit $level, $chainref, 'dropInvalid' , 'DROP', '', $tag, 'add', '-m state --state INVALID ' if $level;
|
||||||
add_rule $chainref , '-m state --state INVALID -j REJECT';
|
add_rule $chainref , '-m state --state INVALID -j DROP';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub allowInvalid ( $$$ ) {
|
sub allowInvalid ( $$$ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user