Tcp – Why I see RST being dropped

firewalltcp

I would like to know what RST does when establishing TCP connection

Firewall Log

id="1" severity="info" sys="SecureNet" sub="packetfilter" name="Packet dropped" action="drop" fwrule="60003" srcip="x.x.x.x" dstip="172.16.x.x" proto="6" length="40" tos="0x00" prec="0x00" ttl="64" srcport="80" dstport="49670" tcpflags="RST"

The above packet is being dropped and I dont know why..

Could anyone explain what RST does and why it is being dropped?

Best Answer

RST == Reset Connection

It has nothing to do with establishing a TCP connection. It's used to close a connection, either due to error or as a means to (rapidly) bypass the normal FIN closing sequence.

Most likely you are seeing a RST after the connection is already closed and the firewall no longer has any state for it. (172.16 suggests NAT. Without a NAT translation, the FW has no idea where to send the packet, thus it's dropped.) However, the firewall my have an explicit rule to drop all RST packets as a "security" feature. (eg: TCP Reset Attack)