aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_ob.c
AgeCommit message (Collapse)Author
2021-03-12Update copyrights to 2021, using "make update-copyright"Nick Mathewson
2020-11-12Fix typos.Samanta Navarro
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
2020-04-01hs-v3: Move to log notice the registration of an OB instanceDavid Goulet
This is to allow a visual feedback in the logs for operators setting up Onion Balance so they can confirm they properly configured the instances. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-30hs-v3: Move ob_subcreds to hs_service_state_t.George Kadianakis
It's more natural there since it's runtime state.
2020-02-26Run "make autostyle"Nick Mathewson
2020-02-24Final touches to #32709 based on Nick's feedback.George Kadianakis
- Fix a bug and add unittest. - Add changes file. - Add man page entry.
2020-02-18Fix issues pointed out by Nick.George Kadianakis
- Loose the asserts on num_pkeys. - Straighten some dangling &. - Fix some unpredictable memcpys.
2020-01-28Introduce an hs_ob_free_all() function.George Kadianakis
2020-01-28Allow clients to connect to the instance even with OB enabled.George Kadianakis
We do this by including the instance's subcredentials to the list of subcredentials that are used during INTRO2 decryption.
2020-01-28Refresh OB keys when we build a new descriptor.George Kadianakis
We now assign OB subcredentials to the service instead of computing them on the spot. See hs_ob_refresh_keys() for more details.
2020-01-21Turn hs_subcredential_t into a proper struct.Nick Mathewson
2020-01-21hs-v3: Implement hs_ob_service_is_instance()David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-01-21hs-v3: Validate INTRO2 cells for onion balanceDavid Goulet
Closes #32709 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-01-21hs-v3: Add the Onion Balance config file optionDavid Goulet
At this commit, the service reads the config file and parse it to finally set the service config object with the options. Part of #32709 Signed-off-by: David Goulet <dgoulet@torproject.org>