- 14 Nov, 2018 1 commit
-
-
teor authored
Clients have ignored the Named flag since 0.3.2. Fixes bug 28441; bugfix on 0.3.2.1-alpha.
-
- 01 Oct, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 27 Sep, 2018 1 commit
-
-
Nick Mathewson authored
-
- 25 Sep, 2018 2 commits
-
-
Nick Mathewson authored
Make them only include the headers that they needed, and sort their headers while we're at it.
-
Nick Mathewson authored
This is preparation for having a routermode.h as well
-
- 21 Sep, 2018 1 commit
-
-
Nick Mathewson authored
The main.c code is responsible for initialization and shutdown; the mainloop.c code is responsible for running the main loop of Tor. Splitting the "generic event loop" part of mainloop.c from the event-loop-specific part is not done as part of this patch.
-
- 20 Sep, 2018 2 commits
-
-
Nick Mathewson authored
In dirauth: * bwauth.c reads and uses bandwidth files * guardfraction.c reads and uses the guardfraction file * reachability.c tests relay reachability * recommend_pkg.c handles the recommended-packages lines. * recv_descs.c handles fingerprint files and processing incoming routerinfos that relays upload to us * voteflag.c computes flag thresholds and sets those thresholds on routerstatuses when computing votes In control: * fmt_serverstatus.c generates the ancient "v1 server status" format that controllers expect. In nodelist: * routerstatus_fmt.c formats routerstatus entries for a consensus, a vote, or for the controller.
-
David Goulet authored
It is not enough to look at protover for v3 rendezvous support but also we need to make sure that the curve25519 onion key is present or in other words that the descriptor has been fetched and does contain it. Fixes #27797. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 19 Sep, 2018 1 commit
-
-
Nick Mathewson authored
There are now separate modules for: * the list of router descriptors * the list of authorities and fallbacks * managing authority certificates * selecting random nodes
-
- 10 Sep, 2018 2 commits
-
-
Taylor Yu authored
Existing cached directory information can cause misleadingly high bootstrap percentages. To improve user experience, defer reporting of directory information progress until at least one connection has succeeded to a relay or bridge. Closes ticket 27169.
-
Taylor Yu authored
Simplify control_event_bootstrap() by making it return void again. It is currently a fairly complicated function, and it's made more complicated by returning an int to signal whether it logged at NOTICE or INFO. The callers conditionally log messages at level NOTICE based on this return value. Change the callers to unconditionally log their verbose human-readable messages at level INFO to keep NOTICE logs less cluttered. This partially reverts the changes of #14950.
-
- 29 Aug, 2018 1 commit
-
-
The OpenSSL "RSA" object is currently 408 bytes compares to the ASN.1 encoding which is 140 for a 1024 RSA key. We save 268 bytes per descriptor (routerinfo_t) *and* microdescriptor (microdesc_t). Scaling this to 6000 relays, and considering client usually only have microdescriptors, we save 1.608 MB of RAM which is considerable for mobile client. This commit makes it that we keep the RSA onion public key (used for TAP handshake) in ASN.1 format instead of an OpenSSL RSA object. Changes is done in both routerinfo_t and microdesc_t. Closes #27246 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 24 Aug, 2018 1 commit
-
-
teor authored
Use the mid weight for the third hop when there are no exits. Fixes bug 27237; bugfix on 0.2.6.2-alpha.
-
- 17 Aug, 2018 1 commit
-
-
- 05 Jul, 2018 4 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
I am very glad to have written this script.
-
Nick Mathewson authored
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.
-
Nick Mathewson authored
This is temporary, until src/or is split. Putting this in containers would be another logical alternative, except that addresses depend on containers, and we don't like cycles.
-
- 27 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 20 Jun, 2018 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
We currently only do the check when we are about to use the HSDir indices.
-
- 16 Jun, 2018 1 commit
-
-
Neel Chauhan authored
-
- 15 Jun, 2018 7 commits
-
-
Nick Mathewson authored
I was expecting this to be much worse.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 14 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 02 May, 2018 1 commit
-
-
David Goulet authored
This function must return false if the module is not compiled in. In order to do that, we move the authdir_mode_v3() function out of router.c and into the dirauth module new header file named mode.h. It is always returning false if we don't have the module. Closes #25990 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 29 Apr, 2018 1 commit
-
-
Neel Chauhan authored
-
- 22 Apr, 2018 2 commits
-
-
Nick Mathewson authored
Changing the name of this function should help keep us from misusing it when node_has_preferred_descriptor() would be more appropriate.
-
Nick Mathewson authored
This patch adds a new node_has_preferred_descriptor() function, and replaces most users of node_has_descriptor() with it. That's an important change, since as of d1874b43 (our fix for #25213), we are willing to say that a node has _some_ descriptor, but not the _right_ descriptor for a particular use case. Part of a fix for 25691 and 25692.
-
- 17 Apr, 2018 2 commits
-
-
Nick Mathewson authored
Fixes a bug found by scan-build; bugfix on c2fa7438. Bug not in any released Tor.
-
Nick Mathewson authored
For whatever reason, clang's scan-build isn't sure that this function actually initializes its output.
-
- 27 Mar, 2018 2 commits
-
-
Taylor Yu authored
Coverity found a null pointer reference in nodelist_add_microdesc(). This is almost certainly impossible assuming that the routerstatus_t returned by router_get_consensus_status_by_descriptor_digest() always corresponds to an entry in the nodelist. Fixes bug 25629.
-
Taylor Yu authored
Coverity found a null pointer reference in nodelist_add_microdesc(). This is almost certainly impossible assuming that the routerstatus_t returned by router_get_consensus_status_by_descriptor_digest() always corresponds to an entry in the nodelist. Fixes bug 25629.
-