Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: Nessusd fails to start with File size limit exceeded

Subject: Re: Nessusd fails to start with File size limit exceeded
Date: Mon, 21 Mar 2005 18:39:34 +0100
On Mon Mar 21 2005 at 17:43, Pete Duffin wrote:

Your file size should say unlimited, no?

On Linux, programs that want to create files bigger than 2 GB must set
the O_LARGEFILE flag when open() is called. I don't think that nessusd
does this (do we need huge logs, by the way?)
The limitation could be in the file system too. 

So, we could:
1. Add O_LARGEFILE if it is defined, but we might still hit a rlimit
or a FS limit (especially on systems where this flag is not available)
2. Rotate logs if they are bigger than a given size (e.g. 1 GB) when
we open them.

1 is cheap (#ifdef), but 2 is much better IMHO.
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>