Continous Ping to SIP Server

Hi,

Getting ping from 62.210.189.142 continuously. Please help me in stopping this registration requests.

[Oct 14 15:26:42] NOTICE[6848]: chan_sip.c:23647 handle_request_invite: Failed to authenticate device 120sip:120@111.118.185.107;tag=779d3f3c
[Oct 14 15:26:43] NOTICE[6848]: chan_sip.c:23647 handle_request_invite: Failed to authenticate device 120sip:120@111.118.185.107;tag=779d3f3c
[Oct 14 15:26:49] NOTICE[6848]: chan_sip.c:25919 handle_request_register: Registration from ‘“8033” sip:8033@111.118.185.107:5060’ failed for ‘62.210.189.142:5088’ - Wrong password
[Oct 14 15:26:50] NOTICE[6848]: chan_sip.c:25919 handle_request_register: Registration from ‘“2020” sip:2020@111.118.185.107:5060’ failed for ‘62.210.189.142:5069’ - Wrong password
[Oct 14 15:26:53] NOTICE[6848]: chan_sip.c:25919 handle_request_register: Registration from ‘“2222” sip:2222@111.118.185.107:5060’ failed for ‘62.210.189.142:5082’ - Wrong password

If you are running a version of Asterisk newer than 1.8.x then set up fail2ban.

Drop it on iptables:

iptables -A INPUT -s 62.210.189.142 -j DROP iptables -A OUTPUT -d 62.210.189.142 -j DROP

Or do exactly what our friend arginite said, use fail2ban and insert this IP into a blacklist.

G-Luck!
Toni

Another tip is to add the servers’ IP of VoipBlackList on your blocklist. To avoid big surprises when the telephone bill arrives LOL

If you solved your problem, please mark as [SOLVED] the title of this post.
Thank you,
Toni

Thanks.

This worked for me.

Regards

Deepak