Hey all!
According to Tor documentation, vanguards are chosen from relays that have the Fast and Stable flags. I understand that part.
My question is: does that mean an exit‑only relay with both Fast and Stable flags can technically be selected as an L2 vanguard?
If so, is there a way to calculate the probability of this happening? I’ve seen middle_probability in the Onionoo API, but I don’t know if that is meaningful here. Are vanguards even considered “middle position” relays for that purpose, “the HS REND circuits”? and if that’s true then looking at the middle_probability for evey exit-only relay it’s 0! so that means Vanguards(L2 & L3) cannot be exit-only relays?
I hope someone can answer my question
and I am sorry if my post has an issue with it, this is my first post here!
Why when I tried to trigger Vanguards so many times to change by restarting tor and connecting to my HS, every vanguard(L2) was never an Exit-only relay? , keep in mind I did it over 1000 times! either Guard or Middle-Only or none of those flags but never exit only? is it because even though it can technically be an exit-only but the probability of that is very low? and also why the middle_probability for exit-only relays is always 0 in Onionoo API?
I did a test and manually forced L2 with an exit relay (fast, stabile, not hsdir, on my choice) via HSLayer2Nodes in torrc and it worked fine. So technically it seems to work.