Convert IP Address format from ForeFront Firewall logs with SQL
Posted
by
TrevJen
on Server Fault
See other posts from Server Fault
or by TrevJen
Published on 2010-12-31T15:33:32Z
Indexed on
2010/12/31
16:55 UTC
Read the original article
Hit count: 284
I am trying to query IP addresses from Forefront Firewall logs, and I am a little stuck on the IP formatting
C0A8E008-FFFF-0000-0000-000000000000
Can anyone give me the MSSQL command to turn this into standard human redable?
UPDATE, I now see that I kust need to convert the first 8 charecters from hex to decimal....which I can then convert to IP. the trick is to parse those first charecters from the field with SQL
© Server Fault or respective owner