Troubleshooting Tip: IP pools can cause SIP/ARP traffic and increase voipd daemon load
| Description | This article describes why high latency may result from an unused IP pool with ARP reply enabled that can cause SIP traffic and increase voipd daemon load. |
| Scope | FortiGate. |
| Solution | Scenario: While establishing a call, audio may become delayed or choppy. In some cases, it may take more than 10 seconds for the call to connect after the other party answers.
When arp-reply is enabled on an IP pool, FortiGate responds to ARP requests for the IP addresses in that pool. If the IP pool is no longer in use but remains in the configuration, those addresses may still receive traffic. If SIP scanners or other unsolicited traffic target that address space, the FortiGate may continue processing that traffic unnecessarily. As long as that ippool exists, it is designed to reply to external packets.
Use the following commands to display status information about the SIP sessions being processed by the SIP ALG.
diagnose sys sip-proxy calls list
Example output from diagnose sys sip-proxy stat:
diagnose sys sip-proxy stat sip stats
vdom name: root --------------------------- active-sessions: 743 calls-attempted: 292996 <----- Unsolicited traffic. calls-established: 2741 calls-failed: 290255 <----- Unsolicited traffic.
'killing voipd process' is required. See Technical Tip: Find and restart/kill a process on a FortiGate by the process ID (PID) via pidof.
For clearing the counte:
A high number of attempted and and failed SIP calls lead to the FortiGate processing unsolicited SIP traffic.
One possible cause is that unused addresses are still configured in an IP pool or VIP. If ARP reply stays enabled for those objects, the FortiGate may continue receiving traffic destined for those addresses.
If the object is no longer needed, remove it from the configuration. If it must remain configured, disable ARP reply for that object:
config firewall vip edit <name> set arp-reply disable next end
config firewall ippool edit <name> set arp-reply disable next end
show full | grep -f arp-reply
Note: For blocking external attacks, a local-in policy with geo-IP restriction can help. Another option is to change the standard VoIP port 5060 to a different port, such as 5063-5090. The same port change must also be applied on the client server, SIP provider, and FortiGate.
Related articles: |
