[Bug 236926] Re: Prevent Ubuntu against simple DoS attack
Dieterle
cyberarms at live.com
Thu Nov 29 12:42:19 UTC 2012
Still works in 12.04, seems like making some sort of default limit would
be a good idea maybe?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/236926
Title:
Prevent Ubuntu against simple DoS attack
Status in “pam” package in Ubuntu:
Invalid
Bug description:
It's very easy freeze whole system using a fork bomb like:
:(){ :|:& };:
Solution is adding the line
* hard nproc 512
to /etc/security/limits.conf
This should limit all users to 512 process that is more than enough for normal work.
MacOS X has similiar limitation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/236926/+subscriptions
More information about the foundations-bugs
mailing list