Revision 653bde34
Added by Chris Buechler almost 12 years ago
etc/inc/filter.inc | ||
---|---|---|
2334 | 2334 |
$aline['flags'] = "flags S/SA "; |
2335 | 2335 |
} |
2336 | 2336 |
} |
2337 |
if (in_array($rule['protocol'], array("icmp","udp","tcp","tcp/udp")) && ($type == "pass")) {
|
|
2337 |
if ($type == "pass") {
|
|
2338 | 2338 |
/* |
2339 | 2339 |
* # keep state |
2340 | 2340 |
* works with TCP, UDP, and ICMP. |
Also available in: Unified diff
the state type is required/valid for all specifications of protocol, not
just the ones formerly listed. For instance, sloppy is valid (and widely
used on 2.0.x and some older 2.1x) with "any" protocol.