From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-November/020381.html | 100 +++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-November/020381.html (limited to 'zarb-ml/mageia-dev/2012-November/020381.html') diff --git a/zarb-ml/mageia-dev/2012-November/020381.html b/zarb-ml/mageia-dev/2012-November/020381.html new file mode 100644 index 000000000..59dc9f746 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/020381.html @@ -0,0 +1,100 @@ + + + + [Mageia-dev] forkbomb protection + + + + + + + + + +

[Mageia-dev] forkbomb protection

+ David Walser + luigiwalser at yahoo.com +
+ Wed Nov 28 17:53:18 CET 2012 +

+
+ +
I saw an article this morning on LinuxToday that reminded me of the famous shell forkbomb that most of you are probably aware of (I became aware of it several years ago from someone's e-mail signature on a mailing list):
+http://cyberarms.wordpress.com/2012/11/26/an-eleven-character-linux-denial-of-service-attack-how-to-defend-against-it/
+
+This also reminded me that we don't have protection against this out of the box in Mageia.
+
+I checked on Fedora, and it turns out they do, as described here:
+https://bugzilla.redhat.com/show_bug.cgi?id=432903
+
+Their pam package has a /etc/security/limits.d/90-nproc.conf file that has:
+# Default limit for number of user's processes to prevent
+# accidental fork bombs.
+# See rhbz #432903 for reasoning.
+
+*        soft    nproc    1024
+
+As the last comment on the bug says, it's a bit confusing that it's in limits.d/ and not the limits.conf file itself, and in fact I'm not sure what is responsible for processing limits.d/* as limits.conf says nothing about it (Fedora's is the exact same as ours).  Anyway, one way or another it would be nice to have this limit set by default on Mageia, IMHO.  WDYT?
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-dev/attachments/20121128/e9d18012/attachment.html>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1