Closed erikespinoza closed 3 years ago
Curious. I'll try to find time soon to reproduce this.
Do you see anything being logged from huproxy
on the server side?
Looks like my workaround isn't super effective, works rarer than I originally thought.
The logging in huproxy is a bit lacking and I haven't been able to make much progress by observing it (tcpdump, strace, etc).
Thanks for the bug report. Should be fixed now.
Configuration Tried the nginx setup described in README.md as well as an Apache config documented in keymaster
Steps to reproduce
Expectation Rebooted server connection would drop, other two remain connected
Workaround Currently I have a specific interface used for ssh hosts. Using iptables to drop FIN packets stops other connections from being dropped.
Same rule for both v4 and v6 iptables.
-A INPUT -i INTERFACE -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN -j DROP
- This workaround causes issues with various connections since actual disconnections aren't respected. I would love to get rid of this rule.