How to use a bridge configured with "ORport auto" within Tails?

The Tails installer asked me for the bridge line (a bridge maintained by myself), but didn't accepted the ":auto" behind the ip address. I do wonder how to proceed? -- Toralf PGP C4EACDDE 0076E94E

On 12/20/18 08:56, Toralf Förster wrote:
The Tails installer asked me for the bridge line (a bridge maintained by myself), but didn't accepted the ":auto" behind the ip address.
I do wonder how to proceed?
"ORPort auto" means let Tor pick. It picks at random (technically, I think it lets the kernel pick and the kernel picks at random, but the outcome is the same). So you need to check Tor's logs on the bridge to see what it picked. Asking Tor over its ControlPort is another option, albeit more advanced. Look in the logs. Matt

On 12/20/18 3:13 PM, Matt Traudt wrote:
"ORPort auto" means let Tor pick. It picks at random (technically, I think it lets the kernel pick and the kernel picks at random, but the outcome is the same).
Understood. But b/c this: sed -e "s/^ORPort.*/ORPort $((RANDOM))/g" /etc/tor/torrc is IMO more easier I do wonder about the use case for ":auto"? -- Toralf PGP C4EACDDE 0076E94E

On 12/20/18 09:25, Toralf Förster wrote:
On 12/20/18 3:13 PM, Matt Traudt wrote:
"ORPort auto" means let Tor pick. It picks at random (technically, I think it lets the kernel pick and the kernel picks at random, but the outcome is the same).
Understood. But b/c this:
sed -e "s/^ORPort.*/ORPort $((RANDOM))/g" /etc/tor/torrc
is IMO more easier I do wonder about the use case for ":auto"?
When you're controlling Tor with something like stem and you need **a** port, not a **specific** port. Especially if you want to be guaranteed that you will get a port (what if something is listening on $RANDOM already?). For example, Simple Bandwidth Scanner launches Tor for itself and tells it 'SocksPort auto'. It's conceivable someone wants to control a relay with a script in a similar manner. Matt
participants (2)
-
Matt Traudt
-
Toralf Förster