diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-01-23 18:13:35 +0100 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-02-02 22:23:51 +0100 |
commit | d61655fd3e045038fb337e5e40f6b04dec6b5cd9 (patch) | |
tree | 288d52755d6155b1c257189c4a27f7b53859d883 | |
parent | 41d8aa09d0bc9d56b2f409e8ae5324bc40166ceb (diff) | |
download | openssh-known-hosts-d61655fd3e045038fb337e5e40f6b04dec6b5cd9.tar.gz |
add random sleep to cron.d file to reduce DDoS effects on servers
-rw-r--r-- | debian/openssh-known-hosts.cron.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-known-hosts.cron.d b/debian/openssh-known-hosts.cron.d index 27f4f64..62ec02d 100644 --- a/debian/openssh-known-hosts.cron.d +++ b/debian/openssh-known-hosts.cron.d @@ -1,4 +1,4 @@ # # Regular cron jobs for the openssh-known-hosts package # -0 * * * * root [ -x /usr/sbin/update-openssh-known-hosts ] && /usr/sbin/update-openssh-known-hosts +0 * * * * root [ -x /usr/sbin/update-openssh-known-hosts ] && { sleep `od -An -N1 -tu1 /dev/urandom`; /usr/sbin/update-openssh-known-hosts; } |