- 25 Sep, 2018 1 commit
-
-
Nick Mathewson authored
-
- 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.
-
- 17 Jul, 2018 1 commit
-
-
Neel Chauhan authored
-
- 16 Jul, 2018 1 commit
-
-
Neel Chauhan authored
-
- 05 Jul, 2018 3 commits
-
-
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
-
- 01 Jul, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
-
- 27 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 21 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 20 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 15 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 06 Apr, 2018 1 commit
-
-
Isis Lovecruft authored
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658
-
- 04 Apr, 2018 1 commit
-
-
Also don't give up on a resolver as quickly if multiple are configured.
-
- 07 Feb, 2018 1 commit
-
-
- 08 Dec, 2017 1 commit
-
-
Nick Mathewson authored
-
- 16 Nov, 2017 1 commit
-
-
Nick Mathewson authored
evdns is allowed to give us unrecognized object types; it is allowed to give us non-IPv4 answer types, and it is (even) allowed to give us empty answers without an error. Closes ticket 24097.
-
- 09 Nov, 2017 1 commit
-
-
Nick Mathewson authored
DisableNetwork is a subset of net_is_disabled(), which is (now) a subset of should_delay_dir_fetches(). Some of these changes are redundant with others higher or lower in the call stack. The ones that I think are behavior-relevant are listed in the changes file. I've also added comments in a few places where the behavior is subtle. Fixes bug 12062; bugfix on various versions.
-
- 05 Nov, 2017 1 commit
-
-
Thanks to Dhalgren who analyzed this issue two years ago and found a solution!
-
- 15 Sep, 2017 1 commit
-
-
Nick Mathewson authored
-
- 11 Sep, 2017 1 commit
-
-
Add magic comments recognized by default -Wimplicit-fallthrough=3 or break, as required.
-
- 03 Aug, 2017 1 commit
-
-
- 01 Jul, 2017 1 commit
-
-
Roger Dingledine authored
-
- 23 Jun, 2017 1 commit
-
-
Nick Mathewson authored
Closes ticket 3056.
-
- 30 May, 2017 1 commit
-
-
Add magic comments recognized by default -Wimplicit-fallthrough=3 or break, as required.
-
- 26 May, 2017 1 commit
-
-
Nick Mathewson authored
A fair number of our mock_impl declarations were messed up so that even our special AM_ETAGSFLAGS couldn't find them. This should be a whitespace-only patch.
-
- 15 May, 2017 1 commit
-
-
Nick Mathewson authored
This assertion can only fail if we mess up some of our other code, but let's try to get it right. Closes 22244.
-
- 15 Mar, 2017 1 commit
-
-
Nick Mathewson authored
-
- 18 Jan, 2017 2 commits
-
-
So far, the TTLs for both A and AAAA records were not initialised, resulting in exit relays sending back the value 60 to Tor clients. This also impacts exit relays' DNS cache -- the expiry time for all domains is set to 60. This fixes <https://bugs.torproject.org/19025>.
-
Nick Mathewson authored
The server-side clipping now clamps to one of two values, both for what to report, and how long to cache. Additionally, we move some defines to dns.h, and give them better names.
-
- 27 Oct, 2016 1 commit
-
-
overcaffeinated authored
Use the following coccinelle script to change uses of smartlist_add(sl, tor_strdup(str)) to smartlist_add_strdup(sl, string) (coccinelle script from nickm via bug 20048): @@ expression a; expression b; @@ - smartlist_add + smartlist_add_strdup (a, - tor_strdup( b - ) )
-
- 17 Oct, 2016 1 commit
-
-
Nick Mathewson authored
This commit adds or improves the module-level documenation for: buffers.c circuitstats.c command.c connection_edge.c control.c cpuworker.c crypto_curve25519.c crypto_curve25519.h crypto_ed25519.c crypto_format.c dircollate.c dirserv.c dns.c dns_structs.h fp_pair.c geoip.c hibernate.c keypin.c ntmain.c onion.c onion_fast.c onion_ntor.c onion_tap.c periodic.c protover.c protover.h reasons.c rephist.c replaycache.c routerlist.c routerparse.c routerset.c statefile.c status.c tor_main.c workqueue.c In particular, I've tried to explain (for each documented module) what each module does, what's in it, what the big idea is, why it belongs in Tor, and who calls it. In a few cases, I've added TODO notes about refactoring opportunities. I've also renamed an argument, and fixed a few DOCDOC comments.
-
- 04 Jul, 2016 1 commit
-
-
Sebastian Hahn authored
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code.
-
- 27 Feb, 2016 1 commit
-
-
Nick Mathewson authored
-
- 15 Dec, 2015 1 commit
-
-
This patch was generated using; sed -i -e "s/\bINLINE\b/inline/" src/*/*.[ch] src/*/*/*.[ch]
-
- 24 Oct, 2015 2 commits