Changeset 30 for trunk/dnsbl/extract-data
- Timestamp:
- 01/25/11 17:10:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/extract-data
r21 r30 91 91 # put together an array of netblocks we won't/can't list for various reasons 92 92 my @dontlistme = ( 93 # Hotmail/Windows Live Mail93 # Microsoft/Hotmail/Windows Live Mail 94 94 #IP-Network 207.68.128.0/18 95 95 #IP-Network 207.68.192.0/20 … … 97 97 NetAddr::IP->new("65.52.0.0/14"), 98 98 NetAddr::IP->new("207.68.176.96/27"), 99 #IP-Network 157.54.0.0/15 100 #IP-Network 157.56.0.0/14 101 #IP-Network 157.60.0.0/16 102 NetAddr::IP->new("157.55.0.192/27"), 103 NetAddr::IP->new("157.55.0.225"), 104 NetAddr::IP->new("157.55.0.226"), 105 #IP-Network 207.46.0.0/16 106 NetAddr::IP->new("207.46.66.0/28"), 99 107 100 108 # AOL - note only some IPs show mail-ish rDNS 101 109 #IP-Network 205.188.0.0/16 102 110 #IP-Network 64.12.0.0/16 103 NetAddr::IP->new("205.188.91.96/29"),104 NetAddr::IP->new("205.188.105.143"),105 NetAddr::IP->new("205.188.105.144/30"),106 NetAddr::IP->new("205.188.169.196/29"),107 NetAddr::IP->new("205.188.249.128/29"),108 NetAddr::IP->new("205.188.249.64/29"),109 111 NetAddr::IP->new("64.12.78.136/30"), 110 112 NetAddr::IP->new("64.12.78.142"), 113 NetAddr::IP->new("64.12.100.31"), 111 114 NetAddr::IP->new("64.12.143.144/30"), 112 115 NetAddr::IP->new("64.12.143.152/30"), … … 119 122 NetAddr::IP->new("64.12.207.176/29"), 120 123 #IP-Network 205.188.0.0/16 124 NetAddr::IP->new("205.188.91.94/31"), 125 NetAddr::IP->new("205.188.91.96/31"), 126 NetAddr::IP->new("205.188.105.143"), 127 NetAddr::IP->new("205.188.105.144/30"), 128 NetAddr::IP->new("205.188.169.196/29"), 129 NetAddr::IP->new("205.188.249.128/29"), 130 NetAddr::IP->new("205.188.249.64/29"), 121 131 NetAddr::IP->new("205.188.169.200/23"), 122 132 … … 158 168 #route: 116.214.0.0/20 159 169 NetAddr::IP->new("116.214.12.0/24"), 170 NetAddr::IP->new("202.86.4.0/22"), 171 NetAddr::IP->new("77.238.188/23"), 172 NetAddr::IP->new("217.146.182.0/23"), 173 NetAddr::IP->new("114.111.64.0/18"), 174 NetAddr::IP->new("115.178.12.0/23"), 175 NetAddr::IP->new("121.101.151.212"), 176 #inetnum: 121.101.144.0 - 121.101.159.255 177 NetAddr::IP->new("121.101.144.0/20"), 178 NetAddr::IP->new("66.94.224.0/19"), 179 NetAddr::IP->new("203.104.16.0/21"), 160 180 161 181 # MessageLabs - may add these to trusted_networks instead … … 163 183 # observed: .35, .51 164 184 NetAddr::IP->new("194.106.220.0/23"), 185 NetAddr::IP->new("193.109.254.0/23"), 186 NetAddr::IP->new("119.161.0.0/19"), 187 # buh? rDNS says Yahoo, but... 188 #inetnum: 203.209.224.0 - 203.209.255.255 189 #descr: Alibaba (Beijing) Technology Co., Ltd. 190 NetAddr::IP->new("203.209.230.22"), 165 191 166 192 # Bell Canada - note only some IPs show mail-ish rDNS … … 200 226 #IP-Network 24.222.0.0/16 201 227 NetAddr::IP->new("24.222.0.30"), 202 NetAddr::IP->new("24.224.136. 8/30"),228 NetAddr::IP->new("24.224.136.0/27"), 203 229 204 230 # Cogeco - only a few IPs observed with mail-ish rDNS 205 231 #IP-Network 216.221.64.0/19 206 232 NetAddr::IP->new("216.221.81.192"), 233 NetAddr::IP->new("216.221.81.25"), 207 234 NetAddr::IP->new("216.221.81.28/30"), 208 235 NetAddr::IP->new("216.221.81.96/30"), … … 223 250 #inetnum: 61.9.128.0 - 61.9.255.255 224 251 # may miss one or two 252 # .168.135-152 225 253 NetAddr::IP->new("61.9.168.136/29"), 226 254 NetAddr::IP->new("61.9.168.144/29"), 255 # .189.132-152 256 NetAddr::IP->new("61.9.189.132/30"), 257 NetAddr::IP->new("61.9.189.136/29"), 258 NetAddr::IP->new("61.9.189.144/29"), 259 # "TelestraClear" - related to above? 260 #inetnum: 203.97.0.0 - 203.97.127.255 261 NetAddr::IP->new("203.97.33.64"), 262 NetAddr::IP->new("203.97.33.68"), 263 NetAddr::IP->new("203.97.37.64"), 264 265 # Earthlink 266 #IP-Network 207.69.0.0/16 267 NetAddr::IP->new("207.69.200.28"), 268 269 # Sprint 270 #IP-Network 68.24.0.0/13 271 # actually their PCS mail relay, so sez rDNS 272 NetAddr::IP->new("68.28.27.84"), 273 274 # Vodafone (New Zealand) 275 # inetnum: 203.109.128.0 - 203.109.159.255 276 NetAddr::IP->new("203.109.136/28"), 227 277 228 278 ## Edumactional places … … 242 292 # University of Florida 243 293 #IP-Network 128.227.0.0/16 294 NetAddr::IP->new("128.227.74.70"), 244 295 NetAddr::IP->new("128.227.74.149"), 245 296 NetAddr::IP->new("128.227.74.165"), … … 290 341 #IP-Network 199.111.64.0/19 291 342 NetAddr::IP->new("199.111.84.18"), 343 344 #inetnum: 130.95.0.0 - 130.95.255.255 345 #address: The University of Western Australia 346 NetAddr::IP->new("130.95.3.211"), 347 348 #inetnum: 130.56.0.0 - 130.56.255.255 349 #address: IIS, Australian National University 350 NetAddr::IP->new("130.56.64.134"), 351 352 #IP-Network 129.81.0.0/16 353 #Org-Name Tulane University 354 NetAddr::IP->new("129.81.224.84"), 292 355 293 356 # List servers … … 310 373 #IP-Network 72.167.0.0/16 311 374 NetAddr::IP->new("72.167.82.80/29"), 375 NetAddr::IP->new("72.167.82.90"), 312 376 #IP-Network 173.201.0.0/16 313 377 NetAddr::IP->new("173.201.192.0/24"), 378 379 # EmailBrain - note no actual netblocks of their own. :( 380 NetAddr::IP->new("66.100.171.162"), 381 #163.171.100.66.in-addr.arpa domain name pointer eb08.ebhost9.com. 382 #164.171.100.66.in-addr.arpa domain name pointer a.eb08.ebhost9.com. 383 #165.171.100.66.in-addr.arpa domain name pointer b.eb08.ebhost9.com. 384 #166.171.100.66.in-addr.arpa domain name pointer c.eb08.ebhost9.com. 385 386 387 # eBay/PayPal 388 NetAddr::IP->new("66.211.160.0/19"), 389 390 # Misc legit 391 # Texas Instruments 392 #IP-Network 192.94.94.0/24 393 NetAddr::IP->new("192.94.94.40"), 314 394 315 395 ); # done def for @dontlistme … … 404 484 } 405 485 foreach my $uri (sort keys %urilist) { 406 my @hout = qx { host '$uri.multi.uribl.com'; host '$uri. uribl.company.com' };486 my @hout = qx { host '$uri.multi.uribl.com'; host '$uri.company.dnsbl.' }; 407 487 if ($hout[0] =~ /NXDOMAIN/ && $hout[1] =~ /NXDOMAIN/) { 408 488 if ($opts{u}) {
Note:
See TracChangeset
for help on using the changeset viewer.