mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
put HashedControlPassword and CookieAuthentication explicitly in the
torrc.sample.in, so unix people don't shoot themselves in the foot. svn:r19304
This commit is contained in:
parent
c024928b63
commit
115474a44e
@ -1,5 +1,5 @@
|
|||||||
## Configuration file for a typical Tor user
|
## Configuration file for a typical Tor user
|
||||||
## Last updated 30 January 2009 for Tor 0.2.1.12-alpha.
|
## Last updated 12 April 2009 for Tor 0.2.1.14-rc.
|
||||||
## (May or may not work for much older or much newer versions of Tor.)
|
## (May or may not work for much older or much newer versions of Tor.)
|
||||||
##
|
##
|
||||||
## Lines that begin with "## " try to explain what's going on. Lines
|
## Lines that begin with "## " try to explain what's going on. Lines
|
||||||
@ -53,6 +53,10 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
|
|||||||
## The port on which Tor will listen for local connections from Tor
|
## The port on which Tor will listen for local connections from Tor
|
||||||
## controller applications, as documented in control-spec.txt.
|
## controller applications, as documented in control-spec.txt.
|
||||||
#ControlPort 9051
|
#ControlPort 9051
|
||||||
|
## If you enable the controlport, be sure to enable one of these
|
||||||
|
## authentication methods, to prevent attackers from accessing it.
|
||||||
|
#HashedControlPassword 16:872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
|
||||||
|
#CookieAuthentication 1
|
||||||
|
|
||||||
############### This section is just for location-hidden services ###
|
############### This section is just for location-hidden services ###
|
||||||
|
|
||||||
@ -76,7 +80,7 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
|
|||||||
|
|
||||||
## Required: what port to advertise for incoming Tor connections.
|
## Required: what port to advertise for incoming Tor connections.
|
||||||
#ORPort 9001
|
#ORPort 9001
|
||||||
## If you need to listen on a port other than the one advertised
|
## If you want to listen on a port other than the one advertised
|
||||||
## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment the
|
## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment the
|
||||||
## line below too. You'll need to do ipchains or other port forwarding
|
## line below too. You'll need to do ipchains or other port forwarding
|
||||||
## yourself to make this work.
|
## yourself to make this work.
|
||||||
@ -85,7 +89,8 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
|
|||||||
## A handle for your relay, so people don't have to refer to it by key.
|
## A handle for your relay, so people don't have to refer to it by key.
|
||||||
#Nickname ididnteditheconfig
|
#Nickname ididnteditheconfig
|
||||||
|
|
||||||
## The IP or FQDN for your relay. Leave commented out and Tor will guess.
|
## The IP address or full DNS name for your relay. Leave commented out
|
||||||
|
## and Tor will guess.
|
||||||
#Address noname.example.com
|
#Address noname.example.com
|
||||||
|
|
||||||
## Define these to limit how much relayed traffic you will allow. Your
|
## Define these to limit how much relayed traffic you will allow. Your
|
||||||
@ -104,14 +109,14 @@ SocksListenAddress 127.0.0.1 # accept connections only from localhost
|
|||||||
## Uncomment this to mirror directory information for others. Please do
|
## Uncomment this to mirror directory information for others. Please do
|
||||||
## if you have enough bandwidth.
|
## if you have enough bandwidth.
|
||||||
#DirPort 9030 # what port to advertise for directory connections
|
#DirPort 9030 # what port to advertise for directory connections
|
||||||
## If you need to listen on a port other than the one advertised
|
## If you want to listen on a port other than the one advertised
|
||||||
## in DirPort (e.g. to advertise 80 but bind to 9091), uncomment the line
|
## in DirPort (e.g. to advertise 80 but bind to 9091), uncomment the line
|
||||||
## below too. You'll need to do ipchains or other port forwarding yourself
|
## below too. You'll need to do ipchains or other port forwarding yourself
|
||||||
## to make this work.
|
## to make this work.
|
||||||
#DirListenAddress 0.0.0.0:9091
|
#DirListenAddress 0.0.0.0:9091
|
||||||
## Uncomment to return an arbitrary blob of html on your DirPort. Now you
|
## Uncomment to return an arbitrary blob of html on your DirPort. Now you
|
||||||
## can explain what Tor is if anybody wonders why your IP address is
|
## can explain what Tor is if anybody wonders why your IP address is
|
||||||
## contacting them.
|
## contacting them. See contrib/tor-exit-notice.html for a sample.
|
||||||
#DirPortFrontPage /etc/tor/exit-notice.html
|
#DirPortFrontPage /etc/tor/exit-notice.html
|
||||||
|
|
||||||
## Uncomment this if you run more than one Tor relay, and add the identity
|
## Uncomment this if you run more than one Tor relay, and add the identity
|
||||||
|
Loading…
Reference in New Issue
Block a user