rblcheck: A command-line interface to RBL-style listings | ||
---|---|---|
<<< Previous | Next >>> |
The program has several command line options:
-q | Be quiet about whether the IP address was matched or not. Handy for automatic processing scripts which just check the return code of rblcheck. |
-t | Display, if available, a textual description of why the site was originally placed in a particular listing. |
-m | Stop checking listings after the first successful match of any IP address against any listing. |
-l | List the currently defined RBL listings. By default, rblcheck has no pre-defined listings; you can change this behavior by editing the file sites.h as described in the Chapter called Building. |
-c | Clear the list of defined RBL listings. This is handy if you don't want to use the default listings added by the installation of rblcheck on your system. |
-s <service> | Toggle a service in the list of defined RBL listings. |
-h , -? | Get help about rblcheck. |
-v | Display the version of rblcheck. |
You can check multiple addresses at once, to make life a little easier with scripts; just add additional addresses on the command line after all of the options. By specifying an address of "-", rblcheck will read from stdin and perform a lookup on every line of input (if it is a valid IP address).
<<< Previous | Home | Next >>> |
Note to distributors and packagers | Up | Return codes |