summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
AgeCommit message (Collapse)Author
2010-02-27Update Tor Project copyright yearsNick Mathewson
2010-02-07lookup_last_hid_serv_request() could overflow and leak memorySebastian Hahn
The problem was that we didn't allocate enough memory on 32-bit platforms with 64-bit time_t. The memory leak occured every time we fetched a hidden service descriptor we've fetched before.
2009-10-14read the "circwindow" parameter from the consensusRoger Dingledine
backport of c43859c5c12361fad505 backport of 0d13e0ed145f4c1b5bd1
2009-09-16Merge commit 'karsten/fix-1073' into maint-0.2.1Nick Mathewson
2009-09-01Fix compile warnings on Snow LeopardSebastian Hahn
Big thanks to nickm and arma for helping me with this!
2009-09-01Reduce log level for bug case that we now know really exists.Karsten Loesing
2009-08-29Avoid segfault when accessing hidden service.Karsten Loesing
2009-07-02Make an attempt to fix bug 1024.Karsten Loesing
The internal error "could not find intro key" occurs when we want to send an INTRODUCE1 cell over a recently finished introduction circuit and think we built the introduction circuit with a v2 hidden service descriptor, but cannot find the introduction key in our descriptor. My first guess how we can end up in this situation is that we are wrong in thinking that we built the introduction circuit based on a v2 hidden service descriptor. This patch checks if we have a v0 descriptor, too, and uses that instead.
2009-06-19Better fix for 997.Karsten Loesing
2009-06-19Revert "Backport fix for bug 997."Karsten Loesing
This reverts commit 3847f54945933a11d14053b80427f268ffcfd8ad.
2009-06-16Backport fix for bug 997.Karsten Loesing
Backporting 6a32beb and ca8708a.
2009-05-27Spell-check Tor.Nick Mathewson
2009-05-04Update copyright to 2009.Karsten Loesing
2009-02-10Don't extend introduction circuits indefinitely.Nick Mathewson
Doing so could run you out of relay_early cells and give you a senselessly long circuit. Patch from Karsten; may fix bug 878. svn:r18459
2009-01-06Clean up (and mark for 0.2.2.) comments relating to non-beauty of current ↵Nick Mathewson
bug-743 fix. svn:r17966
2009-01-04Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson
The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
2008-12-18Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this ↵Nick Mathewson
patch. svn:r17686
2008-12-18Fix a valgrind-located memory stomp. Bugfix on 0.2.1.6-alpha.Nick Mathewson
svn:r17667
2008-12-11Change directory_get_from_dirserver to take a set of flags to be passed to ↵Nick Mathewson
pick_(trusted_)dirserver. This lets us make its interface smarter, and makes code that calls it a little more readable. svn:r17592
2008-11-29clean up some log messagesRoger Dingledine
svn:r17406
2008-09-24Add patch 4 from Karsten for proposal 121, slightly modified. Karsten ↵Nick Mathewson
should definitely re-review the bits I changed. svn:r16955
2008-09-16give rend_client_desc_here a slightly more accurate nameRoger Dingledine
svn:r16916
2008-09-16patch from karsten for bug 814. whew.Roger Dingledine
svn:r16915
2008-09-09karsten's patch for bug 767.Roger Dingledine
svn:r16808
2008-09-05Fix numerous memory leaks: some were almost impossible to trigger, and some ↵Nick Mathewson
almost inevitable. svn:r16779
2008-08-12Next patch from Karsten: client-side configuration stuff for proposal 121.Nick Mathewson
svn:r16510
2008-08-05 r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
2008-07-06fix typos in last patch spotted by sebastian and karstenNick Mathewson
svn:r15700
2008-07-06Apply fix from chrisw: call connection_ap_attach_pending when we get a ↵Nick Mathewson
rendezvous2 or rendezvous_established call. This is a bit brute-foce, but it is better than we had before, and might not even show up on profiles. Backport candidate, once tested. svn:r15699
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