aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
Commit message (Collapse)AuthorAge
...
* Fix numerous memory leaks: some were almost impossible to trigger, and some ↵Nick Mathewson2008-09-05
| | | | | | almost inevitable. svn:r16779
* Apply proposal 121 patch 3, with minor tweaks and a few comments.Nick Mathewson2008-08-19
| | | | svn:r16598
* Next patch from Karsten: client-side configuration stuff for proposal 121.Nick Mathewson2008-08-12
| | | | svn:r16510
* Patch cleanups from karstenNick Mathewson2008-08-09
| | | | svn:r16479
* Fix bug in my changes to karsten's patchNick Mathewson2008-08-08
| | | | svn:r16477
* The first of Karsten's proposal 121 patches: configure and maintain client ↵Nick Mathewson2008-08-08
| | | | | | authorization data. Tweaked a bit: see comments on or-dev. svn:r16475
* 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
* In some edge cases it occurs that the router descriptor of a previously ↵Karsten Loesing2008-08-04
| | | | | | picked introduction point becomes obsolete. In that case, don't stick to using that introduction point, but simply give up on it. Reverts some part of r15825. svn:r16404
* Remove dead code that was left from marking HiddenService(Exclude)Nodes ↵Karsten Loesing2008-08-04
| | | | | | obsolete in task 754. svn:r16401
* r17338@aud-055: nickm | 2008-07-24 11:21:06 +0200Nick Mathewson2008-07-24
| | | | | | | Refactor the router_choose_random_node interface: any function with 10 parameters, most of which are boolean and one of which is unused, should get refactored like this. svn:r16167
* r17309@aud-055: nickm | 2008-07-23 16:05:43 +0200Nick Mathewson2008-07-23
| | | | | | | Patch from Christian Wilms: remove (HiddenService|Rend)(Exclude)?Nodes options. They never worked properly, and nobody seems to be using them. Resolves bug 754. svn:r16144
* r17188@tombo: nickm | 2008-07-18 14:35:18 -0400Nick Mathewson2008-07-18
| | | | | | | Add new ExcludeExitNodes option. Also add a new routerset type to handle Exclude[Exit]Nodes. It is optimized for O(1) membership tests, so as to make choosing a random router run in O(N_routers) time instead of in O(N_routers*N_Excluded_Routers). svn:r16061
* Fix bug 763. When a hidden service is giving up on an introduction point ↵Karsten Loesing2008-07-10
| | | | | | candidate that was not included in the last published rendezvous descriptor, don't reschedule publication of the next descriptor. svn:r15825
* I was told there is an extend_info_free(). I won't leak memory again. I ↵Karsten Loesing2008-06-17
| | | | | | won't leak memory again. I won't ... svn:r15335
* When establishing a hidden service, introduction points that originate from ↵Karsten Loesing2008-06-17
| | | | | | cannibalized circuits are completely ignored and not included in rendezvous service descriptors. Bugfix on 0.2.0.14-alpha. Backport candidate. svn:r15332
* you can't strcasecmp on 20-byte digestsRoger Dingledine2008-06-11
| | | | | | | | what if they contain nuls? (worse, what if they *don't* contain nuls? ;) svn:r15149
* In very rare situations new hidden service descriptors were published ↵Karsten Loesing2008-06-10
| | | | | | earlier than 30 seconds after the last change to the service, with the 30 seconds being the current voodoo saying that a descriptor is stable. svn:r15113
* start checking the return value of crypto_pk_asn1_encode() whileRoger Dingledine2008-02-19
| | | | | | | | we're trying to establish an introduction point. bug reported by veracode. svn:r13599
* r18228@catbus: nickm | 2008-02-19 18:05:53 -0500Nick Mathewson2008-02-19
| | | | | | | Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function. svn:r13596
* r18068@catbus: nickm | 2008-02-13 11:33:19 -0500Nick Mathewson2008-02-13
| | | | | | | Patch from karsten: make hidden service code respect SafeLogging. svn:r13493
* r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson2008-02-12
| | | | | | | Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17947@catbus: nickm | 2008-02-06 11:57:53 -0500Nick Mathewson2008-02-06
| | | | | | | Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items. svn:r13405
* r17933@catbus: nickm | 2008-02-05 19:54:28 -0500Nick Mathewson2008-02-06
| | | | | | | Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs. svn:r13395
* r17909@catbus: nickm | 2008-02-05 14:48:22 -0500Nick Mathewson2008-02-05
| | | | | | | As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete. svn:r13383
* Revert r13301 and part of r13304. I guess nick's svk messed up.Roger Dingledine2008-01-27
| | | | svn:r13305
* Fix compile with warnings enabledNick Mathewson2008-01-26
| | | | svn:r13301
* move hidden-service stuff out of directory.cRoger Dingledine2008-01-26
| | | | svn:r13287
* patch "14a" from karsten: don't fail if we can't findRoger Dingledine2008-01-24
| | | | | | | REND_NUMBER_OF_CONSECUTIVE_REPLICAS v2 hsdirs. svn:r13263
* r17639@catbus: nickm | 2008-01-15 19:09:21 -0500Nick Mathewson2008-01-16
| | | | | | | Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate. svn:r13147
* r15653@tombo: nickm | 2007-12-23 14:15:12 -0500Nick Mathewson2007-12-23
| | | | | | | Refactor circuit_launch* functions to take a bitfield of flags rather than 4 separate nonconsecutive flags arguments. Also, note a possible but in circuit_find_to_cannibalize, which seems to be ignoring its purpose argument. svn:r12948
* tiny tweaks on r12900Roger Dingledine2007-12-21
| | | | svn:r12901
* 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
* two pieces of r12607 for karsten to look at closerRoger Dingledine2007-11-29
| | | | svn:r12609
* easy tweaks on r12607Roger Dingledine2007-11-29
| | | | svn:r12608
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* r16435@catbus: nickm | 2007-11-05 14:23:07 -0500Nick Mathewson2007-11-05
| | | | | | | Patch from karsten: tidy up v2 hidden service directory logic, and fix a few bugs. svn:r12388
* 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
* r16301@catbus: nickm | 2007-10-31 16:43:49 -0400Nick Mathewson2007-10-31
| | | | | | | A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int. svn:r12300
* 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
* 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
* right before publishing our service descriptor, we wereRoger Dingledine2007-09-19
| | | | | | | | | rewriting the hexdigest back to an ambiguous nickname. if this patches it, we should write a changelog and then backport. svn:r11500
* 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