aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
AgeCommit message (Collapse)Author
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-11-05 r16435@catbus: nickm | 2007-11-05 14:23:07 -0500Nick Mathewson
Patch from karsten: tidy up v2 hidden service directory logic, and fix a few bugs. svn:r12388
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-02 r14623@tombo: nickm | 2007-11-01 22:25:18 -0400Nick Mathewson
More tweaks from karsten, with some cleanup and commentary. svn:r12319
2007-10-31 r16301@catbus: nickm | 2007-10-31 16:43:49 -0400Nick Mathewson
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
2007-10-31 r16300@catbus: nickm | 2007-10-31 15:36:41 -0400Nick Mathewson
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate. svn:r12299
2007-10-29 r16262@catbus: nickm | 2007-10-29 13:21:35 -0400Nick Mathewson
Patch from Karsten: Code to act as (and use) v2 hidden service directories. svn:r12272
2007-10-28 r16237@catbus: nickm | 2007-10-28 15:45:25 -0400Nick Mathewson
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
2007-10-28 r16236@catbus: nickm | 2007-10-28 14:36:30 -0400Nick Mathewson
Patch from Karsten Loesing: encode and parse v2 rendezvous descriptors. svn:r12254
2007-09-19right before publishing our service descriptor, we wereRoger Dingledine
rewriting the hexdigest back to an ambiguous nickname. if this patches it, we should write a changelog and then backport. svn:r11500
2007-09-18clean up r11496Roger Dingledine
svn:r11498
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-11less scary log entryRoger Dingledine
svn:r11077
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-29 r13068@catbus: nickm | 2007-05-29 14:58:13 -0400Nick Mathewson
Add some code to mitigate bug 393: Choose at random from multiple hidden service ports with the same virtport. This allows limited ad-hoc round-robining. svn:r10398
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-07prepare directory_post_to_dirservers() to hear what sort ofRoger Dingledine
dir authority we'd like to upload to. at some point we should pick a config option to say that in, for bridges. svn:r10129
2007-05-01 r12619@catbus: nickm | 2007-05-01 16:13:42 -0400Nick Mathewson
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later. svn:r10086
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-09 r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500Nick Mathewson
We have a PATH_SEPARATOR macro. How about we use it? svn:r9782
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-03-01 r12012@catbus: nickm | 2007-02-28 18:25:18 -0500Nick Mathewson
Twiddle constants wrt uploading hidden service descriptors. svn:r9694
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2006-12-13finish enabling begin-dir cells. require one-hop circs forRoger Dingledine
socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
2006-12-07more changes on r9041Roger Dingledine
svn:r9049
2006-12-07 r11467@Kushana: nickm | 2006-12-07 14:38:54 -0500Nick Mathewson
Whitespace cleanup svn:r9046
2006-12-07 r11458@Kushana: nickm | 2006-12-07 12:04:22 -0500Nick Mathewson
Fix bug 338: log verbose nicknames, not just keys, for intro points. Also, suppress intro point name logging when SafeLogging is 1. (The security part is a possible backport candidate.) svn:r9041
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 r8973@totoro: nickm | 2006-10-09 11:45:47 -0400Nick Mathewson
Touch up last patch (to add REASON to CIRC events): make some reasons more sensible, send reasons only to controllers that have enabled extended events, and clean up whitespace. svn:r8672
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-10-01 r8826@totoro: nickm | 2006-10-01 17:58:45 -0400Nick Mathewson
Disprefer exit nodes for entry, middle positions (fixes bug 200). Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity. svn:r8571
2006-09-29 r9032@Kushana: nickm | 2006-09-29 18:51:42 -0400Nick Mathewson
Now, all log messages should be distinct. svn:r8545
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-07-15stick to nick's nul/null conventionRoger Dingledine
svn:r6763
2006-07-06when an exit node gets a malformed begin cell, don't complain toRoger Dingledine
the node operator, since he can't do anything about it. svn:r6733
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-04-18forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.Nick Mathewson
svn:r6396
2006-03-19Finish the transition from the word 'verified' to the wordsRoger Dingledine
'named' and 'valid'. svn:r6188
2006-03-12More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson
svn:r6143
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-12Clients now honor the "guard" flag in the router status whenRoger Dingledine
picking entry guards, rather than looking at is_fast or is_stable. Now dirservers can change how they define it and clients will automatically use their new definition. svn:r5979
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-01-10Warn about actual offending hiddenservice* config option, now that more than ↵Nick Mathewson
one is possible. Closes bug 239. svn:r5766