Snort mailing list archives

Re: IP address format in database


From: Wes Young <wcyoung () buffalo edu>
Date: Thu, 05 May 2005 08:27:57 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SELECT inet_ntoa(ip_src) FROM .....

nadias () iastate edu wrote:
Hello,

The snort database stores ip_src and ip_dst in iphdr table as a 10 digit 
integer. I want to diplay the ip address in my application in regular format 
e.g, 255.255.255.255. How to do that? I mean for example I have ip address in 
database like this 1157992819 and how should I convert it to regular format.

--Nadia




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Snort-users mailing list
Snort-users () 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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCehFN1M5o0FsrrbERArhWAJ92UBiB3T5FzGnDI1aqK9H2qfieZwCeN1HE
wQcB+rAEqNPwuq5I5RRIqcE=
=IiU0
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Snort-users mailing list
Snort-users () 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


Current thread: