[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16261 [Website]: Update the "Running a Bridge" section of the website
#16261: Update the "Running a Bridge" section of the website
-------------------------+------------------------------------
Reporter: isis | Owner: isis
Type: defect | Status: new
Priority: normal | Milestone:
Component: Website | Version:
Resolution: | Keywords: tor-bridges, docs, pts
Actual Points: | Parent ID:
Points: |
-------------------------+------------------------------------
Comment (by tmpname0901):
> 4) Explain how people can get/construct their bridge lines in order to
test their bridge.
------------------
#!/bin/sh
if [ ! -f /var/lib/tor/pt_state/obfs4_bridgeline.txt ]; then
echo "Not an obfs4 bridge (or permissions)"
exit 1
fi
FING=$(cat /var/lib/tor/fingerprint | cut -d ' ' -f2)
ADDR=$(grep ^ServerTransportListenAddr /etc/tor/torrc | cut -d ' ' -f3 |
sort -R | head -n 1)
BRDG=$(grep ^Bridge /var/lib/tor/pt_state/obfs4_bridgeline.txt)
echo $BRDG | sed s/'<IP ADDRESS>:<PORT>'/$ADDR/ | sed
s/'<FINGERPRINT>'/$FING/
------------------
# ./brdgline
Bridge obfs4 [11.22.33.44]:443 0000000000000000000000000000000000000000
cert=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
iat-mode=0
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16261#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs