If the mirror doesn't respond or doesn't have the updated trace file, don't list it.
Andrew Lewman

Andrew Lewman commited on 2009-03-02 03:50:39
Zeige 2 geänderte Dateien mit 78 Einfügungen und 78 Löschungen.

... ...
@@ -256,15 +256,15 @@
256 256
      
257 257
 <tr>
258 258
 
259
-         <td>CA</td>
259
+         <td></td>
260 260
 
261
-         <td>Depthstrike</td>
261
+         <td></td>
262 262
 
263
-         <td>Unknown</td>
263
+         <td></td>
264 264
 
265 265
     <td> - </td>
266
-    <td><a href="http://tor.depthstrike.com/dist/">http</a></td>
267
-    <td><a href="http://tor.depthstrike.com/">http</a></td>
266
+    <td> - </td>
267
+    <td> - </td>
268 268
     <td> - </td>
269 269
     <td> - </td>
270 270
     <td> - </td>
... ...
@@ -273,32 +273,32 @@
273 273
      
274 274
 <tr>
275 275
 
276
-         <td>NL</td>
276
+         <td></td>
277 277
 
278
-         <td>OS Mirror</td>
278
+         <td></td>
279 279
 
280
-         <td>Unknown</td>
280
+         <td></td>
281 281
 
282
-    <td><a href="ftp://ftp.osmirror.nl/pub/tor/">ftp</a></td>
283
-    <td><a href="http://tor.osmirror.nl/">http</a></td>
284 282
     <td> - </td>
285 283
     <td> - </td>
286 284
     <td> - </td>
287 285
     <td> - </td>
288
-    <td><a href="rsync://rsync.osmirror.nl::tor/">rsync</a></td>
286
+    <td> - </td>
287
+    <td> - </td>
288
+    <td> - </td>
289 289
 </tr>
290 290
      
291 291
 <tr>
292 292
 
293
-         <td>DK</td>
293
+         <td></td>
294 294
 
295
-         <td>Zentrum der Gesundheit</td>
295
+         <td></td>
296 296
 
297
-         <td>Unknown</td>
297
+         <td></td>
298 298
 
299 299
     <td> - </td>
300
-    <td><a href="http://tor.zdg-gmbh.eu/dist/">http</a></td>
301
-    <td><a href="http://tor.zdg-gmbh.eu/">http</a></td>
300
+    <td> - </td>
301
+    <td> - </td>
302 302
     <td> - </td>
303 303
     <td> - </td>
304 304
     <td> - </td>
... ...
@@ -307,14 +307,14 @@
307 307
      
308 308
 <tr>
309 309
 
310
-         <td>DE</td>
310
+         <td></td>
311 311
 
312
-         <td>Spline</td>
312
+         <td></td>
313 313
 
314
-         <td>Unknown</td>
314
+         <td></td>
315 315
 
316 316
     <td> - </td>
317
-    <td><a href="http://rem.spline.de/tor/">http</a></td>
317
+    <td> - </td>
318 318
     <td> - </td>
319 319
     <td> - </td>
320 320
     <td> - </td>
... ...
@@ -324,14 +324,14 @@
324 324
      
325 325
 <tr>
326 326
 
327
-         <td>AU</td>
327
+         <td></td>
328 328
 
329
-         <td>Wiretapped</td>
329
+         <td></td>
330 330
 
331
-         <td>Unknown</td>
331
+         <td></td>
332 332
 
333
-    <td><a href="ftp://ftp.mirrors.wiretapped.net/pub/security/cryptography/network/tor/">ftp</a></td>
334
-    <td><a href="http://www.mirrors.wiretapped.net/security/cryptography/network/tor/">http</a></td>
333
+    <td> - </td>
334
+    <td> - </td>
335 335
     <td> - </td>
336 336
     <td> - </td>
337 337
     <td> - </td>
... ...
@@ -341,14 +341,14 @@
341 341
      
342 342
 <tr>
343 343
 
