1
20.7 Legacy Series / Re: Trouble with half-closed connections
« on: October 06, 2020, 05:20:06 pm »
Looking into this further I saw a case where it took 8:40h (!) for the client to close the connection after the server closed it.
I experimented with setting tcp.closing to 3600s (originally 900s), which of course makes some of the connections work. But setting a very long timeout does not help, becacues by then the server has already closed its socket and only sends RSTs back.
Currently there is also no method of permanently modifying any session timeouts outside of the provided templates. For completness sake, this is the very temporary workaround:
Which can only be implemented via a feature request, if anyone has a need for someting like this.[/list]
I experimented with setting tcp.closing to 3600s (originally 900s), which of course makes some of the connections work. But setting a very long timeout does not help, becacues by then the server has already closed its socket and only sends RSTs back.
Currently there is also no method of permanently modifying any session timeouts outside of the provided templates. For completness sake, this is the very temporary workaround:
- Add "set timeout tcp.closing 3600" to /tmp/rules.debug
- Apply using "pfctl -f /tmp/rules.debug"
Which can only be implemented via a feature request, if anyone has a need for someting like this.[/list]