aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
AgeCommit message (Collapse)Author
2008-01-06patch from karsten to complain less when a node losesRoger Dingledine
its hsdir status svn:r13037
2007-12-21revert r12841 and r12842, and commit karsten's "patch 13"Roger Dingledine
svn:r12900
2007-12-15cleanups on r12825Roger Dingledine
svn:r12826
2007-12-15apply karsten's "patch 12"Roger Dingledine
svn:r12825
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-11-30karsten's bugfix on r12607Roger Dingledine
svn:r12619
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-11-27cleanups on r12579Roger Dingledine
svn:r12580
2007-11-27Our new v2 hidden service descriptor format allows descriptorsRoger Dingledine
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
2007-11-03 r14678@tombo: nickm | 2007-11-03 16:12:31 -0400Nick Mathewson
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
2007-11-02 r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson
More tweaks from karsten, with some cleanup and commentary. svn:r12319
2007-11-01make r12272 compile on 64-bitRoger Dingledine
svn:r12315
2007-11-01 r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson
Clients download and cache new hidden descriptor format. svn:r12302
2007-10-31 r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
2007-10-29 r16263@catbus: nickm | 2007-10-29 15:08:17 -0400Nick Mathewson
Tidy last patch a bit. svn:r12273
2007-10-29 r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson
Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
2007-10-28 r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson
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
2007-10-28 r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson
Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
2007-09-18Start using the v2 intro format for hidden service connections. NowRoger Dingledine
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
2007-09-18clean up r11496Roger Dingledine
svn:r11498
2007-09-18Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine
them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
2007-08-31 r14871@catbus: nickm | 2007-08-31 10:12:53 -0400Nick Mathewson
Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate. svn:r11336
2007-05-04fix some code comments, a wrapper, and add a todo itemRoger Dingledine
svn:r10111
2007-04-30more cleanups on the hsusage patchRoger Dingledine
svn:r10077
2007-04-30 r12581@catbus: nickm | 2007-04-30 13:39:21 -0400Nick Mathewson
Minor cleanups on hidden service usage patch from Karsten: tidy documentation; make free_all idempotent (and safe to call even if we have not yet initialized rephist); and stop using "l" as a variable name (it is too easy to confuse with "1"). svn:r10068
2007-04-30 r12580@catbus: nickm | 2007-04-30 13:29:05 -0400Nick Mathewson
Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker. svn:r10067
2007-04-25cleanups, and note a bugRoger Dingledine
svn:r10022
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-09 r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
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-06-06fix typoRoger Dingledine
svn:r6549
2006-03-14change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LENPeter Palfrader
add a comment in a few places where we add weird numbers to buffer lengths svn:r6161
2006-03-12More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson
svn:r6143
2006-03-12Cleanup on time-relaqted constants. New conventions:Nick Mathewson
1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142
2006-02-21be quieter about hidserv descriptors that are too old or too new.Roger Dingledine
we can't do anything about them anyway. svn:r6073
2006-02-13the last of the log convention conversion. finally.Roger Dingledine
svn:r6005
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-14Fix a potential memory stomp on servers running hidden services. Found by ↵Nick Mathewson
weasel with valgrind. Backport candidate. svn:r5579
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-10-17Make a few INFO log lines into DEBUGPeter Palfrader
svn:r5257
2005-09-30Reformat inconsistent function declarations.Nick Mathewson
svn:r5160
2005-09-09a few more hints on a rare but mysterious warningRoger Dingledine
svn:r4966
2005-09-09clean up the rendezvous warn log msgs, and downgrade some to infoRoger Dingledine
svn:r4964
2005-07-22we were mangling memory because we weren't allocing enoughRoger Dingledine
for the hidserv desc nick can you check that this is enough now? svn:r4628
2005-07-22let hidden service descriptors publish 0 intro pointsRoger Dingledine
nick, please check the logic here svn:r4627