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
David Goulet
6926c9192a
man: Missing OverloadStatistics option in tor.1
...
Closes #40504
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-02 09:51:43 -04:00
David Goulet
77c47417f2
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-29 09:20:21 -04:00
Alexander Færøy
c845f2e4b2
release: Patches to make tarball reproducible
...
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 14:45:31 -04:00
Alexander Færøy
11fedab9ce
release: Patches to make tarball reproducible
...
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 14:31:52 -04:00
Alexander Færøy
d37273be0d
release: Patches to make tarball reproducible
...
Closes #26299
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28 13:42:02 -04:00
Roger Dingledine
d66549c208
fetch missing bridge descriptors without delay
...
Without this change, if we have a working bridge, and we add a new bridge,
we will schedule the fetch attempt for that new bridge descriptor for
three hours(!) in the future.
This change is especially needed because of bug #40396 , where if you have
one working bridge and one bridge whose descriptor you haven't fetched
yet, your Tor will stall until you have successfully fetched that new
descriptor -- in this case for hours.
In the old design, we would put off all further bridge descriptor fetches
once we had any working bridge descriptor. In this new design, we make the
decision per bridge based on whether we successfully got *its* descriptor.
To make this work, we need to also call learned_bridge_descriptor() every
time we get a bridge descriptor, not just when it's a novel descriptor.
Fixes bug 40396.
Also happens to fix bug 40495 (redundant descriptor fetches for every
bridge) since now we delay fetches once we succeed.
A side effect of this change is that if we have any configured bridges
that *aren't* working, we will keep trying to fetch their descriptors
on the modern directory retry schedule -- every couple of seconds for
the first half minute, then backing off after that -- which is a lot
faster than before.
2021-10-24 17:40:28 -04:00
Alexander Færøy
ae05f06597
Merge branch 'tor-gitlab/mr/452_squashed' into main
2021-10-21 12:57:37 +00:00
Nick Mathewson
54ab43d05e
Prop335: Changes file and manual entries.
...
Closes #40448 .
2021-10-21 12:57:20 +00:00
Alexander Færøy
bd1c14f015
Merge branch 'maint-0.4.5' into maint-0.4.6
2021-10-21 12:35:36 +00:00
Alexander Færøy
0ec08b0643
Merge remote-tracking branch 'tor-gitlab/mr/432' into main
2021-10-14 13:03:03 +00:00
David Goulet
d0d3b028d5
Remove last artifacts of Rust related code
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-06 15:12:04 -04:00
David Goulet
ae9042abbf
rust: Remove Rust support from tree
...
Closes #40469
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-06 15:12:04 -04:00
Nick Mathewson
2c10cc3080
Merge remote-tracking branches 'tor-gitlab/mr/439' and 'tor-gitlab/mr/441'
2021-09-16 08:53:28 -04:00
skaluzka
515ccc4a42
Update Tor's man 1 page
...
Add few missing periods, convert tabs to spaces.
No new significant content added.
Signed-off-by: skaluzka <skaluzka@protonmail.com>
2021-09-15 19:17:41 +02:00
Neel Chauhan
17ceeb7f92
tor.1 man page: Add mention of fingerprint-ed25519, and clarify differences
2021-09-14 11:10:11 -07:00
David Goulet
86f880d756
man: Detail onion service DDoS mitigation measure
...
Move the options into the DDoS section with a series of explanations.
Closes #40456
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-09-09 14:30:52 -04:00
skaluzka
eac7bdce91
Clear asciidoc-helper.sh syntax
...
Remove all unnecessary ";" characters at the end of several lines.
Align all indentations to 4 spaces.
Update console messages related to XML_CATALOG_FILES and
.bashrc file.
Signed-off-by: skaluzka <skaluzka@protonmail.com>
2021-09-08 22:32:46 +02:00
George Kadianakis
4f68fe3e6c
Merge branch 'vanguards-lite-dev-rebased'
2021-07-28 12:00:37 +03:00
Nick Mathewson
bc40c6af08
Correct another ReleasingTor.md issue
2021-07-23 14:50:23 -04:00
Nick Mathewson
53b4aff5b8
Update ReleasingTor.md to reflect current practice
2021-07-23 14:47:49 -04:00
George Kadianakis
7f701794e7
Add a switch to toggle the feature on/off
2021-07-12 12:22:58 +03:00
Nick Mathewson
d642da020e
Merge remote-tracking branch 'tor-gitlab/mr/338'
2021-06-14 13:10:18 -04:00
Emily Bones
33e2c5962c
Add links to original design paper and anonbib
...
Closes #33742
2021-06-07 20:33:15 +00:00
Nick Mathewson
f93d9d8bac
Add a checklist to releasingtor.md
2021-06-07 13:51:05 -04:00
Alexander Færøy
8d4bbc337b
Rewrite documentation on primary branch usage for Tor.git.
...
This patch is part of a series of patches where we try to change our
primary branch name of tor.git from master to main.
See: tpo/core/team#2
2021-05-25 00:20:46 +00:00
Nick Mathewson
9d7fca2306
Make MinTimeToReportBandwidth a testing-only option (and rename it)
2021-05-11 15:49:00 -04:00
Daniel Pinto
ce60454afd
Add long format name --torrc-file for command line option -f. #40324
2021-03-28 03:56:31 +01:00
David Goulet
3a2593710b
man: HiddenServiceStatistics applies for bridges
...
Closes #40346
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-03-23 08:32:26 -04:00
David Goulet
35b601a8b5
Merge branch 'tor-gitlab/mr/342'
2021-03-23 08:19:02 -04:00
Nick Mathewson
5c7f9844e4
manpage:Move BridgeRecordUsageByCountry to statistics section
...
patch from cypherpunks; closes #40323
2021-03-22 14:09:22 -04:00
George Kadianakis
ed7081ae2e
Improve the man page entry for Address.
...
Fixes bug #40296 .
2021-03-22 16:38:34 +02:00
Nick Mathewson
2dfa19a871
Move ServerTransport* options to 'Server Options' section.
...
Patch from 'cypherpunks'. Closes #40331 .
2021-03-19 13:23:29 -04:00
Nick Mathewson
40294c8ab1
Link to bridges.torproject.org/info in BridgeDistribution entry.
...
This incorporates a suggestion from cypherpunks on #40321
Closes #40321 .
2021-03-19 13:10:41 -04:00
David Goulet
15a95df376
Merge branch 'tor-gitlab/mr/337'
2021-03-17 11:53:14 -04:00
Nick Mathewson
066748c9cd
Add a DormantTimeoutEnabled to disable dormant mode entirely
...
(If you need to do this in an older version you can just set
DormantClientTimeout to something huge.)
Closes #40228 .
2021-03-17 11:53:09 -04:00
Nick Mathewson
2ae24d003d
Add a MinTimeToReportBandwidth option; make it 0 for testing networks.
...
This option changes the time for which a bandwidth measurement period
must have been in progress before we include it when reporting our
observed bandwidth in our descriptors. Without this option, we only
consider a time period towards our maximum if it has been running
for a full day. Obviously, that's unacceptable for testing
networks, where we'd like to get results as soon as possible.
For non-testing networks, I've put a (somewhat arbitrary) 2-hour
minimum on the option, since there are traffic analysis concerns
with immediate reporting here.
Closes #40337 .
2021-03-17 08:45:37 -04:00
David Goulet
6fce18916f
Merge branch 'tor-gitlab/mr/331'
2021-03-10 10:06:20 -05:00
Nick Mathewson
b599f489ae
Fix documentation formatting for VirtualAddrNetworkIPv6
...
Fixes bug #40256 ; bugfix on 0.2.9.4-alpha.
2021-03-08 11:17:24 -05:00
Nick Mathewson
100221baac
Merge remote-tracking branch 'origin/master'
2021-02-23 08:43:19 -05:00
Nick Mathewson
09614e0c9d
Tweak documentation on 40282
2021-02-23 08:42:31 -05:00
David Goulet
100c758cd8
man: Note that relay now ignore the DirPort option
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-23 08:29:32 -05:00
David Goulet
94b56eaa75
dos: New client connect rate detection
...
This is a new detection type which is that a relay can now control the rate of
client connections from a single address.
The mechanism is pretty simple, if the rate/burst is reached, the address is
marked for a period of time and any connection from that address is denied.
Closes #40253
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-22 15:48:42 -05:00
David Goulet
330aec798b
man: Cleanup of v2 options and config
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-02-19 13:20:49 -05:00
Nick Mathewson
aa0c4fd86d
add brave to security cc list
2021-01-15 15:41:06 -05:00
Alexander Færøy
2d68fdc94c
Merge branch 'maint-0.4.5'
2020-12-16 20:29:19 +00:00
Nick Mathewson
34baa1bdc3
Tweak the documentation for approved-routers
...
Document !badexit, and improve the documentation for !invalid.
Closes #40188 .
2020-12-09 14:08:55 -05:00
Neel Chauhan
1588767e65
Allow listing ed25519 fingerprints on the command line
2020-11-17 11:23:08 -05:00
Samanta Navarro
4a0cd79588
Fix typos.
...
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-11-12 11:44:09 -05:00
David Goulet
04ff22dc69
man: Add the MetricsPort manpage entry
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-10-27 10:43:42 -04:00
Nick Mathewson
c90535c539
Merge branch 'maint-0.4.4'
2020-10-26 16:39:31 -04:00
Roger Dingledine
00118355f5
Turn ConsensusParams into a Linelist
...
Make it possible to specify multiple ConsensusParams torrc
lines.
Now directory authority operators can for example put the
main ConsensusParams config in one torrc file and then add to it
from a different torrc file.
Closes ticket 40164.
2020-10-22 03:26:03 -04:00
Daniel Pinto
bb9707420e
Allow mutiple lines on configuration for ROUTERSET entries. #28361
...
Affected entries are: EntryNodes, ExcludeNodes, ExcludeExitNodes,
ExitNodes, MiddleNodes, HSLayer2Nodes and HSLayer3Nodes.
2020-10-21 01:53:50 +01:00
David Goulet
bb249a221f
Merge branch 'tor-gitlab/mr/170'
2020-10-14 09:46:44 -04:00
Nick Mathewson
f02f8f8946
Use "flavor" spelling consistently on manpage.
2020-10-14 09:45:41 -04:00
Nick Mathewson
d66cec8520
Apply typo fix patch from Samanta Navarro on #40161 .
2020-10-14 09:43:26 -04:00
Nick Mathewson
42a5e652cb
Make OptimisticData always-on.
...
We've been using it for years, and it seems to work just fine. This
patch removes the option and its network parameter.
Part of #40139
2020-10-13 14:38:32 -04:00
Alexander Færøy
78aa037c41
Merge remote-tracking branch 'tor-gitlab/mr/161'
2020-10-13 13:50:14 +00:00
Alexander Færøy
5d23881770
Merge remote-tracking branch 'tor-gitlab/mr/165'
2020-10-13 13:45:01 +00:00
Alexander Færøy
db0aaf428e
Add OutboundBindAddressPT
to torrc.
...
This patch adds a new option to torrc: `OutboundBindAddressPT`. This
option works in the same way as `OutboundBindAddressOR` and
`OutboundBindAddressExit` in that it allows the user to specify which
outbound IP address the user wants the PT to make its connections from.
There is one difference though in that OutboundBindAddressPT will only
be a suggestion for the PT to use since Tor cannot enforce whether or
not the PT actually uses this option for anything.
See: https://bugs.torproject.org/5304
2020-10-06 09:30:10 -04:00
Nick Mathewson
25c8a3d66b
Remove "AUTHORS" sections from manual pages.
...
These sections were incomplete and outdated; their presence is
strongly discouraged by man-pages(7).
Closes #40149 .
2020-10-05 12:10:26 -04:00
Nick Mathewson
f2968c3aac
Fix authors stanza in tor-gencert manpage
...
Closes #40148 .
2020-10-02 09:08:33 -04:00
Nick Mathewson
5c9b4a0060
Remove support for old android "logcat" API
...
This is apparently obsolete; syslog is modern instead. If users
have an android log configured, given them a syslog if we can.
Closes #32181 .
2020-09-23 12:33:58 -04:00
Nick Mathewson
d0b83c7423
state-contents: correcct the description of unusable_circuits
2020-09-22 16:51:26 -04:00
Nick Mathewson
ce1dfb46fc
Add a changes file for 40136 (state-contents.txt updates)
2020-09-22 14:46:41 -04:00
Nick Mathewson
5ffd8bf2b8
state-contents.txt: try to document circ-build-timeout fields
...
This should also get feedback from @mikeperry.
Closes #40136
2020-09-22 14:44:30 -04:00
Nick Mathewson
371cd7ac4f
Try to document pathbias fields in state file.
...
This will require feedback from @mikeperry, since these are a bit
subtle and I've likely mangled some of these.
2020-09-22 14:35:11 -04:00
Nick Mathewson
d1a94a3a7f
Improve doc/state-contents.txt
...
Part of a fix for #40136 .
This patch adds all the state file entries to the documentation, and
documents the ones that I understand well.
2020-09-22 14:17:26 -04:00
Nick Mathewson
33380f6b27
Update remaining trac.tpo wiki urls
2020-09-14 11:02:38 -04:00
Nick Mathewson
563f8610fd
Revise trac.torproject.org urls to refer to gitlab replacements.
...
Closes #40101 .
2020-08-14 09:21:28 -04:00
Nick Mathewson
e82f36bccc
Update ReleasingTor.md to current practice
2020-08-13 09:56:27 -04:00
Nick Mathewson
e151442037
Merge remote-tracking branch 'tor-gitlab/mr/62'
2020-08-12 14:37:21 -04:00
Nick Mathewson
b56985f022
CodingStandards.md: allow "bugfix on all supported versions.
...
Closes tpo/core/team#1 .
2020-08-11 17:58:11 -04:00
Daniel Pinto
0b633b1f6d
Improved documentation and comments #25140
2020-08-11 18:26:41 +01:00
Nick Mathewson
d89c1799af
manual: Describe Sandbox more accurately.
...
Closes #23378
2020-08-04 14:06:25 -04:00
Daniel Pinto
1474ab3395
Add --format argument to --key-expiration option. #30045
2020-08-01 01:08:37 +01:00
Nick Mathewson
4e71fc92c8
WritingTests.md: add a section about shells
...
Closes #29485
2020-07-28 22:59:47 -04:00
Nick Mathewson
92fc0d3699
Edit AddressDisableIPv6 man entry
2020-07-21 09:01:31 -04:00
David Goulet
c3d113a464
relay: Add AddressDisableIPv6 torrc option
...
This option controls if a tor relay will attempt address auto discovery and
thus ultimately publish an IPv6 ORPort in the descriptor.
Behavior is from proposal 312 section 3.2.6.
Closes #33245
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-21 08:18:31 -04:00
Nick Mathewson
5f969681a0
Combine text into existing "what does not need a changes file" section.
2020-07-16 14:54:17 -04:00
Nick Mathewson
85219d887d
Merge remote-tracking branch 'tor-gitlab/mr/57'
2020-07-16 14:53:03 -04:00
David Goulet
e66eba664a
doc: Fix wrong path in include.am
...
Tracing.md moved to doc/tracing/ so fix the distcheck path in include.am. Also
add the new EventsCircuit.md file.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-16 14:07:33 -04:00
David Goulet
ca1003b791
doc: Update our requirements for changes file
...
Closes tpo/core/team#3.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-16 13:34:52 -04:00
David Goulet
9c653e58b4
doc: Document circuit subsystem tracing events
...
Create a doc/tracing/ directory to contain a top level README.md which is the
previously named Tracing.md and add the EventsCircuit.md which describes the
circuit subsystem tracing events in depth.
Closes #40036
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-16 14:19:04 +00:00
Daniel Pinto
34fa2c4d0d
Add support for patterns on %include #25140
...
Also adds generic tor_glob function to expand globs.
2020-07-15 22:01:08 +01:00
Alexander Færøy
aba0ff4cb5
Merge remote-tracking branch 'tor-gitlab/merge-requests/48'
2020-07-14 16:07:36 +00:00
David Goulet
770e047c83
doc: Fix aesthetic issues in HACKING/Tracing.md
...
Remove all the escape character "\" which is not needed for Markdown files.
This also fixes the tracing event include to the correct path.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-14 10:09:01 -04:00
David Goulet
456be93956
doc: Move manpages into doc/man/
...
Closes #40044
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-14 09:02:03 -04:00
Nick Mathewson
ecb43ce21c
Merge branch 'maint-0.4.4'
2020-07-13 10:45:04 -04:00
JeremyRand
0be80fb650
Bug 31812: Change http URL's to https
2020-07-13 10:42:46 -04:00
Guinness
b119c55776
Syntax highlighting in the docs
...
This adds the syntax highlights in the MarkDown files.
Fixes #33741
2020-07-13 11:45:14 +02:00
Nick Mathewson
6fb1637255
Merge remote-tracking branch 'tor-gitlab/mr/29'
2020-07-10 12:53:46 -04:00
Nick Mathewson
be6b30e642
Merge branch 'maint-0.4.4'
2020-07-09 09:59:54 -04:00
David Goulet
942ecfa835
doc: Add a WARNING section to Tracing.md
...
Explain what is safe or not with tracing data.
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-08 11:11:58 -04:00
David Goulet
79d6127a47
trace: Comments and improve doc/HACKING/Tracing.md
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-08 09:12:36 -04:00