Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | don't double-detach a closing exit conn that's waiting for dns resolve | Roger Dingledine | 2005-01-31 |
| | | | | svn:r3477 | ||
* | but don't spring the trip on worker children, because it turns | Roger Dingledine | 2005-01-31 |
| | | | | | | | out they don't actually remove anything before freeing the conns. svn:r3476 | ||
* | lay a trap for situations where we connection_free something | Roger Dingledine | 2005-01-31 |
| | | | | | | | | | | that's still on one of the lists. in particular, this will detect situations where we mark-for-close and then free it ourselves. svn:r3475 | ||
* | Handle unavailable hidden services better. We try each intro point | Roger Dingledine | 2005-01-19 |
| | | | | | | | | | | until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379 | ||
* | fix another integer underflow caused by buckets going negative | Roger Dingledine | 2005-01-12 |
| | | | | svn:r3346 | ||
* | tolerate bandwidtch buckets going negative (i hope) | Roger Dingledine | 2005-01-12 |
| | | | | svn:r3344 | ||
* | Make Tor use Niels Provos's libevent instead of it's current | Nick Mathewson | 2005-01-12 |
| | | | | | | | | | | | | poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341 | ||
* | Split mark-dir-failed-and-retry logic into separate function; make it retry ↵ | Nick Mathewson | 2005-01-03 |
| | | | | | | runningrouters as well as directory fetches; note that the do-we-need-to-give-up test is wrong. svn:r3256 | ||
* | Make directory fail-and-retry logic happen in connection_about_to_close(); ↵ | Nick Mathewson | 2005-01-03 |
| | | | | | | fixes win32 bug. svn:r3253 | ||
* | respond to an 009 XXX | Roger Dingledine | 2004-12-22 |
| | | | | svn:r3201 | ||
* | clean up logging, | Roger Dingledine | 2004-12-13 |
| | | | | | | | | | make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138 | ||
* | fix the other half of the pipe race | Roger Dingledine | 2004-12-07 |
| | | | | svn:r3111 | ||
* | Now we allow writing to the buffer even when the stream if marked for | Roger Dingledine | 2004-12-04 |
| | | | | | | | | | | | close, if we're planning to wait to flush it. This is important because we were sending a socks reject back if we're closing and hadn't already sent one, but it wasn't actually getting written since the conn was already marked-for-close. svn:r3074 | ||
* | one more typo | Roger Dingledine | 2004-12-01 |
| | | | | svn:r3054 | ||
* | Spell-check strings and comments | Nick Mathewson | 2004-12-01 |
| | | | | svn:r3052 | ||
* | If we are using select, make sure we stay within FD_SETSIZE. | Nick Mathewson | 2004-12-01 |
| | | | | svn:r3051 | ||
* | Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵ | Nick Mathewson | 2004-11-29 |
| | | | | | | every file. svn:r3019 | ||
* | put in initial support for ".nickname.exit" addresses, to let alice | Roger Dingledine | 2004-11-29 |
| | | | | | | | | | | decide what exit node to use; based on a patch by geoff goodell. needs more work: e.g. it goes bananas building new circuits when the chosen exit node's exit policy rejects the connection. svn:r3015 | ||
* | wrong is ok, and right is fine, but in between is apparently | Roger Dingledine | 2004-11-28 |
| | | | | | | | totally unacceptable to me. svn:r3005 | ||
* | Normalize space: add one between every control keyword and control clause. | Nick Mathewson | 2004-11-28 |
| | | | | svn:r3003 | ||
* | remember; tor_socket_errno has side effects! | Nick Mathewson | 2004-11-28 |
| | | | | svn:r2997 | ||
* | remove emacs droppings, since nick says he doesn't need them anymore | Roger Dingledine | 2004-11-26 |
| | | | | svn:r2989 | ||
* | update conn_state_to_string | Roger Dingledine | 2004-11-24 |
| | | | | svn:r2979 | ||
* | don't process marked-for-close conns further. | Roger Dingledine | 2004-11-24 |
| | | | | | | | (fix assert trigger -- if we're lucky.) svn:r2975 | ||
* | Fix sign-related warnings | Nick Mathewson | 2004-11-22 |
| | | | | svn:r2942 | ||
* | Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵ | Nick Mathewson | 2004-11-22 |
| | | | | | | "BandwidthBurst 1000 TB" from occuring. svn:r2941 | ||
* | break reached_eof() out of process_inbuf() | Roger Dingledine | 2004-11-21 |
| | | | | svn:r2930 | ||
* | be more greedy about filling up all relay cells. | Roger Dingledine | 2004-11-21 |
| | | | | | | | | this may have some bugs in it still. and it may end up not being what we want to do. svn:r2928 | ||
* | kill -USR2 now moves all logs to loglevel debug | Roger Dingledine | 2004-11-20 |
| | | | | | | | plus fix some typos svn:r2914 | ||
* | Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵ | Nick Mathewson | 2004-11-20 |
| | | | | | | setup. More docs needed svn:r2911 | ||
* | clean up socks handling, refuse connections to port 0 | Roger Dingledine | 2004-11-15 |
| | | | | svn:r2888 | ||
* | Track whether descriptor is dirty/uploaded. When any options are set, mark ↵ | Nick Mathewson | 2004-11-13 |
| | | | | | | it dirty. Once a minute, regenerate and upload the server descriptor if it is dirty. svn:r2832 | ||
* | Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵ | Nick Mathewson | 2004-11-12 |
| | | | | | | clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808 | ||
* | Resolve FIXME: Possible solution to note_disconnect problem; needs thought ↵ | Nick Mathewson | 2004-11-12 |
| | | | | | | and review. svn:r2807 | ||
* | Resolve FIXMES: sometimes an error code is just an error code | Nick Mathewson | 2004-11-12 |
| | | | | svn:r2805 | ||
* | Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵ | Nick Mathewson | 2004-11-09 |
| | | | | | | target; fix a braino in dirserv.c svn:r2758 | ||
* | Clean up copyrights. | Roger Dingledine | 2004-11-07 |
| | | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 | ||
* | Make options no longer a global variable. | Roger Dingledine | 2004-11-06 |
| | | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692 | ||
* | add a ControlPort and control listener conn. | Roger Dingledine | 2004-11-04 |
| | | | | | | | note that print_usage is obsolete. svn:r2671 | ||
* | clarify the bandwidthburst and bandwidthrate are in bytes | Roger Dingledine | 2004-11-04 |
| | | | | | | | (niels had thought they were in bits, or kb, or something) svn:r2669 | ||
* | better interface for connection_ap_handshake_socks_reply() | Roger Dingledine | 2004-11-03 |
| | | | | | | | make --list-fingerprint print the fingerprint again svn:r2668 | ||
* | - Implement all of control interface except authentication, setconfig, | Nick Mathewson | 2004-11-03 |
| | | | | | | | | | and actually making the sockets. - Make sure that identity-based nicknames start with $. - Use new string_join interface. svn:r2661 | ||
* | Streamline the two redundant "Has the second rolled over?" checks in ↵ | Nick Mathewson | 2004-11-03 |
| | | | | | | prepare_for_poll and connection_bucket_refill; also, generate BANDWIDTH control events svn:r2657 | ||
* | connection_read_bucket_decrement() has a side-effect that | Roger Dingledine | 2004-11-03 |
| | | | | | | | we need to get even if we just read 0 bytes svn:r2656 | ||
* | Start implementing control interface. | Nick Mathewson | 2004-11-03 |
| | | | | svn:r2652 | ||
* | First attempt at hibernation code. It needs more work around the XXXXs, but ↵ | Nick Mathewson | 2004-11-02 |
| | | | | | | first I want arma to review the basic approach while I meditate on how to fix them. svn:r2649 | ||
* | Use a stricter set of warnings; make them all pass. | Nick Mathewson | 2004-11-02 |
| | | | | svn:r2645 | ||
* | implement first piece of hibernation | Roger Dingledine | 2004-10-31 |
| | | | | | | | still need to track bandwidth, and make decisions based on bandwidth svn:r2630 | ||
* | Tricksy compiler warnings! We hates them, hates them forever, my precious! | Nick Mathewson | 2004-10-27 |
| | | | | svn:r2615 | ||
* | quick-and-dirty dir policy since the dirservers are getting hammered | Roger Dingledine | 2004-10-25 |
| | | | | | | | | nick, could you abstract this sometime so we don't repeat the sockspolicy code twice? svn:r2589 |