aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendmid.c
AgeCommit message (Collapse)Author
2011-05-11Hand-conversion and audit phase of memcmp transitionNick Mathewson
Here I looked at the results of the automated conversion and cleaned them up as follows: If there was a tor_memcmp or tor_memeq that was in fact "safe"[*] I changed it to a fast_memcmp or fast_memeq. Otherwise if there was a tor_memcmp that could turn into a tor_memneq or tor_memeq, I converted it. This wants close attention. [*] I'm erring on the side of caution here, and leaving some things as tor_memcmp that could in my opinion use the data-dependent fast_memcmp variant.
2011-05-11Automated conversion of memcmp to tor_memcmp/tor_mem[n]eqNick Mathewson
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
2011-01-03fix whitespace issuesNick Mathewson
2011-01-03Bump copyright statements to 2011Nick Mathewson
2010-12-15Make payloads into uint8_t.Nick Mathewson
This will avoid some signed/unsigned assignment-related bugs.
2010-02-27Update Tor Project copyright yearsNick Mathewson
2009-05-04Update copyright to 2009.Karsten Loesing
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
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
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-08-11logging patch from karsten, slightly modified to compileRoger Dingledine
svn:r11074
2007-03-24 r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson
Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
2007-03-24 r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2006-10-31 r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500Nick Mathewson
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons. svn:r8881
2006-10-17 r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
2006-09-07prefer calling it a client rather than an OPRoger Dingledine
svn:r8334
2006-07-26 r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson
No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904
2006-07-23Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson
circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817
2006-02-13the last of the log convention conversion. finally.Roger Dingledine
svn:r6005
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-01-23Jan 23 02:39:44.856 [warn] rend_mid_rendezvous(): Rejecting RENDEZVOUS1 cell ↵Roger Dingledine
with unrecognized rendezvous cookie AFC097FD. This is not anything that the server admin can deal with, so don't complain this loudly. svn:r5851
2006-01-05Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson
svn:r5734
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-10when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-24Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson
interface; use new circ_log_path interface svn:r5302
2005-10-18Update more files to new log stuff.Nick Mathewson
svn:r5286
2005-09-09clean up the rendezvous warn log msgs, and downgrade some to infoRoger Dingledine
svn:r4964
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-05-20we were leaking 616 bytes every time somebody established us asRoger Dingledine
an intro point for their hidden service. svn:r4276
2005-05-03first iteration of scrubbing sensitive strings from logs.Roger Dingledine
also generally clean up log messages. svn:r4174
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-01-13start generating version 1 style introduce cellsRoger Dingledine
svn:r3352
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-02canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine
svn:r2644
2004-10-24start generating new version of introduce1 cellsRoger Dingledine
svn:r2586
2004-10-14Build without warnings on mac gcc 3.3Nick Mathewson
svn:r2487
2004-10-14more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine
plus a whitespace patch on config.c from vicman svn:r2482
2004-08-07Always initialize hexid in rend_mid_rendezvous, no matter whatNick Mathewson
svn:r2176
2004-08-07hex_encode is obsoleted by base16_encode, and never actually worked in the ↵Nick Mathewson
first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) svn:r2175
2004-07-22now base16_encode() and base32_encode() can't ever failRoger Dingledine
svn:r2103
2004-05-09more doxygen markupRoger Dingledine
plenty more remains svn:r1824
2004-05-05Comments for nearly all non-tricky filesNick Mathewson
svn:r1796