aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix a bug in HT_REMOVE.Nick Mathewson2006-07-27
| | | | svn:r6925
* Get better numbers out of HT_REP_OKNick Mathewson2006-07-27
| | | | svn:r6924
* Add more asserts in dns_found_answer. This may confirm my theory that ↵Nick Mathewson2006-07-27
| | | | | | dns_purge_resolve is the culprit. svn:r6922
* r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400Nick Mathewson2006-07-27
| | | | | | | Rename some fields, compress a bitfield, and document some structs and fields svn:r6919
* Fix comments that implied that only dir connections had a purpose field, and ↵Nick Mathewson2006-07-27
| | | | | | the code that believed in those comments. svn:r6918
* r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400Nick Mathewson2006-07-26
| | | | | | | Fix compilation for eventdns dns.c with split structs. svn:r6908
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400Nick Mathewson2006-07-26
| | | | | | | Realign circuit structs to avoid wasted space. svn:r6905
* r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400Nick Mathewson2006-07-26
| | | | | | | 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
* r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400Nick Mathewson2006-07-26
| | | | | | | Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit. svn:r6903
* Remove code to special-case "-cvs" ending, since it has not actually ↵Nick Mathewson2006-07-25
| | | | | | mattered since 0.0.9. Perhaps we can special-case even more... svn:r6898
* Remove .cvsignore files from trunkPeter Palfrader2006-07-25
| | | | svn:r6891
* publish a new descriptor after we hup. this is important if ourRoger Dingledine2006-07-23
| | | | | | | | config has changed such that we'll want to start advertising our dirport now, etc. svn:r6819
* Fix another segfault in assert_circuit_ok.Nick Mathewson2006-07-23
| | | | svn:r6818
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | 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
* Whitespace fixNick Mathewson2006-07-23
| | | | svn:r6816
* rewrite conn->address for GET commands as well as POST commands.Roger Dingledine2006-07-23
| | | | svn:r6815
* use tor_mem_is_zero() in more places.Roger Dingledine2006-07-23
| | | | svn:r6814
* Delete trailing whitespace in eventdns.cNick Mathewson2006-07-23
| | | | svn:r6813
* Add (void) lines for unused parameters in eventdns.cNick Mathewson2006-07-23
| | | | svn:r6812
* Remove STRUCT_OFFSET from config.cNick Mathewson2006-07-23
| | | | svn:r6811
* Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET ↵Nick Mathewson2006-07-23
| | | | | | macro (we already need this). svn:r6810
* whitespace and docsRoger Dingledine2006-07-23
| | | | svn:r6808
* think harder about my logicRoger Dingledine2006-07-22
| | | | svn:r6806
* i lied, that won't work at all. maybe this will.Roger Dingledine2006-07-22
| | | | svn:r6805
* more bulletproof reachability testingRoger Dingledine2006-07-22
| | | | svn:r6804
* These asserts will either cause spurious crashes or help debug the ↵Nick Mathewson2006-07-21
| | | | | | pend->conn->s == -1 issue. svn:r6803
* Another MSVC6 fix. Grnk.Nick Mathewson2006-07-21
| | | | svn:r6802
* bugfix: if you find yourself reachable, then don't ever make any clientRoger Dingledine2006-07-21
| | | | | | | | | 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
* tweakRoger Dingledine2006-07-21
| | | | svn:r6799
* an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine2006-07-21
| | | | | | | not therefore "up". svn:r6798
* tweakRoger Dingledine2006-07-20
| | | | svn:r6796
* tweakRoger Dingledine2006-07-20
| | | | svn:r6795
* don't squeal if the first few retries fail.Roger Dingledine2006-07-18
| | | | svn:r6791
* Define a schedule for how long to wait between retryingRoger Dingledine2006-07-18
| | | | | | | | | | | | 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
* when we find our dirport to be reachable, mark our descriptorRoger Dingledine2006-07-18
| | | | | | | dirty so we'll tell the world. (fixes bug 306 reported by pnx) svn:r6787
* Start publishing one minute or so after we find our ORPortRoger Dingledine2006-07-18
| | | | | | | | | 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
* Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double ↵Nick Mathewson2006-07-18
| | | | | | arithmetic either. svn:r6785
* Hm. We probably should define INT64_MAX if we really want it. (Especially ↵Nick Mathewson2006-07-18
| | | | | | since we only want it on one platform, where, coincidentally, it is not defined.) svn:r6784
* If we are using an exit enclave and we can't connect, e.g. becauseRoger Dingledine2006-07-18
| | | | | | | | its webserver is misconfigured to not listen on localhost, then back off and try connecting from somewhere else before we fail. svn:r6783
* pick a log domain; resolve an xxxxRoger Dingledine2006-07-18
| | | | svn:r6782
* parameterize the loudness of log_addr_has_changed(), since it's theRoger Dingledine2006-07-17
| | | | | | | | only place where we inform the user of a new IP address, if we're guessing it from external sources. svn:r6780
* Make a louder statement the first time we learn a guessedRoger Dingledine2006-07-17
| | | | | | | IP address. svn:r6779
* huge bugfix: we weren't ever writing an http header when sendingRoger Dingledine2006-07-17
| | | | | | | | out network statuses! so clients were downloading the whole thing, and then discarding them because they're malformed. svn:r6778
* and don't try to build the descriptor every second, if it's dirtyRoger Dingledine2006-07-17
| | | | | | | but we don't have a known address. svn:r6777
* fix some more places where we shouldn't crash if we can't buildRoger Dingledine2006-07-17
| | | | | | | our own descriptor yet. svn:r6775
* Allow servers with no hostname or IP address to learn their IP addressRoger Dingledine2006-07-17
| | | | | | | | | | | | | 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
* MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t ↵Nick Mathewson2006-07-17
| | | | | | 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
* whitespace/etc cleanupsRoger Dingledine2006-07-16
| | | | svn:r6765