Overnight, all extensions lost registration with the following error:
ERROR[8039] res_pjsip.c: Error 120032 ‘Broken pipe’ sending OPTIONS request to endpoint XXXX
Asterisk 20.5.0
FreePBX 16.0.40.7
Endpoints registered PJSIP w/ TLS
Trunks are PJSIP UDP
What could have triggered this?
dotcom
(dotcom)
2
I also experienced the same issue on Asterisk 18.19 twice already.
Asterisk just stops responding to packets then.
In the /var/log/messages, I do see this:
kernel: TCP: request_sock_TCP: Possible SYN flooding on port XXXX. Sending cookies. Check SNMP counters.
(My clients are registering using TCP, instead of UDP.)
Does anyone has a clue what could cause this?
david55
(david55)
3
A denial of service attack
dotcom
(dotcom)
4
It seems not… Our machine is firewalled and the traffic is coming from a trusted source.
In sysctl.conf, I already set the following values, but still having the same issue:
net.ipv4.tcp_max_syn_backlog = 4096
net.core.somaxconn = 4096
dwsiemens
(Dan S)
5
I think its a different error but do you have max files high enough as well?
system
(system)
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.