summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-09-14 15:34:25 -0400
committerDavid Goulet <dgoulet@torproject.org>2023-09-14 15:34:25 -0400
commit9cf7bc96431256b4ee873df04c7bc2b222b7297b (patch)
tree3497bafb44e9d25a273517edd9ebbc5a1a946c0b
parent463673f428d5313ab6bd5d96bd27551b0f6e60a7 (diff)
parentfff805c7dd26e6094267ad0f3f32949b6c442ee8 (diff)
downloadtor-9cf7bc96431256b4ee873df04c7bc2b222b7297b.tar.gz
tor-9cf7bc96431256b4ee873df04c7bc2b222b7297b.zip
Merge branch 'maint-0.4.8' into release-0.4.8
-rw-r--r--changes/bug408586
-rw-r--r--src/feature/hs/hs_service.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug40858 b/changes/bug40858
new file mode 100644
index 0000000000..4b9d85616e
--- /dev/null
+++ b/changes/bug40858
@@ -0,0 +1,6 @@
+ o Major bugfixes (onion service):
+ - Fix a reliability issue where services were expiring their
+ introduction points every consensus update. This caused connectivity
+ issues for clients caching the old descriptor and intro points. Bug
+ reported and fixed by gitlab user @hyunsoo.kim676. Fixes bug 40858;
+ bugfix on 0.4.7.5-alpha.
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 777cc85fea..3cc8c23e0b 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -1821,6 +1821,7 @@ build_service_desc_encrypted(const hs_service_t *service,
tor_assert(desc);
encrypted = &desc->desc->encrypted_data;
+ encrypted->sendme_inc = congestion_control_sendme_inc();
encrypted->create2_ntor = 1;
encrypted->single_onion_service = service->config.is_single_onion;