-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 >> I would have a question regarding the bw-flags graphs on >> metrics.tpo [1] >> >> "guard bw history" a) Does this include the entire accumulated >> traffic of relays having the guard flag? (which would include the >> traffic of a guard relay acting as a middle or exit relay - if it >> also has the exit flag) >> >> or >> >> b) Does this only and exclusively include the entire accumulated >> traffic that *enters* the tor network via all guard relays? (to >> actually do that the traffic accounting on relays would have to >> do accounting accordingly on a per connection type level) > > a) is correct. >
Thanks for your answer. >> Which would bring me to the next question (which would be >> required to actually do the required accounting for (b)): Is a >> relay able to tell whether it is being used as first or second >> hop solely by looking at packets (not their source)? > > Looking at the packet source and comparing it to the list of known > relays would probably be the most reliable way for counting bytes > as first or second hop. But this is not implemented, and there are > plans to implement this, to the best of my knowledge. If relays are unable to tell in which position they are used, how does AllowSingleHopExits work? I guess by simple checking if the client IP matches an IP in the consensus? -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJT4Bg4AAoJEDcK3SCCSvoeH08P/1ZfKoyMkioKZa+I6faIGUwr L8uwAHdXDrtmAjCLadcrvZOxQRdbMvsmkqKFppecOBkwVcL2e/W8gVRicS31n5Uc 31NkA14PP4KmyQtNSlYSZnqo3cg9ijet7fd0kk1OZB3ambJKBQfMjLfS+XxpeUc9 lpNshnnk1d8Nbm7KGrolMbDl18eTxRyp4+o3kEYxflQbAmfxeuWW3UyHKvDwP26f ZFcTij7Tg7Q3l3E3w6EscKs34QJQ9qx2N2xbCoZUfRWI4qZFS1exTzFEz81JRbLO Pn0P9vpS2iQfkocdys3fRDIl0sYGrquPCqdSBuEQHrLqEabPbPEAIEJoXurlJdme Gyh70zDouXzeHEQwwU6yrKb/Yv9jPyjZaa+2s2dnkVC80Smi7FYcKRw43UFbD+w9 B8l5BDzJMdG2dGJAvov8YJBq7MgHBiMYCd4bp5k8aMeG3lk/zdT/NXftJJUn0zVM gwG+2R/kQbZZ+21stbtMmDxGFnRpuUFV4tUdA/00h+iIt/ejH3W2PTvlVJaPTQPf hZoKc75cPaEDISm0BfjucNDTmbD8rb5wdjJQSFRd4BK1aFqWSXRqEEzTbo+pN7Mi 62rhBuCXO1/whDJnr+gmAHUtljv/TGxLFptXjVUfk9Ofcisuw9FUu/jHXJV27JhO cfRbtmKzduXXJuCaQmMx =iUfE -----END PGP SIGNATURE----- -- tor-talk mailing list - tor-talk@lists.torproject.org To unsubscribe or change other settings go to https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk