Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | now we can tell dirserv_dump_directory_to_string() whether we want | Roger Dingledine | 2006-06-13 |
| | | | | | | | it to include down/invalid descriptors or not. svn:r6618 | ||
* | bugfix in exit_policy_is_general_exit() that weasel found. | Roger Dingledine | 2006-06-13 |
| | | | | | | | this time for sure! svn:r6617 | ||
* | first cut at a workaround for the reachability bug: explicitly find a | Roger Dingledine | 2006-06-13 |
| | | | | | | | server running the right version, if we can, and ask for that one. svn:r6616 | ||
* | export the default exit policy via the control port, so controllers | Roger Dingledine | 2006-06-13 |
| | | | | | | | don't need to guess what it is / will be later. svn:r6615 | ||
* | Defense in depth: fix the reachability bug a second way too. | Roger Dingledine | 2006-06-13 |
| | | | | | | | | Now if we establish a connection with the right digest, regardless of what the addr/port is, and we have pending create cells, use it. svn:r6614 | ||
* | harmless typo | Roger Dingledine | 2006-06-13 |
| | | | | svn:r6613 | ||
* | Fix the bug that was causing servers to not find themselves | Roger Dingledine | 2006-06-13 |
| | | | | | | | | | | | | reachable if they changed IP addresses. This happened because middle servers knew the old descriptor, and kept swapping the addr/port we asked for with the one they thought was right. So the create cell never got sent, because it was asking for a different addr/port than we believed we had connected to. svn:r6610 | ||
* | reintroduce the logic to exit_policy_is_general_exit() to count | Roger Dingledine | 2006-06-13 |
| | | | | | | | how many ports are allowd. require two ports open, not just one. svn:r6609 | ||
* | Make the Exit tag in status documents actually work in head too | Peter Palfrader | 2006-06-12 |
| | | | | svn:r6608 | ||
* | Finally solve the "closing wedged cpuworkers" bug. Woo. | Roger Dingledine | 2006-06-12 |
| | | | | | | | | | | | This happened when we got two create cells in a row from the same TLS connection. It would hand one to the cpuworker, and then immediately handle the second one -- after it had registered that the first one was busy, but before it had updated the timestamp that we use to decide how *long* it's been busy. svn:r6606 | ||
* | allow people to start their tor with runasdaemon set but | Roger Dingledine | 2006-06-12 |
| | | | | | | | with no logs set at all. svn:r6604 | ||
* | take out the reachability bandaid in 0.1.2.x as well. | Roger Dingledine | 2006-06-10 |
| | | | | | | | maybe we will actually be able to fix it, instead. svn:r6585 | ||
* | Add a new config option TestVia, that lets you specify preferred middle | Roger Dingledine | 2006-06-10 |
| | | | | | | | | hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581 | ||
* | actually, don't fix it that far. we should still do some | Roger Dingledine | 2006-06-09 |
| | | | | | | | error checking. svn:r6576 | ||
* | when only one router is labelled as a guard, and we've | Roger Dingledine | 2006-06-09 |
| | | | | | | | | | | already picked him, we would cycle endlessly picking him again, being unhappy about it, and so forth. now we specifically exclude guards when picking a new guard. svn:r6575 | ||
* | and forward-port too. | Roger Dingledine | 2006-06-09 |
| | | | | svn:r6573 | ||
* | fix a bootstrapping check we ignored that prevents us from running | Roger Dingledine | 2006-06-09 |
| | | | | | | | with only one dir authority. svn:r6570 | ||
* | try a better string at the top of torrc's autogenerated torrc. | Roger Dingledine | 2006-06-09 |
| | | | | svn:r6569 | ||
* | ok, ok, maybe *this* time my rep_hist_circbuilding_dormant() will work. | Roger Dingledine | 2006-06-08 |
| | | | | svn:r6568 | ||
* | remove a bit more obsolete code | Roger Dingledine | 2006-06-08 |
| | | | | svn:r6566 | ||
* | ah, that explains why we weren't going dormant with | Roger Dingledine | 2006-06-08 |
| | | | | | | | respect to descriptor fetches. maybe now it will work. svn:r6565 | ||
* | re-enable per-connection rate limiting. get rid of the "OP bandwidth" | Roger Dingledine | 2006-06-07 |
| | | | | | | | | concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563 | ||
* | put a bandaid in place so servers will have an easier time | Roger Dingledine | 2006-06-07 |
| | | | | | | | | believing that they're reachable. this may help resolve the servers-on-dynamic-ip-addresses problem. svn:r6561 | ||
* | make connection_or_nonopen_was_started_here() based on something less | Roger Dingledine | 2006-06-07 |
| | | | | | | | voodooey. it turns out we already do keep a flag like that around. svn:r6560 | ||
* | and now the exciting part: there is now no such thing as doing | Roger Dingledine | 2006-06-07 |
| | | | | | | | a client-only tls, that is, one with no certs. svn:r6558 | ||
* | simplify the tortls api: we only support being a "server", that | Roger Dingledine | 2006-06-07 |
| | | | | | | | | | | is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557 | ||
* | fix the bug where we sometimes would fail to send some create cells | Roger Dingledine | 2006-06-06 |
| | | | | | | | once we'd connected to a(nother) tor server. svn:r6552 | ||
* | Also, add a temporary hack to make sure eventdns.c is distributd. | Nick Mathewson | 2006-06-06 |
| | | | | svn:r6551 | ||
* | We got an obscure report of an assert error on a windows Tor server with | Roger Dingledine | 2006-06-06 |
| | | | | | | | | | | connection_add being called with socket = -1. The only places I can see where that happen would be if our tor_socketpair succeeds but it hands back negative values for some of its file descriptors. Perhaps this will produce more useful assert errors next time. svn:r6550 | ||
* | fix typo | Roger Dingledine | 2006-06-06 |
| | | | | svn:r6549 | ||
* | ship the event*.h files too. perhaps this will make my 'make dist' | Roger Dingledine | 2006-06-06 |
| | | | | | | | produce a tarball that i can build. svn:r6548 | ||
* | Try to log useful messages at info and debug about what we are resolving and ↵ | Nick Mathewson | 2006-06-05 |
| | | | | | | what answers we are getting wrt eventdns. svn:r6547 | ||
* | don't tell people that the testing circuit failed if we already | Roger Dingledine | 2006-06-05 |
| | | | | | | | consider ourselves reachable. this just confuses them. svn:r6546 | ||
* | scream louder if you've got a pending circuit for a given | Roger Dingledine | 2006-06-05 |
| | | | | | | | addr/port but the intended n_conn digest is wrong. svn:r6544 | ||
* | simplify code now that libevent considers all sockets pollable. | Roger Dingledine | 2006-06-05 |
| | | | | | | | what we really mean now is ">= 0", which is clearer to test for. svn:r6543 | ||
* | bugfix: if we are making our first ever connection to any entry | Roger Dingledine | 2006-06-05 |
| | | | | | | | | guard, then don't mark it down at first. we had this implemented but it was disabled due to a bug. svn:r6541 | ||
* | simplify some code, since circuit_build_failed() is only called | Roger Dingledine | 2006-06-05 |
| | | | | | | | on non-open circuits. svn:r6540 | ||
* | remove some unused code (i think) | Roger Dingledine | 2006-06-05 |
| | | | | svn:r6539 | ||
* | Note a bug that causes servers to sometimes never send the pending | Roger Dingledine | 2006-06-05 |
| | | | | | | | create cell. Nick, is this a bug? If so, is my fix right? svn:r6538 | ||
* | More eventdns.c patches: use HAVE_ALLOCA_H; print IP addrs as dotted quads. | Nick Mathewson | 2006-06-05 |
| | | | | svn:r6535 | ||
* | Hm. Where did we put that ntohl the last time we were juggling it? ↵ | Nick Mathewson | 2006-06-05 |
| | | | | | | (hoop-lah). svn:r6534 | ||
* | Some eventdns.c fixes for windows correctness. More will doubtless be ↵ | Nick Mathewson | 2006-06-04 |
| | | | | | | needed, especially around the #includes. svn:r6533 | ||
* | Add a new warning to our "warn a lot" list: unused parameters. This means ↵ | Nick Mathewson | 2006-06-04 |
| | | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532 | ||
* | if we insist on printing pointer values, at least make it stop | Roger Dingledine | 2006-06-04 |
| | | | | | | | complaining on (my particular) 64 bit platform. svn:r6530 | ||
* | punctuation and spelling | Roger Dingledine | 2006-06-04 |
| | | | | svn:r6529 | ||
* | Make eventdns.[ch] into good C90; remove signed/unsigned comparisons. | Nick Mathewson | 2006-06-03 |
| | | | | svn:r6528 | ||
* | Oops. When we dont get a TTL, we should default to the default, not to the ↵ | Nick Mathewson | 2006-06-03 |
| | | | | | | minimum. svn:r6527 | ||
* | More DNS fixes. Send meaningful TTLs back to the client when | Nick Mathewson | 2006-06-03 |
| | | | | | | | | | | | possible. Cache at the server side independently from the TTL, to prevent attackers from probing the server to see who has been asking for what hostnames. (Hi, Dan Kaminski!) Also, clean some whitespace. svn:r6526 | ||
* | Make dns.c use eventdns.c -- but only when you pass the --enable-eventdns ↵ | Nick Mathewson | 2006-06-03 |
| | | | | | | argument to configure.in. This will *so* not work on Windows yet. svn:r6525 | ||
* | Add async dns code from Adam Langley, tweaked to build on OSX. Long-term, ↵ | Nick Mathewson | 2006-06-03 |
| | | | | | | we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c. svn:r6524 |