SNFClient Command Line: Perform IP Testing
SNFClient.exe -test <IP4Address>
This mode retrieves GBUdb data about the IP address provided. <IP4Address> should be replaced with the IP you wish to test.
The result code returned indicates the GBUdb Range that best represents the IP's statistics. In general, a zero result code indicates that the IP is not associated with spam and a non-zero result code indicates that the IP is a spam source.
Important: Only the -test mode returns a GBUdb related result code. The other GBUdb functions in SNFClient will return a zero.
In addition to producing a numeric result code, this mode also produces a report (stdout) that describes the complete GBUdb record (if any) for the IP being tested. That report will look something like this:
>SNFClient.exe -test 12.34.56.78
GBUdb Record for 12.34.56.78
Type Flag: ugly
Bad Count: 9
Good Count: 0
Probability: 1
Confidence: 0.226425
Range: truncate
Code: 20
All GBUdb manipulation functions report the complete GBUdb record that resulted from the transaction.
Note that the above IP test returned result code 20 which is the default code associated with IPs that fall in the Truncate GBUdb range.
>echo %errorlevel%
20
The IP 12.34.56.78 was used in simulation for testing purposes only ;-)