Skip to content

Commit

Permalink
block carp traffic to hosts self to avoid loops. fixes #598
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Ullrich committed May 20, 2010
1 parent 69490b5 commit 986a3ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/inc/filter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2500,6 +2500,7 @@ function filter_process_carp_rules() {
if(isset($config['installedpackages']['carp']['config']) &&
$config['installedpackages']['carpsettings']['config'] <> "" or
$config['virtualip']['vip'] <> "") {
$lines .= "block in log quick proto carp from (self) to any\n";
$lines .= "pass quick proto carp\n";
$lines .= "pass quick proto pfsync\n";
}
Expand Down

0 comments on commit 986a3ac

Please sign in to comment.