[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1992 [Tor Relay]: relays resolve hostname every time they compute dir fetch schedule
#1992: relays resolve hostname every time they compute dir fetch schedule
-----------------------+----------------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
-----------------------+----------------------------------------------------
Comment(by arma):
Right now we call check_descriptor_ipaddress_changed() every 15 minutes.
We also re-guess our address every time we get a directory answer
(directory_info_has_arrived() calls directory_fetches_from_authorities()
and update_router_descriptor_downloads() -- so that's twice in that
function), and basically several times for each directory fetch as well.
In particular, update_router_descriptor_downloads() gets called every 60
seconds if we're lucky, and every 10 seconds while !
router_have_minimum_dir_info().
So I'd say if we crank CHECK_IPADDRESS_INTERVAL down to 60, and stop
calling resolve_my_address() except from that function, we'll be a lot
less spammy.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1992#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs