[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6498 [Metrics Website]: new metrics graph showing number of 100mbit exits
#6498: new metrics graph showing number of 100mbit exits
-----------------------------+----------------------------------------------
Reporter: arma | Owner:
Type: project | Status: needs_revision
Priority: normal | Milestone:
Component: Metrics Website | Version:
Keywords: SponsorJ | Parent:
Points: | Actualpoints:
-----------------------------+----------------------------------------------
Comment(by karsten):
Replying to [comment:10 karsten]:
> - The `--amost-fast-exit-relay` option prints out relays almost failing
''both'' bandwidth requirements. It should instead print out relays
failing at least one requirement. Similarly, the port check should
exclude relays allowing all four ports, because those already meet the
port requirement instead of almost meeting them.
Maybe this comment was badly phrased. Let me try again:
We defined three requirements---two bandwidth requirements and one port
requirement---for relays to be considered "fast exits". We also relaxed
all three requirements and defined relays meeting those requirements, but
not the above requirements, as being "almost fast exits".
Your current code has two problems:
- It only considers a relay as almost fast if it meets the relaxed
bandwidth requirements but fails the original bandwidth requirements. In
numbers, 80 < rate < 95 and 2000 < advertised < 5000. If a relay has a
rate of 90 and advertises 6000, you wouldn't list it.
- Once you rewrite the bandwidth requirements, you'll also want to
rewrite the port requirement to check if all four ports are permitted. If
a relay has rate >= 95 and advertised >= 5000, and supports all four ports
(of which you only check two), you'd call it an almost fast exit, though
it's in fact a fast exit.
Hope that helps.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6498#comment:13>
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