Age | Commit message (Collapse) | Author |
|
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
|
|
Add some defensive programming to eventdns.c in an attempt to catch possible memory stomping bugs.
svn:r9322
|
|
Look in netinet/in6.h header when looking for struct in6_addr. (Issue found by saeftl.)
svn:r9272
|
|
uninstaller.
svn:r9235
|
|
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
|
|
Expose a function from eventdns.c to set options without having to make a fake configuration file. Also, add more settable options
svn:r9202
|
|
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
|
|
Add a typedef to (try to) make eventdns work on mingw. Man, I need a buildbot for this.
svn:r9147
|
|
seriously, this line should stay out.
how can we make this happen?
svn:r9119
|
|
Tabify eventdns so that it matches libevent house style.
svn:r9118
|
|
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
|
|
svn:r9094
|
|
fix a signed/unsigned comparison in eventdns.c
svn:r9092
|
|
Merge whitespace and other changes from libevent
svn:r9090
|
|
Add ipv6 functionality to evdns.
svn:r9089
|
|
Document all structures and (non-exported) functions. External documentation will probably wind up being a manpage, hopefully written by somebody else.
svn:r9087
|
|
Rename nameserver functions: every one should now have "server" in the name.
svn:r9086
|
|
Clean up XXXX comments in evdns code. Make server_ports actually go away when their refcnt reaches zero.
svn:r9085
|
|
More evdns: tab fixes. Dont make users worry about flags. Set truncated flag correctly when generating responses, rather than just bailing out.
svn:r9084
|
|
Export DNS types and classes in eventdns.h so that server code can use them.
svn:r9083
|
|
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
|
|
Implement dns server reply retry logic.
svn:r9081
|