[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-relays] Fwd: Throughput of each circuit
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-relays] Fwd: Throughput of each circuit
- From: Matt Traudt <pastly@xxxxxxxxxxxxxx>
- Date: Tue, 4 Dec 2018 17:26:31 -0500
- Autocrypt: addr=pastly@xxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsFNBFYSsCYBEACtCAyNCpmHR4A3L4AWF9UbhZDu76D3LxZHSuPkCWOI++7Lm1SZ0QTuDsd0 ncp6qmzx56wbL9rmRwgNHFCPxlEv1zHmGDoGS/h1CVLsOXpEKqmyyCysYygp+Fc6N5aXIlCm lBj4xEnjz3aSdA0T6RAUOJRLDvmH0hs3guPsJ5Ic12+WekkgqXrNPKoI8PEa1MVFB8RT/49+ SZp28zTk951LXFy2Gte+r/FmNIoKCgMvyBJ5y+vRDIERZhA3S/U9w66zflpBhSRco9VG2fZX Pe2Y5OiC9sLJoHHce7QLIsMbepzGDWIDyIkveMDHPByJL2i3+ajQvv4mRl/WFOUXQJ+HgtA4 o7ul8KSPghmkXJBPTc1nb4U6yPE+cJgx1PhAkc6pcHOo3bf9tnozr4IdkiG/1bvInLqTqm30 nJOloNLVLt6WhhWEt9tUJrcXMSZwhuABgxzz+HvvE19XFzvCCm9xU0dh2kgQ2PAnmK8QsH4b h2M9bkH+WEgMZdh4tNcJdj4UtH/OL8R22+E198lq4C9SMj5DEocllshIVpXRJb2wz91rgP+t dYfjGV/nlnQDKCK1S/+rjSnu4Li3dzTrcNS2rewlVuyUeM5gCnmp6vVZh9xiF/HvYPhKr68J heuo7mq9EJeeuMOcedf5d/zC5fNcdmalYbM8Ow5BT0ZLveIzuQARAQABzR1NYXR0IFRyYXVk dCA8c2lybWF0dEBrc3UuZWR1PsLBmAQTAQIAQgIbAwUJCWYBgAYLCQgHAwIGFQgCCQoLBBYC AwECHgECF4AWIQS34QX8Tm2Td/icukyDvKlS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MKjw1sOAV9CFxHA==
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Tue, 04 Dec 2018 17:26:46 -0500
- In-reply-to: <CABLm-uf6fTtAHxa+S1TrK_eq_S3Fi3ZBBnSpkaCsimytQs3Tew@mail.gmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-relays/>
- List-help: <mailto:tor-relays-request@lists.torproject.org?subject=help>
- List-id: "support and questions about running Tor relays \(exit, non-exit, bridge\)" <tor-relays.lists.torproject.org>
- List-post: <mailto:tor-relays@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-relays>, <mailto:tor-relays-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <CABLm-udNqVRfbi_zW8itqbQZB0KL=ACrpsLVQS9pjnx4gFqp2Q@mail.gmail.com> <CABLm-uf6fTtAHxa+S1TrK_eq_S3Fi3ZBBnSpkaCsimytQs3Tew@mail.gmail.com>
- Reply-to: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-relays" <tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx>
On 12/4/18 4:48 PM, marziyeh latifi wrote:
>
> Hello,I have two questions about tor's relay:
> 1-How can I calculate the throughput of each circuit in a relay?I mean
> that how can I calculate the number of cells that are sent from circuit
> queue to the output buffer per second in each relay?
You might be able to with the CIRC_BW control command.
https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n2988
(I'm not sure if this is a client-only command or if relays can use it
for circuits that go through them)
If not, I don't think you can without modifying Tor's source code.
> 2-What is the difference between circuit and channel in relays?
> I'm looking forward to hearing from you!
> thanks!
Channels are a thin wrapper around connections (which themselves are a
nice wrapper around TCP sockets) in Tor's source code.
There can be many circuits on a channel.
Matt
PS: this question makes more sense for tor-dev@
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays