FYI: Block friendly-scanner and crawler

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

FYI: Block friendly-scanner and crawler

Post by lakeview »

1. Brekeke Product Name and Version:
Brekeke SIP Server ver3.2


Add following DialPlan rules in the [Dial Plan] -> [Preliminary] page.

---------------------------------------
[Matching Patterns]
$str.lowercase(User-Agent) = friendly-scanner|sundayddr

[Deploy Patterns]
$action = block


[Matching Patterns]
$str.lowercase(User-Agent) = sipcli

[Deploy Patterns]
$action = block
----------------------------------------

---------------------------------------
[Matching Patterns]
From = sipsscuser|sipvicious

[Deploy Patterns]
$action = block
----------------------------------------

---------------------------------------
[Matching Patterns]
$request = ^OPTIONS
From = sip:default@

[Deploy Patterns]
$action = block
----------------------------------------
Last edited by lakeview on Fri Oct 31, 2014 4:11 pm, edited 2 times in total.
mbylica
Posts: 41
Joined: Mon May 16, 2011 1:05 pm
Location: Poland

Post by mbylica »

Hello,

Its fine. Besides Dial Plan i think good option is to setup iptables properly, of course if we are talking about wholesale voice traffic.
For class5 services good option is to use fail2ban.

Maciej.
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by Mike »

The Block List has two plugin interfaces.
One is for querying to 3rd black list database.
Another is for notifying offending IP addresses to 3rd system in real-time.
This plugin interface will be used for updating "iptables".
Post Reply