Attacks from own external IP

Full logs showing

[2016-05-04 13:06:24] NOTICE[18959][C-0000022e] chan_sip.c: Failed to authenticate device 106<sip:[email protected]>;tag=a39d439d

But Fail2Ban Logs showing

[2016-05-04 13:06:24] SECURITY[19070] res_security_log.c: SecurityEvent="ChallengeSent",EventTV="2016-05-04T13:06:24.824-0500",Severity="Informational",Service="SIP",EventVersion="1",AccountID="sip:[email protected]",SessionID="0x7fbb9c0b0f68",LocalAddress="IPV4/UDP/MyIP/5060",RemoteAddress="IPV4/UDP/",Challenge="09d8c355"

So looks like they are attacking from but how they doing that ? I mean why full log not showing their IP and how can I protect PBX form that type of attacks ?

It is. You’re just not looking in the security log, which fail2ban is. What you’re looking at is what they’re trying to authenticate as. Which is [email protected] ip.

Install FreePBX Firewall, turn it on, and you never need to worry about it again :sunglasses:

Do I need to upgrade to FreePBX 13 to install Firewall? If so then I can’t do that.
Any other way to stop that?
Also if this topic is about fail2ban
How can I block connections like this

VERBOSE[17430][C-000001a4] pbx.c: Executing [[email protected]:6] Log("SIP/MyIP", "WARNING,"Rejecting unknown SIP connection from"") in new stack
WARNING[17430][C-000001a4] Ext. s: "Rejecting unknown SIP connection from"

Why can’t you update?

Because that is remote server and if something goes wrong I will not be able to reinstall it.

We upgrade servers all the time remotely.

Is it a real server, does it have lights out management? That allows you to access the console remotely of the computer outside the OS and main computer hardware.

You can sent someone to the site? If you are really nervous have them pull the old drive and install a new one.

Hacking up an unsupported system. is a far greater risk than am upgrade.