aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Expand)AuthorAge
* r12688@Kushana: nickm | 2007-04-09 17:29:12 -0400••• Simplify dns_resolve: use a helper function so that we handle the error/answer/pending cases uniformly in dns_resolve, and everything else in dns_resolve_impl. svn:r9932 Nick Mathewson2007-04-09
* r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400••• Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931 Nick Mathewson2007-04-09
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400••• Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900 Nick Mathewson2007-03-24
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899 Nick Mathewson2007-03-24
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500••• Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736 Nick Mathewson2007-03-05
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733 Nick Mathewson2007-03-04
* r11898@catbus: nickm | 2007-02-23 16:55:43 -0500••• Two XXX012 comments turned out to be bogus; remove them and document why. svn:r9625 Nick Mathewson2007-02-23
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments. svn:r9594 Nick Mathewson2007-02-16
* r11797@catbus: nickm | 2007-02-13 16:17:40 -0500••• Fix a longstanding dnsworker-related bug: when we decide to kill a DNS worker for having been in use too long, and we independently decide to close one of the exit connections waiting for that DNS worker (perhaps because we got an END relay cell), it was possible for us to try to double-free the connection. We were smart enough to detect this and assert, but not smart enough to fix this bug before now. This should resolve bug 390. Backport candidate. svn:r9581 Nick Mathewson2007-02-13
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r12212@Kushana: nickm | 2007-02-10 16:09:38 -0500••• Remove XXXX012 for apparently resolved bug svn:r9548 Nick Mathewson2007-02-10
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500••• Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533 Nick Mathewson2007-02-08
* r11631@catbus: nickm | 2007-02-02 15:39:53 -0500••• Add missing return statement. svn:r9478 Nick Mathewson2007-02-02
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r12122@Kushana: nickm | 2007-02-02 10:41:39 -0500••• Fail when we are unable to parse the nameserver configuration. svn:r9475 Nick Mathewson2007-02-02
* r11620@catbus: nickm | 2007-02-01 13:06:27 -0500••• Call stat() slightly less often; use fstat() when possible. svn:r9472 Nick Mathewson2007-02-01
* r11613@catbus: nickm | 2007-01-30 19:58:03 -0500••• Re-enable server side PTR-record cacheing. svn:r9468 Nick Mathewson2007-01-31
* r11610@catbus: nickm | 2007-01-30 17:44:02 -0500••• Fix a bug in our assertions related to removing recently-completed DNS lookup attempts on exit. It is okay to find a cache entry with the same name as a DONE entry, so long it is not the same struct as the DONE entry. svn:r9467 Nick Mathewson2007-01-30
* r11584@catbus: nickm | 2007-01-29 11:25:40 -0500••• Fix/update some XXX012 points. svn:r9456 Nick Mathewson2007-01-29
* r11283@catbus: nickm | 2007-01-23 19:20:47 -0500••• Add documentation to dns.c (mainly to test new buildbot version) svn:r9393 Nick Mathewson2007-01-24
* minor cleanups•••svn:r9387 Roger Dingledine2007-01-22
* r9718@catbus: nickm | 2007-01-22 14:13:00 -0500••• Free CACHE_STATE_DONE cached_router_t items on dns_free_all(). svn:r9386 Nick Mathewson2007-01-22
* boots and suspenders, or whatever the idiom is•••svn:r9365 Roger Dingledine2007-01-17
* r11983@Kushana: nickm | 2007-01-16 10:28:47 -0500••• Be even more clever about severity of messages from eventdns: NOTICE when the first nameserver comes up; INFO on subsequent ones. svn:r9364 Nick Mathewson2007-01-16
* r11973@Kushana: nickm | 2007-01-15 16:43:25 -0500••• Answer questions from r9348. svn:r9358 Nick Mathewson2007-01-15
* two more todo items, to make eventdns log messages less loud•••svn:r9348 Roger Dingledine2007-01-15
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500••• Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants. svn:r9336 Nick Mathewson2007-01-11
* r11931@Kushana: nickm | 2007-01-11 09:12:49 -0500••• Fix a crash bug in the presence of DNS hijacking. svn:r9333 Nick Mathewson2007-01-11
* some cleanups. more probably remain, but hey, it's an alpha.•••time to put out the bugfix release. svn:r9309 Roger Dingledine2007-01-09
* r11873@Kushana: nickm | 2007-01-06 02:32:18 -0500••• Implement DNS-related status events. svn:r9285 Nick Mathewson2007-01-06
* r11862@Kushana: nickm | 2007-01-06 01:05:15 -0500••• Re-enable warning when we resolve an already resolved address. We only warn here now if the address is not a testing address. Also, refactor out a function to check whether an address is used for testing. svn:r9280 Nick Mathewson2007-01-06
* fix a bug, defer a bug, bump to 0.1.2.5-alpha•••svn:r9270 Roger Dingledine2007-01-05
* r11727@Kushana: nickm | 2006-12-28 16:27:17 -0500••• If we only have a single nameserver, raise the threshold to decide that the nameserver is dead. (Another fumbling attempt to do something about bug 326.) svn:r9203 Nick Mathewson2006-12-28
* r11725@Kushana: nickm | 2006-12-28 14:44:56 -0500••• Partial solution to 326: downgrade single-nameserver failures to INFO. svn:r9201 Nick Mathewson2006-12-28
* r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500••• Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200 Nick Mathewson2006-12-28
* r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500••• Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded. If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*. svn:r9199 Nick Mathewson2006-12-28
* r11646@Kushana: nickm | 2006-12-19 14:40:38 -0500••• Resolve bug 363: do not fall back to 127.0.0.1 when no nameservers are configured. Instead, have the admin fix resolv.conf or configure a nameserver. svn:r9157 Nick Mathewson2006-12-19
* fix a string, pointed out by matt edman.•••also fix a bug next to it that i noticed. svn:r8784 Roger Dingledine2006-10-21
* r9304@dhcp-18-188-67-85: nickm | 2006-10-20 12:22:46 -0400••• Change HT_INIT from a special-case to a macro-calling-a-function like the rest of ht.h. This might prevent errors if somebody did, I dunno, "HT_INIT(tp, hashtable++)". Based on a patch from Watson Ladd. svn:r8776 Nick Mathewson2006-10-20
* cleanups, closer to a changelog•••svn:r8606 Roger Dingledine2006-10-06
* checkpoint some cleanups•••svn:r8599 Roger Dingledine2006-10-05
* r9087@Kushana: nickm | 2006-10-04 01:19:15 -0400••• We're trying to catch the kind of jerk who'd hijack zy6pzwohtnlq.test, not the kind of lunatic who'd hijack zy6pzwohtnlq%s.test, though apparently those exist too. svn:r8595 Nick Mathewson2006-10-04
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400••• Make distinct all non-bug messages at notice or higher that appear 3 or more times. svn:r8541 Nick Mathewson2006-09-29
* r8968@Kushana: nickm | 2006-09-26 17:53:27 -0400••• Fix for reverse dns: only assume we will get an answer when the result was success. svn:r8507 Nick Mathewson2006-09-26
* Minor fix: add code to eventdns so it can free memory on shutdown. This shoul...•••svn:r8503 Nick Mathewson2006-09-25
* checkpoint changelog and general polishing•••svn:r8497 Roger Dingledine2006-09-25
* whitespace cleanups•••svn:r8485 Roger Dingledine2006-09-24
* Marge changes from libevent evdns to our eventdns. Most are cosmetic, but on...•••svn:r8482 Nick Mathewson2006-09-24
* Backport candidate: Fix a long-standing server-side DNS bug. When a•••client asks us to resolve (not connect to) an address, and we have a cached answer, give them the cached answer. Previously, we would give them no answer at all. svn:r8478 Nick Mathewson2006-09-24