Roger Dingledine [Mon, 24 Nov 2008 02:08:46 +0000 (02:08 +0000)]
don't lose a patch that mwenge wrote to put different destination
ports on different streams. one day i will make this into a real
proposal, and argue we should put it in.
Nick Mathewson [Sat, 22 Nov 2008 21:46:34 +0000 (21:46 +0000)]
Consider GetNetworkParams() nameserver parsing to have suceeded if even one nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver.
Nick Mathewson [Wed, 12 Nov 2008 14:41:44 +0000 (14:41 +0000)]
Apparently sparc64 is way more strict about uint16_t access alignment than I had thought: it gave bus errors when messing with var-cell headers. Maybe this patch will fix bug 862.
Nick Mathewson [Tue, 11 Nov 2008 16:35:46 +0000 (16:35 +0000)]
Fix from rovv: when adding a detached signature, do not automatically assume 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.
Nick Mathewson [Tue, 11 Nov 2008 15:59:24 +0000 (15:59 +0000)]
Add PURPOSE= field to getinfo circuit-status. With luck, controllers are ignoring extra fields (like they are supposed to) and this will not break any controllers.
Nick Mathewson [Fri, 7 Nov 2008 14:01:44 +0000 (14:01 +0000)]
When we get a duplicated certificate, treat it as a failure and increment the download count. Do not claim to be downloading certificates that we merely want.
vidalia asks us for the value of the Group config option. but now
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.
Nick Mathewson [Fri, 7 Nov 2008 02:53:46 +0000 (02:53 +0000)]
Developers should usually configure with --enable-gcc-warnings, and should regularly make check-spaces. Also, int fn() does not mean the same in C as it does in C++ or Java.
Steven Murdoch [Fri, 7 Nov 2008 02:06:12 +0000 (02:06 +0000)]
Patch from Jacob Appelbaum and me to make User option more robust, properly set supplementary groups, deprecated the Group option, and log more information on credential switching
Karsten Loesing [Wed, 5 Nov 2008 10:40:29 +0000 (10:40 +0000)]
(a - b) / 2 != a - (b / 2); this is the reason why tunneled directory requests and client-side introduction circuits don't time out after the intended 30 seconds (task #847). Bugfix on r17106. Found by miner.
when building preemptive circuits, ignore streams that have a
chosen exit node in mind already. otherwise we get tricked into
trying to build a new circuit that will handle them.
fix the other half of r17091. now that best_support can be -1,
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.
Nick Mathewson [Wed, 29 Oct 2008 19:20:02 +0000 (19:20 +0000)]
Implement the 0x20-hack to make DNS poisoning harder against us, especially when resolving large names. Add a cfg option to disable it, since apparently 3/10 of a percent of servers get it wrong.
Jacob Appelbaum [Sun, 26 Oct 2008 22:56:53 +0000 (22:56 +0000)]
This patch changes some of the code in util.c to refactor calls to
dmalloc_malloc, dmalloc_realloc and dmalloc_strdup. It only calls those
functions if we're using the magic USE_DMALLOC macro. If we're not doing
that, we call the normal malloc, realloc and strdup. This is my first
night at malloc disambiguation club, so I had to disambiguate. Also, first commit, I have my commit bit now. Huzzzah!!!
Roger Dingledine [Fri, 17 Oct 2008 22:08:49 +0000 (22:08 +0000)]
backport candidate:
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.
Roger Dingledine [Wed, 15 Oct 2008 20:59:48 +0000 (20:59 +0000)]
patch4 from proposal 155:
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.
Roger Dingledine [Wed, 15 Oct 2008 18:52:06 +0000 (18:52 +0000)]
add patch2 from proposal 155:
Launch a second client-side introduction circuit in parallel
after a delay of 15 seconds (based on work by Christian Wilms).
Nick Mathewson [Tue, 14 Oct 2008 17:05:52 +0000 (17:05 +0000)]
Patch from rovv: when we have no pending streams, choose exits with choose_good_exit_server_general() rather than with circuit_get_unhandled_ports() and friends. Bugfix on 0.1.1.x, at least.
Roger Dingledine [Mon, 13 Oct 2008 03:34:29 +0000 (03:34 +0000)]
Minor fix in the warning messages when you're having problems
bootstrapping; also, be more forgiving of bootstrap problems when
we're still making incremental progress on a given bootstrap phase.