Hi all,
I am having issues with a policy rule for ssh, the rule is to accept ssh traffic from internet to an internal sftp service, we have some ip allowed, and all ip's are running with that rule less one ip than when try to go to the sftp server, all i can see in the log is:
date=2017-10-26 time=12:38:23 devname= devid= logid="0000000013" type="traffic" subtype=" forward" level="notice" vd="root" logtime=1509014303 srcip=xxxxxx srcport=53440 srcintf="wan1" srcintfrole="wan" dstip=xxxxxxx dstport=22 dstintf="dmz" dstintfrole="dmz" poluuid="cf827494-ba2e-51e7-eb01-4fc04f2ee2c8" sessionid=30414454 proto=6 action="server-rst" policyid=19 policytype="policy" service="SSH" dstcountry="xxxx" srccountry="xxxxx" trandisp="dnat" tranip=xxxxx tranport=22 duration=5 sentbyte=92 rcvdbyte=92 sentpkt=2 rcvdpkt=2 appcat="unscanned"
what do "action=server-rst" mean??
Thanks in Advanced
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello darranz,
Here's some explanation on most of the "action" in the log.
It may include the following values: (depending on your FortiOS version - older OS may print just "close". Newer OS prints "Accept: session closed")
deny accept start dns ip-conn web close timeout
server-rst
client-rst session status: start, close, timeout, client-rst, server-rst firewall action for the session: accept, deny other purpose: dns, ip-conn
Most sessions that are accepted by a policy usually have either "Accept" - if UDP, "Accept: session closed" - if closed properly with FIN from both sides, "client-rst" - the client side of the session sends a RST packet or "server-rst" - the server side of the session sends a RST packet. "ip-conn" is used when an IP does not respond to a connection.
There are a few possible reasons that you would get a "server-rst" action, e.g. the client did not send any info for a while for some reasons and the server decides to terminate the session, or if the client sends a FIN and the server may decide to send a RST instead of a FIN.
Hope this helps!
Homing
Hello darranz,
Here's some explanation on most of the "action" in the log.
It may include the following values: (depending on your FortiOS version - older OS may print just "close". Newer OS prints "Accept: session closed")
deny accept start dns ip-conn web close timeout
server-rst
client-rst session status: start, close, timeout, client-rst, server-rst firewall action for the session: accept, deny other purpose: dns, ip-conn
Most sessions that are accepted by a policy usually have either "Accept" - if UDP, "Accept: session closed" - if closed properly with FIN from both sides, "client-rst" - the client side of the session sends a RST packet or "server-rst" - the server side of the session sends a RST packet. "ip-conn" is used when an IP does not respond to a connection.
There are a few possible reasons that you would get a "server-rst" action, e.g. the client did not send any info for a while for some reasons and the server decides to terminate the session, or if the client sends a FIN and the server may decide to send a RST instead of a FIN.
Hope this helps!
Homing
Hi hmtay_FTNT,
very helpfull, thanks for your information.
Regards
I guess is a reset packet, to send a close connection
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.