Podcast
Questions and Answers
Which action is taken if a session is flagged as dirty after a routing change?
Which action is taken if a session is flagged as dirty after a routing change?
What causes a session to be flagged as dirty?
What causes a session to be flagged as dirty?
What happens to a session if the new action of the matching firewall is deny?
What happens to a session if the new action of the matching firewall is deny?
When are routing changes common?
When are routing changes common?
Signup and view all the answers
What happens to dirty sessions in FortiGate?
What happens to dirty sessions in FortiGate?
Signup and view all the answers
Which direction(s) of a dirty session must be re-evaluated?
Which direction(s) of a dirty session must be re-evaluated?
Signup and view all the answers
Why are dirty sessions common in SD-WAN?
Why are dirty sessions common in SD-WAN?
Signup and view all the answers
What happens to further packets matching a dirty session?
What happens to further packets matching a dirty session?
Signup and view all the answers
What happens to allowed sessions eventually in FortiGate?
What happens to allowed sessions eventually in FortiGate?
Signup and view all the answers
What causes routing information of impacted sessions to be flushed?
What causes routing information of impacted sessions to be flushed?
Signup and view all the answers
Which session is offloaded to NPU after a routing change?
Which session is offloaded to NPU after a routing change?
Signup and view all the answers
What does FortiGate do if the impacted session is offloaded to NPU?
What does FortiGate do if the impacted session is offloaded to NPU?
Signup and view all the answers
What does FortiGate do if the session is not offloaded to NPU?
What does FortiGate do if the session is not offloaded to NPU?
Signup and view all the answers
What lookups does FortiGate perform for the first packet in the original direction?
What lookups does FortiGate perform for the first packet in the original direction?
Signup and view all the answers
What lookups does FortiGate perform for the first packet in the reply direction?
What lookups does FortiGate perform for the first packet in the reply direction?
Signup and view all the answers
What happens if the firewall policy action is now denied during re-evaluation?
What happens if the firewall policy action is now denied during re-evaluation?
Signup and view all the answers
When are allowed sessions offloaded again to NPU?
When are allowed sessions offloaded again to NPU?
Signup and view all the answers
What happens if the current route is not present in the FIB?
What happens if the current route is not present in the FIB?
Signup and view all the answers
What happens if the S-NAT IP changes during re-evaluation?
What happens if the S-NAT IP changes during re-evaluation?
Signup and view all the answers
What is the default behavior for S-NAT sessions after a routing change?
What is the default behavior for S-NAT sessions after a routing change?
Signup and view all the answers
Which action does FortiGate take when a route is removed from the FIB?
Which action does FortiGate take when a route is removed from the FIB?
Signup and view all the answers
What happens if the new route and firewall policy lookup results in a change of the S-NAT IP during re-evaluation of S-NAT sessions?
What happens if the new route and firewall policy lookup results in a change of the S-NAT IP during re-evaluation of S-NAT sessions?
Signup and view all the answers
When should the snat-route-change setting be enabled?
When should the snat-route-change setting be enabled?
Signup and view all the answers
What happens if the impacted application is TCP-based and the session is cleared during re-evaluation of S-NAT sessions?
What happens if the impacted application is TCP-based and the session is cleared during re-evaluation of S-NAT sessions?
Signup and view all the answers
What does the debug flow output for S-NAT session during re-evaluation show?
What does the debug flow output for S-NAT session during re-evaluation show?
Signup and view all the answers
What is the purpose of enabling the snat-route-change setting?
What is the purpose of enabling the snat-route-change setting?
Signup and view all the answers
What does FortiGate do if the new route and firewall policy lookup results in a change of the S-NAT IP during re-evaluation of S-NAT sessions?
What does FortiGate do if the new route and firewall policy lookup results in a change of the S-NAT IP during re-evaluation of S-NAT sessions?
Signup and view all the answers
When does FortiGate flush the outgoing interface and gateway information?
When does FortiGate flush the outgoing interface and gateway information?
Signup and view all the answers
What does FortiGate do if the S-NAT IP of the new path is different from the S-NAT IP of the current path during re-evaluation of S-NAT sessions?
What does FortiGate do if the S-NAT IP of the new path is different from the S-NAT IP of the current path during re-evaluation of S-NAT sessions?
Signup and view all the answers
When should the snat-route-change setting be enabled?
When should the snat-route-change setting be enabled?
Signup and view all the answers
Study Notes
Session Flagging and Routing Changes
- If a session is flagged as dirty after a routing change, it is re-evaluated against the new route and firewall policy.
- A session is flagged as dirty when a routing change occurs, impacting the session's routing information.
Session Re-evaluation
- If the new action of the matching firewall is deny, the session is cleared.
- Dirty sessions are re-evaluated in both directions.
- Further packets matching a dirty session are blocked until the session is re-evaluated.
Routing Changes and SD-WAN
- Routing changes are common in SD-WAN, making dirty sessions common.
- Routing changes are common during SD-WAN path changes or when a link fails.
FortiGate Session Handling
- FortiGate flushes the routing information of impacted sessions after a routing change.
- If a session is offloaded to NPU, FortiGate sends a request to the NPU to flush the session.
- If a session is not offloaded to NPU, FortiGate re-evaluates the session.
Session Lookup
- FortiGate performs a route lookup and firewall policy lookup for the first packet in the original direction.
- FortiGate performs a reverse route lookup and firewall policy lookup for the first packet in the reply direction.
Session Re-evaluation Results
- If the firewall policy action is now denied during re-evaluation, the session is cleared.
- If the current route is not present in the FIB, the session is cleared.
- If the S-NAT IP changes during re-evaluation, the session is re-evaluated with the new S-NAT IP.
S-NAT Sessions
- The default behavior for S-NAT sessions after a routing change is to re-evaluate the session with the new route and firewall policy.
- If the new route and firewall policy lookup results in a change of the S-NAT IP during re-evaluation, the session is re-evaluated with the new S-NAT IP.
- The snat-route-change setting should be enabled when the S-NAT IP changes during re-evaluation.
TCP-Based Sessions
- If the impacted application is TCP-based and the session is cleared during re-evaluation, the TCP connection is terminated.
Debug Flow Output
- The debug flow output for S-NAT session during re-evaluation shows the re-evaluation process.
Snat-Route-Change Setting
- The purpose of enabling the snat-route-change setting is to re-evaluate S-NAT sessions when the S-NAT IP changes during a routing change.
FortiGate Actions
- FortiGate flushes the outgoing interface and gateway information when a route is removed from the FIB.
- If the S-NAT IP of the new path is different from the S-NAT IP of the current path during re-evaluation, the session is re-evaluated with the new S-NAT IP.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge on dirty sessions and how they are flagged and re-evaluated after certain network changes. This quiz will cover topics such as routing changes, firewall policy modifications, and interface adjustments. Perfect for those working with SD-WAN and network security.