Commit Graph

4500 Commits

Author SHA1 Message Date
Micah Elizabeth Scott 415c0354b2 hs_pow: Add CompiledProofOfWorkHash torrc option
This exposes the new fallback behavior in hashx via a new AUTOBOOL
configuration option, available to both clients and services. The
default should be fine for nearly everyone, but it might be necessary
to enable or disable the compiler manually for diagnostic purposes.

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-05-28 20:02:03 -07:00
David Goulet 9976da9367 Merge branch 'tor-gitlab/mr/709' 2023-05-24 11:37:05 -04:00
David Goulet 6afe03aa51 Merge branch 'tor-gitlab/mr/708' 2023-05-24 11:03:47 -04:00
agowa338 ffb764949e ipv6: Flip ClientUseIPv6 to 1
Fixes #40785

Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-05-24 11:03:15 -04:00
Mike Perry 79dab29a05 Add torrc option for conflux client UX. 2023-05-11 18:05:28 +00:00
Micah Elizabeth Scott f3b98116b6 hs_pow: Rate limited dequeue
This adds a token bucket ratelimiter on the dequeue side
of hs_pow's priority queue. It adds config options and docs
for those options. (HiddenServicePoWQueueRate/Burst)

I'm testing this as a way to limit the overhead of circuit
creation when we're experiencing a flood of rendezvous requests.

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-05-10 07:38:28 -07:00
Micah Elizabeth Scott 98299e0f8b manpage: document HiddenServicePoWDefensesEnabled option
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-05-10 07:38:28 -07:00
Mike Perry eac2bad86b Prop#329 params: Consensus parameter and torrc handling
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-04-06 15:57:10 +00:00
David Goulet 0221c88f10 doc: Add tpo website update to ReleasingTor.md
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-19 08:43:59 -05:00
Dimitris Apostolou 1da9dec348 Fix typos 2022-12-16 08:09:04 +02:00
David Goulet 15e5b203cd Merge branch 'tor-gitlab/mr/594' 2022-11-01 09:11:29 -04:00
David Goulet 5f548f05d2 Merge branch 'tor-gitlab/mr/585' 2022-10-26 15:30:59 -04:00
Andy 01b0954b23 Update doc/man/tor.1.txt 2022-09-28 19:57:26 +00:00
David Goulet 982c50401c doc: Add git merge detail in release document
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-12 11:04:30 -04:00
David Goulet cc704373cb doc: Improve ReleasingTor.md and fix announcement ML
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-11 11:31:29 -04:00
David Goulet 16664c0017 Merge branch 'maint-0.4.7' 2022-08-09 11:01:44 -04:00
David Goulet b2665ad639 man: Fix typo for AuthDirMiddleOnly option
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-09 11:01:12 -04:00
David Goulet 8bf1a86ae1 dirauth: Make voting flag threshold tunable via torrc
Remove UPTIME_TO_GUARANTEE_STABLE, MTBF_TO_GUARANTEE_STABLE,
TIME_KNOWN_TO_GUARANTEE_FAMILIAR WFU_TO_GUARANTEE_GUARD and replace each
of them with a tunnable torrc option.

Related to #40652

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-09 11:01:12 -04:00
David Goulet 681c15a32d dirauth: Add a AuthDirVoteGuard to pin Guard flags
Related to #40652

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-04 13:32:56 -04:00
Neel Chauhan 419aa78b3a Remove unused RendPostPeriod option 2022-06-23 09:09:01 -04:00
Nick Mathewson 95080794eb Fix the name of AuthDirMiddleOnly in the manpage. 2022-06-16 11:53:26 -04:00
Nick Mathewson 6c1aad13e2 Fix check-docs to avoid false-positives on missing anchors.
Also add an anchor for the second ClientTranportPlugin instance.

See #40339.

