Wednesday, August 6, 2008

Exchange2007:RBL configuration

I don't get the following settings.

Match to specific mask and responses.
What is the mask? What is the response?

Examples of return status code:

127.0.0.1 – Blocklist
127.0.0.2 – Known Open Relay
127.0.0.4 – DialUp IP Address

Mask for matching:

Binary for last byte of IP version 4

0000 0001 – Blocklist --127.0.0.1,127.1.0.1,etc.
0000 0010 – Open Relay --127.0.0.2, 127.1.0.2, etc
0000 0011 – Open relay or Blocklist --127.0.0.1,127.0.0.2,127.1.0.1,127.1.0.2, etc
0000 0100 – Dialup host --127.0.0.4,127.1.0.4,etc
0000 0101 – Dialup or Blocklist --127.0.0.1,127.0.0.4,127.1.0.1,127.1.0.4,etc
0000 0110 – Dialup or Openrelay
0000 0111 – Dialup, Openrelay, or Blocklist

Get-IPBlockListProvider example3 [pipe line] fl bitmaskMatch,IPAddressesMatch

BitmaskMatch : 0.0.0.2
IPAddressesMatch : {127.0.0.5, 127.0.0.4, 127.0.0.3}