4 ms·
FWIW, I tried that DoS idea on a little digitalocean machine. It capped the number of open file descriptors for the SSH daemon at 1024. Only about 3000 file des
by STRML 9y ago
FWIW, I tried that DoS idea on a little digitalocean machine. It capped the number of open file descriptors for the SSH daemon at 1024. Only about 3000 file descriptors were in use after it stopped allocating channels, and file-heavy operations like apt-get still succeeded.
- deleted 9y ago[deleted]
- bvinc 9y agoYou'll probably hit the ulimit maximum file descriptors for the process. This might cause problems for the sshd process, or it might not since it might just hit the maximum for a process that's dedicated to your ssh connection. It would take a lot more processes to hit the maximum for the entire system