summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-07-14Avoid an integer underflow when the dir authority decides whether aRoger Dingledine
router is stable: we might wrongly label it stable, and compute a slightly wrong median stability, when a descriptor is published later than now. Inspired by Matt's Vidalia checkin: http://trac.vidalia-project.net/changeset/1074 svn:r6758
2006-07-11Add some debugging asserts to dns.c; these are too expensive to leave in ↵Nick Mathewson
permanently. svn:r6756
2006-07-11OR_CONN_EVENT_NEW: we should probably handle that , should we not? ↵Nick Mathewson
Especially since 23:26 < phobos> nickm: grep -c "Unrecognized status code 4" tor.log svn:r6752
2006-07-10Add a const; fix a (probably harmless) bug when storing a resolve we forgot ↵Nick Mathewson
we asked for. svn:r6751
2006-07-09Make compilation work on old MSVCs without GetVertsionEx magic. Patch from ↵Nick Mathewson
Frediano Ziglio. svn:r6749
2006-07-09First part of making mmap-based stuff work on win32: save descriptors as ↵Nick Mathewson
"binary" (no LF->CRLF tanslation) so that we can mmap them properly later. Patch from Frediano Ziglio. svn:r6748
2006-07-08Fix a crash if you enable FascistFirewall but not FirewallPorts.Roger Dingledine
Reported by Frediano Ziglio. svn:r6746
2006-07-07Spellcheck and remove spurious include in eventdns.cNick Mathewson
svn:r6745
2006-07-07When using eventdns: suppress logging of addresses when SafeLogging is ↵Nick Mathewson
active, and make set of nameservers configurable from torrc. svn:r6744
2006-07-07eventdns: check for malloc() failures.Nick Mathewson
svn:r6743
2006-07-06rename X-You-Are to something slightly better.Roger Dingledine
svn:r6735
2006-07-06whitespace/tab fixesRoger Dingledine
svn:r6734
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-07-05Clean up eventdns messages.Nick Mathewson
svn:r6730
2006-07-05Spelling fix.Nick Mathewson
svn:r6729
2006-07-05Add plausile logging support to eventdns; stop putting stuff onto stdout.Nick Mathewson
svn:r6728
2006-07-05actually, that excludenodes fix was redundant. take it out.Roger Dingledine
svn:r6727
2006-07-04oops, we were ignoring options->ExcludeNodes when picking entry guards.Roger Dingledine
it is still the case that we ignore it with respect to entry guards that we've already picked. svn:r6726
2006-07-04Make the X-You-Are header more accurate when there's a proxy in the middle.Roger Dingledine
svn:r6722
2006-07-04ok, i'm not allowed to say that there. oh well.Roger Dingledine
svn:r6720
2006-07-04fix a misleading function commentRoger Dingledine
svn:r6717
2006-07-04if we're the server-side of the tls and there are problems,Roger Dingledine
don't yell as loudly. svn:r6716
2006-07-04Get rid of the router_retry_connections notion. Now routers no longerRoger Dingledine
try to rebuild long-term connections to directory authorities, and directory authorities no longer try to rebuild long-term connections to all servers. We still don't hang up connections in these two cases though -- we need to look at it more carefully to avoid flapping, and we likely need to wait til 0.1.1.x is obsolete. svn:r6712
2006-07-04No longer permit create cells to have the wrong circ_id_type. NoRoger Dingledine
running Tors should still have this bug. svn:r6711
2006-07-04minor fixesRoger Dingledine
svn:r6710
2006-07-04minor fixesRoger Dingledine
svn:r6709
2006-07-01Oops. Headers work better when named right.Nick Mathewson
svn:r6707
2006-06-30Unify HTTP response code into one place so it is easier to add headers. Add ↵Nick Mathewson
an X-You-Are header, which we should probably rename. NOTE that we should not use this field for things where it matters if dirs lie. svn:r6705
2006-06-29also remove word 'middleman' from a log noticeRoger Dingledine
svn:r6704
2006-06-29remove the word 'middleman' from the sample torrcRoger Dingledine
svn:r6703
2006-06-29Apparent 311 fix: apparently passing Z_FINISH an empty string is problematic.Nick Mathewson
svn:r6702
2006-06-29Harmless: Z_OK is not an acceptable answer to Z_FINISH.Nick Mathewson
svn:r6701
2006-06-29complete_only == !allow_partial. This enables useful use of partial desc ↵Nick Mathewson
downloads. Backport candidate svn:r6700
2006-06-28tab-man strikes againRoger Dingledine
svn:r6699
2006-06-28Fix another idiot bug causing symptom 309. Why cant I program?Nick Mathewson
svn:r6698
2006-06-28Add a check to try to make cache rebuild fail fast if it is going to failNick Mathewson
svn:r6697
2006-06-28Aaand re-disable the bogus test in get_body()Nick Mathewson
svn:r6696
2006-06-28Make sure that our calculated offsets for routers is correct; again. This ↵Nick Mathewson
time bug 309 may be gone gone gone. svn:r6695
2006-06-28Actually enable mmap. That should improve matters.Nick Mathewson
svn:r6694
2006-06-27Likely fix for bug 309: when we calculate offsets after rebuilding the ↵Nick Mathewson
descriptor cache, do not reset the offset pointer half-way through. svn:r6693
2006-06-24refuse to write an iso_time which we can't parse, when dumpingRoger Dingledine
bandwidth state. this fixes the particular incident in bug 308, but the general issue remains. svn:r6684
2006-06-24Turn a while into a do/while; save a redundant testNick Mathewson
svn:r6683
2006-06-24Apparently, zlib sometimes reports Z_BUF_ERROR on input exhaustion as well ↵Nick Mathewson
as on running out of output space. This could well fix the assert bug reported by weasel and arma. svn:r6682
2006-06-22Make some more verbose gcc warnings go away.Nick Mathewson
svn:r6680
2006-06-22Ooh, that could have been bad. Sort digests as digests, not strings.Nick Mathewson
svn:r6679
2006-06-22Fix a bunch of spaces.Nick Mathewson
svn:r6678
2006-06-22Set offset properly when parsing cache.Nick Mathewson
svn:r6677
2006-06-22#if out test that was failing because of an extra newline.Nick Mathewson
svn:r6676
2006-06-22Next batch of memory miserdom: mmap cached-routers file. This is sure to ↵Nick Mathewson
break somewhere. svn:r6675
2006-06-21When requesting or serving resources via fingerprint/digest, request and ↵Nick Mathewson
respond in-order, removing duplicates. svn:r6673