summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
AgeCommit message (Collapse)Author
2008-03-17 r18862@catbus: nickm | 2008-03-16 23:33:11 -0400Nick Mathewson
Part of fix for bug 617: allow connection_ap_handshake_attach_circuit() to mark connections, to avoid double-mark warnings. Note that this is an incomplete refactoring. svn:r14066
2008-02-17patch from karsten:Roger Dingledine
Resolved problems with (re-)fetching hidden service descriptors. Before, v0 descriptors were not fetched at all (fix on 0.2.0.18-alpha), re-fetching of v2 descriptors did not stop when a v0 descriptor was received (fix on 0.2.0.18-alpha), and re-fetching of v2 descriptors did not work in all cases (fix on 0.2.0.19-alpha). svn:r13540
2008-02-13 r18068@catbus: nickm | 2008-02-13 11:33:19 -0500Nick Mathewson
Patch from karsten: make hidden service code respect SafeLogging. svn:r13493
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-01-27Revert r13301 and part of r13304. I guess nick's svk messed up.Roger Dingledine
svn:r13305
2008-01-26Fix compile with warnings enabledNick Mathewson
svn:r13301
2008-01-26move hidden-service stuff out of directory.cRoger Dingledine
svn:r13287
2008-01-24more cleanup on r13250: no need to log in both placesRoger Dingledine
svn:r13253
2008-01-24put in karsten's "patch 14". needs a lot of cleanup and a changelog.Roger Dingledine
svn:r13250
2007-12-21Fix a crash when accessing hidden services: it would work the firstRoger Dingledine
time you use a given introduction point for your service, but on subsequent requests we'd be using garbage memory. Fixed by Karsten Loesing. Bugfix on 0.2.0.12-alpha. svn:r12913
2007-12-21revert r12841 and r12842, and commit karsten's "patch 13"Roger Dingledine
svn:r12900
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-11-03 r14678@tombo: nickm | 2007-11-03 16:12:31 -0400Nick Mathewson
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
2007-11-01 r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson
Clients download and cache new hidden descriptor format. svn:r12302
2007-09-18Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine
them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
2007-08-11logging patch from karsten, slightly modified to compileRoger Dingledine
svn:r11074
2007-07-22handle fetching bridge descriptors from the bridge authority too.Roger Dingledine
svn:r10898
2007-05-22 r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson
Make connection_array into a smartlist. svn:r10292
2007-05-15 r12764@catbus: nickm | 2007-05-15 17:17:39 -0400Nick Mathewson
Enable (and cope with) more GCC 4.2 warnings. svn:r10196
2007-03-24 r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
2007-03-09forward-port the bugfix from juliuszRoger Dingledine
svn:r9772
2007-03-04 r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2006-11-14 r9313@totoro: nickm | 2006-11-13 20:07:41 -0500Nick Mathewson
Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948
2006-10-31 r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500Nick Mathewson
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
2006-10-17 r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
2006-10-09 r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson
Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
2006-08-11 r7328@Kushana: nickm | 2006-08-11 00:04:26 -0700Nick Mathewson
remove an assert that can never be false (an array in a non-null struct cannot be null). svn:r7024
2006-07-26 r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
2006-07-26 r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson
No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904
2006-07-26 r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson
Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
2006-07-23Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson
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
2006-06-04Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
2006-03-06Add some "to-be-safe" escaped() wrappers to log statements in rend*.c, ↵Nick Mathewson
though I am not 100% sure that each one is necessary. svn:r6088
2006-02-19New config options to address bug 251:Roger Dingledine
FetchServerDescriptors and FetchHidServDescriptors for whether to fetch server info and hidserv info or let the controller do it, and also PublishServerDescriptor and PublishHidServDescriptors. Add AllDirActionsPrivate undocumented option -- if you set it, you'll need the controller to bootstrap you enough to build your first circuits. svn:r6047
2006-02-13the last of the log convention conversion. finally.Roger Dingledine
svn:r6005
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-01-17attempted patch for bug 220: don't assert when we've tried all theRoger Dingledine
intro points for a hidden service and we try fetching the service descriptor again. svn:r5838
2006-01-05Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson
svn:r5734
2005-12-19more asserts in case weasel can trigger themRoger Dingledine
svn:r5616
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
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-11-15Make new logging stuff work on windows; fix a couple of windows typos.Nick Mathewson
svn:r5375
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-06Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to ↵Nick Mathewson
happen, and does not really speed us up much when we do it. So stop doing it. svn:r5210
2005-10-04Check for named servers when looking them up by nickname;Nick Mathewson
warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185
2005-09-09clean up the rendezvous warn log msgs, and downgrade some to infoRoger Dingledine
svn:r4964