Age | Commit message (Collapse) | Author |
|
This commit is _exactly_ the result of
perl -i -pe 's/\bmemcmp\(/tor_memcmp\(/g' src/*/*.[ch]
perl -i -pe 's/\!\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch]
perl -i -pe 's/0\s*==\s*tor_memcmp\(/tor_memeq\(/g' src/*/*.[ch]
perl -i -pe 's/0\s*!=\s*tor_memcmp\(/tor_memneq\(/g' src/*/*.[ch]
git checkout src/common/di_ops.[ch]
git checkout src/or/test.c
git checkout src/common/test.h
|
|
|
|
mistake again
Our public key functions assumed that they were always writing into a
large enough buffer. In one case, they weren't.
(Incorporates fixes from sebastian)
|
|
|
|
This will avoid some signed/unsigned assignment-related bugs.
|
|
|
|
Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.
Thanks to ekir for discovering and reporting this bug.
|
|
|
|
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
use the same download mechanism as other places.
i had to make an ugly hack around "IMPOSSIBLE_TO_DOWNLOAD+1".
we should unhack that sometime.
svn:r17834
|
|
strlcpy in rend descriptor encoding.
svn:r17818
|
|
function to use the "goto err" idiom.
svn:r17665
|
|
svn:r17164
|
|
446. Based on patch from rovv.
svn:r17162
|
|
equivalent: I got a lonely "Failed to fetch rendezvous descriptor."
in my log file, even when the connection worked.
svn:r17028
|
|
should definitely re-review the bits I changed.
svn:r16955
|
|
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
svn:r16816
|
|
svn:r16808
|
|
almost inevitable.
svn:r16779
|
|
svn:r16604
|
|
svn:r16599
|
|
svn:r16598
|
|
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
svn:r13605
|
|
should probably be fixed better somehow.
svn:r13604
|
|
svn:r13603
|
|
Patch from karsten: make hidden service code respect SafeLogging.
svn:r13493
|
|
svn:r13412
|
|
if we have a perfectly good v0 renddesc.
svn:r13265
|
|
its hsdir status
svn:r13037
|
|
svn:r12900
|
|
svn:r12826
|
|
svn:r12825
|
|
svn:r12786
|
|
svn:r12619
|
|
svn:r12607
|
|
svn:r12580
|
|
that have no introduction points. But Tor crashed when we tried
to build a descriptor with no intro points (and it would have
crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch
by Karsten Loesing.
svn:r12579
|
|
Try to make hidden service directory lookup functions a bit more efficient: go for fewer O(n) operations, and look at the consensus rather than the routerinfo list.
svn:r12361
|
|
More tweaks from karsten, with some cleanup and commentary.
svn:r12319
|
|
svn:r12315
|
|
Clients download and cache new hidden descriptor format.
svn:r12302
|
|
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
svn:r12299
|
|
Tidy last patch a bit.
svn:r12273
|
|
Patch from Karsten: Code to act as (and use) v2 hidden service directories.
svn:r12272
|
|
Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported.
svn:r12255
|
|
Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors.
svn:r12254
|
|
clients specify their chosen rendezvous point by identity digest
rather than by (potentially ambiguous) nickname. This change could
speed up hidden service connections dramatically.
svn:r11499
|
|
svn:r11498
|