Nick Mathewson
afb6ff1739
Validate ed25519 keys and canonicity from circuit_n_conn_done()
...
Fixes bug 40080. Bugfix on 0.2.7.2-alpha.
2020-08-06 15:59:28 -04:00
Nick Mathewson
dcf5753a83
Changes file for 18106
2020-08-05 16:37:39 -04:00
George Kadianakis
afd88ee87f
Merge remote-tracking branch 'tor-gitlab/mr/88'
2020-08-05 14:57:20 +03:00
Neel Chauhan
d1413e04f8
ipv6: Specialize GETINFO address interface for v4 and v6
2020-08-04 13:59:49 -07:00
Nick Mathewson
d89c1799af
manual: Describe Sandbox more accurately.
...
Closes #23378
2020-08-04 14:06:25 -04:00
Nick Mathewson
1d0695fe7e
Improve ratelimit message to list true interval.
...
Previous message would say "N messages in the last T seconds", but
would give an inaccurate number for N.
We now give an accurate number, rounded up to the nearest 60 seconds.
Closes #19431 .
2020-08-04 13:56:28 -04:00
Nick Mathewson
04926126ee
Merge remote-tracking branch 'tor-gitlab/mr/100'
2020-08-04 13:28:51 -04:00
Nick Mathewson
08de260682
Merge branch 'bug40083_035' into bug40083_042
...
Fixes conflicts due to code movement.
2020-08-04 13:10:16 -04:00
Nick Mathewson
62361cc698
Launch early reachability tests once a minute, not once a second.
...
This fixes bug 40083, which was introduced in 9f31908a
in
0.2.8.1-alpha.
2020-08-04 13:05:07 -04:00
Nick Mathewson
aef9c0f580
Merge branch 'ticket40081_035' into ticket40081_044
...
Resolves conflicts:
src/core/or/channel.c
src/test/test_channel.c
2020-08-03 11:49:09 -04:00
Nick Mathewson
435f31aed3
Remove channel_is_canonical_is_reliable()
...
This function once served to let circuits continue to be built over
version-1 link connections. But such connections are long-obsolete,
and it's time to remove this check.
Closes #40081 .
2020-08-03 11:25:37 -04:00
Nick Mathewson
ea876ab00e
Wipe address strings from connections before freeing them them.
...
This is a defense-in-depth fix; closes 6198.
2020-08-03 10:15:08 -04:00
George Kadianakis
e069b0af4b
Merge branch 'maint-0.4.4'
2020-08-03 16:49:05 +03:00
George Kadianakis
18d2c7c5d7
Merge remote-tracking branch 'tor-gitlab/mr/79' into maint-0.4.4
2020-08-03 16:48:52 +03:00
Nick Mathewson
d1fda62d11
Merge remote-tracking branch 'tor-gitlab/mr/94'
2020-08-03 08:54:03 -04:00
Nick Mathewson
3e3b0b0443
Merge remote-tracking branch 'tor-github/pr/1986/head'
2020-08-03 08:33:22 -04:00
Daniel Pinto
1474ab3395
Add --format argument to --key-expiration option. #30045
2020-08-01 01:08:37 +01:00
Nick Mathewson
700e8a8bb0
Remove now-outdated part of 33812 changes file.
2020-07-31 21:10:54 +05:30
MrSquanchee
5ca03f1ebd
Changes 33812 : Add ticket number to all paragraphs
...
Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
2020-07-31 21:12:44 +05:30
MrSquanchee
708f51637f
Added tests for bandwidth functions
...
Added tests for
1. commit_max
2. advance_obs
3. add_obs
4. rep_hist_fill_bandwidth_history
5. rep_hist_get_bandwidth_lines
Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
2020-07-31 21:10:54 +05:30
Alexander Færøy
e78a7450a2
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-07-31 02:03:34 +00:00
Alexander Færøy
4e684c8695
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-31 02:03:34 +00:00
Nick Mathewson
4c810a6abe
Merge branch 'bug40076_044'
2020-07-30 14:35:06 -04:00
Nick Mathewson
b4400e2093
Merge branch 'bug40076_043' into bug40076_044
2020-07-30 14:28:11 -04:00
Nick Mathewson
69d7752937
Merge branch 'bug40076_042' into bug40076_043
2020-07-30 14:27:29 -04:00
Nick Mathewson
c2d5ec5e43
Merge branch 'maint-0.4.2' into bug40076_042
2020-07-30 14:27:29 -04:00
Nick Mathewson
c4742b89b2
Fix a bug in buf_move_all() when the input buffer is empty.
...
We found this in #40076 , after we started using buf_move_all() in
more places. Fixes bug #40076 ; bugfix on 0.3.3.1-alpha. As far as
I know, the crash only affects master, but I think this warrants a
backport, "just in case".
2020-07-30 14:24:25 -04:00
Neel Chauhan
67a62ccf51
Use write_str_if_not_equal() for onion services
2020-07-30 10:46:15 -04:00
Nick Mathewson
9164d7c75e
Merge branch 'maint-0.4.4'
2020-07-29 12:37:08 -04:00
Nick Mathewson
3b8bf743ae
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-07-29 12:37:07 -04:00
Nick Mathewson
cdb0e6c252
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-29 12:37:07 -04:00
Nick Mathewson
c7502b6503
Add a changes file from mr 86 for 40072 fix.
2020-07-29 12:36:56 -04:00
Alexander Færøy
eba2870d18
Merge branch 'maint-0.4.4'
2020-07-29 13:58:14 +00:00
Alexander Færøy
8e690ce736
Merge remote-tracking branch 'tor-gitlab/mr/85' into maint-0.4.4
2020-07-29 13:57:47 +00:00
Alexander Færøy
6665713967
Merge remote-tracking branch 'tor-gitlab/mr/87'
2020-07-29 13:39:59 +00:00
Alexander Færøy
109063185b
Merge branch 'tor-gitlab/mr/73_squashed'
2020-07-29 13:34:24 +00:00
Nick Mathewson
3cb9a9b8ce
Remove the connection_t.outbuf_flushlen field
...
This was once used for rate-limiting, but now it's only for
accounting. It hasn't served a useful purpose in a long time.
Closes ticket 33097.
2020-07-29 13:33:35 +00:00
Nick Mathewson
915af1a65b
Remove tor.service.in
...
We aren't good at maintaining this; downstream maintainers are much
better at figuring out what is right for them.
Closes #30797 .
2020-07-29 00:04:42 -04:00
Nick Mathewson
dcc60294ad
Use _lseeki64() on windows.
...
Fixes bug 31036; bugfix on 0.2.1.8-alpha when we moved the logging
system to use posix fds.
2020-07-28 11:30:47 -04:00
Nick Mathewson
9d922b8eaa
Merge branch 'maint-0.4.4'
2020-07-23 10:10:32 -04:00
Nick Mathewson
6354b70e49
Merge branch 'maint-0.4.2' into maint-0.4.3
2020-07-23 10:09:14 -04:00
Nick Mathewson
3bcbd69a77
Merge branch 'maint-0.3.5' into maint-0.4.2
2020-07-23 10:09:14 -04:00
Nick Mathewson
07934664c5
Merge branch 'maint-0.4.3' into maint-0.4.4
2020-07-23 10:09:14 -04:00
Nick Mathewson
f916ddd312
More info in the fallbackdir changes file
2020-07-23 10:08:42 -04:00
David Goulet
6f19e67c98
fallbackdir: Update list for 2020
...
Closes #40061
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-23 10:05:11 -04:00
Nick Mathewson
b3112a6d26
Merge branch 'remove-padding-fix-7869-v2'
2020-07-23 08:26:44 -04:00
Daniel Pinto
8763d96d20
Changes file for #7869
2020-07-23 08:25:22 -04:00
David Goulet
884ccd6996
Merge branch 'maint-0.4.4'
2020-07-22 16:14:19 -04:00
David Goulet
1ee164afc2
Merge branch 'tor-gitlab/mr/77' into maint-0.4.4
2020-07-22 16:14:11 -04:00
Nick Mathewson
ceb6585a4b
Treat all extorport connections with un-set addresses as remote
...
Without this fix, if an PT forgets to send a USERADDR command, that
results in a connection getting treated as local for the purposes of
rate-limiting.
If the PT _does_ use USERADDR, we still believe it.
Closes ticket 33747.
2020-07-22 15:21:56 -04:00