summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2008-12-02Apply rovv's patch for bug 864: avoid null error on detached signature ↵Nick Mathewson
handling failure. svn:r17446
2008-12-02clarify that 'resolve' relay cells nul-terminate the hostname, justRoger Dingledine
like 'begin' relay cells. svn:r17442
2008-11-29clean up some log messagesRoger Dingledine
svn:r17406
2008-11-24whitespace fixRoger Dingledine
svn:r17379
2008-11-22Consider GetNetworkParams() nameserver parsing to have suceeded if even one ↵Nick Mathewson
nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver. svn:r17368
2008-11-21prepare_for_poll() -- plus its mysterious cousin, prepare_for_pool() --Roger Dingledine
are long gone. svn:r17351
2008-11-16apply sebastian's bug 867 fix: make routerset_equal() work as documented ↵Nick Mathewson
with NULL arguments svn:r17287
2008-11-16Fix a possible segfault when establishing an exit connection. Bugfix on ↵Karsten Loesing
0.2.1.5-alpha. svn:r17275
2008-11-12Apparently sparc64 is way more strict about uint16_t access alignment than I ↵Nick Mathewson
had thought: it gave bus errors when messing with var-cell headers. Maybe this patch will fix bug 862. svn:r17262
2008-11-11Be even _more_ careful when signatures are bogus.Nick Mathewson
svn:r17252
2008-11-11Only replace the detached signatures object when we actually added or ↵Nick Mathewson
replaced at least one signature. svn:r17250
2008-11-11Fix from rovv: when adding a detached signature, do not automatically assume ↵Nick Mathewson
it is good just because we are adding it. We might also be adding it because it was the first signature we saw for a given voter. svn:r17248
2008-11-11oops, remove debugging log message.Nick Mathewson
svn:r17247
2008-11-11be less aggressive about deleting expired certs. based on patch from rovv. ↵Nick Mathewson
partial fix for bug 854. svn:r17246
2008-11-11Add PURPOSE= field to getinfo circuit-status. With luck, controllers are ↵Nick Mathewson
ignoring extra fields (like they are supposed to) and this will not break any controllers. svn:r17245
2008-11-10Document a couple of functions.Nick Mathewson
svn:r17239
2008-11-10beg nick for some documentation on the locking functionsRoger Dingledine
svn:r17233
2008-11-09we missed a case when printing circuit purposes in circ events.Roger Dingledine
svn:r17230
2008-11-07but to not attempt to download a specific certificate we already have.Nick Mathewson
svn:r17214
2008-11-07Aaaaand, do not reset the download count just because we have a certificate ↵Nick Mathewson
that is listed in a consensus. svn:r17212
2008-11-07fix up signs in r17208Nick Mathewson
svn:r17211
2008-11-07When we get a duplicated certificate, treat it as a failure and increment ↵Nick Mathewson
the download count. Do not claim to be downloading certificates that we merely want. svn:r17209
2008-11-07patch from karsten to not use or accept expired certs. fixes bug 851. Nick Mathewson
svn:r17208
2008-11-07vidalia asks us for the value of the Group config option. but nowRoger Dingledine
it's obsolete. which causes us to inform the user every time, even though the user can't do anything about it other than get confused. now it's an info-level log by default. svn:r17206
2008-11-07now that we drop privs more thoroughly, switch_id() is no longerRoger Dingledine
idempotent. so now we remember if we've succeeded, and if so we don't even try. svn:r17204
2008-11-07i needed a piece of the 'patching patches' action tooRoger Dingledine
svn:r17202
2008-11-07Patch from Jacob Appelbaum and me to make User option more robust, properly ↵Steven Murdoch
set supplementary groups, deprecated the Group option, and log more information on credential switching svn:r17200
2008-11-07Remove bug 811/845 debugging codeNick Mathewson
svn:r17199
2008-11-07fix wide linesNick Mathewson
svn:r17198
2008-11-05The chunk_size field in memarea_t was never actually set. Remove the whole ↵Nick Mathewson
thing. svn:r17195
2008-11-05Fix a compile error found under pcc. It wants single-quites to be escaped ↵Nick Mathewson
in strings, it seems. svn:r17191
2008-11-05(a - b) / 2 != a - (b / 2); this is the reason why tunneled directory ↵Karsten Loesing
requests and client-side introduction circuits don't time out after the intended 30 seconds (task #847). Bugfix on r17106. Found by miner. svn:r17189
2008-11-03Fix unit test failure related to intro point parsing.Nick Mathewson
svn:r17188
2008-11-03Add some debugging logs for bug 811/845.Nick Mathewson
svn:r17186
2008-11-03when building preemptive circuits, ignore streams that have aRoger Dingledine
chosen exit node in mind already. otherwise we get tricked into trying to build a new circuit that will handle them. svn:r17184
2008-11-01fix the other half of r17091. now that best_support can be -1,Roger Dingledine
we were complaining about no support for our one-hop streams, when in fact choose_good_exit_server_general() has no business caring about one-hop streams. patch from miner. svn:r17181
2008-11-01Fix an assertion failure on double-marked circuits, and a double-mark.Nick Mathewson
svn:r17179
2008-10-29Implement the 0x20-hack to make DNS poisoning harder against us, especially ↵Nick Mathewson
when resolving large names. Add a cfg option to disable it, since apparently 3/10 of a percent of servers get it wrong. svn:r17171
2008-10-29Work better with tools that resist DNS poisoning by using the 0x20 hack: ↵Nick Mathewson
make DNSPort replies perserve case. svn:r17170
2008-10-27make layer_hint check a little stricter.Nick Mathewson
svn:r17164
2008-10-27Verify cpath_layer match on rendezvous cells too. Fixes another case of bug ↵Nick Mathewson
446. Based on patch from rovv. svn:r17162
2008-10-27gabelmoo has a new IP address.Karsten Loesing
svn:r17160
2008-10-21Fix another case of refusing to use a chosen exit node because we think it ↵Nick Mathewson
will reject _mostly_ everything. Based on patch from rovv. See bug 752. svn:r17139
2008-10-21Fix the rest of bug 619: reject *:* servers should not do DNS lookups, even ↵Nick Mathewson
if broken clients send them RELAY_BEGIN cells. Patch from rovv. svn:r17138
2008-10-21Patch from rovv: send back END cell in response to connect attempts to ↵Nick Mathewson
nonexistent hidden service port. svn:r17137
2008-10-17backport candidate:Roger Dingledine
The "ClientDNSRejectInternalAddresses" config option wasn't being consistently obeyed: if an exit relay refuses a stream because its exit policy doesn't allow it, we would remember what IP address the relay said the destination address resolves to, even if it's an internal IP address. Bugfix on 0.2.0.7-alpha; patch by rovv. svn:r17135
2008-10-16fix grammar in a log messageRoger Dingledine
svn:r17131
2008-10-15explain patch4 better. whee.Roger Dingledine
svn:r17111
2008-10-15patch4 from proposal 155:Roger Dingledine
Hidden services start out building five intro circuits rather than three, and when the first three finish they publish a service descriptor using those. Now we publish our service descriptor much faster after restart. svn:r17110
2008-10-15add patch2 from proposal 155:Roger Dingledine
Launch a second client-side introduction circuit in parallel after a delay of 15 seconds (based on work by Christian Wilms). svn:r17108