aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
Commit message (Expand)AuthorAge
* r8607@Kushana: nickm | 2006-08-27 15:45:42 -0400••• Change configuration strategy for eventdns. Instead of elaborate option set, just allow the user to specify another resolv.conf to use. svn:r8254 Nick Mathewson2006-08-28
* r8605@Kushana: nickm | 2006-08-27 14:01:11 -0400••• divide eventdns log messages into warn and info messages. svn:r8252 Nick Mathewson2006-08-28
* i'm guessing nick meant to check the return value of dns_init.•••and revise some log severities to match the convention. svn:r8234 Roger Dingledine2006-08-27
* fix typo•••svn:r8233 Roger Dingledine2006-08-27
* r8573@Kushana: nickm | 2006-08-25 16:55:19 -0400••• Resolve bug 321 when using dnsworkers: append a period to every address we resolve at the exit node, so that we do not accidentally pick up local addresses, and so that failing searches are retried in the resolver search domains. (This is already solved for eventdns.) svn:r8225 Nick Mathewson2006-08-25
* r7405@Kushana: nickm | 2006-08-16 14:38:46 -0400••• Implement reverse DNS lookup in eventdns: add new entry point; rename old entry point; revise TODO a little; add facility for parsing dns names. svn:r7070 Nick Mathewson2006-08-16
* dns.c:173: warning: control reaches end of non-void function•••svn:r7067 Roger Dingledine2006-08-16
* r7397@Kushana: nickm | 2006-08-15 00:46:18 -0400••• Fix eventdns version of dns.c. Man, we need to get rid of this eventdns/dnsworker split. svn:r7064 Nick Mathewson2006-08-15
* r7393@Kushana: nickm | 2006-08-14 23:51:07 -0400••• remove extraneous #endif svn:r7063 Nick Mathewson2006-08-15
* r7046@Kushana: nickm | 2006-08-05 13:57:04 -0400••• Make it possible for dns_init() to fail; note failure of eventdns configuratoin. svn:r7059 Nick Mathewson2006-08-14
* r7383@Kushana: nickm | 2006-08-14 16:16:03 -0400••• Stop walking entire dns cache for every request, now that we found our hash table bug. svn:r7057 Nick Mathewson2006-08-14
* simplify compare_cached_resolves_by_expiry() to make it match•••the idioms of other compare functions. hopefully i didn't break it? svn:r7048 Roger Dingledine2006-08-14
* fix typo, add explanatory comment•••svn:r7026 Roger Dingledine2006-08-11
* r7327@Kushana: nickm | 2006-08-11 00:00:36 -0700••• Fix a pedantic warning svn:r7023 Nick Mathewson2006-08-11
* r7304@Kushana: nickm | 2006-08-10 01:58:05 -0700••• Fix verbose compilation errors; make sure transparent proxy fails when no method is configured. svn:r7012 Nick Mathewson2006-08-10
* r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700••• whitespace fixes svn:r7011 Nick Mathewson2006-08-10
* make svn trunk link again. nick can fix this if it's wrong.•••svn:r6982 Roger Dingledine2006-08-04
* r7009@Kushana: nickm | 2006-08-03 10:44:58 -0700••• Add functions to eventdns to allow detecting whether we have any nameservers configured, and to change the list of nameservers after initial configuration. svn:r6976 Nick Mathewson2006-08-04
* r7008@Kushana: nickm | 2006-08-03 10:03:39 -0700••• Oops. We shouldnt initialize eventdns when we are not being a server and not resolving anything. svn:r6975 Nick Mathewson2006-08-04
* r7007@Kushana: nickm | 2006-08-03 09:58:30 -0700••• Export and use eventdns_config_windows_nameservers(); clean up some comments and log messages. svn:r6974 Nick Mathewson2006-08-04
* fix a seg fault on exit for clients; and fix a comment.•••svn:r6969 Roger Dingledine2006-08-03
* more compile options mean more codepaths•••svn:r6963 Roger Dingledine2006-07-31
* r6982@Kushana: nickm | 2006-07-31 13:47:19 -0400••• documentation and naming tweaks in dns.c svn:r6961 Nick Mathewson2006-07-31
* r6981@Kushana: nickm | 2006-07-31 13:23:26 -0400••• More asserts for cache correctness. svn:r6960 Nick Mathewson2006-07-31
* r6977@Kushana: nickm | 2006-07-31 13:01:28 -0400••• Solve timing-out pending connections. Add pending resolves to expiry queue; when we find an answer, change the pending resolve to "done" and stick the actual answer in the expiry queue as a new entry. This uses a little more memory, but makes the code simpler than other solutions. svn:r6956 Nick Mathewson2006-07-31
* svn:r6955Nick Mathewson2006-07-31
* r6959@Kushana: nickm | 2006-07-29 22:33:18 -0400••• start restructuring dns to use priority queues for expiring entries. svn:r6954 Nick Mathewson2006-07-31
* a bit more debugging for phobos•••svn:r6937 Roger Dingledine2006-07-30
* resolve typo•••svn:r6927 Roger Dingledine2006-07-27
* More asserts in dns.c •••svn:r6926 Nick Mathewson2006-07-27
* Get better numbers out of HT_REP_OK•••svn:r6924 Nick Mathewson2006-07-27
* Add more asserts in dns_found_answer. This may confirm my theory that dns_pu...•••svn:r6922 Nick Mathewson2006-07-27
* r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400••• Fix compilation for eventdns dns.c with split structs. svn:r6908 Nick Mathewson2006-07-26
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400••• Clean up wide lines from last patch. svn:r6907 Nick Mathewson2006-07-26
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817 Nick Mathewson2006-07-23
* These asserts will either cause spurious crashes or help debug the pend->conn...•••svn:r6803 Nick Mathewson2006-07-21
* stick to nick's nul/null convention•••svn:r6763 Roger Dingledine2006-07-15
* Add some debugging asserts to dns.c; these are too expensive to leave in perm...•••svn:r6756 Nick Mathewson2006-07-11
* Add a const; fix a (probably harmless) bug when storing a resolve we forgot w...•••svn:r6751 Nick Mathewson2006-07-10
* When using eventdns: suppress logging of addresses when SafeLogging is active...•••svn:r6744 Nick Mathewson2006-07-07
* Clean up eventdns messages.•••svn:r6730 Nick Mathewson2006-07-05
* Add plausile logging support to eventdns; stop putting stuff onto stdout.•••svn:r6728 Nick Mathewson2006-07-05
* fix spacing•••svn:r6628 Roger Dingledine2006-06-15
* Finally solve the "closing wedged cpuworkers" bug. Woo.•••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 Roger Dingledine2006-06-12
* We got an obscure report of an assert error on a windows Tor server with•••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 Roger Dingledine2006-06-06
* Try to log useful messages at info and debug about what we are resolving and ...•••svn:r6547 Nick Mathewson2006-06-05
* Hm. Where did we put that ntohl the last time we were juggling it? (ho...•••svn:r6534 Nick Mathewson2006-06-05
* Add a new warning to our "warn a lot" list: unused parameters. This means we...•••svn:r6532 Nick Mathewson2006-06-04
* More DNS fixes. Send meaningful TTLs back to the client when•••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 Nick Mathewson2006-06-03