aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
Commit message (Expand)AuthorAge
* 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
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* New whitespace normalization rule: no blank line at EOF.•••svn:r4378 Nick Mathewson2005-06-09
* first iteration of scrubbing sensitive strings from logs.•••also generally clean up log messages. svn:r4174 Roger Dingledine2005-05-03
* Adjust maximum skew and age for rendezvous descriptors: adjust code to make s...•••svn:r3995 Nick Mathewson2005-04-03
* Clean up rend cache on shutdown•••svn:r3714 Nick Mathewson2005-02-28
* Handle unavailable hidden services better. We try each intro point•••until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379 Roger Dingledine2005-01-19
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* Normalize space: add one between every control keyword and control clause.•••svn:r3003 Nick Mathewson2004-11-28
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" t...•••svn:r2758 Nick Mathewson2004-11-09
* Clean up copyrights.•••Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 Roger Dingledine2004-11-07
* canonicalize "src" and "dest" arg order in crypto.c (and others)•••svn:r2644 Roger Dingledine2004-11-02
* Use strlcpy, not strcpy.•••svn:r2610 Nick Mathewson2004-10-27
* Build without warnings on mac gcc 3.3•••svn:r2487 Nick Mathewson2004-10-14
* more int to size_t conversions, fixing one or more amd64 bugs•••plus a whitespace patch on config.c from vicman svn:r2482 Roger Dingledine2004-10-14
* now base16_encode() and base32_encode() can't ever fail•••svn:r2103 Roger Dingledine2004-07-22
* Resolve some XXXs•••svn:r1889 Nick Mathewson2004-05-18
* Make some functions static•••svn:r1857 Nick Mathewson2004-05-12
* More doxygenation.•••svn:r1832 Nick Mathewson2004-05-10
* more doxygen markup•••plenty more remains svn:r1824 Roger Dingledine2004-05-09
* Comments for nearly all non-tricky files•••svn:r1796 Nick Mathewson2004-05-05
* use tor_assert•••remove obsolete BUF_OK macro svn:r1697 Roger Dingledine2004-04-25