aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
Commit message (Collapse)AuthorAge
...
* cleanups on r12825Roger Dingledine2007-12-15
| | | | svn:r12826
* apply karsten's "patch 12"Roger Dingledine2007-12-15
| | | | svn:r12825
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* karsten's bugfix on r12607Roger Dingledine2007-11-30
| | | | svn:r12619
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* cleanups on r12579Roger Dingledine2007-11-27
| | | | svn:r12580
* Our new v2 hidden service descriptor format allows descriptorsRoger Dingledine2007-11-27
| | | | | | | | | | 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
* r14678@tombo: nickm | 2007-11-03 16:12:31 -0400Nick Mathewson2007-11-03
| | | | | | | 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
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson2007-11-02
| | | | | | | More tweaks from karsten, with some cleanup and commentary. svn:r12319
* make r12272 compile on 64-bitRoger Dingledine2007-11-01
| | | | svn:r12315
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson2007-11-01
| | | | | | | Clients download and cache new hidden descriptor format. svn:r12302
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson2007-10-31
| | | | | | | Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
* r16263@catbus: nickm | 2007-10-29 15:08:17 -0400Nick Mathewson2007-10-29
| | | | | | | Tidy last patch a bit. svn:r12273
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson2007-10-29
| | | | | | | Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson2007-10-28
| | | | | | | 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
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson2007-10-28
| | | | | | | Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
* Start using the v2 intro format for hidden service connections. NowRoger Dingledine2007-09-18
| | | | | | | | | 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
* clean up r11496Roger Dingledine2007-09-18
| | | | svn:r11498
* Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine2007-09-18
| | | | | | | | them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
* r14871@catbus: nickm | 2007-08-31 10:12:53 -0400Nick Mathewson2007-08-31
| | | | | | | Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate. svn:r11336
* fix some code comments, a wrapper, and add a todo itemRoger Dingledine2007-05-04
| | | | svn:r10111
* more cleanups on the hsusage patchRoger Dingledine2007-04-30
| | | | svn:r10077
* r12581@catbus: nickm | 2007-04-30 13:39:21 -0400Nick Mathewson2007-04-30
| | | | | | | 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
* r12580@catbus: nickm | 2007-04-30 13:29:05 -0400Nick Mathewson2007-04-30
| | | | | | | 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
* cleanups, and note a bugRoger Dingledine2007-04-25
| | | | svn:r10022
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500Nick Mathewson2006-10-31
| | | | | | | 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
* r8957@totoro: nickm | 2006-10-08 22:35:17 -0400Nick Mathewson2006-10-09
| | | | | | | 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
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | 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
* fix typoRoger Dingledine2006-06-06
| | | | svn:r6549
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LENPeter Palfrader2006-03-14
| | | | | | | add a comment in a few places where we add weird numbers to buffer lengths svn:r6161
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Cleanup on time-relaqted constants. New conventions:Nick Mathewson2006-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* be quieter about hidserv descriptors that are too old or too new.Roger Dingledine2006-02-21
| | | | | | | we can't do anything about them anyway. svn:r6073
* the last of the log convention conversion. finally.Roger Dingledine2006-02-13
| | | | svn:r6005
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* Fix a potential memory stomp on servers running hidden services. Found by ↵Nick Mathewson2005-12-14
| | | | | | weasel with valgrind. Backport candidate. svn:r5579
* when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine2005-12-10
| | | | | | | | | | | | 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
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson2005-10-24
| | | | | | interface; use new circ_log_path interface svn:r5302
* Update more files to new log stuff.Nick Mathewson2005-10-18
| | | | svn:r5286
* Make a few INFO log lines into DEBUGPeter Palfrader2005-10-17
| | | | svn:r5257
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* a few more hints on a rare but mysterious warningRoger Dingledine2005-09-09
| | | | svn:r4966
* clean up the rendezvous warn log msgs, and downgrade some to infoRoger Dingledine2005-09-09
| | | | svn:r4964
* we were mangling memory because we weren't allocing enoughRoger Dingledine2005-07-22
| | | | | | | | for the hidserv desc nick can you check that this is enough now? svn:r4628
* let hidden service descriptors publish 0 intro pointsRoger Dingledine2005-07-22
| | | | | | | nick, please check the logic here svn:r4627
* Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson2005-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411