From 8f6033d284aba14c73e5357d63404f43456d747d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 18 Feb 2005 11:05:50 +0000 Subject: let the daemon handle the blacklist policy in automatic mode --- perl-install/standalone/net_applet | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 904671027..1163e1816 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -188,6 +188,12 @@ sub setAutoStart { sub handle_attack { my ($seq, $timestamp, $indev, $prefix, $sensor, $protocol, $addr, $port, $icmp_type) = @_; + unless ($interactive_cb->get_active) { + #- let the daemon handle the blacklist policy in automatic mode + $activefw->blacklist($seq, undef); + return; + } + my $ip_addr = activefw::get_ip_address($addr); my $hostname = activefw::resolve_address($ip_addr); my $service = activefw::get_service($port); -- cgit v1.2.1