Skip to main content
PampuTV
Explorer
July 1, 2022
Solved

FortiGate Debug ret-no-match

Hi Community,

 

can someone explain the meaning of "ret-no-match" in a debug flow on a FGT?
As an example debug line see the following:
"2022-07-01 09:04:45 id=20085 trace_id=32985 func=__iprope_check_one_policy line=1951 msg="checked gnum-4e20 policy-6, ret-no-match, act-accept""

 

I understand the line itself but not the meaning of "ret-no-match".

 

Thanks a lot.

 

Kind regards
Dominik

PampuTV
PampuTVAnswer
Explorer
July 1, 2022

Hi @kcheng

 

Thanks for the fast reply!
But how can the action be "act-accept" if the match is "ret-no-match"?

Kind regards
Dominik

6 replies

kcheng
Staff & Editor
Staff & Editor
July 1, 2022

Hi @PampuTV 

 

The respective means that based on the firewall policy check, the traffic has no match on policy 6. So the check result return no match (ret-no-match).

PampuTV
PampuTVAuthorAnswer
Explorer
July 1, 2022

Hi @kcheng

 

Thanks for the fast reply!
But how can the action be "act-accept" if the match is "ret-no-match"?

Kind regards
Dominik

kcheng
Staff & Editor
Staff & Editor
July 1, 2022

Hi @PampuTV 

 

The action is referencing the action set on the firewall policy, but not the action taken after the traffic is being evaluated against policy 6. Policy 6 is permitting traffic if it matches the policy. based on the debug flow filter, your traffic does not match firewall policy 6, so it will continue to get evaluatedd by the next policy.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT