
Hi to all! I'm running a non-exit relay and I'd like to configure it to run *only* as a middle relay. Do you know which conf should I add on my torrc file?

Marcel Krzystek:
Add the following to your .torrc file:
ExitPolicy reject *:*
It's non-exit, not a "middle-only" relay. Jim probably doesn't want to become a Guard. I'm not aware of such option. btw, we've recently discussed in #19625 [1] possibility of setting "peering policy". If this would be implemented one can restrict connections only to relays in consensus (but not bridges?). [1] https://trac.torproject.org/projects/tor/ticket/19625 -- Ivan Markin

jensm1:
I am curious about possible reasons, why one wouldn't want to become guard. Are there any risks or disadvantages that come with the guard flag?
Probably because having clients connecting directly to this relay is not OK. E.g. some hostile ISP/upstream so one may decide not to endanger users by running a Guard relay there. Just a guess. -- Ivan Markin

On 9/16/2016 5:11 PM, jensm1 wrote:
I am curious about possible reasons, why one wouldn't want to become guard. Are there any risks or disadvantages that come with the guard flag?
For me it wouldn't make any difference. I just noticed that my relay never got the guard flag and I am assuming that the reason is the bandwidth limitation. ~Andrea

ExitRelay 0 and/or ExitPolicy reject *:* to prevent being an exit. I don't know that you can prevent yourself from getting the Guard flag and being a guard. https://www.torproject.org/docs/tor-manual.html.en https://www.torproject.org/docs/tor-relay-debian.html.en Matt On 9/16/16 10:22, Jim Electro House wrote:

It takes time to get the guard flag. See the relay life cycle for more details: https://blog.torproject.org/blog/lifecycle-of-a-new-relay On Sep 16, 2016 9:29 AM, "Jim Electro House" <torelectrohouse@gmail.com> wrote:

On 9/16/2016 4:22 PM, Jim Electro House wrote:
My relay never got the guard flag. Usually fast relays only get that flag. I donate a part of my internet connection to tor but not much. This seems to be the solution why mine never became a guard. If you are limiting the bandwidth it should never get the guard flag. ~Andrea

On 20.09.2016 13:15, Jim Electro House wrote:
So it is only a matter of speed?
If you have 1 Gbit/s bandwidth on offer but configure Tor accounting to only let 100 MB of data pass per day, I doubt your relay will receive a guard flag, no matter the "speed". The same goes for relays that are only available every fortnight, as stability is likely an issue. -Ralph
participants (8)
-
Andrea
-
Ivan Markin
-
jensm1
-
Jim Electro House
-
Marcel Krzystek
-
Matt Traudt
-
Ralph Seichter
-
Tristan