- 12 Mar, 2020 1 commit
-
-
Closes #33361 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 12 Feb, 2020 1 commit
-
-
This patch ensures that we always lowercase the BridgeDistribution from torrc in descriptors before submitting it. See: https://bugs.torproject.org/32753
-
- 31 May, 2019 2 commits
-
-
Nick Mathewson authored
Otherwise, we won't realize that we haven't got enough bridge information to build circuits. Part of a fix for ticket 29875.
-
Nick Mathewson authored
Fixes bug 22619; bugfix on 0.2.7.2-alpha
-
- 14 May, 2019 1 commit
-
-
Nick Mathewson authored
Closes ticket 30452.
-
- 23 Jan, 2019 1 commit
-
-
haxxpop authored
We add an option param to safe_str and safe_str_client because in some case we need to use those functions before global_options is set.
-
- 16 Jan, 2019 1 commit
-
-
Nick Mathewson authored
-
- 09 Jan, 2019 1 commit
-
-
Prior to this commit, the testsuite was failing on OpenBSD. After this commit the testsuite runs fine on OpenBSD. It was previously decided to test for the OpenBSD macro (rather than __OpenBSD__, etc.) because OpenBSD forks seem to have the former macro defined. sys/param.h must be included for the OpenBSD macro definition; however, many files tested for the OpenBSD macro without having this header included. This commit includes sys/param.h in the files where the OpenBSD macro is used (and sys/param.h is not already included), and it also changes some instances of the __OpenBSD__ macro to OpenBSD. See commit 27df23ab which changed everything to use OpenBSD instead of __OpenBSD__ or OPENBSD. See also tickets #6982 and #20980 (the latter ticket is where it was decided to use the OpenBSD macro). Signed-off-by:
Kris Katterjohn <katterjohn@gmail.com>
-
- 18 Dec, 2018 1 commit
-
-
Nick Mathewson authored
It was always analyzed before use, but scan-build wasn't able to persuade itself of that. Closes ticket 28881.
-
- 27 Sep, 2018 5 commits
-
-
Nick Mathewson authored
When freeing a configuration object from confparse.c in dump_config(), we need to call the appropriate higher-level free function (like or_options_free()) and not just config_free(). This only happens with options (since they're the one where options_validate allocates extra stuff) and only when running --dump-config with something other than minimal (since OPTIONS_DUMP_MINIMAL doesn't hit this code). Fixes bug 27893; bugfix on 0.3.2.1-alpha.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This commit just moves the code to two separate files. The geoip code still has a few needless dependencies on core/* and features/*.
-
Nick Mathewson authored
It differs from the rest of the rephist code in that it's actually necessary for Tor to operate, so it should probably go somewhere else. I'm not sure where yet, so I'll leave it in the same directory, but give it its own file.
-
- 25 Sep, 2018 3 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
-
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 1 commit
-
-
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.
-
- 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
-
- 15 Sep, 2018 1 commit
-
-
George Kadianakis authored
Moves code to a function, better viewed with --color-moved.
-
- 13 Sep, 2018 1 commit
-
-
Nick Mathewson authored
Without this, RunAsDaemon breaks NSS. Fixes bug 27664; bug not in any released Tor.
-
- 12 Sep, 2018 1 commit
-
-
- 08 Sep, 2018 1 commit
-
-
Roger Dingledine authored
(a relay operator hit this on #tor-relays and couldn't make sense of it. i couldn't either until i went to go read the code.)
-
- 07 Sep, 2018 1 commit
-
-
The new ClientOnionAuthDir option is introduced which is where tor looks to find the HS v3 client authorization files containing the client private key material. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 03 Sep, 2018 1 commit
-
-
cypherpunks authored
Closes ticket #27428.
-
- 28 Aug, 2018 1 commit
-
-
Remove support for Tor2web in the code and build system. At this commit, tor doesn't have Tor2web support anymore. Ref: https://lists.torproject.org/pipermail/tor-dev/2018-July/013295.html Close #26367 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 23 Aug, 2018 2 commits
-
-
teor authored
Since 0.3.3.5-rc, authorities require DirCache (V2Dir) for the Guard flag. Fixes bug 24312; bugfix on 0.3.3.5-rc.
-
-
- 21 Aug, 2018 1 commit
-
-
Nick Mathewson authored
We used to link both libraries at once, but now that I'm working on TLS, there's nothing left to keep OpenSSL around for when NSS is enabled. Note that this patch causes a couple of places that still assumed OpenSSL to be disabled when NSS is enabled - tor-gencert - pbkdf2
-
- 08 Aug, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 01 Aug, 2018 1 commit
-
-
Nick Mathewson authored
This lets us potentially use it for internal passing of windows sockets.
-
- 21 Jul, 2018 1 commit
-
-
Neel Chauhan authored
-
- 16 Jul, 2018 1 commit
-
-
juga authored
* add bwlist_headers argument to dirserv_read_measured_bandwidth in order to store all the headers found when parsing the file * add bwlist_headers to networkstatus_t in order to store the the headers found by the previous function * include the bandwidth headers as string in vote documents * add test to check that dirserv_read_measured_bandwidth generates the bwlist_headers
-
- 11 Jul, 2018 1 commit
-
-
Nick Mathewson authored
That place is git-revision.c; git-revision.c now lives in lib/log. Also fix the compilation rules so that all object files that need micro-revision.i depend on it.
-
- 10 Jul, 2018 2 commits
-
-
Nick Mathewson authored
(Almost none of Tor should actually need to touch the platform resolver.)
-
Nick Mathewson authored
This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its arguments is NULL. That's a good way for accidents to happen. This patch incidentally makes tor-resolve support socks hosts on IPv6.
-
- 07 Jul, 2018 1 commit
-
-
Kaidan authored
-
- 05 Jul, 2018 1 commit
-
-
Nick Mathewson authored
I am very glad to have written this script.
-