From d61655fd3e045038fb337e5e40f6b04dec6b5cd9 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Wed, 23 Jan 2013 18:13:35 +0100 Subject: add random sleep to cron.d file to reduce DDoS effects on servers --- debian/openssh-known-hosts.cron.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3