- Timestamp:
- 10/02/09 11:22:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/extract-data
r2 r8 206 206 207 207 # Yahoo! may ... yadda yadda yadda (geeze they've got a whack of netblocks for mail...) 208 #IP-Network 98.136.0.0/14 209 #IP-Network-Block 098.136.000.000 - 098.139.255.255 210 #Org-Name Yahoo! Inc. 208 #IP-Network 98.136.0.0/14 211 209 my $yahoo1 = new NetAddr::IP "98.136.0.0/14"; 212 210 next if $relayip->within($yahoo1); 213 #IP-Network 66.196.64.0/18 214 #IP-Network-Block 066.196.064.000 - 066.196.127.255 215 #Org-Name Inktomi Corporation 216 # Inktomi ~~ Yahoo! 211 #IP-Network 66.196.64.0/18 212 #Org-Name Inktomi Corporation 213 # Inktomi ~~ Yahoo! 217 214 my $yahoo2 = new NetAddr::IP "66.196.64.0/18"; 218 215 next if $relayip->within($yahoo2); 219 #IP-Network 67.195.0.0/16 220 #IP-Network-Block 067.195.000.000 - 067.195.255.255 221 #Org-Name Yahoo! Inc. 216 #IP-Network 67.195.0.0/16 222 217 my $yahoo3 = new NetAddr::IP "67.195.0.0/16"; 223 218 next if $relayip->within($yahoo3); 224 #IP-Network 69.147.64.0/18 225 #IP-Network-Block 069.147.064.000 - 069.147.127.255 226 #Org-Name Yahoo! Inc. 219 #IP-Network 69.147.64.0/18 227 220 my $yahoo4 = new NetAddr::IP "69.147.64.0/18"; 228 221 next if $relayip->within($yahoo4); 229 #IP-Network 206.190.32.0/19 230 #IP-Network-Block 206.190.032.000 - 206.190.063.255 231 #Org-Name Yahoo! Broadcast Services, Inc. 222 #IP-Network 206.190.32.0/19 223 #Org-Name Yahoo! Broadcast Services, Inc. 232 224 my $yahoo5 = new NetAddr::IP "206.190.32.0/18"; 233 225 next if $relayip->within($yahoo5); 234 #IP-Network 68.142.192.0/18 235 #IP-Network-Block 068.142.192.000 - 068.142.255.255 236 #Org-Name Inktomi Corporation 226 #IP-Network 68.142.192.0/18 227 #Org-Name Inktomi Corporation 237 228 my $yahoo6 = new NetAddr::IP "68.142.192.0/18"; 238 229 next if $relayip->within($yahoo6); 239 #IP-Network 216.252.96.0/19 240 #IP-Network-Block 216.252.096.000 - 216.252.127.255 241 #Org-Name Yahoo! Inc. 230 #IP-Network 216.252.96.0/19 242 231 my $yahoo7 = new NetAddr::IP "216.252.96.0/19"; 243 232 next if $relayip->within($yahoo7); 244 #inetnum: 124.83.128.0 - 124.83.255.255 245 #descr: Yahoo! Japan 233 #inetnum: 124.83.128.0 - 124.83.255.255 246 234 my $yahoo8 = new NetAddr::IP "124.83.128.0/17"; 247 235 next if $relayip->within($yahoo8); 236 #inetnum: 217.146.184.0 - 217.146.191.47 237 my $yahoo9 = new NetAddr::IP "217.146.184.0/21"; 238 next if $relayip->within($yahoo9); 239 #inetnum: 124.108.96.0 - 124.108.111.255 240 my $yahoo10 = new NetAddr::IP "124.108.96.0/20"; 241 next if $relayip->within($yahoo10); 242 #IP-Network 76.13.0.0/16 243 my $yahoo11 = new NetAddr::IP "76.13.0.0/16"; 244 next if $relayip->within($yahoo11); 245 #IP-Network 68.180.128.0/17 246 my $yahoo12 = new NetAddr::IP "68.180.128.0/17"; 247 next if $relayip->within($yahoo12); 248 #IP-Network 209.191.64.0/18 249 my $yahoo13 = new NetAddr::IP "209.191.64.0/18"; 250 next if $relayip->within($yahoo13); 248 251 249 252 # and the same goes for Bell Canada. *le sigh* … … 294 297 } 295 298 foreach my $uri (sort keys %urilist) { 296 if ($opts{u}) {297 my @hout = qx { host $uri.multi.uribl.com; host $uri.uribl.company.com };298 if ($ hout[0] =~ /NXDOMAIN/ && $hout[1] =~ /NXDOMAIN/) {299 my @hout = qx { host $uri.multi.uribl.com; host $uri.uribl.company.com }; 300 if ($hout[0] =~ /NXDOMAIN/ && $hout[1] =~ /NXDOMAIN/) { 301 if ($opts{u}) { 299 302 print "+$uri.uribl.company.com:127.0.0.2:900:::\n"; 303 } else { 304 # URI plus count 305 print "$uri\t$urilist{$uri}\n"; 300 306 } 301 } else {302 # URI plus count303 print "$uri: $urilist{$uri}\n";304 307 } 305 308 }
Note:
See TracChangeset
for help on using the changeset viewer.