344
-         <td>NO</td>
344
+         <td></td>
345 345
 
346
-         <td>Meulie</td>
346
+         <td></td>
347 347
 
348
-         <td>Unknown</td>
348
+         <td></td>
349 349
 
350 350
     <td> - </td>
351
-    <td><a href="http://tor.meulie.net/">http</a></td>
351
+    <td> - </td>
352 352
     <td> - </td>
353 353
     <td> - </td>
354 354
     <td> - </td>
... ...
@@ -358,15 +358,15 @@
358 358
      
359 359
 <tr>
360 360
 
361
-         <td>DE</td>
361
+         <td></td>
362 362
 
363
-         <td>Cybermirror</td>
363
+         <td></td>
364 364
 
365
-         <td>Unknown</td>
365
+         <td></td>
366 366
 
367 367
     <td> - </td>
368
-    <td><a href="http://tor.cybermirror.org/dist/">http</a></td>
369
-    <td><a href="http://tor.cybermirror.org/">http</a></td>
368
+    <td> - </td>
369
+    <td> - </td>
370 370
     <td> - </td>
371 371
     <td> - </td>
372 372
     <td> - </td>
... ...
@@ -375,15 +375,15 @@
375 375
      
376 376
 <tr>
377 377
 
378
-         <td>US</td>
378
+         <td></td>
379 379
 
380
-         <td>BJWOnline</td>
380
+         <td></td>
381 381
 
382
-         <td>Unknown</td>
382
+         <td></td>
383 383
 
384 384
     <td> - </td>
385
-    <td><a href="http://mirror.bjwonline.com/tor/dist/">http</a></td>
386
-    <td><a href="http://mirror.bjwonline.com/tor/">http</a></td>
385
+    <td> - </td>
386
+    <td> - </td>
387 387
     <td> - </td>
388 388
     <td> - </td>
389 389
     <td> - </td>
... ...
@@ -392,15 +392,15 @@
392 392
      
393 393
 <tr>
394 394
 
395
-         <td>CN</td>
395
+         <td></td>
396 396
 
397
-         <td>Unknown</td>
397
+         <td></td>
398 398
 
399
-         <td>Unknown</td>
399
+         <td></td>
400 400
 
401 401
     <td> - </td>
402
-    <td><a href="http://free.be.ijing2008.cn/tor/dist/">http</a></td>
403
-    <td><a href="http://free.be.ijing2008.cn/tor/">http</a></td>
402
+    <td> - </td>
403
+    <td> - </td>
404 404
     <td> - </td>
405 405
     <td> - </td>
406 406
     <td> - </td>
... ...
@@ -409,14 +409,14 @@
409 409
      
410 410
 <tr>
411 411
 
412
-         <td>NL</td>
412
+         <td></td>
413 413
 
414
-         <td>BIT BV</td>
414
+         <td></td>
415 415
 
416
-         <td>Unknown</td>
416
+         <td></td>
417 417
 
418
-    <td><a href="ftp://ftp.bit.nl/mirror/tor/">ftp</a></td>
419
-    <td><a href="http://ftp.bit.nl/mirror/tor/">http</a></td>
418
+    <td> - </td>
419
+    <td> - </td>
420 420
     <td> - </td>
421 421
     <td> - </td>
422 422
     <td> - </td>
... ...
@@ -426,14 +426,14 @@
426 426
      
427 427
 <tr>
428 428
 
429
-         <td>UK</td>
429
+         <td></td>
430 430
 
431
-         <td>Ghirai</td>
431
+         <td></td>
432 432
 
433
-         <td>Unknown</td>
433
+         <td></td>
434 434
 
435 435
     <td> - </td>
436
-    <td><a href="http://www.ghirai.com/tor/">http</a></td>
436
+    <td> - </td>
437 437
     <td> - </td>
438 438
     <td> - </td>
439 439
     <td> - </td>
... ...
@@ -443,15 +443,15 @@
443 443
      
444 444
 <tr>
445 445
 
