Alex skrev den 2013-06-10 22:40:
How do you calculate the netblock, or do you just block the specific
IP or the whole class C?
whois <ip>
shorewall iprange <netrange-start>-<netrange-end>
then shorewall show cidr results
i dont know how to make it without shorewall :)
# shorewall iprange 127.0.1.0-127.1.255.255
127.0.1.0/24
127.0.2.0/23
127.0.4.0/22
127.0.8.0/21
127.0.16.0/20
127.0.32.0/19
127.0.64.0/18
127.0.128.0/17
127.1.0.0/16
if one check spf on microsoft.com its seems thay dont use shorewall :)
--
senders that put my email into body content will deliver it to my own
trashcan, so if you like to get reply, dont do it