• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

TCP Idle Timeout Confusion

Scheduled Pinned Locked Moved Firewalling
2 Posts 1 Posters 919 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jrwill
    last edited by Mar 25, 2021, 3:09 AM

    I have a basic 2 interface setup (OPT1 and OPT2) where I have a server connected to each interface. The application I am running will establish a connection between the two servers on port 1515 and that connection can stay in ESTABLISHED state for many minutes with 0 packets being transmitted between the two servers. I would like for pfSense to reset this connection if it is IDLE (0 packets being sent) for more than 300 seconds. On the Firewall rules for both OPT1 and OPT2, I set the "State timeout" to 300, but even after 300 seconds of being IDLE, the connection does not get reset.

    Is this the correct timeout to use to disconnect IDLE sessions?

    J 1 Reply Last reply Mar 25, 2021, 2:02 PM Reply Quote 0
    • J
      jrwill @jrwill
      last edited by Mar 25, 2021, 2:02 PM

      After some further testing, I discovered that the Timeout is actually working, in that it blocks further traffic on the connection after 300 seconds has passed. However, there is no FIN or RSET sent when this happens, I just see TCP Retransmission attempts for the next packet that is sent after the connection is blocked.

      Is there any way to get pfSense to send a TCP RSET after the 300 second timeout occurs??

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received