aboutsummaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
Commit message (Expand)AuthorAge
* r12001@catbus: nickm | 2007-02-28 15:24:12 -0500••• Try to build without warnings on mingw with verbose warnings on. First attempt. svn:r9688 Nick Mathewson2007-02-28
* r12000@catbus: nickm | 2007-02-28 15:12:21 -0500••• Try to fix eventdns bug 326 again, this time by noting that rcode 2 (serverfailed) does not really mean "The server is useless." svn:r9687 Nick Mathewson2007-02-28
* r11917@catbus: nickm | 2007-02-24 03:18:52 -0500••• Fix another XXX012 in eventdns.c: tell the DNS request about malformed DNS replies. svn:r9637 Nick Mathewson2007-02-24
* r11624@catbus: nickm | 2007-02-01 13:17:35 -0500••• Note a few questionable bits pointed out by RATS. (And no, RATS, I'm not about to stop having fixed-sized local buffers for you. I know how to use them, thankyouverymuch.) svn:r9474 Nick Mathewson2007-02-01
* r11586@catbus: nickm | 2007-01-29 13:13:27 -0500••• Add a couple of fixes I turned up while writing regression tests for libevent: Allow DNS servers on ports other than 53, and handle TTLs correctly on reverse hostname lookups. svn:r9458 Nick Mathewson2007-01-29
* r11548@catbus: nickm | 2007-01-27 00:15:47 -0500••• Fix two assert bugs encountered when trying ipv6 lookups with eventdns code. svn:r9430 Nick Mathewson2007-01-27
* r9701@catbus: nickm | 2007-01-21 13:21:25 -0500••• Detect and reject another (harmless) class of DNS replies. Also, fix a couple of IPv6 bugs in evendns.c svn:r9379 Nick Mathewson2007-01-21
* r9692@catbus: nickm | 2007-01-21 12:04:22 -0500••• Detect pointer loops in DNS requests and replies; avoid infinite loop on such malformed replies. Fixes bug 380. svn:r9378 Nick Mathewson2007-01-21
* r11978@Kushana: nickm | 2007-01-15 18:54:25 -0500••• Apparently, the OpenBSD linker thinks it knows C better than I do, and gets to call me names for having strcat and strcpy and sprintf in my code--whether I use them safely or not. All right, OpenBSD. You win... this round. svn:r9360 Nick Mathewson2007-01-15
* r11919@Kushana: nickm | 2007-01-10 13:32:48 -0500••• Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs. svn:r9322 Nick Mathewson2007-01-10
* r11850@Kushana: nickm | 2007-01-05 17:12:08 -0500••• Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.) svn:r9272 Nick Mathewson2007-01-05
* Fix formatting in eventdns.c. Remove the rest of the osx binary•••uninstaller. svn:r9235 Andrew Lewman2007-01-02
* r11736@Kushana: nickm | 2006-12-28 17:46:23 -0500••• Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy. svn:r9205 Nick Mathewson2006-12-29
* r11726@Kushana: nickm | 2006-12-28 16:24:06 -0500••• Expose a function from eventdns.c to set options without having to make a fake configuration file. Also, add more settable options svn:r9202 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
* r11630@Kushana: nickm | 2006-12-17 22:02:24 -0500••• Add a typedef to (try to) make eventdns work on mingw. Man, I need a buildbot for this. svn:r9147 Nick Mathewson2006-12-18
* take the broken obsolete url out again.•••seriously, this line should stay out. how can we make this happen? svn:r9119 Roger Dingledine2006-12-15
* r11585@Kushana: nickm | 2006-12-15 01:11:49 -0500••• Tabify eventdns so that it matches libevent house style. svn:r9118 Nick Mathewson2006-12-15
* r11584@Kushana: nickm | 2006-12-15 01:10:45 -0500••• Try to reconcile (except for whitespace) eventdns with version in libevent, so it is easier for me to send merges. These changes should be cosmetic. (Ha!) svn:r9117 Nick Mathewson2006-12-15
* couldn't handle leaving this typo in•••svn:r9094 Roger Dingledine2006-12-12
* r11552@Kushana: nickm | 2006-12-12 13:34:13 -0500••• fix a signed/unsigned comparison in eventdns.c svn:r9092 Nick Mathewson2006-12-12
* r11548@Kushana: nickm | 2006-12-12 00:44:51 -0500••• Merge whitespace and other changes from libevent svn:r9090 Nick Mathewson2006-12-12
* r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500••• Add ipv6 functionality to evdns. svn:r9089 Nick Mathewson2006-12-12
* r11498@Kushana: nickm | 2006-12-11 21:40:24 -0500••• Document all structures and (non-exported) functions. External documentation will probably wind up being a manpage, hopefully written by somebody else. svn:r9087 Nick Mathewson2006-12-12
* r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500••• Rename nameserver functions: every one should now have "server" in the name. svn:r9086 Nick Mathewson2006-12-12
* r11496@Kushana: nickm | 2006-12-11 19:39:37 -0500••• Clean up XXXX comments in evdns code. Make server_ports actually go away when their refcnt reaches zero. svn:r9085 Nick Mathewson2006-12-12
* r11495@Kushana: nickm | 2006-12-11 19:11:14 -0500••• More evdns: tab fixes. Dont make users worry about flags. Set truncated flag correctly when generating responses, rather than just bailing out. svn:r9084 Nick Mathewson2006-12-12
* r11494@Kushana: nickm | 2006-12-11 14:50:20 -0500••• Export DNS types and classes in eventdns.h so that server code can use them. svn:r9083 Nick Mathewson2006-12-12
* r11493@Kushana: nickm | 2006-12-11 14:28:42 -0500••• Oops; apparently DNS replies are supposed to include the questions. Revise "add_ptr_reply" to accept an inaddr_arpa name instead of just the sockaddr_in. Also, add a "-servertest" function to the test code to see whether the DNS server logic is working. svn:r9082 Nick Mathewson2006-12-12
* r11492@Kushana: nickm | 2006-12-11 12:30:23 -0500••• Implement dns server reply retry logic. svn:r9081 Nick Mathewson2006-12-12
* r11491@Kushana: nickm | 2006-12-11 12:12:57 -0500••• More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration. svn:r9080 Nick Mathewson2006-12-12
* svn:r9079Nick Mathewson2006-12-12
* svn:r9077Nick Mathewson2006-12-12
* r9254@Kushana: nickm | 2006-10-17 17:23:36 -0400••• Implement dns label compression. Clients do not need this much; dns servers definitely do. svn:r9073 Nick Mathewson2006-12-12
* r9099@Kushana: nickm | 2006-10-05 17:42:55 -0400••• start fleshing out some logic to build server support into eventdns. Still needs work and testing. svn:r9068 Nick Mathewson2006-12-12
* r11486@Kushana: nickm | 2006-12-08 00:58:47 -0500••• Fix a longstanding bug in eventdns related to timeouts: The timeout count was never actually reset to 0. Argh. Now we reset it to zero after we get a successful request, or after we notice that a nameserver is back up, or after we decide the nameserver is down because of timeouts. This may fix bug 326. svn:r9054 Nick Mathewson2006-12-08
* r9313@totoro: nickm | 2006-11-13 20:07:41 -0500••• Try to compile with fewer warnings on irix64's MIPSpro compiler / environment, which apparently believes that: - off_t can be bigger than size_t. - only mean kids assign things they do not subsequently inspect. I don't try to fix the "error" that makes it say: cc-3970 cc: WARNING File = main.c, Line = 1277 conversion from pointer to same-sized integral type (potential portability problem) uintptr_t sig = (uintptr_t)arg; Because really, what can you do about a compiler that claims to be c99 but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x; is safe? svn:r8948 Nick Mathewson2006-11-14
* r8985@totoro: nickm | 2006-10-10 19:39:57 -0400••• Fix a signed/unsigned compare in eventdns.c svn:r8685 Nick Mathewson2006-10-10
* r8947@totoro: nickm | 2006-10-08 17:04:30 -0400••• Fix signed/unsigned compare warning in eventdns.c svn:r8654 Nick Mathewson2006-10-08
* Remove spurious void which causes builds to fail in mingw.•••svn:r8650 Andrew Lewman2006-10-08
* reapply a patch from adam langley that got clobbered when•••nick merged something back in svn:r8605 Roger Dingledine2006-10-06
* r9101@Kushana: nickm | 2006-10-05 23:05:11 -0400••• Trivial fix for solaris build. Libevent will want to use its own fix here, and probably already has. svn:r8601 Nick Mathewson2006-10-06
* r9097@Kushana: nickm | 2006-10-05 14:51:57 -0400••• Make eventdns.c formatting a little closer to evdns.c in libevent; add some bulletproofing to APPEND16 macro; clean some messages. svn:r8600 Nick Mathewson2006-10-05
* r8805@totoro: nickm | 2006-09-30 16:07:13 -0400••• Oops; nameserver list is circular. svn:r8552 Nick Mathewson2006-09-30
* r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400••• Make eventdns give strings for DNS errors, not just error numbers. svn:r8535 Nick Mathewson2006-09-29
* r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400••• Remove a signed/unsigned comparison in eventdns.c svn:r8508 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
* Marge changes from libevent evdns to our eventdns. Most are cosmetic, but on...•••svn:r8482 Nick Mathewson2006-09-24
* eventdns patch from Adam Langley•••svn:r8429 Roger Dingledine2006-09-19
* Fix a bogus free() in eventdns.c. Bug reported by xiando.•••svn:r8428 Nick Mathewson2006-09-19