summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2013-01-24Merge branch 'time_based_onionqueue_v2' of ssh://git-rw.torproject.org/nickm/torAndrea Shepard
2013-01-19Merge remote-tracking branch 'karsten/bug5823'Nick Mathewson
2013-01-17Replace base-{16,32,64} with base{16,32,64} in the codeNick Mathewson
Patch from onizuka generated with find ./ -type f -perm -u+rw -exec sed -ri 's/(Base)-(16|32|64)/\1\2/gi' {} \; Fixes issue 6875 on Tor.
2013-01-17Add ntor-related modules to the Makefiles.nmakeNick Mathewson
2013-01-17Fix an MSVC warning in onion.h prototypesNick Mathewson
2013-01-17Add a missing part of bug 7311's makefile.nmake tweaksNick Mathewson
Fix by "ultramage". This already has a changes entry.
2013-01-17Merge remote-tracking branch 'public/bug6302'Nick Mathewson
2013-01-17Remove dirreq-v2-* lines from extra-info descriptors.Karsten Loesing
Implements the rest of #5823.
2013-01-16Implement proposal 204: ignore subdomains in hidden service addressesJérémy Bobbio
The implementation is pretty straightforward: parse_extended_hostname() is modified to drop any leading components from an address like 'foo.aaaaaaaaaaaaaaaa.onion'.
2013-01-16Merge branch '024_msvc_squashed'Nick Mathewson
Conflicts: src/or/or.h srcwin32/orconfig.h
2013-01-16Fix an instance of snprintf; don't use _snprintf directlyNick Mathewson
2013-01-16When building with MSVC, call every enum bitfield unsignedNick Mathewson
Fixes bug 7305.
2013-01-16use the /Fe flag with msvcNick Mathewson
Fixes 7309
2013-01-16Add missing objects to Makefile.nmakeNick Mathewson
2013-01-16Add missing includes and libs to makefile.nmakeNick Mathewson
Fixes bugs 7312 and 7310.
2013-01-16Aftermath of isin->contains renamingNick Mathewson
Fix wide lines and comments, and add a changes file
2013-01-16Rename *_isin to *_containsNick Mathewson
This is an automatically generated commit, from the following perl script, run with the options "-w -i -p". s/smartlist_string_num_isin/smartlist_contains_int_as_string/g; s/smartlist_string_isin((?:_case)?)/smartlist_contains_string$1/g; s/smartlist_digest_isin/smartlist_contains_digest/g; s/smartlist_isin/smartlist_contains/g; s/digestset_isin/digestset_contains/g;
2013-01-16Remove two extrneous semicolons in dirserv.cNick Mathewson
In 6fbdf635 we added a couple of statements like: if (test) { ... }; The extraneous semicolons there get flagged as worrisome empty statements by the cparser library, so let's fix them. Patch by Christian Grothoff; fixes bug 7115.
2013-01-16Refactor: Use SOCK_ERRNO to avoid some #ifdef _WIN32sNick Mathewson
Fixes ticket 6302
2013-01-16Merge branch 'bug7972'Nick Mathewson
2013-01-16Actually link against nacl when we want to use itNick Mathewson
Fixes more of bug 7972
2013-01-16Removee dirrec-v*-sharestatisticsNick Mathewson
These were unused and sometimes inaccurate. Resolves 5823.
2013-01-16Merge remote-tracking branch 'asn/bug7896'Nick Mathewson
2013-01-16Update the copyright date to 201.Nick Mathewson
2013-01-15Forward-port fix for 7889Nick Mathewson
2013-01-15Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2013-01-15Clean up odds and endsRoger Dingledine
2013-01-15Fix handling of ntor handshakes received via CREATE cellsNick Mathewson
Fixes bug 7959; bugfix on 0.2.4.8-alpha.
2013-01-15Better log message to diagnose #7959Nick Mathewson
2013-01-14Revert junk accidentally included with "start folding in the changes entries"Nick Mathewson
Looks like Roger's debugging code wanted to take a tour of the world outside his sandbox. This reverts part of commit 19d37202362c0298ae2f3954b0065ccfcef0dbda.
2013-01-14Reject create/begin/etc cells with {circ,stream}ID 0.Nick Mathewson
Otherwise, it's possible to create streams or circuits with these bogus IDs, leading to orphaned circuits or streams, or to ones that can cause bandwidth DOS problems. Fixes bug 7889; bugfix on all released Tors.
2013-01-14start folding in the changes entriesRoger Dingledine
2013-01-14Merge branch 'bug7869'Nick Mathewson
2013-01-09Mention name of the transport used when we learn the fpr of a bridge.George Kadianakis
2013-01-08Bug 7691 review fixes.Mike Perry
Also add in the random nonce generation.
2013-01-08Bug 7341 code review fixes.Mike Perry
2013-01-08Bug 7691: Send a probe cell down certain types of circs.Mike Perry
In general, if we tried to use a circ for a stream, but then decided to place that stream on a different circuit, we need to probe the original circuit before deciding it was a "success". We also need to do the same for cannibalized circuits that go unused.
2013-01-08Fix bug 7341.Mike Perry
Fix cannibalize, rend circ and intro circ timeout handling.
2013-01-05Make the = at the end of ntor-onion-key optional.Nick Mathewson
Makes bug 7869 more easily fixable if we ever choose to do so.
2013-01-03Better handling (I think) for onionskin timing w jumpy clocksNick Mathewson
The fix: Instead of clipping huge/negative times, ignore them as probably invalid.
2013-01-03Record and report the overhead of how we handle onionskins.Nick Mathewson
2013-01-03Use a TAILQ, not a singly-linked queue, for the onion queue.Nick Mathewson
This makes removing items from the middle of the queue into an O(1) operation, which could prove important as we let onionqueues grow longer. Doing this actually makes the code slightly smaller, too.
2013-01-03Eliminate MaxOnionsPending; replace it with MaxOnionQueueDelayNick Mathewson
The right way to set "MaxOnionsPending" was to adjust it until the processing delay was appropriate. So instead, let's measure how long it takes to process onionskins (sampling them once we have a big number), and then limit the queue based on its expected time to finish. This change is extra-necessary for ntor, since there is no longer a reasonable way to set MaxOnionsPending without knowing what mix of onionskins you'll get. This patch also reserves 1/3 of the onionskin spots for ntor handshakes, on the theory that TAP handshakes shouldn't be allowed to starve their speedier cousins. We can change this later if need be. Resolves 7291.
2013-01-03Merge branch 'ntor-resquashed'Nick Mathewson
Conflicts: src/or/cpuworker.c src/or/or.h src/test/bench.c
2013-01-03Check all crypto_rand return values for ntor.Nick Mathewson
2013-01-03Complete all DOCDOC entries from the ntor branchNick Mathewson
2013-01-03Use safe_mem_is_zero for checking curve25519 output for 0-nessNick Mathewson
This should make the intent more explicit. Probably needless, though.
2013-01-03Add reference implementation for ntor, plus compatibility testNick Mathewson
Before I started coding ntor in C, I did another one in Python. Turns out, they interoperate just fine.
2013-01-03ntor: Don't fail fast server-side on an unrecognized KEYID(B)Nick Mathewson
2013-01-03Make libcurve25519_donna get built as a .aNick Mathewson
This lets us give it compiler flags differing from the rest of libor-crypto.a