adding sipcli to this one too already been using it on conf.fs.org

This commit is contained in:
Brian West 2014-02-26 14:31:39 -06:00
parent d4b9eb7ee6
commit 27dd568892
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ while ($c->connected()) {
my $user_agent = $event->getHeader('user-agent');
my $network_ip = $event->getHeader('network-ip');
if ($user_agent =~ m/friendly-scanner/) {
if ($user_agent =~ m/(friendly-scanner|sipcli)/i) {
system("/sbin/iptables -I INPUT -s $network_ip -j DROP");
}
}
}