| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
On win64, sockets are of type UINT_PTR; on win32 they're u_int;
elsewhere they're int. The correct windows way to check a socket for
being set is to compare it with INVALID_SOCKET; elsewhere you see if
it is negative.
On Libevent 2, all callbacks take sockets as evutil_socket_t; we've
been passing them int.
This patch should fix compilation and correctness when built for
64-bit windows. Fixes bug 3270.
|
|
|
|
| |
partial fix for bug 2332
|
|
|
|
| |
Big thanks to nickm and arma for helping me with this!
|
|
|
|
| |
svn:r18492
|
|
|
|
|
|
| |
Fixes the bug part of bug 789.
svn:r17983
|
|
|
|
|
|
| |
not to collide with any system headers. This tripped us up on Android.
svn:r17805
|
|
|
|
|
|
| |
code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses.
svn:r17707
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration.
svn:r9080
|
|
|
|
|
|
|
| |
start fleshing out some logic to build server support into eventdns. Still needs work and testing.
svn:r9068
|
|
|
|
|
|
|
| |
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
|
|
|
|
|
|
| |
should help valgrind and dmalloc freak out less.
svn:r8503
|
|
|
|
|
|
| |
one or two are stability-related. This should make it easier to push our changes back towards libevent.
svn:r8482
|
|
|
|
|
|
|
| |
divide eventdns log messages into warn and info messages.
svn:r8252
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Export and use eventdns_config_windows_nameservers(); clean up some comments and log messages.
svn:r6974
|
|
|
|
| |
svn:r6729
|
|
|
|
| |
svn:r6728
|
|
|
|
|
|
| |
compat; note some TODOs.
svn:r6621
|
|
|
|
| |
svn:r6528
|
|
we may want to switch to libevnet/c-ares, if they ever handle 10k fd situations properly. This one still needs work too, but at least it is small. This code is disabled by default, and not integrated with dns.c.
svn:r6524
|