aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Collapse)AuthorAge
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* a potential solution for bug 549Roger Dingledine2007-11-11
| | | | svn:r12471
* another likelier candidate for mike's leakRoger Dingledine2007-11-11
| | | | svn:r12470
* a log entry to help us find mike's memory leakRoger Dingledine2007-11-11
| | | | svn:r12469
* r15621@catbus: nickm | 2007-10-10 00:37:25 -0400Nick Mathewson2007-10-10
| | | | | | | Turns out, Bug 463 was just another "warn about something that is no big deal" thing. Downgrade, comment, and resolve. svn:r11829
* r15170@catbus: nickm | 2007-09-19 11:41:50 -0400Nick Mathewson2007-09-19
| | | | | | | Carry a new evdns function over from libevent: do not rely on compile-time code to set the transaction ID correctly. This will be important when we finally drop our internal copy of eventdns.c svn:r11517
* r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson2007-08-08
| | | | | | | Include fewer redundant headers; use the compiler search paths better. svn:r11060
* r13820@catbus: nickm | 2007-07-18 16:07:30 -0400Nick Mathewson2007-07-18
| | | | | | | Whitespace fix on r10849 svn:r10872
* a few fixes for bug 463. needs a changelog. might need more fixes.Roger Dingledine2007-07-17
| | | | svn:r10849
* r13452@kushana: nickm | 2007-06-20 09:52:55 -0400Nick Mathewson2007-07-05
| | | | | | | Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking. svn:r10737
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400Nick Mathewson2007-06-17
| | | | | | | Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645
* r13476@catbus: nickm | 2007-06-17 14:04:41 -0400Nick Mathewson2007-06-17
| | | | | | | Build with fewer compiler warnings on Sun. (This and previous Sun patches are thanks to the tremendously handy services of unix-center.net.) svn:r10644
* r13117@catbus: nickm | 2007-05-31 19:40:32 -0400Nick Mathewson2007-05-31
| | | | | | | Patch from Tup: treat RESOLVED_TYPE_ERROR_TRANSIENT as a SERVERFAILED, and RESOLVED_TYPE_ERROR as NOTEXIST. Generate transient/nontransient errors more sensibly. Set flags better on DNS replies. svn:r10427
* r13070@catbus: nickm | 2007-05-29 15:53:21 -0400Nick Mathewson2007-05-29
| | | | | | | Fix handling of resolves with very long or otherwise malformed addresses, and comment dns_resolve better, and stop making what should be a BUG warning into an assert(0). This fixes bug 427, which was introduced around 9900/9931/9932. Not a backport candidate: 0.1.2.x never had this bug. svn:r10399
* polish r9933-r9994Roger Dingledine2007-05-25
| | | | svn:r10335
* i suspect we would trigger asserts if we answer a cachedRoger Dingledine2007-05-25
| | | | | | | resolve request. this should help that. svn:r10334
* r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson2007-05-24
| | | | | | | Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
* r13025@Kushana: nickm | 2007-05-21 17:40:56 -0400Nick Mathewson2007-05-21
| | | | | | | Bugfix and possible backport candidate: use the same logic as in read_all when reading resolv.conf. Maybe this fixes bug 433. svn:r10237
* r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400Nick Mathewson2007-05-20
| | | | | | | Address points in r10227. svn:r10229
* point out two remote crash bugs, a memory leak, and a few otherRoger Dingledine2007-05-20
| | | | | | | items we should probably look into. svn:r10227
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* r12688@Kushana: nickm | 2007-04-09 17:29:12 -0400Nick Mathewson2007-04-09
| | | | | | | 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
* r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400Nick Mathewson2007-04-09
| | | | | | | Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson2007-03-24
| | | | | | | Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
* r12080@catbus: nickm | 2007-03-04 21:40:55 -0500Nick Mathewson2007-03-05
| | | | | | | Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500Nick Mathewson2007-03-04
| | | | | | | 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
* r11898@catbus: nickm | 2007-02-23 16:55:43 -0500Nick Mathewson2007-02-23
| | | | | | | Two XXX012 comments turned out to be bogus; remove them and document why. svn:r9625
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500Nick Mathewson2007-02-16
| | | | | | | Resolve 56 DOCDOC comments. svn:r9594
* r11797@catbus: nickm | 2007-02-13 16:17:40 -0500Nick Mathewson2007-02-13
| | | | | | | 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
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r12212@Kushana: nickm | 2007-02-10 16:09:38 -0500Nick Mathewson2007-02-10
| | | | | | | Remove XXXX012 for apparently resolved bug svn:r9548
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500Nick Mathewson2007-02-08
| | | | | | | | | | | | | | | | 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
* r11631@catbus: nickm | 2007-02-02 15:39:53 -0500Nick Mathewson2007-02-02
| | | | | | | Add missing return statement. svn:r9478
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson2007-02-02
| | | | | | | 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
* r12122@Kushana: nickm | 2007-02-02 10:41:39 -0500Nick Mathewson2007-02-02
| | | | | | | Fail when we are unable to parse the nameserver configuration. svn:r9475
* r11620@catbus: nickm | 2007-02-01 13:06:27 -0500Nick Mathewson2007-02-01
| | | | | | | Call stat() slightly less often; use fstat() when possible. svn:r9472
* r11613@catbus: nickm | 2007-01-30 19:58:03 -0500Nick Mathewson2007-01-31
| | | | | | | Re-enable server side PTR-record cacheing. svn:r9468
* r11610@catbus: nickm | 2007-01-30 17:44:02 -0500Nick Mathewson2007-01-30
| | | | | | | 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
* r11584@catbus: nickm | 2007-01-29 11:25:40 -0500Nick Mathewson2007-01-29
| | | | | | | Fix/update some XXX012 points. svn:r9456
* r11283@catbus: nickm | 2007-01-23 19:20:47 -0500Nick Mathewson2007-01-24
| | | | | | | Add documentation to dns.c (mainly to test new buildbot version) svn:r9393
* minor cleanupsRoger Dingledine2007-01-22
| | | | svn:r9387
* r9718@catbus: nickm | 2007-01-22 14:13:00 -0500Nick Mathewson2007-01-22
| | | | | | | Free CACHE_STATE_DONE cached_router_t items on dns_free_all(). svn:r9386
* boots and suspenders, or whatever the idiom isRoger Dingledine2007-01-17
| | | | svn:r9365
* r11983@Kushana: nickm | 2007-01-16 10:28:47 -0500Nick Mathewson2007-01-16
| | | | | | | Be even more clever about severity of messages from eventdns: NOTICE when the first nameserver comes up; INFO on subsequent ones. svn:r9364
* r11973@Kushana: nickm | 2007-01-15 16:43:25 -0500Nick Mathewson2007-01-15
| | | | | | | Answer questions from r9348. svn:r9358
* two more todo items, to make eventdns log messages less loudRoger Dingledine2007-01-15
| | | | svn:r9348
* r11938@Kushana: nickm | 2007-01-11 11:02:28 -0500Nick Mathewson2007-01-11
| | | | | | | 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
* r11931@Kushana: nickm | 2007-01-11 09:12:49 -0500Nick Mathewson2007-01-11
| | | | | | | Fix a crash bug in the presence of DNS hijacking. svn:r9333