tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 118c35b55bb7c6f03a6a39558a35ee754b58942a
parent 3bb9b7e743c5463e4516cdd53a02c319dc825290
Author: George Kadianakis <desnacked@riseup.net>
Date:   Tue,  7 Jul 2020 12:45:29 +0300

Mark some log messages as used by Chutney.

Diffstat:
Msrc/feature/hs/hs_service.c | 3+++
Msrc/feature/rend/rendservice.c | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c @@ -2874,6 +2874,9 @@ upload_descriptor_to_hsdir(const hs_service_t *service, hsdir->hsdir_index.store_first; char *blinded_pubkey_log_str = tor_strdup(hex_str((char*)&desc->blinded_kp.pubkey.pubkey, 32)); + /* This log message is used by Chutney as part of its bootstrap + * detection mechanism. Please don't change without first checking + * Chutney. */ log_info(LD_REND, "Service %s %s descriptor of revision %" PRIu64 " initiated upload request to %s with index %s (%s)", safe_str_client(service->onion_address), diff --git a/src/feature/rend/rendservice.c b/src/feature/rend/rendservice.c @@ -3827,6 +3827,9 @@ upload_service_descriptor(rend_service_t *service) rend_get_service_id(service->desc->pk, serviceid); if (get_options()->PublishHidServDescriptors) { /* Post the current descriptors to the hidden service directories. */ + /* This log message is used by Chutney as part of its bootstrap + * detection mechanism. Please don't change without first checking + * Chutney. */ log_info(LD_REND, "Launching upload for hidden service %s", serviceid); directory_post_to_hs_dir(service->desc, descs, NULL, serviceid,