aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
Commit message (Collapse)AuthorAge
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | 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
* switch over the bridge descriptor download mechanism toRoger Dingledine2008-12-31
| | | | | | | | | | use the same download mechanism as other places. i had to make an ugly hack around "IMPOSSIBLE_TO_DOWNLOAD+1". we should unhack that sometime. svn:r17834
* Replace kludgy assert with something a little less awful, and avoid needless ↵Nick Mathewson2008-12-29
| | | | | | strlcpy in rend descriptor encoding. svn:r17818
* Fix memory leak in rend_cache_store_v2_desc_as_client(), and refactor the ↵Nick Mathewson2008-12-18
| | | | | | function to use the "goto err" idiom. svn:r17665
* make layer_hint check a little stricter.Nick Mathewson2008-10-27
| | | | svn:r17164
* Verify cpath_layer match on rendezvous cells too. Fixes another case of bug ↵Nick Mathewson2008-10-27
| | | | | | 446. Based on patch from rovv. svn:r17162
* Make rend_cache_store() use the same return error codes as its v2Roger Dingledine2008-10-02
| | | | | | | | equivalent: I got a lonely "Failed to fetch rendezvous descriptor." in my log file, even when the connection worked. svn:r17028
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten ↵Nick Mathewson2008-09-24
| | | | | | should definitely re-review the bits I changed. svn:r16955
* Refactor unit test macros and tor_free_all() logic a bit so as to make it ↵Nick Mathewson2008-09-09
| | | | | | easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests. svn:r16816
* karsten's patch for bug 767.Roger Dingledine2008-09-09
| | | | svn:r16808
* Fix numerous memory leaks: some were almost impossible to trigger, and some ↵Nick Mathewson2008-09-05
| | | | | | almost inevitable. svn:r16779
* make r16598 compile on 64-bit tooRoger Dingledine2008-08-20
| | | | svn:r16604
* Update doxygen documentation.Karsten Loesing2008-08-19
| | | | svn:r16599
* Apply proposal 121 patch 3, with minor tweaks and a few comments.Nick Mathewson2008-08-19
| | | | svn:r16598
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | 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
* r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200Nick Mathewson2008-07-24
| | | | | | | Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start. svn:r16178
* if you thought r13604 was a kludge, how about this.Roger Dingledine2008-02-20
| | | | svn:r13605
* be more clear about a possible integer underflow problem. thisRoger Dingledine2008-02-20
| | | | | | | should probably be fixed better somehow. svn:r13604
* check return value for crypto_pk_asn1_encode here too. thanks veracode.Roger Dingledine2008-02-19
| | | | svn:r13603
* r18068@catbus: nickm | 2008-02-13 11:33:19 -0500Nick Mathewson2008-02-13
| | | | | | | Patch from karsten: make hidden service code respect SafeLogging. svn:r13493
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* patch "15" from karsten: don't retry a v2 renddesc fetchRoger Dingledine2008-01-24
| | | | | | | if we have a perfectly good v0 renddesc. svn:r13265
* patch from karsten to complain less when a node losesRoger Dingledine2008-01-06
| | | | | | | its hsdir status svn:r13037
* revert r12841 and r12842, and commit karsten's "patch 13"Roger Dingledine2007-12-21
| | | | svn:r12900
* cleanups on r12825Roger Dingledine2007-12-15
| | | | svn:r12826
* apply karsten's "patch 12"Roger Dingledine2007-12-15
| | | | svn:r12825
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* karsten's bugfix on r12607Roger Dingledine2007-11-30
| | | | svn:r12619
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* cleanups on r12579Roger Dingledine2007-11-27
| | | | svn:r12580
* Our new v2 hidden service descriptor format allows descriptorsRoger Dingledine2007-11-27
| | | | | | | | | | that have no introduction points. But Tor crashed when we tried to build a descriptor with no intro points (and it would have crashed if we had tried to parse one). Bugfix on 0.2.0.x; patch by Karsten Loesing. svn:r12579
* r14678@tombo: nickm | 2007-11-03 16:12:31 -0400Nick Mathewson2007-11-03
| | | | | | | 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
* r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson2007-11-02
| | | | | | | More tweaks from karsten, with some cleanup and commentary. svn:r12319
* make r12272 compile on 64-bitRoger Dingledine2007-11-01
| | | | svn:r12315
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson2007-11-01
| | | | | | | Clients download and cache new hidden descriptor format. svn:r12302
* r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson2007-10-31
| | | | | | | Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
* r16263@catbus: nickm | 2007-10-29 15:08:17 -0400Nick Mathewson2007-10-29
| | | | | | | Tidy last patch a bit. svn:r12273
* r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson2007-10-29
| | | | | | | Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
* r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson2007-10-28
| | | | | | | Tidy v2 hidden service descriptor format code: fix memory leaks, fix reference problems, note magic numbers, note questions, remove redundant checks, remove a possible stack smashing bug when encoding a descriptor with no protocols supported. svn:r12255
* r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson2007-10-28
| | | | | | | Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
* Start using the v2 intro format for hidden service connections. NowRoger Dingledine2007-09-18
| | | | | | | | | clients specify their chosen rendezvous point by identity digest rather than by (potentially ambiguous) nickname. This change could speed up hidden service connections dramatically. svn:r11499
* clean up r11496Roger Dingledine2007-09-18
| | | | svn:r11498
* Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine2007-09-18
| | | | | | | | them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
* r14871@catbus: nickm | 2007-08-31 10:12:53 -0400Nick Mathewson2007-08-31
| | | | | | | Check correct circuit type when calling functions from rend_process_relay_cell. Backport candidate. svn:r11336
* fix some code comments, a wrapper, and add a todo itemRoger Dingledine2007-05-04
| | | | svn:r10111
* more cleanups on the hsusage patchRoger Dingledine2007-04-30
| | | | svn:r10077
* r12581@catbus: nickm | 2007-04-30 13:39:21 -0400Nick Mathewson2007-04-30
| | | | | | | 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
* r12580@catbus: nickm | 2007-04-30 13:29:05 -0400Nick Mathewson2007-04-30
| | | | | | | 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
* cleanups, and note a bugRoger Dingledine2007-04-25
| | | | svn:r10022