summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-23rewrite conn->address for GET commands as well as POST commands.Roger Dingledine
svn:r6815
2006-07-23use tor_mem_is_zero() in more places.Roger Dingledine
svn:r6814
2006-07-23Delete trailing whitespace in eventdns.cNick Mathewson
svn:r6813
2006-07-23Add (void) lines for unused parameters in eventdns.cNick Mathewson
svn:r6812
2006-07-23Remove STRUCT_OFFSET from config.cNick Mathewson
svn:r6811
2006-07-23Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET ↵Nick Mathewson
macro (we already need this). svn:r6810
2006-07-23more todo itemsRoger Dingledine
svn:r6809
2006-07-23whitespace and docsRoger Dingledine
svn:r6808
2006-07-22think harder about my logicRoger Dingledine
svn:r6806
2006-07-22i lied, that won't work at all. maybe this will.Roger Dingledine
svn:r6805
2006-07-22more bulletproof reachability testingRoger Dingledine
svn:r6804
2006-07-21These asserts will either cause spurious crashes or help debug the ↵Nick Mathewson
pend->conn->s == -1 issue. svn:r6803
2006-07-21Another MSVC6 fix. Grnk.Nick Mathewson
svn:r6802
2006-07-21bugfix: if you find yourself reachable, then don't ever make any clientRoger Dingledine
requests (so you stop predicting circuits), then hup, then later your IP changes, you won't think circuits are working so you won't try to test reachability, so you won't publish. svn:r6800
2006-07-21tweakRoger Dingledine
svn:r6799
2006-07-21an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine
not therefore "up". svn:r6798
2006-07-21Grammar fixes for clarity.Andrew Lewman
svn:r6797
2006-07-20tweakRoger Dingledine
svn:r6796
2006-07-20tweakRoger Dingledine
svn:r6795
2006-07-20Document HELLO cells and proposed connection protocol versioning scheme. ↵Nick Mathewson
NOTE: This will not work as documented; see notes. svn:r6794
2006-07-20Add a few more paragraphs to path-spec.txtNick Mathewson
svn:r6793
2006-07-20Fork off v0 of the protocol spec; we are going to add versioning soon so we ↵Nick Mathewson
can make backward-incompatible changes without breaking the whole network. Also, fork the v0 directory protocol into its own document, and turn dir-spec.txt into the present tense. svn:r6792
2006-07-18don't squeal if the first few retries fail.Roger Dingledine
svn:r6791
2006-07-18Define a schedule for how long to wait between retryingRoger Dingledine
application connections. Rather than waiting a fixed amount of time between each retry, we wait only 5 seconds for the first, 10 seconds for the second, and 15 seconds for each retry after that. Hopefully this will improve the expected experience. Addresses bug 297. svn:r6790
2006-07-18Load and start tor in launchd at end of installationAndrew Lewman
svn:r6789
2006-07-18Add the output of OSX arch into the package name in preparation for ppcAndrew Lewman
vs x86 packages. svn:r6788
2006-07-18when we find our dirport to be reachable, mark our descriptorRoger Dingledine
dirty so we'll tell the world. (fixes bug 306 reported by pnx) svn:r6787
2006-07-18Start publishing one minute or so after we find our ORPortRoger Dingledine
to be reachable. This will help reduce the number of descriptors we have for ourselves floating around, since it's quite likely other things (e.g. DirPort) will change during that minute too. svn:r6786
2006-07-18Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double ↵Nick Mathewson
arithmetic either. svn:r6785
2006-07-18Hm. We probably should define INT64_MAX if we really want it. (Especially ↵Nick Mathewson
since we only want it on one platform, where, coincidentally, it is not defined.) svn:r6784
2006-07-18If we are using an exit enclave and we can't connect, e.g. becauseRoger Dingledine
its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
2006-07-18pick a log domain; resolve an xxxxRoger Dingledine
svn:r6782
2006-07-17shuffle todo itemsRoger Dingledine
svn:r6781
2006-07-17parameterize the loudness of log_addr_has_changed(), since it's theRoger Dingledine
only place where we inform the user of a new IP address, if we're guessing it from external sources. svn:r6780
2006-07-17Make a louder statement the first time we learn a guessedRoger Dingledine
IP address. svn:r6779
2006-07-17huge bugfix: we weren't ever writing an http header when sendingRoger Dingledine
out network statuses! so clients were downloading the whole thing, and then discarding them because they're malformed. svn:r6778
2006-07-17and don't try to build the descriptor every second, if it's dirtyRoger Dingledine
but we don't have a known address. svn:r6777
2006-07-17fix some more places where we shouldn't crash if we can't buildRoger Dingledine
our own descriptor yet. svn:r6775
2006-07-17Allow servers with no hostname or IP address to learn their IP addressRoger Dingledine
by asking the directory authorities. This code only kicks in when you would normally have exited with a "no address" error. This design is flawed, though, since the X-Your-Address-Is header is not authenticated, and doing it this way introduces too many new attacks. The right answer is to give IP address hints inside the HELLO cell; much of this code can be reused when we switch. svn:r6774
2006-07-17we are constrained more than we realized, on what g^x values we canRoger Dingledine
accept or refuse. svn:r6773
2006-07-17fix wordoRoger Dingledine
svn:r6772
2006-07-17nick suggests that the hello cell should have both server IP andRoger Dingledine
client IP. he's right. svn:r6771
2006-07-17Minor fixed for launchd xml plistAndrew Lewman
svn:r6770
2006-07-17Added net.freehaven.tor.plist to AC_OUTPUTAndrew Lewman
svn:r6769
2006-07-17MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t ↵Nick Mathewson
and double, and needs more persuasion than usual to cast one to the other. Issue identified by Frediano Ziglio; patch revised for minimal impact on non-MSVC6 compilers. svn:r6768
2006-07-16Remove a merged if-then from line 85Andrew Lewman
svn:r6767
2006-07-16Change the way Tor starts on OSX 10.4 vs pre-10.4. 10.4 Tor now usesAndrew Lewman
launchd for current and forward compatibility. svn:r6766
2006-07-16whitespace/etc cleanupsRoger Dingledine
svn:r6765
2006-07-15parameterize the loudness of resolve_my_address(), and call thingsRoger Dingledine
IP addresses, not IPs. svn:r6764
2006-07-15stick to nick's nul/null conventionRoger Dingledine
svn:r6763