Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-27-2007, 12:22 PM
|
#1
|
Member
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474
Rep:
|
fork bomb in SLES9
Hi,
On my SLES9 server I ran a fork bomb:
#!/bin/bash
$0 && $0
The system freezes in a few seconds although I modified ulimit for max process, max open files etc.
Any idea how can I avoid this destructive problem on suse linux enterprize server 9?
it seems that ulimit doesn't work.
I tried this on many other distribution (FC, Slack etc) and ulimit solve the problem but not in SLES9?
Any ideas?
Thanks
|
|
|
06-28-2007, 01:08 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
What's the difference between systems wrt kernel versions and ulimits?
|
|
|
06-29-2007, 12:19 AM
|
#3
|
Member
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474
Original Poster
Rep:
|
Hi,
I am very sorry but I don't really know what wrt is ...
|
|
|
06-29-2007, 01:24 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by ddaas
Hi,
I am very sorry but I don't really know what wrt is ...
|
It's a short way of saying with respect to.
|
|
|
06-29-2007, 11:34 AM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
Soz for the TLA's :-]
|
|
|
07-05-2007, 02:45 PM
|
#6
|
Member
Registered: Aug 2006
Posts: 74
Rep:
|
Quote:
Originally Posted by ddaas
Hi,
On my SLES9 server I ran a fork bomb:
#!/bin/bash
$0 && $0
The system freezes in a few seconds although I modified ulimit for max process, max open files etc.
Any idea how can I avoid this destructive problem on suse linux enterprize server 9?
it seems that ulimit doesn't work.
I tried this on many other distribution (FC, Slack etc) and ulimit solve the problem but not in SLES9?
Any ideas?
Thanks
|
Are you running this fork bomb as root or another user? I could understand it if it worked in a root shell.
However if it works in any user shell, it's a serious vulnerability. Root should be able to destroy the system... Some would consider root being able to do it a vulnerability. I say if someone gets root on your box, you are done for anyway ; ) Running this script is nothing compared to rm -rf /
I'd report it to Novell. If Novell does nothing with it within a few months, post it on bugtraq.
-Viz
|
|
|
07-06-2007, 12:29 AM
|
#7
|
Member
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474
Original Poster
Rep:
|
Hi there,
I run it as a normal user not root.
I've tested it on 4 or 5 systems with the same result.
No one there has SLES9 to try it out?
SLES9 is there for a long time and I dont't think that something like this could pass unnoticed.
SLES9 runs the default installation kernel (2.6.5.x).
Many thanks.
|
|
|
All times are GMT -5. The time now is 09:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|