summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-March/023400.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-March/023400.html')
-rw-r--r--zarb-ml/mageia-dev/2013-March/023400.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-March/023400.html b/zarb-ml/mageia-dev/2013-March/023400.html
new file mode 100644
index 000000000..eafc4338d
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-March/023400.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] forkbomb protection
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20forkbomb%20protection&In-Reply-To=%3Ckhimdv%24gq1%241%40ger.gmane.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="023405.html">
+ <LINK REL="Next" HREF="023406.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] forkbomb protection</H1>
+ <B>David Walser</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20forkbomb%20protection&In-Reply-To=%3Ckhimdv%24gq1%241%40ger.gmane.org%3E"
+ TITLE="[Mageia-dev] forkbomb protection">luigiwalser at yahoo.com
+ </A><BR>
+ <I>Sun Mar 10 20:20:34 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="023405.html">[Mageia-dev] Freeze push: xfdesktop 4.10.2
+</A></li>
+ <LI>Next message: <A HREF="023406.html">[Mageia-dev] Freeze push Firebird
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#23400">[ date ]</a>
+ <a href="thread.html#23400">[ thread ]</a>
+ <a href="subject.html#23400">[ subject ]</a>
+ <a href="author.html#23400">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>David Walser wrote:
+&gt;<i> 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
+</I>aware of it several years ago from someone's e-mail signature on a mailing list):
+&gt;<i> <A HREF="http://cyberarms.wordpress.com/2012/11/26/an-eleven-character-linux-denial-of-service-attack-how-to-defend-against-it/">http://cyberarms.wordpress.com/2012/11/26/an-eleven-character-linux-denial-of-service-attack-how-to-defend-against-it/</A>
+</I>&gt;<i>
+</I>&gt;<i> This also reminded me that we don't have protection against this out of the box in Mageia.
+</I>&gt;<i>
+</I>&gt;<i> I checked on Fedora, and it turns out they do, as described here:
+</I>&gt;<i> <A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=432903">https://bugzilla.redhat.com/show_bug.cgi?id=432903</A>
+</I>&gt;<i>
+</I>&gt;<i> Their pam package has a /etc/security/limits.d/90-nproc.conf file that has:
+</I>&gt;<i> # Default limit for number of user's processes to prevent
+</I>&gt;<i> # accidental fork bombs.
+</I>&gt;<i> # See rhbz #432903 for reasoning.
+</I>&gt;<i>
+</I>&gt;<i> * soft nproc 1024
+</I>&gt;<i>
+</I>&gt;<i> 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
+</I>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?
+
+I added this exactly as Fedora has in pam-1.1.6-4.mga3. Let me know if it causes problems or doesn't work.
+
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="023405.html">[Mageia-dev] Freeze push: xfdesktop 4.10.2
+</A></li>
+ <LI>Next message: <A HREF="023406.html">[Mageia-dev] Freeze push Firebird
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#23400">[ date ]</a>
+ <a href="thread.html#23400">[ thread ]</a>
+ <a href="subject.html#23400">[ subject ]</a>
+ <a href="author.html#23400">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>