Forum Discussion

Ian_Smith's avatar
Ian_Smith
Ret. Employee
Aug 23, 2006

curious results from md5

when I do this on 9.1.2 or 9.2.3:

 

 

when CLIENT_ACCEPTED {

 

set client [IP::client_addr]

 

set clienthash [md5 [IP::client_addr]]

 

log "the client is: $client the clienthash is: $clienthash "

 

}

 

 

 

I get log entries like this:

 

the client is: 10.10.91.1 the clienthash is: "ª¨4ÙÁWh²ÄÒ(·èr

 

 

but I expect that clienthash should be:

 

db6e0e56e15da22be2bae7fb51139b6e

 

 

Are my expectations wrong, or is something not working right?

 

 

12 Replies