[tor-bugs] #33880 [Core Tor/Tor]: Confusing "Your relay has a very large number of connections to other relays" relay message

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 14 11:51:58 UTC 2020


#33880: Confusing "Your relay has a very large number of connections to other
relays" relay message
--------------------------+-------------------------------
 Reporter:  arma          |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #24841        |         Points:
 Reviewer:                |        Sponsor:  Sponsor55-can
--------------------------+-------------------------------
Changes (by teor):

 * sponsor:   => Sponsor55-can


Comment:

 Replying to [comment:7 rany]:
 > Another solution maybe to not count directory authorities in this check.

 I don't think it matters exactly how we do that. I have a slight
 preference for doing all these things:
 (A1) Log at info level, until we reach MIN_RELAY_CONNECTIONS_TO_WARN.
 (A2) Ask operators to report at warn level, but ignore at info level.
 (B1) Change MIN_RELAY_CONNECTIONS_TO_WARN to be at least 2*9, let's say
 50.
 (B2) Also warn if any relay has more than 4 connections (that is, more
 than 2 sides multiplied by 2 IP addresses, if there is disagreement over
 canonical connections).
 (C) Ignore 2 connections to directory authorities, and 1 connection to
 other relays.

 I think we should backport A1 and A2. We should also backport at least one
 of B1 or C.

 (Note that in #33048, relays start making IPv4 and IPv6 connections to
 other relays. So we might want to always ignore 2 connections to each
 relay. We may also need to backport that change.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33880#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list