This doesn't need a changes file because it isn't user-facing.
2022-06-16 11:50:59 -04:00
Alex Xu (Hello71) ad6b451b56 doc/include.am: fix EXTRA_DIST 2022-06-06 11:30:12 -04:00
David Goulet 69e3b8bb84 Merge branch 'tor-gitlab/mr/567' 2022-05-24 15:24:48 -04:00
David Goulet 62f505efd8 Merge branch 'tor-gitlab/mr/566' 2022-05-24 13:10:14 -04:00
Silvio Rhatto f31d9cc3f9 Update man page on client auth revocation (#40418)
Revoking an Onion Service key does work with SIGHUP now.
The manual page is updated to reflect this change.
2022-05-03 10:37:32 -03:00
Alex Xu (Hello71) 65ea7eed1f Remove broken MSVC support
MSVC compilation has been broken since at least 1e417b7275 ("All remaining
files in src/common belong to the event loop.") deleted
src/common/Makefile.nmake in 2018.
2022-04-27 23:09:44 -04:00
David Goulet 4259bc36af doc: Clarify the release process for a first stable
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-04-27 11:23:21 -04:00
Alex Xu (Hello71) 160bf44c9b doc: fix out-of-tree build from git 2022-04-26 10:13:19 -04:00
David Goulet 7747469dbe doc: Minor changes to the Releasing doc
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-04-07 11:50:57 -04:00
Alexander Færøy b6ec7fad0e Merge remote-tracking branch 'tor-gitlab/mr/506' into main 2022-01-25 21:53:30 +00:00
David Goulet 29b058444c doc: More clarification of the release process steps
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-24 13:18:39 -05:00
Nick Mathewson e02d160793 Try to clarify maint vs release issues on ReleasingTor.md
I've tried to clarify what happens on "maint" vs what happens on
"release".  I'm not sure I've got it right wrt the patches generated
by the scripts, though, so please review carefully and second-guess
everything I'm saying here. :)
2022-01-24 11:51:08 -05:00
skaluzka d129cfdc14 Add missing "Tor Project, Inc." to man files
Signed-off-by: skaluzka <skaluzka@protonmail.com>
2022-01-06 21:02:52 +01:00
David Goulet 51c7a08485 doc: One more poings in ReleasingTor.md
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-12-16 12:22:15 -05:00
David Goulet a81ddc83be doc: Update ReleasingTor.md with missing steps
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-12-16 12:14:52 -05:00
David Goulet e152a0a7cc doc: Improve a bit the ReleasingTor.md
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-12-16 11:59:20 -05:00
Alexander Færøy 32c45a8f94 Merge remote-tracking branch 'tor-gitlab/mr/479' into main 2021-11-08 14:10:29 +00:00
David Goulet 36e6ad6c7b Merge branch 'maint-0.4.6' 2021-11-03 09:53:35 -04:00
David Goulet 83f8fe05e8 Merge branch 'maint-0.4.5' into maint-0.4.6
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:53:31 -04:00
David Goulet ea5eebf431 Merge branch 'tor-gitlab/mr/477' into maint-0.4.5 2021-11-03 09:52:03 -04:00
David Goulet 6e8e1a4e6f relay: Don't allow DirPort on non-IPv4
Our code doesn't allow it and so this prevents an assert() crash if the
DirPort is for instance IPv6 only.

Fixes #40494

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:51:46 -04:00
David Goulet 755485342c Merge branch 'maint-0.4.6'
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:49:07 -04:00
David Goulet 621f8ac418 Merge branch 'maint-0.4.5' into maint-0.4.6 2021-11-03 09:47:43 -04:00
David Goulet 1e3e921d7d Merge branch 'maint-0.3.5' into maint-0.4.5 2021-11-03 09:47:43 -04:00
David Goulet 1902edaf52 shellcheck: Make it happy on couple scripts
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03 09:47:30 -04:00
David Goulet c9e2ee076c doc: Brand new ReleasingTor.md
Closes #40508

Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-02 11:56:53 -04:00
Alexander Færøy f6600377b4 Merge remote-tracking branch 'tor-gitlab/mr/474' into main 2021-11-02 15:28:56 +00:00
Alexander Færøy b109161c8f Merge branch 'maint-0.4.6' into main 2021-11-02 15:27:08 +00:00
Alexander Færøy 9922116388 Add missing ponctuation. 2021-11-02 15:26:09 +00:00