Nick Mathewson
8939eaf479
Merge branch 'maint-0.2.9' into maint-0.3.1
2018-02-11 18:09:35 -05:00
Nick Mathewson
848ba26c18
Merge branch 'ticket24315_029' into maint-0.2.9
2018-02-11 18:07:37 -05:00
Nick Mathewson
684d57fe8a
Merge branch 'maint-0.3.1' into maint-0.3.2
2018-02-11 17:00:52 -05:00
Nick Mathewson
eccef6ba60
Merge branch 'maint-0.2.9' into maint-0.3.1
2018-02-11 16:51:56 -05:00
Nick Mathewson
5dc785ceef
Merge remote-tracking branch 'public/bug21074_029' into maint-0.2.9
2018-02-11 16:51:53 -05:00
Nick Mathewson
3834441a72
chnages file for 25120
2018-02-11 16:14:19 -05:00
Nick Mathewson
4de20d1754
Merge branch 'maint-0.3.1' into maint-0.3.2
2018-02-10 16:09:01 -05:00
Nick Mathewson
1df701c082
Merge branch 'maint-0.3.2'
2018-02-10 16:09:01 -05:00
Nick Mathewson
86583ad78e
Merge branch 'maint-0.2.9' into maint-0.3.1
2018-02-10 16:09:00 -05:00
Nick Mathewson
320dac4602
Merge branch 'bug24978_029_enable' into maint-0.2.9
2018-02-10 16:08:58 -05:00
Nick Mathewson
e5d78c70b0
Begin work on a changelog
2018-02-09 15:58:26 -05:00
Nick Mathewson
549a450f52
Add a "make test-rust" target to run the rust tests only.
2018-02-08 17:51:57 -05:00
Nick Mathewson
8d142e2322
Merge remote-tracking branch 'isis/bug25127'
2018-02-08 17:16:14 -05:00
Nick Mathewson
84bc75b2e7
Merge branch 'maint-0.3.1' into maint-0.3.2
2018-02-08 10:29:06 -05:00
Nick Mathewson
cce76fbbe2
Merge branch 'maint-0.3.2'
2018-02-08 10:29:06 -05:00
Nick Mathewson
04a8e81fa9
Merge branch 'maint-0.2.9' into maint-0.3.1
2018-02-08 10:29:05 -05:00
Nick Mathewson
0ddc2dc531
Merge branch 'maint-0.2.5' into maint-0.2.9
2018-02-08 10:29:05 -05:00
David Goulet
211fe44e07
dirserv: Improve returned message when relay is rejected
...
Explicitly inform the operator of the rejected relay to set a valid email
address in the ContactInfo field and contact bad-relays@ mailing list.
Fixes #25170
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-08 09:42:26 -05:00
Karsten Loesing
f1278b7e57
Update geoip and geoip6 to the February 7 2018 database.
2018-02-08 10:32:41 +01:00
David Goulet
652d3a5b66
Remove anything related to the old SocksSockets option
...
At this commit, the SocksSocketsGroupWritable option is renamed to
UnixSocksGroupWritable. A deprecated warning is triggered if the old option is
used and tor will use it properly.
Fixes #24343
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-07 14:05:33 -05:00
Nick Mathewson
12b58ba551
Merge remote-tracking branch 'dgoulet/ticket25163_033_01'
2018-02-07 12:46:27 -05:00
Nick Mathewson
78382d557a
Merge remote-tracking branch 'dgoulet/bug25113_029_01'
2018-02-07 11:33:14 -05:00
David Goulet
fe3dfe7e38
test: Bump to 10 msec gap in the monotonic test
...
On slow system, 1 msec between one read and the other was too tight. For
instance, it failed on armel with a 4msec gap:
https://buildd.debian.org/status/package.php?p=tor&suite=experimental
Increase to 10 msec for now to address slow system. It is important that we
keep this OP_LE test in so we make sure the msec/usec/nsec read aren't
desynchronized by huge gaps. We'll adjust again if we ever encounter a system
that goes slower than 10 msec between calls.
Fixes #25113
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-07 10:50:52 -05:00
Nick Mathewson
a45b56753c
changes file for 23650 typo fixes
2018-02-07 10:44:21 -05:00
David Goulet
93ebcc2b8f
rephist: Stop tracking relay connection status
...
Remove a series of connection counters that were only used when dumping the
rephist statistics with SIGUSR1 signal.
This reduces the or_history_t structure size.
Closes #25163
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-06 12:56:36 -05:00
Nick Mathewson
6961609a1c
Merge remote-tracking branch 'dgoulet/bug25116_029_01'
2018-02-06 12:13:41 -05:00
Nick Mathewson
a384937f84
Merge branch 'arma_bug22212_031'
2018-02-06 11:41:52 -05:00
Nick Mathewson
5a1e0bfcdc
Add a category for the 22212-forreal changes file
2018-02-06 11:41:31 -05:00
Nick Mathewson
87db5a6b75
Merge remote-tracking branch 'arma/bug22212'
2018-02-06 11:36:13 -05:00
Nick Mathewson
358b609e9d
Enable (safe) use of zstd static-only APIs
...
We'll only use these when the compile-time version and the run-time
version of the zstd library match. Part of ticket 25162.
2018-02-06 11:05:07 -05:00
Isis Lovecruft
7ea9e080c5
protover: Fix memleak in Rust implementation.
...
* FIXES #25127 : https://bugs.torproject.org/25127 .
2018-02-06 02:56:16 +00:00
David Goulet
7ce8d5513b
Make circuit_log_ancient_one_hop_circuits() ignore established service rendezvous
...
Services can keep rendezvous circuits for a while so don't log them if tor is
a single onion service.
Fixes #25116
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-05 13:46:43 -05:00
Nick Mathewson
e3d4154486
Avoid a malloc/free pair for each (server-side) ntor handshake
...
Closes ticket 25150
2018-02-05 11:53:33 -05:00
Deepesh Pathak
1c8f55310f
Rename a verified unverified-consensus to cached-consensus on the disk
...
- Fixes ticket #4187
- Change the name of a unverified-*consensus to cached-*consensus
on disk when it has been verified.
2018-02-03 06:45:52 +05:30
Nick Mathewson
eafa252b26
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
2018-02-02 15:00:35 -05:00
David Goulet
475218c108
Merge branch 'ticket25122_029_02' into ticket24902_029_05
2018-02-02 14:55:01 -05:00
David Goulet
51839f4765
geoip: Hook the client history cache into the OOM handler
...
If the cache is using 20% of our maximum allowed memory, clean 10% of it. Same
behavior as the HS descriptor cache.
Closes #25122
Signed-off-by: David Goulet <dgoulet@torproject.org >
2018-02-02 14:48:41 -05:00
Nick Mathewson
77634795b0
Merge remote-tracking branch 'dgoulet/bug24700_032_01' into maint-0.3.2
2018-02-01 16:57:57 -05:00
David Goulet
e1a40535ea
Merge branch 'bug24700_032_01' into bug24700_033_01
2018-02-01 16:39:04 -05:00
Nick Mathewson
31542cc306
Merge branch 'maint-0.3.1' into maint-0.3.2
2018-02-01 15:28:17 -05:00
Nick Mathewson
9773cd0f94
Merge branch 'maint-0.3.2'
2018-02-01 15:28:17 -05:00
Nick Mathewson
9cbc40e376
Merge remote-tracking branch 'teor/bug25070_031' into maint-0.3.1
2018-02-01 15:28:11 -05:00
Nick Mathewson
c2757c3774
Remove nodelist_recompute_all_hsdir_indices() as unused.
...
Closes 25108.
2018-02-01 08:44:47 -05:00
Nick Mathewson
ea8e9f17f5
Revert "Change the sandbox behavior on all failed opens() to EACCES"
...
This reverts commit 9a06282546 .
It appears that I misunderstood how the seccomp2 filter rules
interact. It appears that `SCMP_ACT_ERRNO()` always takes
precedence over `SCMP_ACT_ALLOW()` -- I had thought instead that
earlier rules would override later ones. But this change caused bug
25115 (not in any released Tor).
2018-02-01 08:39:38 -05:00
Nick Mathewson
88b146cda5
Merge remote-tracking branch 'dgoulet/bug24469_033_01'
2018-02-01 08:22:44 -05:00
Nick Mathewson
ca85d66217
Merge branch 'maint-0.3.2'
2018-02-01 08:15:09 -05:00
Nick Mathewson
61cb2993dd
Merge remote-tracking branch 'dgoulet/bug24975_032_01' into maint-0.3.2
2018-02-01 08:10:34 -05:00
Caio Valente
7884ce76e1
refactor: rename connection_t struct fields.
...
connection_t.timestamp_lastwritten renamed to
connection_t.timestamp_last_write_allowed
connection_t.timestamp_lastread renamed to
connection_t.timestamp_last_read_allowed
Closes ticket 24714.
2018-02-01 03:12:38 +01:00
Caio Valente
ad06e0b406
Changes file for ticket 25081.
2018-02-01 02:25:08 +01:00
Nick Mathewson
d1c2597096
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
2018-01-31 16:17:04 -05:00