446
-         <td>UA</td>
446
+         <td></td>
447 447
 
448
-         <td>Technica-03</td>
448
+         <td></td>
449 449
 
450
-         <td>Unknown</td>
450
+         <td></td>
451 451
 
452 452
     <td> - </td>
453
-    <td><a href="http://tordistua.reactor-xg.kiev.ua">http</a></td>
454
-    <td><a href="http://torua.reactor-xg.kiev.ua/">http</a></td>
453
+    <td> - </td>
454
+    <td> - </td>
455 455
     <td> - </td>
456 456
     <td> - </td>
457 457
     <td> - </td>
... ...
@@ -460,49 +460,49 @@
460 460
      
461 461
 <tr>
462 462
 
463
-         <td>FR</td>
463
+         <td></td>
464 464
 
465
-         <td>CRAN</td>
465
+         <td></td>
466 466
 
467
-         <td>Unknown</td>
467
+         <td></td>
468 468
 
469
-    <td><a href="ftp://miroir-francais.fr/pub/tor/">ftp</a></td>
470
-    <td><a href="http://tor.miroir-francais.fr/">http</a></td>
471 469
     <td> - </td>
472 470
     <td> - </td>
473 471
     <td> - </td>
474 472
     <td> - </td>
475
-    <td><a href="rsync://miroir-francais.fr::tor">rsync</a></td>
473
+    <td> - </td>
474
+    <td> - </td>
475
+    <td> - </td>
476 476
 </tr>
477 477
      
478 478
 <tr>
479 479
 
480
-         <td>AT</td>
480
+         <td></td>
481 481
 
482
-         <td>Cypherpunks</td>
482
+         <td></td>
483 483
 
484
-         <td>Unknown</td>
484
+         <td></td>
485 485
 
486 486
     <td> - </td>
487
-    <td><a href="http://tor.cypherpunks.at/dist/">http</a></td>
488
-    <td><a href="http://tor.cypherpunks.at/">http</a></td>
489 487
     <td> - </td>
490 488
     <td> - </td>
491 489
     <td> - </td>
492
-    <td><a href="rsync://tor.cypherpunks.at/tor">rsync</a></td>
490
+    <td> - </td>
491
+    <td> - </td>
492
+    <td> - </td>
493 493
 </tr>
494 494
      
495 495
 <tr>
496 496
 
497
-         <td>DE</td>
497
+         <td></td>
498 498
 
499
-         <td>Berapla</td>
499
+         <td></td>
500 500
 
501
-         <td>Unknown</td>
501
+         <td></td>
502 502
 
503 503
     <td> - </td>
504
-    <td><a href="http://download.berapla.de/mirrors/tor/dist/">http</a></td>
505
-    <td><a href="http://download.berapla.de/mirrors/tor/">http</a></td>
504
+    <td> - </td>
505
+    <td> - </td>
506 506
     <td> - </td>
507 507
     <td> - </td>
508 508
     <td> - </td>
... ...
@@ -16,7 +16,7 @@ use Date::Format;
16 16
 print "Creating LWP agent ($LWP::VERSION)...\n";
17 17
 my $lua = LWP::UserAgent->new(
18 18
     keep_alive => 1,
19
-    timeout => 15,
19
+    timeout => 30,
20 20
     agent => "Tor MirrorCheck Agent"
21 21
 );
22 22
 
... ...
@@ -666,8 +666,8 @@ foreach my $server ( sort { $m{$b}{'updateDate'} <=> $m{$a}{'updateDate'}} keys
666 666
      if( "$m{$server}{'updateDate'}" ne "Unknown") {
667 667
         $time = ctime($m{$server}{'updateDate'});
668 668
         chomp($time);
669
-     } else { $time = "Unknown"; }
670
-
669
+     } else { delete $m{$server}; }
670
+# } else { $time = "Unknown"; }
671 671
 print OUT <<"END";
672 672
      \n<tr>\n
673 673
          <td>$m{$server}{'isoCC'}</td>\n
674 674