aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400••• Realign circuit structs to avoid wasted space. svn:r6905 Nick Mathewson2006-07-26
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400••• No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit. svn:r6904 Nick Mathewson2006-07-26
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400••• Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903 Nick Mathewson2006-07-26
* Remove code to special-case "-cvs" ending, since it has not actually mattered...•••svn:r6898 Nick Mathewson2006-07-25
* Remove .cvsignore files from trunk•••svn:r6891 Peter Palfrader2006-07-25
* publish a new descriptor after we hup. this is important if our•••config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819 Roger Dingledine2006-07-23
* Fix another segfault in assert_circuit_ok.•••svn:r6818 Nick Mathewson2006-07-23
* Don't tell anybody, but we're going OO here. This patch splits•••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 Nick Mathewson2006-07-23
* rewrite conn->address for GET commands as well as POST commands.•••svn:r6815 Roger Dingledine2006-07-23
* use tor_mem_is_zero() in more places.•••svn:r6814 Roger Dingledine2006-07-23
* Delete trailing whitespace in eventdns.c•••svn:r6813 Nick Mathewson2006-07-23
* Add (void) lines for unused parameters in eventdns.c•••svn:r6812 Nick Mathewson2006-07-23
* Remove STRUCT_OFFSET from config.c•••svn:r6811 Nick Mathewson2006-07-23
* whitespace and docs•••svn:r6808 Roger Dingledine2006-07-23
* think harder about my logic•••svn:r6806 Roger Dingledine2006-07-22
* i lied, that won't work at all. maybe this will.•••svn:r6805 Roger Dingledine2006-07-22
* more bulletproof reachability testing•••svn:r6804 Roger Dingledine2006-07-22
* These asserts will either cause spurious crashes or help debug the pend->conn...•••svn:r6803 Nick Mathewson2006-07-21
* bugfix: if you find yourself reachable, then don't ever make any client•••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 Roger Dingledine2006-07-21
* tweak•••svn:r6799 Roger Dingledine2006-07-21
* an entry guard that is "unlisted", as well as not known to be "down", is•••not therefore "up". svn:r6798 Roger Dingledine2006-07-21
* tweak•••svn:r6796 Roger Dingledine2006-07-20
* tweak•••svn:r6795 Roger Dingledine2006-07-20
* don't squeal if the first few retries fail.•••svn:r6791 Roger Dingledine2006-07-18
* Define a schedule for how long to wait between retrying•••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 Roger Dingledine2006-07-18
* when we find our dirport to be reachable, mark our descriptor•••dirty so we'll tell the world. (fixes bug 306 reported by pnx) svn:r6787 Roger Dingledine2006-07-18
* Start publishing one minute or so after we find our ORPort•••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 Roger Dingledine2006-07-18
* Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double arit...•••svn:r6785 Nick Mathewson2006-07-18
* If we are using an exit enclave and we can't connect, e.g. because•••its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783 Roger Dingledine2006-07-18
* pick a log domain; resolve an xxxx•••svn:r6782 Roger Dingledine2006-07-18
* parameterize the loudness of log_addr_has_changed(), since it's the•••only place where we inform the user of a new IP address, if we're guessing it from external sources. svn:r6780 Roger Dingledine2006-07-17
* Make a louder statement the first time we learn a guessed•••IP address. svn:r6779 Roger Dingledine2006-07-17
* huge bugfix: we weren't ever writing an http header when sending•••out network statuses! so clients were downloading the whole thing, and then discarding them because they're malformed. svn:r6778 Roger Dingledine2006-07-17
* and don't try to build the descriptor every second, if it's dirty•••but we don't have a known address. svn:r6777 Roger Dingledine2006-07-17
* fix some more places where we shouldn't crash if we can't build•••our own descriptor yet. svn:r6775 Roger Dingledine2006-07-17
* Allow servers with no hostname or IP address to learn their IP address•••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 Roger Dingledine2006-07-17
* MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t an...•••svn:r6768 Nick Mathewson2006-07-17
* whitespace/etc cleanups•••svn:r6765 Roger Dingledine2006-07-16
* parameterize the loudness of resolve_my_address(), and call things•••IP addresses, not IPs. svn:r6764 Roger Dingledine2006-07-15
* stick to nick's nul/null convention•••svn:r6763 Roger Dingledine2006-07-15
* Avoid an integer underflow when the dir authority decides whether a•••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 Roger Dingledine2006-07-14
* Add some debugging asserts to dns.c; these are too expensive to leave in perm...•••svn:r6756 Nick Mathewson2006-07-11
* OR_CONN_EVENT_NEW: we should probably handle that , should we not? Especiall...•••svn:r6752 Nick Mathewson2006-07-11
* Add a const; fix a (probably harmless) bug when storing a resolve we forgot w...•••svn:r6751 Nick Mathewson2006-07-10
* First part of making mmap-based stuff work on win32: save descriptors as "bin...•••svn:r6748 Nick Mathewson2006-07-09
* Fix a crash if you enable FascistFirewall but not FirewallPorts.•••Reported by Frediano Ziglio. svn:r6746 Roger Dingledine2006-07-08
* Spellcheck and remove spurious include in eventdns.c•••svn:r6745 Nick Mathewson2006-07-07
* When using eventdns: suppress logging of addresses when SafeLogging is active...•••svn:r6744 Nick Mathewson2006-07-07
* eventdns: check for malloc() failures.•••svn:r6743 Nick Mathewson2006-07-07
* rename X-You-Are to something slightly better.•••svn:r6735 Roger Dingledine2006-07-06