Hi All,
Sorry for the title, couldn’t think what else to call it, but I was checking our logs, and noticed about 1000+ attempts of someone trying to log onto our asterisk box using a SIP account. The log file shows the following (a short snippet!!!):
[Aug 11 20:23:35] NOTICE[1699] chan_sip.c: Registration from '"9841"<sip:9841@<<ipaddressremoved>>>' failed for '188.165.219.123' - No matching peer found
[Aug 11 20:23:35] NOTICE[1699] chan_sip.c: Registration from '"9842"<sip:9842@<<ipaddressremoved>>>' failed for '188.165.219.123' - No matching peer found
[Aug 11 20:23:35] NOTICE[1699] chan_sip.c: Registration from '"9843"<sip:9843@<<ipaddressremoved>>>' failed for '188.165.219.123' - No matching peer found
[Aug 11 20:23:35] NOTICE[1699] chan_sip.c: Registration from '"9844"<sip:9844@<<ipaddressremoved>>>' failed for '188.165.219.123' - No matching peer found
[Aug 11 20:23:35] NOTICE[1699] chan_sip.c: Registration from '"9845"<sip:9845@<<ipaddressremoved>>>' failed for '188.165.219.123' - No matching peer found
[Aug 11 20:24:37] NOTICE[1699] chan_sip.c: Registration from '"218" <sip:218@<<ipaddressremoved>>>' failed for '188.165.219.123' - Wrong password
[Aug 11 20:24:37] NOTICE[1699] chan_sip.c: Registration from '"218" <sip:218@<<ipaddressremoved>>>' failed for '188.165.219.123' - Wrong password
[Aug 11 20:24:37] NOTICE[1699] chan_sip.c: Registration from '"218" <sip:218@<<ipaddressremoved>>>' failed for '188.165.219.123' - Wrong password
[Aug 11 20:24:37] NOTICE[1699] chan_sip.c: Registration from '"218" <sip:218@<<ipaddressremoved>>>' failed for '188.165.219.123' - Wrong password
Luckily, I’m fairly certain they didn’t manage to logon, but I’m not a bit concerned about someone managing to break the passwords on our asterisk box, and thus make calls outbound. Can anyone recommend any action to take to stop any future attempts? We need to keep the port open to the internet, as a couple of users access from various places, depending on where they are, so that’s a no go. Just wondered if there was anything in asterisk that could pick up on security breach attempts, and block that user?
Many thanks
Nunners