[Snort-users] Snort Mysql DB query question.

Vjay LaRosa vjayl at ...3331...
Thu Oct 18 11:00:10 EDT 2001


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!


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20011018/b52842d4/attachment.html>

More information about the Snort-users mailing list