3 ms·
iptables rules can (trivially) apply to all traffic, or they can be sensitive to connection state. In the case of cracking, you'd just want to apply a blanket
by kazinator 11y ago
iptables rules can (trivially) apply to all traffic, or they can be sensitive to connection state.
In the case of cracking, you'd just want to apply a blanket blan: completely black-hole any packet whatsoever coming from that IP to your box. That will freeze all existing connections.
To ban new connections, you'd have a rule that applies to TCP connections in the NEW state, leaving the ESTABLISHED ones alone.
- rc4algorithm 11y agoIn many cases, this is a bad idea. For example, this is eventually equivalent to blocking Tor. I've been dealing with this issue lately.