- 10 Dec, 2020 1 commit
-
-
Nick Mathewson authored
-
- 09 Dec, 2020 1 commit
-
-
Nick Mathewson authored
-
- 08 Dec, 2020 8 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel.
-
Nick Mathewson authored
previously, we would panic.
-
Nick Mathewson authored
-
- 07 Dec, 2020 17 commits
-
-
Nick Mathewson authored
It was recording the dirport for each chutney authority as though it were an orport. That obviously won't work. Closes arti#45.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Alexander Færøy authored
-
Alexander Færøy authored
-
Nick Mathewson authored
This follows a three-phase process: We are either fetching microdescriptors, waiting for the time to download the next consensus, or fetching the next consensus and making it usable. We can stop fetching microdescriptors for two reasons: by having no more mds that we need to download, or by running out of time in which the current consensus is usable.
-
- 06 Dec, 2020 5 commits
-
-
Nick Mathewson authored
Previously, we'd re-parse them from the database every time we got a new consensus.
-
Nick Mathewson authored
Rather than having the NetDir own its microdescs and consensus, give it Arc<>s for them. This way, we can do a shallow copy of a NetDir to work around mutability issues that would otherwise make it hard to add microdescs to a netdir on the fly.
-
Alexander Færøy authored
-
Alexander Færøy authored
-
Alexander Færøy authored
-
- 05 Dec, 2020 1 commit
-
-
Alexander Færøy authored
This patch fixes a minor typo in the error case when looking for a middle relay for a 3-hop circuit where the error message should say "No middle relay found" and not "No exit relay found".
-
- 04 Dec, 2020 7 commits
-
-
Nick Mathewson authored
To be valid, a lifetime must have valid_after < fresh_until < valid_until.
-
Nick Mathewson authored
-
Nick Mathewson authored
This required me to move the sqlite connection from a rwlock into mutex, since it isn't actually Sync.
-
Nick Mathewson authored
This lets us make AuthCert Send and Sync.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(We can't just subtract and sleep, since we should be at least somewhat concerned about clock jumps.)
-