That sounds like a pretty extreme solution - basically anything that creates temporary files will choke unless you alter the code. No binary packages for you!
You're right that there's no easy way to change things in ntop, but it's not hard to fix -- 1. Put #define CONST_TEMP_DIR "xxx" in globals-defines.h 2. Find references to /tmp in the source 3. Change 'em to use that constant. 4. Send me the patch. -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Wendall Cada > Sent: Saturday, February 28, 2004 12:34 AM > To: [EMAIL PROTECTED] > Subject: [Ntop] /tmp dir > > > I have a very quick question: > > I mount my /tmp directory with noexec, nosuid, nodev and set as 0755 > root:root for secruity reasons. Largely due to several spammer exploits > that use /tmp for running mail daemons. I see that ntop's built in web > server uses /tmp for generating home_.html. I would like to change this > location to one that better suits my server security profile. Any > suggestions would be appreciated, as there is no CL switch or compile > option to set to change this location. > > Wendall > -- > "Only the ideas that we really live have any value." --Hermann Hesse > (Demian) > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
