Technical Tip: Session clash events in FortiGate
| Description | This article describes how to analyze a session Clash event in FortiGate that occurred due to misconfiguration. |
| Scope | FortiGate. |
| Solution | Below is a scenario where FortiGate has triggered Session clash events.
Session clash events can occur when the two sessions are received with the same source and destination IPs and Ports. In most cases, the traffic initiated by the endpoints can cause such events. But in the scenario, a misconfiguration in FortiGate has triggered this event.
Logs:
msg="session clash"
As the above logs show, the incoming source public IP is getting translated. The public IP is being NAT to the interface IP, which is the same: 192.168.0.1 in both scenarios. This is the reason the Firewall is considering this traffic as a session clash.
Hence, NAT should be disabled in incoming VIP policies to prevent such events in the FortiGate.
There are possibilities for a session clash to occur if multiple VIPs are called in the same policy for the same destination. It is advised to have separate policies for VIPs configured for the same destination.
Related article: |
