Answer the question
In order to leave comments, you need to log in
FreePBX friendly scanner, how to fail?
Здравствуйте коллеги.
FreePBX 13 Asterisk 13. При входящем звонке на транк городского провайдера, вываливается такая шляпа
[2016-07-26 19:41:30] WARNING[2769][C-00000005]: Ext. Мой_городской_номер:2 @ from-trunk: Friendly Scanner from 194.8.128.3
Чем только не пробовал блочить и этим и этим
Вот конфиг iptables (порт не стандартный)
# Generated by iptables-save v1.4.7 on Tue Jul 26 19:10:55 2016
*filter
:INPUT ACCEPT [1791:458438]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1761:461026]
-A INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "sipsak" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "iWar" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "sundayddr" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "sip-scan" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "Fiendly Scanner" --algo bm --to 65535 -j DROP
-A INPUT -p udp -m udp --dport 62400 -m string --string "friendly-scanner" --algo bm --to 500 -j DROP
-A INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" --algo bm --to 500 -j DROP
COMMIT
# Completed on Tue Jul 26 19:10:55 2016
Answer the question
In order to leave comments, you need to log in
я добавил всего два правила
iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "friendly-scanner" --algo bm
iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" --algo bm
Вот более охватывающие правила
# SIP protect UDP
-A RH-Firewall-1-INPUT -p udp -m udp --dport 5060 -m string --string "VaxSIPUserAgent" --algo bm --to 65535 -j DROP
-A RH-Firewall-1-INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" --algo bm --to 65535 -j DROP
-A RH-Firewall-1-INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" --algo bm --to 65535 -j DROP
-A RH-Firewall-1-INPUT -p udp -m udp --dport 5060 -m string --string "sipcli" --algo bm --to 65535 -j DROP
Для TCP сами модифицируете.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question