Snort mailing list archives

Snort Mysql DB query question.


From: Vjay LaRosa <vjayl () emc com>
Date: Thu, 18 Oct 2001 13:58:39 -0400

Hello,

Can some one explain to me how I can manually query the MySQL DB for an
IP address if it is stored as
an unsigned integer? I am trying to write a perl script to convert the
IP over so I can search the DB but I have
been unsuccesfull. Any help would be appreciated. Thanks!

vjl

BTW, this is the simple script I am trying to use.

#!/bin/perl --

$addr = "$ARGV[0]" ;

sprintf "The integer is %vd\n", $addr ;


--
 V.Jay LaRosa                           EMC Corporation
 Systems Administrator                  171 South Street
 (508)435-1000 ext 14957                Hopkinton, MA 01748
 (508)497-8082 fax                      www.emc.com



Current thread: