[Snort-users] Execute snort daemon from website

Max Valdez maxvalde at ...11353...
Fri Jul 23 11:18:15 EDT 2004


You would have to demomize it at least, if not, the script would run forever.

If you want to get data out of snort directly from PHP the i think you havent 
saw all the implications.

First, you need to run snort as root to get interfase promiscuity. After that, 
you can guess all the resting problems

Max

On Friday 23 July 2004 02:17, M. Salman Farisi wrote:
> Hello all,
> can we execute snort daemon from website using PHP ?
> I try this script in my server and browse it in internet explorer
> but it gave me blank page
> Here is the syntax :
> <?
> $cmd = "/usr/local/bin/snort -c /etc/snort/snort.conf";
> exec($cmd);
> ?>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Snort-users mailing list
> Snort-users at lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.php3?list=snort-users

-- 
Linux garaged 2.6.7-rc3-mm2 #2 Sat Jun 19 15:43:32 CDT 2004 i686 Intel(R) 
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/S d- s: a-29 C++(+++) ULAHI+++ P+ L++>+++ E--- W++ N* o-- K- w++++ O- M-- 
V-- PS+ PE Y-- PGP++ t- 5- X+ R tv++ b+ DI+++ D- G++ e++ h+ r+ z**
------END GEEK CODE BLOCK------
gpg-key: http://garaged.homeip.net/gpg-key.txt




More information about the Snort-users mailing list