[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] exit operators: overall DNS failure rate above 5% - please check your DNS resolver



Thanks for confirmation!
That's what I was suspecting.

Tim Niemeyer:
> Moin
> 
> I just played a bit with the sources of this test system.
> 
> At first I didn't get it work, but then I changed the hard coded guard
> to one of my own and voila ..
> 
> 
> I picked an exit with an error rate of 100%:
> 0FF233C8D78A17B8DB7C8257D2E05CD5AA7C6B88
> 
> .. the test resultet in many many "SUCCEEDED".
> 
> 
> 
> --- %< ---
> 1/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615)]
> 2/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291)]
> 3/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336)]
> 4/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094)]
> 5/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422)]
> 6/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422), ('SUCCEEDED', '2019-07-05 23:29:45.690206', 0.7719564437866211)]
> 7/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422), ('SUCCEEDED', '2019-07-05 23:29:45.690206', 0.7719564437866211), ('SUCCEEDED', '2019-07-05 23:29:46.263253', 0.4417731761932373)]
> 8/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422), ('SUCCEEDED', '2019-07-05 23:29:45.690206', 0.7719564437866211), ('SUCCEEDED', '2019-07-05 23:29:46.263253', 0.4417731761932373), ('SUCCEEDED', '2019-07-05 23:29:47.031197', 0.5484879016876221)]
> 9/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422), ('SUCCEEDED', '2019-07-05 23:29:45.690206', 0.7719564437866211), ('SUCCEEDED', '2019-07-05 23:29:46.263253', 0.4417731761932373), ('SUCCEEDED', '2019-07-05 23:29:47.031197', 0.5484879016876221), ('SUCCEEDED', '2019-07-05 23:29:47.718230', 0.4196751117706299)]
> 10/10: 1/1 $D6D6B6614C9EF2DAD13AC0C94487AD8ED3B6877F : [('SUCCEEDED', '2019-07-05 23:29:41.927196', 0.5837132930755615), ('SUCCEEDED', '2019-07-05 23:29:42.613310', 0.4149782657623291), ('SUCCEEDED', '2019-07-05 23:29:43.313887', 0.40435171127319336), ('SUCCEEDED', '2019-07-05 23:29:43.914470', 0.3811912536621094), ('SUCCEEDED', '2019-07-05 23:29:44.609796', 0.5054607391357422), ('SUCCEEDED', '2019-07-05 23:29:45.690206', 0.7719564437866211), ('SUCCEEDED', '2019-07-05 23:29:46.263253', 0.4417731761932373), ('SUCCEEDED', '2019-07-05 23:29:47.031197', 0.5484879016876221), ('SUCCEEDED', '2019-07-05 23:29:47.718230', 0.4196751117706299), ('SUCCEEDED', '2019-07-05 23:29:48.309022', 0.44235873222351074)]
> --- >% ---
> 
> My Patch:
> --- %< ---
> diff --git a/relay_perf.py b/relay_perf.py
> index 52b5444..cb54371 100644
> --- a/relay_perf.py
> +++ b/relay_perf.py
> @@ -14,7 +14,7 @@ from twisted.web.client import readBody
>  
>  def write_json(filestem, data):
>      now = datetime.datetime.now().strftime("%Y%m%d_%H%M");
> -    print(data)
> +    #print(data)
>      jsonStr = json.dumps(data)
>      with open(filestem + "_" + now + ".json", "w") as f:
>          f.write(jsonStr)
> @@ -103,11 +103,14 @@ async def _main(reactor):
>      config.save()
>      routers = state.all_routers
>  
> -    guard1 = state.routers_by_hash["$F6740DEABFD5F62612FA025A5079EA72846B1F67"]
> +    guard1 = state.routers_by_hash["$9973E1E9730A58FDBA9E112D2B3342D2C0D921B5"]
>      exits = list(filter(lambda router: "exit" in router.flags, routers))
> +    exits = list(filter(lambda router: "0FF233C8D78A17B8DB7C8257D2E05CD5AA7C6B88" in router.unique_name, exits))
>      exit_results = await test_exits(reactor, state, socks, guard1, exits, 10)
>      exit_results["_relays"] = relay_data(True)
> -    write_json("../all_exit_results/exit_results", exit_results)
> +    write_json("exit_results.json", exit_results)
> +
> +    return
>  
>      exit_node = state.routers_by_hash["$1AE949967F82BBE7534A3D6BA77A7EBE1CED4369"]
>      relays = list(filter(lambda router: "exit" not in router.flags, routers))
> --- >% ---
> 
> Regrads..
> Tim
> 
> Am Freitag, den 28.06.2019, 20:16 +0000 schrieb nusenu:
>> Dear Exit relay operators,
>>
>> first of all thanks for running exit relays!
>>
>> One of the crucial service that you provide in addition to
>> forwarding 
>> TCP streams is DNS resolution for tor clients. 
>> Exit relays which fail to resolve hostnames
>> are barely useful for tor clients.
>>
>> We noticed that lately the failure rates did increase significantly
>> due to some major exit operators apparently having DNS issues and we
>> would like
>> to urge you to visit Arthur's "Tor Exit DNS Timeouts" 
>> page that shows you the DNS error rate for exit relays:
>>
>> https://arthuredelstein.net/exits/
>> (the page is usually updated once a day)
>>
>> Please consider checking your DNS if your exit relay consistently
>> shows a non zero 
>> timeout rate - and make sure you run an up to date tor version.
>>
>> If you are an exit operator but have no (or no working) ContactInfo,
>> please consider
>> updating that field in your torrc so we can reach you if something is
>> wrong
>> with your relay.
>>
>> kind regards
>> nusenu
>> _______________________________________________
>> tor-relays mailing list
>> tor-relays@xxxxxxxxxxxxxxxxxxxx
>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>>
>> _______________________________________________
>> tor-relays mailing list
>> tor-relays@xxxxxxxxxxxxxxxxxxxx
>> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays