aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | Add a wrapper around, and test and build support for, curve25519.Nick Mathewson2013-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to use donna-c64 when we have a GCC with support for 64x64->uint128_t multiplying. If not, we want to use libnacl if we can, unless it's giving us the unsafe "ref" implementation. And if that isn't going to work, we'd like to use the portable-and-safe-but-slow 32-bit "donna" implementation. We might need more library searching for the correct libnacl, especially once the next libnacl release is out -- it's likely to have bunches of better curve25519 implementations. I also define a set of curve25519 wrapper functions, though it really shouldn't be necessary. We should eventually make the -donna*.c files get build with -fomit-frame-pointer, since that can make a difference.
| * | | curve25519-donna-c64: work on bigendian and alignment-happy systemsNick Mathewson2013-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was one place in curve25519-donna-c64 that was relying on unaligned access and relying on little-endian values. This patch fixes that. I've sent Adam a pull request.
| * | | Make curve25519-donna work with our compiler warnings.Nick Mathewson2013-01-02
| | | |
| * | | Add fallback implementations for curve25519: curve25519_donnaNick Mathewson2013-01-02
| | | | | | | | | | | | | | | | | | | | This is copied from Adam Langley's curve25519-donna package, as of commit 09427c9cab32075c06c3487aa01628030e1c5ae7.
| * | | Add a data-invariant linear-search map structureNick Mathewson2013-01-02
| | | | | | | | | | | | | | | | I'm going to use this for looking op keys server-side for ntor.
| * | | Add a unit test for the old KDF while we're at itNick Mathewson2012-12-06
| | | |
| * | | Implement HKDF from RFC5869Nick Mathewson2012-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a customizable extract-and-expand HMAC-KDF for deriving keys. It derives from RFC5869, which derives its rationale from Krawczyk, H., "Cryptographic Extraction and Key Derivation: The HKDF Scheme", Proceedings of CRYPTO 2010, 2010, <http://eprint.iacr.org/2010/264>. I'm also renaming the existing KDF, now that Tor has two of them. This is the key derivation scheme specified in ntor. There are also unit tests.
| * | | Add benchmark to test onionskin performance.Nick Mathewson2012-12-06
| | | |
| * | | Add a crypto_dh_dup, for benchmark supportNick Mathewson2012-12-06
| | | |
* | | | Avoid spurious local-port warningsNick Mathewson2013-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our old warn_nonlocal_client_ports() would give a bogus warning for every nonlocal port every time it parsed any ports at all. So if it parsed a nonlocal socksport, it would complain that it had a nonlocal socksport...and then turn around and complain about the nonlocal socksport again, calling it a nonlocal transport or nonlocal dnsport, if it had any of those. Fixes bug 7836; bugfix on 0.2.3.3-alpha.
* | | | Fix a couple of harmless clang3.2 warningsSebastian Hahn2012-12-31
| | | |
* | | | Merge branch 'bug7814_squash'Nick Mathewson2012-12-29
|\ \ \ \
| * | | | Fix a crash bug when running an node without IPv6-exit support.Nick Mathewson2012-12-29
|/ / / / | | | | | | | | | | | | Fixes bug 7814; bugfix on 0.2.4.7-alpha.
* | | | Rate-limit "No circuits are opened" message to once-per-hourNick Mathewson2012-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mr-4 reports on #7799 that he was seeing it several times per second, which suggests that things had gone very wrong. This isn't a real fix, but it should make Tor usable till we can figure out the real issue.
* | | | Fix a possibly-unused-var warning. Thank you, GCC.Nick Mathewson2012-12-25
| | | |
* | | | Fix compilation warning: must not format u64 as long.Nick Mathewson2012-12-25
| | | |
* | | | Fix whitespaceNick Mathewson2012-12-25
| | | |
* | | | Merge remote-tracking branch 'mikeperry/209-path-bias-changes'Nick Mathewson2012-12-25
|\ \ \ \
| * | | | Nick's Code review #3 part 2.Mike Perry2012-12-18
| | | | |
| * | | | Changes from Nick's code review 'part 1'Mike Perry2012-12-18
| | | | | | | | | | | | | | | | | | | | I think this is actually his third code review of this branch so far.
| * | | | Tags on relay cells can result in certain reason codes.Mike Perry2012-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | Close the circuit (it's probably junk anyways), and make sure we don't probe it/count it as a success.
| * | | | Woops, this log message triggers with the 2-hop bias commit.Mike Perry2012-12-11
| | | | |
| * | | | Add a missing comment.Mike Perry2012-12-10
| | | | |
| * | | | More log message and space fixups.Mike Perry2012-12-10
| | | | |
| * | | | Update manpage.Mike Perry2012-12-10
| | | | |
| * | | | Update changes file.Mike Perry2012-12-09
| | | | |
| * | | | Clean up some XXX comments.Mike Perry2012-12-09
| | | | |
| * | | | Space fixes.Mike Perry2012-12-09
| | | | |
| * | | | Fix a rather serious use-count state bug.Mike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | We need to use the success count or the use count depending on the consensus parameter.
| * | | | Convert to doubles for all pathbias state.Mike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | Let's hope this solves the rounding error issue..
| * | | | Also shorten circuit_successes to circ_successes.Mike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For consistency and great justice. Ok, mostly consistency.
| * | | | Rename first_hop to circ_attempt.Mike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | Since we've generalized what we can count from (first or second hop), we should generalize the variable and constant naming too.
| * | | | Change from first hop accounting to 2nd hop accountingMike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has several advantages, including more resilience to ambient failure. I still need to rename all the first_hop vars tho.. Saving that for a separate commit.
| * | | | Add intro+rend cannibalize param..Mike Perry2012-12-09
| | | | |
| * | | | Flag cannibalized circs as used (non-ideal).Mike Perry2012-12-09
| | | | | | | | | | | | | | | | | | | | Also add some comments.
| * | | | Allow any valid 'end' cell to mean a circuit was used successfully.Mike Perry2012-12-08
| | | | | | | | | | | | | | | | | | | | Also improve some log messages.
| * | | | Sadly, we can't safely count client intro circ successMike Perry2012-12-08
| | | | |
| * | | | Fix some hidden service edge cases.Mike Perry2012-12-08
| | | | |
| * | | | Refactor path use bias code into own function.Mike Perry2012-12-07
| | | | | | | | | | | | | | | | | | | | Also, improve and log some failure cases.
| * | | | Actually, both nacks and acks indicate a valid pathMike Perry2012-12-07
| | | | |
| * | | | Note more potential issues.Mike Perry2012-12-07
| | | | |
| * | | | Note a strange case for SOCKS streams.Mike Perry2012-12-07
| | | | |
| * | | | Fix another crash bug.Mike Perry2012-12-07
| | | | |
| * | | | Fix a crash bug and pass down a remote reason code.Mike Perry2012-12-07
| | | | | | | | | | | | | | | | | | | | Unexpected channel closures count as remote circ failures.
| * | | | Document that care needs to be taken with any_streams_attached.Mike Perry2012-12-07
| | | | |
| * | | | Remove n_chan codepaths for determinining guard.Mike Perry2012-12-07
| | | | | | | | | | | | | | | | | | | | Cpath is apparently good enough.
| * | | | Move a pathbias function that depends on entryguard_t.Mike Perry2012-12-07
| | | | |
| * | | | Fix a crash due to NULL circ->n_chan.Mike Perry2012-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | Is this redundant? Can we always rely on circ->cpath->extend_info being present for origin circuits?
| * | | | Prop209: Rend circuits weren't ever marked dirty.Mike Perry2012-12-07
| | | | |
| * | | | Prop 209: Add in hidserv path bias counts for usage.Mike Perry2012-12-07
| | | | |