3 ms·
For the log file issue I usually recommend using something like fail2ban to start blocking hosts after too many failed logins in a given time period (and unbloc
by dspillett 16y ago
For the log file issue I usually recommend using something like fail2ban to start blocking hosts after too many failed logins in a given time period (and unblock them after a while).
If you are running a shared environment the irritation of the log entries (or needing to run something like fail2ban or similar if you don't already) may be small compared to having to explain to your users again and again and again that the reason their SSH/SCP/SFTP client won't connect is that they need to tell it to use a different port (and then have to work out how to set a different port in the client they are using because they'll expect you to know).
- gnosis 16y agoThe problem with fail2ban is that it's vulnerable to denial of service attacks when the attacker spoofs the source IP address of the failed login attempts.
- devicenull 16y agoHow do you spoof TCP connections?
- gnosis 16y agohttp://lmgtfy.com/?q=tcp+connection+spoofing http://lmgtfy.com/?q=tcp+connection+spoofing
- devicenull 16y agoI'd be amazed if you could show me a TCP spoofing attack that works against a remote host (that you aren't on the same LAN as). As far as I know (and google shows), they don't exist.