Skip to main content
JPM
New Member
Aug 7, 2014 12:53 PM UTC
Question

" no session matched" message

Hi, I am hoping someone can help me. We get a " no session matched" (log_id=0038000007) message several thousand times a day for various different connections on our Fortigate 310B (4.0 MR3 patch 9) I believe this is caused by the anti replay setting which we could disable but I wanted to ask if it is safe to disable this setting or if there is some other setting which could be causing this message to be logged so many times per day. We also receive the message " replay packet(allow_err), drop" (log_id=0038000007) several thousand times a day which appears to be related to the same issue. If anyone can help with this I would appreciate it. Regards, JP

    13 replies

    hklb
    Visitor III
    Aug 7, 2014 5:35 PM UTC
    Hi, Did you check if you have no asymmetric routing ?
    Translate
    JPM
    JPMAuthor
    New Member
    Aug 8, 2014 7:10 AM UTC
    Hi hklb, Thanks for the reply. No most of these connections are dropped between 2 directly connected network segments (via the Fortigate) so there is only a single route available between the segments. JP
    Translate
    ede_pfau
    SuperUser
    SuperUser
    Aug 8, 2014 9:23 AM UTC
    Looks like a loop to me. If you assume that the messages are correct then you do have a massive problem on your network. I' d check that first, probably using the built-in sniffer (diag sniffer packet...). Which ' anti-replay' setting are you refering to? I only know this from IPsec which you probably will not use on your LAN. Maybe you could update the FOS to 4.3.17, just to make sure...4.3.9 is quite old. Still, my first suspicion would be ' network problem' .
    Translate
    JPM
    JPMAuthor
    New Member
    Aug 8, 2014 11:30 AM UTC
    The anti-replay setting is set by running the following command: #config system global #set anti-replay (strict|loose|disable) #end When you say loop, do you mean that there is more than 1 route to a specific host? JP
    Translate
    JPM
    JPMAuthor
    New Member
    Aug 8, 2014 12:54 PM UTC
    On looking at the logs further I can see that for each of the dropped connections the outbound interface is ' unknown-0' . Would this also indicate a routing issue? Does this help troubleshoot the issue in any way?
    Translate
    lightmoon1992
    New Member
    Aug 9, 2014 10:30 AM UTC
    what is the destination for that traffic? this could be routing info missing
    Translate
    emnoc
    New Member
    Aug 9, 2014 11:19 AM UTC
    The diag debug flow command would be your friend and probably would give you better direction. Also make sure you have no PBR policies or if you do make sure these policy routes are correct.
    Translate
    netmin
    New Member
    Aug 9, 2014 12:51 PM UTC
    Totally agree...try to determine source and target, applications used, think about long running idle sessions (session-ttl). For example, others (just consult your favourite search engine) observed this issue between webservers and database servers, with idle rdp sessions or caused by improper vlan tagging.
    Translate
    JPM
    JPMAuthor
    New Member
    Aug 12, 2014 1:30 PM UTC
    Hi All, Thanks for all your responses, I feel like I am making some progress here. Most of the dropped traffic is to and from 1 IP address although there are other dropped packets not relating to this IP. I ran the following commands and captured the output which I have attached to the post (IP addresses have been changed) diagnose debug enable diagnose debug flow show console enable diagnose debug flow filter add 192.168.9.61 diagnose debug flow trace start 10000 I have looked through the output but I cannot see anything unusual. We do not have any PBR in place and the routes between these networks are in place as they are all directly connected to the Fortigate. Thanks again for your help. JP
    Translate
    JPM
    JPMAuthor
    New Member
    Aug 12, 2014 1:58 PM UTC
    I have since noticed that the traffic appears to be sent to ips but the rule which allows this traffic does not have any ips sensors enabled, could this be the issue? id=36871 trace_id=8714 msg=" send to ips"
    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024