mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #103946 from lopsided98/sshd-trigger-limit
This commit is contained in:
commit
a85f163c46
|
@ -480,6 +480,8 @@ in
|
|||
else
|
||||
cfg.ports;
|
||||
socketConfig.Accept = true;
|
||||
# Prevent brute-force attacks from shutting down socket
|
||||
socketConfig.TriggerLimitIntervalSec = 0;
|
||||
};
|
||||
|
||||
services."sshd@" = service;
|
||||
|
|
Loading…
Reference in a new issue