aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
Commit message (Collapse)AuthorAge
* 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
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174
* Adjust maximum skew and age for rendezvous descriptors: adjust code to make ↵Nick Mathewson2005-04-03
| | | | | | skew add to age. svn:r3995
* Clean up rend cache on shutdownNick Mathewson2005-02-28
| | | | svn:r3714
* Handle unavailable hidden services better. We try each intro pointRoger Dingledine2005-01-19
| | | | | | | | | | 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
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Use strlcpy, not strcpy.Nick Mathewson2004-10-27
| | | | svn:r2610
* Build without warnings on mac gcc 3.3Nick Mathewson2004-10-14
| | | | svn:r2487
* more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine2004-10-14
| | | | | | | plus a whitespace patch on config.c from vicman svn:r2482
* now base16_encode() and base32_encode() can't ever failRoger Dingledine2004-07-22
| | | | svn:r2103
* Resolve some XXXsNick Mathewson2004-05-18
| | | | svn:r1889
* Make some functions staticNick Mathewson2004-05-12
| | | | svn:r1857
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* Comments for nearly all non-tricky filesNick Mathewson2004-05-05
| | | | svn:r1796
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* ACK/NAK INTRODUCE1 requests. (We do no useful processing on them yet)Nick Mathewson2004-04-12
| | | | svn:r1597
* bump allowed rend desc skew from 60 mins to 90 minsRoger Dingledine2004-04-12
| | | | svn:r1593
* when rend_cache_store warns, give more detailRoger Dingledine2004-04-08
| | | | svn:r1572
* stop being so eager to have rend_cache_store reject theRoger Dingledine2004-04-08
| | | | | | | service descriptor svn:r1566
* Be endianly-correct for rendezvous functionalityNick Mathewson2004-04-08
| | | | svn:r1565
* Allow service descriptors with no intro pointsNick Mathewson2004-04-08
| | | | svn:r1557
* Remember when we received which service desc.Nick Mathewson2004-04-07
| | | | svn:r1536