OPNsense Forum

English Forums => General Discussion => Topic started by: JasMan on January 02, 2019, 01:37:49 pm

Title: [SOLVED] Firewall blocks TCP RST when TCP FIN was sent already
Post by: JasMan on January 02, 2019, 01:37:49 pm
Hey,

I have an issue with an TCP connection (LAN client downloads data from WAN server). I did some troubleshooting and found out, that a packet with RST flag set is blocked by the firewall (I guess), when a packet with FIN flag set was send before in the TCP session.
An example:

RST packet blocked

RST packet is not blocked

Is this a normal behaviour?
I think my issue has to do with this behaviour, because when the RST packet is blocked the session state remains open on the server. When a certain limit has reached, I guess the server will not allow any more connections from/to my IP address.

Jas Man
Title: Re: Firewall blocks TCP RST when TCP SYN was sent already
Post by: JasMan on January 11, 2019, 09:48:25 pm
Mmh, it looks like the new version 18.7.10 solved this problem.
Title: Re: [SOLVED] Firewall blocks TCP RST when TCP SYN was sent already
Post by: franco on January 12, 2019, 01:57:55 pm
Hmm, strange fix. Maybe the reboot did it?


Cheers,
Franco
Title: Re: [SOLVED] Firewall blocks TCP RST when TCP FIN was sent already
Post by: JasMan on January 12, 2019, 02:33:32 pm
I' m not totally sure but I think I already did a reboot before the update.

BTW: I saw that the title of my topic was wrong. I've changed it ("...TCP SYN..." to "...TCP FIN...")
Title: Re: [SOLVED] Firewall blocks TCP RST when TCP FIN was sent already
Post by: franco on January 13, 2019, 11:09:02 am
Ok, I'll keep this in mind. It might have to do with a state being stuck in the previous "block" state. In some cases state tracking should be turned off or set to sloppy which can be done per rule under advanced settings.


Cheers,
Franco