teor
2ea1692c20
nodelist: Rewrite router_crn_flags_t
...
Re-order the flags in a logical order, and re-number them.
Add missing comments, fix comment typos.
Part of 34200.
2020-05-18 21:53:52 +10:00
teor
48413dc65f
nodelist: Remove the unused CRN_WEIGHT_FOR_EXIT flag
...
Part of 34200.
2020-05-18 21:53:52 +10:00
teor
1ec604f0f9
nodelist: Move node flag checks
...
Move node flag checks to router_add_running_nodes_to_smartlist(), where
they are actually used.
Part of 34200.
2020-05-18 21:53:52 +10:00
teor
280195f414
nodelist: Move the v3 onion service rendezvous check
...
And delete a loop that is now empty. This change should improve tor's
performance, because we no longer iterate through the nodelist twice for
every node in every circuit path.
Part of 34200.
2020-05-18 21:53:52 +10:00
teor
ce11e3bf69
nodelist: Move the single-hop exit check
...
Check for single-hop exits in router_add_running_nodes_to_smartlist(),
rather than router_choose_random_node().
Part of 34200.
2020-05-18 21:53:52 +10:00
teor
4bcec38fce
test/protover: Add debug logs to some tests
...
Part of 33222.
2020-05-18 21:51:31 +10:00
teor
3efe53562f
rust/protover: Fix protocol version support error handling
...
Make Rust protocol version support checks consistent with the
undocumented error behaviour of the corresponding C code.
Fixes bug 34251; bugfix on 0.3.3.5-rc.
2020-05-18 21:50:35 +10:00
teor
f05c144d7c
rust: declare HSIntro=5
...
Declare support for the onion service introduction point denial of
service extensions, when building tor with Rust.
Fixes bug 34248; bugfix on 0.4.2.1-alpha.
2020-05-18 20:16:11 +10:00
Neel Chauhan
087b466fcf
Declare variables in for loops in rend_service_dump_stats()
2020-05-17 15:19:39 -07:00
teor
c6bcc92c17
test/protover: Add tests for summarize flags
...
Part of 33222.
2020-05-17 22:51:43 +10:00
Neel Chauhan
32e791be09
Fix spacing in if statement in tor_version_parse()
2020-05-16 22:26:30 -07:00
Neel Chauhan
2e0d0360cd
Fix spacing in if statement in port_parse_config()
2020-05-16 22:23:59 -07:00
Nick Mathewson
db4815dd8e
Merge branch 'maint-0.4.3'
2020-05-15 10:28:36 -04:00
Nick Mathewson
6f2b6ede1b
Add a changes file for 34233.
...
This bug was merged back to 0.3.5 with our #34078 fix, but only
released in 0.4.3.5, so the changes file goes here.
2020-05-15 10:27:49 -04:00
Nick Mathewson
e75583e71b
Merge branch 'maint-0.4.1' into maint-0.4.2
2020-05-15 10:25:27 -04:00
Nick Mathewson
768ffb8f43
Merge branch 'maint-0.3.5' into maint-0.4.1
2020-05-15 10:25:27 -04:00
Nick Mathewson
ec2f6d69d7
Merge branch 'maint-0.4.3'
2020-05-15 10:25:27 -04:00
Nick Mathewson
bcaf480aee
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-05-15 10:25:27 -04:00
Nick Mathewson
a59d54756f
Fix use of non-portable == in configure.ac.
...
Fixes bug 34233.
(This has bug has been backported to 0.3.5, but only released in
0.4.3, so it only needs a changes file there.)
2020-05-15 09:58:49 -04:00
teor
277baf676b
versions: Improve the protover summary comments
...
Part of 33222.
2020-05-15 23:34:43 +10:00
Nick Mathewson
8d59897e58
Merge branch 'maint-0.4.3'
...
"ours" to avoid version bump
2020-05-15 09:02:30 -04:00
Nick Mathewson
c0dd2a6e39
bump to 0.4.3.5-dev
2020-05-15 09:02:12 -04:00
teor
a702e92c82
protover: Add defines for recent protocol versions
...
Also update the protover/supported_protocols test.
Part of 33226.
2020-05-15 14:59:10 +10:00
teor
c39394afa2
test/circuitbuild: Tests for node selection flags
...
Part of 33222.
2020-05-15 12:22:34 +10:00
Nick Mathewson
85cfd04c0c
remove changes files that have already appeared in 0.4.3.
2020-05-14 20:29:00 -04:00
Nick Mathewson
58dbf83054
remove 0.4.3.3-alpha from the release notes: alphas do not go there.
2020-05-14 11:43:38 -04:00
Nick Mathewson
fbd384cf89
Merge branch 'maint-0.4.3'
...
"ours" to avoid 0.4.3.5 version bump.
2020-05-14 10:38:40 -04:00
Nick Mathewson
bbfdee4c4e
Fix a python warning in format_changelog.py.
2020-05-14 10:37:52 -04:00
Nick Mathewson
75fc33f337
bump to 0.4.3.5
2020-05-14 10:37:42 -04:00
Nick Mathewson
b8bff426f3
Merge branch 'maint-0.4.1' into maint-0.4.2
2020-05-14 10:20:08 -04:00
Nick Mathewson
72312cdbb1
Merge branch 'maint-0.3.5' into maint-0.4.1
2020-05-14 10:20:08 -04:00
Nick Mathewson
371d5ece5b
Merge branch 'maint-0.4.3'
2020-05-14 10:20:08 -04:00
Nick Mathewson
ee6409ab63
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-05-14 10:20:08 -04:00
Nick Mathewson
e63bfca5f2
Travis: temporarily fix stem version to d1174a83c2dcb7b8
...
This is a workaround for https://github.com/torproject/stem/issues/63
2020-05-14 08:08:24 -04:00
teor
5f577b0f25
circuitbuild: Refactor IPv6 extend node selection
...
Move this complex check into its own function.
Part of 33222.
2020-05-14 22:06:14 +10:00
teor
2e41d82cc5
circuitbuild: Refactor build state node selection flags
...
Move common build state to node selection flags conversion code into its
own function.
Part of 33222.
2020-05-14 22:05:46 +10:00
teor
6a0fdf381d
circuitbuild: test relays sending IPv6 extend cells
...
Add tests for relays sending IPv6 extend cells in
circuit_send_next_onion_skin().
Clients also use this code, check that they can only extend over IPv4
(for now).
Part of 33222.
2020-05-14 21:15:16 +10:00
teor
d41d13ea73
test: Move the origin circuit function to test helpers
...
Part of 33222.
2020-05-14 10:44:56 +10:00
teor
9949b545c8
test/circuitstats: Refactor common code
...
Refactor common circuitstats test code into its own function.
Part of 33222.
2020-05-14 10:38:09 +10:00
teor
e9c9e171ae
test/circuitstats: Fix a bunch of coding style issues
...
Part of 33222.
2020-05-14 10:23:14 +10:00
teor
de979dd7bd
practracker: Allow a few extra lines in circuituse
...
Part of 33222.
2020-05-13 20:08:29 +10:00
teor
115a453f04
test/circuitbuild: Add a test for origin_circuit_init()
...
Part of 33222.
2020-05-13 20:06:27 +10:00
teor
4d2822ee74
changes: file for 33222 and 33226
2020-05-13 16:05:54 +10:00
Nick Mathewson
1557e73c82
Merge branch 'bug34130_035'
2020-05-12 12:58:19 -04:00
Daniel Pinto
2913dbd6d9
Fix crash when tor is compiled with NSS and seccomp sandbox is enabled
...
Adds seccomp rules for socket and getpeername used by NSS
2020-05-12 12:56:06 -04:00
Nick Mathewson
86b5bcd80a
Merge remote-tracking branch 'tor-github/pr/1885/head'
2020-05-12 12:52:41 -04:00
teor
e2bd15b6f3
doc: Some tor features may not work with MiddleNodes
...
And fix a formatting issue in the MiddleNodes man page entry.
Part of 33226.
2020-05-11 17:06:43 +10:00
teor
8829d2d644
nodelist: Fix a comment and a log message
2020-05-11 17:01:49 +10:00
teor
1c1faf586a
routerlist: Choose nodes that can initiate IPv6 extends
...
Part of 33226.
2020-05-11 17:00:25 +10:00
teor
9e7f51e469
circuit: Add flags for IPv6 extends
...
But don't implement the actual node selection yet.
Part of 33226.
2020-05-11 16:54:01 +10:00