summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-24Tell users about the init script when they try to run Tor as root.imported-from-cvsPeter Palfrader
Should we also do this when they try to run their Tor as any other (non root, non debian-tor) user? - add 11_tor_as_root_more_helpful svn:r6822
2006-07-24Previously our defaults for DataDirectory, PidFile, RunAsDaemon, andimported-from-cvs@6890Peter Palfrader
Log differed from upstreams. Now Tor behaves just like before (with our own DataDirectory and all) only when run as the debian-tor user. If invoked as any other user, Tor will behave just like the pristine upstream version. svn:r6821
2006-07-23These settings are required for those using launchd in OSX 10.4.Andrew Lewman
This is a crude but functional way to insert them for now. svn:r6820
2006-07-23publish a new descriptor after we hup. this is important if ourRoger Dingledine
config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
2006-07-23Fix another segfault in assert_circuit_ok.Nick Mathewson
svn:r6818
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-23Whitespace fixNick Mathewson
svn:r6816
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-22and backport the other half of the reachability test, now that i'mRoger Dingledine
happy with it. svn:r6807
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-21backport the reachability test bugfix.Roger Dingledine
svn:r6801
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-17minimal backport: remove an assert that might cause trouble one day.Roger Dingledine
svn:r6776
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