Here are the torrc settings.
Log notice file /var/log/tor/notices.log # location to log notices, warnings, and errors
ControlPort 9051 # port controllers can connect to
#CookieAuthentication 1
RunAsDaemon 0 # runs as a background process
#User root # lowers our permissions to this user
ORPort 9001 # port used for relaying traffic
#DirPort 80 # port used for mirroring directory information
Nickname IFTORISMEANDTOR # name for this relay
SocksPort 0 # prevents tor from being used as a client
ExitPolicy reject : # no exits
RelayBandwidthRate 100 MBytes # Throttle traffic to 100KB/s (800Kbps)
RelayBandwidthBurst 150 MBytes # But allow bursts up to 200KB (1600Kb)
No, there is no configuration support for doing that.
I guess you could go into router_dump_router_to_string() and make it no longer write the "hidden-service-dir\n" entry into your descriptor. That might work, or it might expose some exciting bugs because nobody has tried it lately.
Ultimately, collecting and serving onion service descriptors, like being willing to be a rendezvous point or an introduction point, is part of the Tor protocol, and these are things that all relays do.
No, there is no configuration support for doing that.
I guess you could go into router_dump_router_to_string() and make it no longer write the "hidden-service-dir\n" entry into your descriptor. That might work, or it might expose some exciting bugs because nobody has tried it lately.
Ultimately, collecting and serving onion service descriptors, like being willing to be a rendezvous point or an introduction point, is part of the Tor protocol, and these are things that all relays do.
Thank you, is there and legal risk of running a HSDir?
I guess you might want to ask a lawyer for actual legal questions, but my non-lawyer answer is: approximately zero legal risk. Nobody has ever had a problem with it before, and I can't imagine any realistic scenarios where anybody would.
Each onion service maps to six HSDir relays each day, and which six it is changes each day.
I guess you might want to ask a lawyer for actual legal questions, but my non-lawyer answer is: approximately zero legal risk. Nobody has ever had a problem with it before, and I can't imagine any realistic scenarios where anybody would.
Each onion service maps to six HSDir relays each day, and which six it is changes each day.
Great, thank you for the excellent help.