[Snort-users] Rule management

Matthew York matthew.york at ...4186...
Wed Nov 28 06:12:04 EST 2001


Hello everyone,

I have installed snort with mysql support, I have PHP, and Apache running
fine, but for some reason I am getting these error messages when I access my
snort.php page.

---------------------------------------------------------------
Warning: Supplied argument is not a valid MySQL result resource in
/var/www/htdocs/snort.php on line 98

Warning: Supplied argument is not a valid MySQL result resource in
/var/www/htdocs/snort.php on line 99
---------------------------------------------------------------

Now I have taken a look at the "snort" dbase that I created with the "mysql
< /usr/local/snort/contrib/create_mysql" command, and it "appears" that
there is no tables for certain things that snort.php needs.  Such as....

$Selstr3="SELECT ip_src0,ip_src1,ip_src2,ip_src3 FROM iphdr GROUP BY
ip_src0,ip_src1,ip_src2,ip_src3";
$Selstr4="SELECT ip_dst0,ip_dst1,ip_dst2,ip_dst3 FROM iphdr GROUP BY
ip_dst0,ip_dst1,ip_dst2,ip_dst3";

I have left open my snort.php page to the outside world... for now. (hehe)

http://www.dsxnet.net/snort.php

Does anyone have any ideas what be the problem.  More then likely it i me.
:)

Thank you very much for you help.

Matthew York




More information about the Snort-users mailing list