How can I increase the Anti-flood block duration for Tunnel Manager?

Michael1000

Customer
Joined
Apr 16, 2020
Messages
9
Reaction score
6
Since Saturday at 7:30, I have received more than 1,500 emails reporting IPs blacklisted by Tunnel Manager for suspicious activity (flood), with an expiration time of about 15 minutes. I set “Blacklist time interval” under “Advanced > Anti-Hacking” to 259200 seconds, but new Tunnel Manager entries still show a 15-minute expiration; I want to increase the block duration and understand whether the global IP blacklist should also apply. I want to keep receiving the alert emails.

System: 3CX PRO Edition, V20 Update 10, On Premise

Already tried:
  • Set “Blacklist time interval” to 259200 seconds; this did not change the expiration time shown in new Tunnel Manager alerts.
  • Confirmed that Anti-flood entries appear under “Advanced > IP Blacklist.”

Suggested so far: Disable the “IP Blacklisted” alert, check the Event Log and Tunnel Log for the source of the requests and stop it, or delete the Anti-flood entry or wait for it to expire. I have not tried these steps.

How can I set a longer expiration time specifically for Tunnel Manager Anti-flood blocks, and should the global IP blacklist prevent these repeated blocks or alerts?

I assume this is a bug in the implementation of the expiration logic or a missing explanation in the web ui that "Zeitintervall der Sperliste" is NOT taken into account by the "Tunnel Manager" module.
 
Hi @Michael1000 the Anti-Hacking module specifically monitors SIP related attacks, such as fraudulent SIP registrations and failed challenge requests. When an IP is blocked by this module, it follows the global blacklist time interval.

On the other hand, failed login attempts on the web client are handled separately, after 10 failed attempts, the IP is automatically blocked for 15 minutes (900 seconds).

So, if you are seeing log entries like this:
The IP XXX.XXX.XXX.XXX has been blacklisted for 900 sec. (Expires at: 2026-11-30 16:15:47). Reason: Blocked for too many failed authentications

This means the attempts are targeting the PBX Admin Console or the Web Client rather than SIP.

To secure this, you can take the following steps:
  • Restrict the HTTPS port: If you don't need external access, close the HTTPS port on your firewall or create an access list to limit it.
  • Enable PBX Console Restrictions: Configure console restrictions so that only trusted public IP addresses can access the admin interface.
 
"ip ..has been blacklisted for 900 sec. (Expires at: 2026/12/01 05:17:45). Reason: Blocked due to suspicious activity (flood)".
These appear to be attacks on port 5090;
you can also see this very clearly from the activity in the 3CXTunnel.2026-*.log file and the requests in tcpdump.

Aside from turning off the notifications, we haven't found a real solution to the “problem” yet.
 
As mentioned, you can restrict access to the PBX ports using firewall access lists or GeoIP blocking. Specifically, limiting connections on tunnel port 5090 and SIP port 5060 to trusted IP addresses and approved locations only.

Additionally, please ensure that the Automatic Global IP Blacklist is enabled in the Anti-Hacking section. When an IP is flagged by multiple PBXs, it is automatically added to this global blacklist and blocked across all systems worldwide.
 
Here is an example of one of those messages, URL and IP hidden:
------------------------
The IP 999.888.777.666 on PBX yyyyyyyy.my3cx.de has been blacklisted and will expire on: 2026/12/01 16:15:31.
Affected Module: Tunnel Manager
User agent:

Reason: Blocked due to suspicious activity (flood)

This IP Address 999.888.777.666 has made numerous attempts to authenticate with 3CX using invalid credentials. In response, 3CX has blacklisted this IP and denied any further requests.

No action is required on your behalf.
------------------------

To me, the message text looks like it is an attempt to "login" somewhere, because it talks about authentication.
For our system, logging in to the PBX means also getting access to all of our telephone users, to all of our telephone dictionary entries and the possibility to act as one of our employees in terms of PBX usage. I do not know if this is possible in case the authentication succeeds at the point where this message roots from, therefore I have to assume that this can happen until I get evidence for a different situation.

We do need access from outside (mobile phones), so I cannot restrict IP addresses as far as I understand the way of how mobile apps are integrated. Maybe I am wrong?

PBX Console restrictions are a good idea but I do not see how they would prohibit the risks I mentioned above. So they are also no mitigation.

The 3CX documentation tells me nothing about the things you describe here. Is the "Global Blacklist" the one I can modify in the Web UI? or is it the one that is 3CX managed and distributed to all participants that contribute to the list? We have the switch activated to contribute blocked IPs to the global list but this has no effect since 4 days now. Is this Global Blacklist taken into account by the Tunnel Manager module as well as by the SIP Server module? The Web UI does not mention any of those modules and suggests it is used for any sort of blocking.

From a security standpoint, obfuscation is not a solid base. It is more like "security by obscurity", which is not a good basis.

Unfortunately, I am not sure if I understood your explanation right. You say, the Anti-Hacking module secures SIP related attacks. That means, only the handling of those attacks can be configured by the Web UI settings?
And secondly, only SIP related attacks are reported to the global block list? So there is no means to block or configure attack handling of attacks to the Tunnel Manager? Wouldn't it be identically important to secure and handle attack management for Tunnel Manager Attacks?

So I am not a SIP specialist but I would expect that Error messages and GUI be clear in security relevant topics.

My current assumption is that someone has found a new way to penetrate 3CX PBXes and tries this now with a brute force attack. Since I do not know what exactly is happening, I am somewhat scared. Any means to improve the situation besides the two you already mentioned?
 

Forum statistics

Threads
112,598
Messages
593,638
Members
165,854
Latest member
KRSBC