Age | Commit message (Collapse) | Author |
|
code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses.
svn:r17707
|
|
svn:r17680
|
|
svn:r17662
|
|
configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for part of 813/868. Spotted by coderman
svn:r17569
|
|
nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver.
svn:r17368
|
|
when resolving large names. Add a cfg option to disable it, since apparently 3/10 of a percent of servers get it wrong.
svn:r17171
|
|
svn:r17050
|
|
_questions_ section of the replies. Rejecting answers whether the _answers_ section did not match made us reject A records waiting at the end of a CNAME record. Bug 823.
svn:r16933
|
|
svn:r16759
|
|
svn:r16674
|
|
svn:r16627
|
|
Make dns resolver code more robust: handle nameservers with IPv6 addresses, make sure names in replies match requested names, make sure origin address of reply matches the address we asked.
svn:r16621
|
|
Fix the last of the -Wshorten-64-to-32 warnings.
svn:r13696
|
|
Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
|
|
Oops. not supposed to use tor_assert() in eventdns.c
svn:r13622
|
|
Make the last of the veracode warning issues get fixed.
svn:r13620
|
|
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c.
svn:r13424
|
|
Remove or downgrade some XXX020 items.
svn:r13388
|
|
Fixes to more anonymously-reported typos and logic errors.
svn:r13136
|
|
add some missing checks for failing return values.
svn:r13130
|
|
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
|
|
remove yet more pointless differences between our eventdns.c and the evdns.c in libevent.
svn:r11425
|
|
remove more pointless differences between our eventdns.c and the evdns.c in libevent.
svn:r11416
|
|
Change comments in eventdns.c to C-style, so we can more easily diff it against the version in libevent to reconcile them (again).
svn:r11415
|
|
Fix a couple of memory leaks in eventdns.c; found by niels. Not backport candidates, since they only affect DNSPort users.
svn:r11413
|
|
Compile without warnings on MinGW, even with --enable-gcc-warnings enabled.
svn:r11157
|
|
Include fewer redundant headers; use the compiler search paths better.
svn:r11060
|
|
Make buffer large enough to hold ip6.arpa addresses. This code was not actually used yet, so no user-visible bug existed. (Based on patch by croup.)
svn:r10928
|
|
Use tor malloc replacements in eventdns.c for now: there might be goblins there...goblins that only dmalloc can find!
svn:r10912
|
|
Apparently, this problem can occur on the whole BSD family. "Yay."
svn:r10884
|
|
Fix solaris eventdns.c behavior. This time, I think I got it. We were redefining _FILE_OFFSET_BITS, and thereby calling fstat64() on a struct stat, or something like that.
svn:r10643
|
|
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
|
|
Aaargh. Revert accidentally-committed debugging code in last patch.
svn:r10400
|
|
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
|
|
Merge an evdns fix from libevent r357: "evdns_shutdown fix from adam langley.
svn:r10387
|
|
socklen_t is a silly type anyway. Just use int as the argument for evdns_server_request_get_requesting_addr.
svn:r10347
|
|
Fix some eventdns dns server bugs, and add a new eventdns function to get the address of whoever requested this lookup.
svn:r10316
|
|
Bugfix and possible backport candidate: use the same logic as in read_all when reading resolv.conf. Maybe this fixes bug 433.
svn:r10237
|
|
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
Check for more HAVE_* header defines when building eventdns.c
svn:r10063
|
|
Try to build without warnings on mingw with verbose warnings on. First attempt.
svn:r9688
|
|
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
|
|
Fix another XXX012 in eventdns.c: tell the DNS request about malformed DNS replies.
svn:r9637
|
|
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
|
|
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
|
|
Fix two assert bugs encountered when trying ipv6 lookups with eventdns code.
svn:r9430
|
|
Detect and reject another (harmless) class of DNS replies. Also, fix a couple of IPv6 bugs in evendns.c
svn:r9379
|
|
Detect pointer loops in DNS requests and replies; avoid infinite loop on such malformed replies. Fixes bug 380.
svn:r9378
|
|
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
|