[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12538 [Tor]: Make all relays automatically be dir caches
#12538: Make all relays automatically be dir caches
-------------------------------------------------+-------------------------
Reporter: cypherpunks | Owner:
Type: task | Status:
Priority: High | needs_review
Component: Tor | Milestone: Tor:
Severity: Normal | 0.2.8.x-final
Keywords: tor-guard, tor-relay, prop237, | Version: Tor:
026-triaged-1, sebastian-review, | unspecified
027-triaged-1-out, 028-triage, 028-triaged, | Resolution:
mike-can, pre028-patch | Actual Points:
Parent ID: | Points:
Sponsor: | medium/large
-------------------------------------------------+-------------------------
Comment (by teor):
Replying to [comment:68 nickm]:
> Also we should test this on chutney to verify that everything works
correctly for servers without DirPort support.
We can do this in chutney by commenting out the line:
{{{
DirPort $dirport
}}}
in chutney/torrc_templates/relay-non-exit.tmpl
It's important that these relays work in mixed dirport / no dirport
networks, which probably means creating a new torrc template and a new
network, then testing that network as part of make test-network-all in
tor.
The torrc_templates include structure is currently:
* common.i
* relay-non-exit.tmpl
* relay.tmpl (also includes exit-v4.i and exit-v6.i)
* relay-exit-v4-only.tmpl (also includes exit-v4.i)
* relay-exit-v6-only.tmpl (also includes exit-v6.i)
It could be changed to:
* common.i
* relay-non-dirport.tmpl (contains the previous content of relay-non-
exit.tmpl without DirPort)
* relay-non-exit.tmpl (also includes dirport.i, which contains
`DirPort $dirport`)
* relay.tmpl (also includes exit-v4.i and exit-v6.i)
* relay-exit-v4-only.tmpl (also includes exit-v4.i)
* relay-exit-v6-only.tmpl (also includes exit-v6.i)
But then we would also need to make templates for exit relays without a
dirport:
* common.i
* relay-non-dirport.tmpl (contains the previous content of relay-non-
exit.tmpl without DirPort)
* relay-non-dirport-exit-v4-v6.tmpl (also includes exit-v4.i and
exit-v6.i)
* relay-non-dirport-exit-v4-only.tmpl (also includes exit-v4.i)
* relay-non-dirport-exit-v6-only.tmpl (also includes exit-v6.i)
(We need to do a better job of turning features like this on and off in
chutney 2.0.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12538#comment:69>
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