Re:Ban me at the IP level if you don't like me
by conradludgate on Monday August 25, 2025 @05:23PM
(#45019200)
How do you silently drop a TCP connection? Closing the socket fd usually results in a FIN packet being sent whether I want it to or not.
Additionally, it's not going to be using that many resources before your kernel sends it a RST next time a data packet is sent
Re:Ban me at the IP level if you don't like me
by ronsor on Monday August 25, 2025 @05:32PM
(#45019297)
TCP_REPAIR: https://tinselcity.github.io/TCP_Repair/
I'd treat this in a client the same way as I do in a server application. If the peer is behaving maliciously or improperly, I silently drop the TCP connection without notifying the other party. They can waste their resources by continuing to send bytes for the next few minutes until their own TCP stack realizes what happens.