- Nov 17, 2020
-
-
Guinness authored
This changes the behaviour of `tor --version` in such a way. ```console src/app/tor --version Tor version 0.4.5.1-alpha-dev (git-46ccde66). Tor is running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1h, Zlib 1.2.11, Liblzma 5.2.4, Libzstd 1.4.5 and Glibc 2.31 as libc. Tor compiled with GCC version 10.2.0 ``` Fixes #32102
-
- Nov 12, 2020
-
-
-
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)
-
Nick Mathewson authored
Fixes bug 40187; bugfix on 0.4.5.1-alpha.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Nov 09, 2020
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Nov 02, 2020
-
-
David Goulet authored
Fixes #40173 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Nick Mathewson authored
Fixes #40177; bugfix on 0.4.5.1-alpha.
-
- Nov 01, 2020
-
-
Nick Mathewson authored
-
Jigsaw52 authored
Fix bug where running a relay on Windows would use 100% CPU after some time. Makes Windows >= Vista the required Windows version to build and run tor.
-
- Oct 30, 2020
-
-
Nick Mathewson authored
-
- Oct 28, 2020
-
-
Nick Mathewson authored
Fixes #40171. Bug not in any released Tor.
-
Nick Mathewson authored
It was deprecated 0.3.1.1-alpha. According to #22473, nothing uses it. Closes #22473.
-
Nick Mathewson authored
These options are meant for testing builds only, and are likely to cause trouble if used in a production environment. Closes #18888.
-
Nick Mathewson authored
OpenSSL doesn't seem to report error locations in the same way as before, which broke one of our tests. Fixes bug 40170; bugfix on 0.2.8.1-alpha.
-
Nick Mathewson authored
Apparently it conflicts with definitions elsewhere in Openssl 3.0.0.
-
Nick Mathewson authored
The "engines.h" header has lots of stuff; the "opensslv.h" header has the version number, which is all we actually need here. We need to do this because we're about to change this header to conditionally define OPENSSL_SUPPRESS_DEPRECATED, and it would be too late to do so if we'd already included "engines.h".
-
Nick Mathewson authored
The loop in the earlier patch would invoke undefined behavior in two ways: First, it would check whether it was looking at a space before it checked whether the pointer was in-range. Second, it would let a pointer reach a position _before_ the start of a string, which is not allowed. I've removed the assertion about empty messages: empty messages can be their own warning IMO. I've also added tests for this formatting code, to make sure it actually works.
-
-
David Goulet authored
Found by coverity: *** CID 1468664: Resource leaks (RESOURCE_LEAK) /src/test/test_metrics.c: 83 in test_config() 77 tt_int_op(ret, OP_EQ, false); 78 79 done: 80 SMARTLIST_FOREACH(ports, port_cfg_t *, c, port_cfg_free(c)); 81 smartlist_free(ports); 82 or_options_free(options); >>> CID 1468664: Resource leaks (RESOURCE_LEAK) >>> Variable "err_msg" going out of scope leaks the storage it points to. 83 } 84 85 static char _c_buf[256]; 86 #define CONTAINS(conn, msg) \ 87 do { \ 88 tt_int_op(buf_datalen(conn->outbuf), OP_EQ, (strlen(msg))); \ Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Oct 27, 2020
-
-
Neel Chauhan authored
-
David Goulet authored
The "METRICS_PREFIX" was not expanded but rather used as a litteral. Fix that by just removing the define and using "tor_" directly. Reviewed-by:
Alexander Færøy <ahf@torproject.org> Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Closes #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Tracks the total number of established introduction circuit. Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
The total number of rendezvous circuit created and the number of established ones which is a gauge that decreases to keep an updated counter. Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
At this commit, a new service registers to the module and a store is created. It also remove itself from the metrics module if it goes away. In order to hook into the metrics subsystem, this commit attaches the HS subsystem into the subsystem global list so its get_metrics() call can be accessible. HS initialization is still _not_ done through the subsys module as it is likely require much more testing. Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
If MetricsPort is defined, listen on it and handle the incoming request. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Used to provide an interface to create metrics store and update the entries. Related to #40063 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Oct 23, 2020
-
-
Nick Mathewson authored
First I began with a set of candidates: The client's _required_ list starts with all the protocols supported by every release in 0.2.9-stable through current master. The client's _required_ list starts with all the protocols supported by every release in 0.3.5-stable through current master. Everybody's _recommended_ list starts with all the protocols supported by every release in 0.3.5-stable through current master. Then I removed the protocol versions that we do not actually want to require or recommend: DirCache=1 (deprecated) HSDir=1, HSIntro=1-3, HSRend=1 (deprecated) (All HS* protocol requirements for clients) Link=1-3 (deprecated) LinkAuth=1 (obsolete) Relay=1 (obsolete)
-