Make carp rules a little tighter and don't sync to peer (peer will already have same state)

This commit is contained in:
Bill Marquette 2005-02-20 17:55:16 +00:00
parent f883f1dd69
commit e397ee623e

View File

@ -931,8 +931,8 @@ function filter_rules_generate() {
/* if carp is defined, lets pass the traffic */
if(is_carp_defined() == true) {
$ipfrules .= "pass on " . $lanif . " proto carp keep state label \"carp\"\n";
$ipfrules .= "pass on " . $wanif . " proto carp keep state label \"carp\"\n";
$ipfrules .= "pass on " . $lanif . " proto carp from $lanif:network to 224.0.0.18 keep state (no-sync) label \"carp\"\n";
$ipfrules .= "pass on " . $wanif . " proto carp from $wanif:network to 224.0.0.18 keep state (no-sync) label \"carp\"\n";
}
/* if squid is installed, lets install its rule */