aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* 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
* connection_t kept the identity_pkey but all it did was store it andRoger Dingledine2006-05-30
| | | | | | | free it. perhaps we don't need it after all? svn:r6518
* and get grammar rightRoger Dingledine2006-05-30
| | | | svn:r6517
* stop fetching descriptors if we're not a dir mirror and weRoger Dingledine2006-05-30
| | | | | | | haven't tried to establish any circuits lately. svn:r6516
* END_CIRC_REASON_OR_IDENTITY apparently means that we were told toRoger Dingledine2006-05-30
| | | | | | | | | connect to a different OR than lives on the addr:port we connected to. we don't actually remember whether that was the case, currently. so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise. svn:r6515
* tentative change: if you have your dirport set, you are a directoryRoger Dingledine2006-05-30
| | | | | | | mirror, whether or not your orport is set. svn:r6513
* simplify a log messageRoger Dingledine2006-05-30
| | | | svn:r6512
* Add a basic mmap function, with a "fake-it" wrapper to do read_file_from_str ↵Nick Mathewson2006-05-28
| | | | | | instead. Based on code from Michael Mohr. svn:r6510
* directory authorities should be more tolerant of failed reachabilityRoger Dingledine2006-05-28
| | | | | | | tests before crying foul to the server operator. svn:r6509
* clean up a commentRoger Dingledine2006-05-28
| | | | svn:r6508
* if we're a server and some peer has a broken tls certificate, don'tRoger Dingledine2006-05-26
| | | | | | | shout about it unless we want to hear about protocol violations. svn:r6507
* be more verbose about testing reachability of our ORPort.Roger Dingledine2006-05-26
| | | | svn:r6506
* correct a false log message, since we actually reset all ourRoger Dingledine2006-05-26
| | | | | | | downloading stats every hour, and sometimes more often. svn:r6505
* resolve an unused variableRoger Dingledine2006-05-26
| | | | svn:r6503
* Stop being picky about what the arguments to mapaddress look like.Roger Dingledine2006-05-25
| | | | | | | | | we were refusing names that had $ in them, which people who specify $key.exit will be sad about. There are likely other examples. If people can think of reasons why we should be picky, let me know. svn:r6496
* make cookie authentication for the controller work again, maybe.Roger Dingledine2006-05-24
| | | | | | | it sure doesn't now. svn:r6494
* make options->RedirectExit work again; resolve bug 293.Roger Dingledine2006-05-24
| | | | svn:r6492
* Stop initializing the hardware accelerator engines simply becauseRoger Dingledine2006-05-24
| | | | | | | we overloaded the meaning of the argument to crypto_global_init(). svn:r6490
* Claim a commonname of Tor, rather than TOR, in tls handshakes.Roger Dingledine2006-05-24
| | | | | | | Maybe this will help us win the war of names. svn:r6489
* Throw out this UNALIGNED_INT_ACCESS_OK nonsense. Even where it works, it is ↵Nick Mathewson2006-05-23
| | | | | | often way way slower than doing the right thing. Backport candidate. svn:r6473
* ignore RunAsDaemon more thoroughly when we're running on windows.Roger Dingledine2006-05-23
| | | | svn:r6471
* add a few more debugging lines to help mikec track down hisRoger Dingledine2006-05-23
| | | | | | | 11 minute jump into the future. svn:r6465
* Remove string size limit on NEWDESC messages; solve bug 291.Nick Mathewson2006-05-22
| | | | svn:r6463
* All these headers we get via torint.hPeter Palfrader2006-05-10
| | | | svn:r6452
* Tor servers are also giving spurious "you're invalid" warnings.Roger Dingledine2006-05-09
| | | | | | | | | | This is because we get a lot of network statuses that don't list us at all, and we conclude that they all think we're invalid. The long-term fix is to get better logic, and the short-term fix is to downgrade the log severity. svn:r6448
* stop telling people that "tor -h" will help them in any way.Roger Dingledine2006-05-08
| | | | svn:r6447
* forward-port the ORPort==0 patchRoger Dingledine2006-05-03
| | | | svn:r6430
* Start remembering *where* we are storing routerdescs. This will make us ↵Nick Mathewson2006-04-29
| | | | | | easier to move from a RAM-mirrors-disk model to a RAM-caches-disk model, and save maybe around 10MB on a directory server. svn:r6427
* shorten some too-wide linesNick Mathewson2006-04-29
| | | | svn:r6426