[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #21979 [Core Tor/Tor]: prop224: Load and configure service
#21979: prop224: Load and configure service
-------------------------------+--------------------------------
Reporter: dgoulet | Owner: dgoulet
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: tor-hs, prop224
Actual Points: | Parent ID: #20657
Points: 6 | Reviewer:
Sponsor: SponsorR-must |
-------------------------------+--------------------------------
This is a much bigger patch implementing a key feature of hidden service.
Loading and configuring a service from the torrc file.
A new object is added which is `hs_service_t` representing a v3 service.
The `hs_config.[ch]` files are introduced which loads the options and
create an `hs_service_t` object out of it.
Like the legacy code, it goes in two steps. First, load the options and
validate. Then, load/generate the keys if not in validate mode.
Some refactoring of the legacy code was needed in order to have a central
entry point for the configuration of the HS options for both v2 and v3.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21979>
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