Javier, > in that case, you will need to setuid root nmap or have some kind of sudo > configured so the apache user can execute it as root.
I do not want to require users to change nmap suid. I think it is a /bad/ idea ... > But I've to warn you that UDP port scanning is really slow and could bring > false positives. Thanks, it is for DNS scanning the code from PEAR generate error when it can not connect, so this is visible on the interface, so I must only perform queries when I am already sure there is a port 53 UDP running. I could assume that any DNS running on UDP will have the TCP service running as well but in many case bad sysadmin block the TCP port as they are not even aware that it is used when DNS request are too big for UDP packet. I think I will have to write my own UDP port check function. Thanks Thomas > Javier > > On Tuesday 13 April 2004 13:11, Thomas Mangin wrote: > > Javier, > > > > How should one code in a discovery script a "nmap -sU -p<number>" which > > can not be done in jff as it requires to be root. > > > > Should such a test go under the new shared section ? > > > > Just to know so you do not have to rewrite my code when I submit ;-) > > > > Thomas > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > jffnms-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jffnms-users > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jffnms-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jffnms-users -- Thomas Mangin [EMAIL PROTECTED] Technical Director/Exa Networks [EMAIL PROTECTED] Phone: +44 (0)1 422 350 555 0845 145 1234 Fax: +44 (0)1 422 350 888 www.exa-networks.co.uk
signature.asc
Description: This is a digitally signed message part
