summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
AgeCommit message (Collapse)Author
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
2005-06-29Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson
- 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
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-05-03first iteration of scrubbing sensitive strings from logs.Roger Dingledine
also generally clean up log messages. svn:r4174
2005-04-03Adjust maximum skew and age for rendezvous descriptors: adjust code to make ↵Nick Mathewson
skew add to age. svn:r3995
2005-02-28Clean up rend cache on shutdownNick Mathewson
svn:r3714
2005-01-19Handle unavailable hidden services better. We try each intro pointRoger Dingledine
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
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-02canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine
svn:r2644
2004-10-27Use strlcpy, not strcpy.Nick Mathewson
svn:r2610
2004-10-14Build without warnings on mac gcc 3.3Nick Mathewson
svn:r2487
2004-10-14more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine
plus a whitespace patch on config.c from vicman svn:r2482
2004-07-22now base16_encode() and base32_encode() can't ever failRoger Dingledine
svn:r2103
2004-05-18Resolve some XXXsNick Mathewson
svn:r1889
2004-05-12Make some functions staticNick Mathewson
svn:r1857
2004-05-10More doxygenation.Nick Mathewson
svn:r1832
2004-05-09more doxygen markupRoger Dingledine
plenty more remains svn:r1824
2004-05-05Comments for nearly all non-tricky filesNick Mathewson
svn:r1796
2004-04-25use tor_assertRoger Dingledine
remove obsolete BUF_OK macro svn:r1697
2004-04-12ACK/NAK INTRODUCE1 requests. (We do no useful processing on them yet)Nick Mathewson
svn:r1597
2004-04-12bump allowed rend desc skew from 60 mins to 90 minsRoger Dingledine
svn:r1593
2004-04-08when rend_cache_store warns, give more detailRoger Dingledine
svn:r1572
2004-04-08stop being so eager to have rend_cache_store reject theRoger Dingledine
service descriptor svn:r1566
2004-04-08Be endianly-correct for rendezvous functionalityNick Mathewson
svn:r1565
2004-04-08Allow service descriptors with no intro pointsNick Mathewson
svn:r1557
2004-04-07Remember when we received which service desc.Nick Mathewson
svn:r1536
2004-04-06checkpoint commit: rend closer to working, still not there yetRoger Dingledine
svn:r1506
2004-04-06Document stuff, reduce magic numbers, add emacs magicNick Mathewson
svn:r1502
2004-04-05more alice-side infrastructureRoger Dingledine
handle rendezvous acks, do rend begin cells right, send an introduction cell (sort of) receive a rendezvous2 cell (sort of) svn:r1475
2004-04-05alice can now look up bob's service descriptor,Roger Dingledine
choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471
2004-04-03Implement acksNick Mathewson
svn:r1470
2004-04-03Strdup hates finding 0 bytes.Nick Mathewson
svn:r1465
2004-04-03Handle rendezvous relay cellsNick Mathewson
svn:r1464
2004-04-03publish and fetch the right rendezvous urlsRoger Dingledine
svn:r1463