aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add TestVia to the man pageRoger Dingledine2006-06-10
| | | | svn:r6583
* clean up formatting in the man pageRoger Dingledine2006-06-10
| | | | svn:r6582
* Add a new config option TestVia, that lets you specify preferred middleRoger Dingledine2006-06-10
| | | | | | | | hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581
* Another escape() fix, for picky sprintfs.Nick Mathewson2006-06-09
| | | | svn:r6579
* Override our notion of printability for esc_for_log. 127 and up are never ↵Nick Mathewson2006-06-09
| | | | | | printable. Take that, locales. svn:r6578
* actually, don't fix it that far. we should still do someRoger Dingledine2006-06-09
| | | | | | | error checking. svn:r6576
* when only one router is labelled as a guard, and we'veRoger Dingledine2006-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 Dingledine2006-06-09
| | | | svn:r6573
* Bandaid for a seg fault i just got in 0.1.1.20.Roger Dingledine2006-06-09
| | | | | | | More generally, i reopened bug 222. Whee. svn:r6571
* fix a bootstrapping check we ignored that prevents us from runningRoger Dingledine2006-06-09
| | | | | | | with only one dir authority. svn:r6570
* try a better string at the top of torrc's autogenerated torrc.Roger Dingledine2006-06-09
| | | | svn:r6569
* ok, ok, maybe *this* time my rep_hist_circbuilding_dormant() will work.Roger Dingledine2006-06-08
| | | | svn:r6568
* remove a bit more obsolete codeRoger Dingledine2006-06-08
| | | | svn:r6566
* ah, that explains why we weren't going dormant withRoger Dingledine2006-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 Dingledine2006-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 timeRoger Dingledine2006-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 lessRoger Dingledine2006-06-07
| | | | | | | voodooey. it turns out we already do keep a flag like that around. svn:r6560
* the CookieAuthentication section in our spec seems to assume we'reRoger Dingledine2006-06-07
| | | | | | | still using the v0 control protocol. svn:r6559
* and now the exciting part: there is now no such thing as doingRoger Dingledine2006-06-07
| | | | | | | a client-only tls, that is, one with no certs. svn:r6558
* simplify the tortls api: we only support being a "server", thatRoger Dingledine2006-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
* looks like we missed a piece of the 0.1.1.9 paranoia code.Roger Dingledine2006-06-07
| | | | | | | hopefully this change is a no-op. svn:r6556
* fix the bug where we sometimes would fail to send some create cellsRoger Dingledine2006-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 Mathewson2006-06-06
| | | | svn:r6551
* We got an obscure report of an assert error on a windows Tor server withRoger Dingledine2006-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 typoRoger Dingledine2006-06-06
| | | | svn:r6549
* ship the event*.h files too. perhaps this will make my 'make dist'Roger Dingledine2006-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 Mathewson2006-06-05
| | | | | | what answers we are getting wrt eventdns. svn:r6547
* don't tell people that the testing circuit failed if we alreadyRoger Dingledine2006-06-05
| | | | | | | consider ourselves reachable. this just confuses them. svn:r6546
* whoops, add a man page entry for ProtocolWarningsRoger Dingledine2006-06-05
| | | | svn:r6545
* scream louder if you've got a pending circuit for a givenRoger Dingledine2006-06-05
| | | | | | | addr/port but the intended n_conn digest is wrong. svn:r6544
* simplify code now that libevent considers all sockets pollable.Roger Dingledine2006-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 entryRoger Dingledine2006-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 calledRoger Dingledine2006-06-05
| | | | | | | on non-open circuits. svn:r6540
* remove some unused code (i think)Roger Dingledine2006-06-05
| | | | svn:r6539
* Note a bug that causes servers to sometimes never send the pendingRoger Dingledine2006-06-05
| | | | | | | create cell. Nick, is this a bug? If so, is my fix right? svn:r6538
* bandaid for bug 299. this is still a bug, since we don'tRoger Dingledine2006-06-05
| | | | | | | | initialize for hardware acceleration in certain configurations; but not critical until that is supported. svn:r6536
* More eventdns.c patches: use HAVE_ALLOCA_H; print IP addrs as dotted quads.Nick Mathewson2006-06-05
| | | | svn:r6535
* Hm. Where did we put that ntohl the last time we were juggling it? ↵Nick Mathewson2006-06-05
| | | | | | (hoop-lah). svn:r6534
* Some eventdns.c fixes for windows correctness. More will doubtless be ↵Nick Mathewson2006-06-04
| | | | | | needed, especially around the #includes. svn:r6533
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-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 stopRoger Dingledine2006-06-04
| | | | | | | complaining on (my particular) 64 bit platform. svn:r6530
* punctuation and spellingRoger Dingledine2006-06-04
| | | | svn:r6529
* Make eventdns.[ch] into good C90; remove signed/unsigned comparisons.Nick Mathewson2006-06-03
| | | | svn:r6528
* Oops. When we dont get a TTL, we should default to the default, not to the ↵Nick Mathewson2006-06-03
| | | | | | minimum. svn:r6527
* More DNS fixes. Send meaningful TTLs back to the client whenNick Mathewson2006-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 Mathewson2006-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 Mathewson2006-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
* Patch based on post by Mike C to or-dev; special-case based on use of MSVC, ↵Nick Mathewson2006-06-03
| | | | | | rather than on MS_WINDOWS, so that mingw builds. svn:r6523
* don't stop fetching server descriptors if we're a server andRoger Dingledine2006-06-03
| | | | | | | haven't found ourselves reachable yet. svn:r6522
* update the explanation for deprecating v0 control spec.Roger Dingledine2006-06-01
| | | | svn:r6521