aboutsummaryrefslogtreecommitdiff
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
commit6fa4314740812fd10bfb10f11e8cf63156776853 (patch)
treeb6047c72c53c0f47840a6674e6618e05a9819240
parent10975327987fae1d8d4f61007ad8ebefcbad554e (diff)
parent8fc589f5645fc02aa77cca6b621f3fa3b2ff5067 (diff)
downloadtor-6fa4314740812fd10bfb10f11e8cf63156776853.tar.gz
tor-6fa4314740812fd10bfb10f11e8cf63156776853.zip
Merge branch 'maint-0.4.7' into release-0.4.7
-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 1caa5ab64a..7d9fbe546a 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -1765,6 +1765,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;