aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
Commit message (Expand)AuthorAge
...
* cleanups on r12825•••svn:r12826 Roger Dingledine2007-12-15
* apply karsten's "patch 12"•••svn:r12825 Roger Dingledine2007-12-15
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* karsten's bugfix on r12607•••svn:r12619 Roger Dingledine2007-11-30
* karsten's second refactoring patch•••svn:r12607 Roger Dingledine2007-11-29
* cleanups on r12579•••svn:r12580 Roger Dingledine2007-11-27
* Our new v2 hidden service descriptor format allows descriptors•••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 Roger Dingledine2007-11-27
* r14678@tombo: nickm | 2007-11-03 16:12:31 -0400••• 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 Nick Mathewson2007-11-03
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400••• More tweaks from karsten, with some cleanup and commentary. svn:r12319 Nick Mathewson2007-11-02
* make r12272 compile on 64-bit•••svn:r12315 Roger Dingledine2007-11-01
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400••• Clients download and cache new hidden descriptor format. svn:r12302 Nick Mathewson2007-11-01
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400••• Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299 Nick Mathewson2007-10-31
* r16263@catbus: nickm | 2007-10-29 15:08:17 -0400••• Tidy last patch a bit. svn:r12273 Nick Mathewson2007-10-29
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400••• Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272 Nick Mathewson2007-10-29
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400••• 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 Nick Mathewson2007-10-28
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400••• Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254 Nick Mathewson2007-10-28
* Start using the v2 intro format for hidden service connections. Now•••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 Roger Dingledine2007-09-18
* clean up r11496•••svn:r11498 Roger Dingledine2007-09-18
* Drop support for v1 rendezvous descriptors, since we never used•••them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496 Roger Dingledine2007-09-18
* r14871@catbus: nickm | 2007-08-31 10:12:53 -0400••• Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate. svn:r11336 Nick Mathewson2007-08-31
* fix some code comments, a wrapper, and add a todo item•••svn:r10111 Roger Dingledine2007-05-04
* more cleanups on the hsusage patch•••svn:r10077 Roger Dingledine2007-04-30
* r12581@catbus: nickm | 2007-04-30 13:39:21 -0400••• 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 Nick Mathewson2007-04-30
* r12580@catbus: nickm | 2007-04-30 13:29:05 -0400••• 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 Nick Mathewson2007-04-30
* cleanups, and note a bug•••svn:r10022 Roger Dingledine2007-04-25
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500••• 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 Nick Mathewson2006-10-31
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400••• 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 Nick Mathewson2006-10-09
* Don't tell anybody, but we're going OO here. This patch splits•••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 Nick Mathewson2006-07-23
* fix typo•••svn:r6549 Roger Dingledine2006-06-06
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LEN•••add a comment in a few places where we add weird numbers to buffer lengths svn:r6161 Peter Palfrader2006-03-14
* More cleanups noticed by weasel; also, remove macros that nobody uses.•••svn:r6143 Nick Mathewson2006-03-12
* Cleanup on time-relaqted constants. New conventions:••• 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 Nick Mathewson2006-03-12
* be quieter about hidserv descriptors that are too old or too new.•••we can't do anything about them anyway. svn:r6073 Roger Dingledine2006-02-21
* the last of the log convention conversion. finally.•••svn:r6005 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* Fix a potential memory stomp on servers running hidden services. Found by wea...•••svn:r5579 Nick Mathewson2005-12-14
* when we changed from log_fn to debug/info/notice/warn/err,•••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 Roger Dingledine2005-12-10
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Use LD_BUG as appropriate; convert rend* and router* to new logging interface...•••svn:r5302 Nick Mathewson2005-10-24
* Update more files to new log stuff.•••svn:r5286 Nick Mathewson2005-10-18
* Make a few INFO log lines into DEBUG•••svn:r5257 Peter Palfrader2005-10-17
* Reformat inconsistent function declarations.•••svn:r5160 Nick Mathewson2005-09-30
* a few more hints on a rare but mysterious warning•••svn:r4966 Roger Dingledine2005-09-09
* clean up the rendezvous warn log msgs, and downgrade some to info•••svn:r4964 Roger Dingledine2005-09-09
* we were mangling memory because we weren't allocing enough•••for the hidserv desc nick can you check that this is enough now? svn:r4628 Roger Dingledine2005-07-22
* let hidden service descriptors publish 0 intro points•••nick, please check the logic here svn:r4627 Roger Dingledine2005-07-22
* Logic to implement rendezvous/introduction via unknown servers.•••- Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506 Nick Mathewson2005-06-29
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11