Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| e49e2891 | 2012-02-10 17:29:53 | Update copyright notices to 2012 | ||
| 3c824bd3 | 2011-10-24 13:18:09 | Update copyright dates to 2011. | ||
| ba5c27d4 | 2011-10-10 08:24:43 | refer to non-deprecated evdns functions in comments | ||
| 94fba5b9 | 2011-08-10 15:58:47 | Add DNS_ERR_NODATA error code to handle empty replies. | ||
| 2b6eae59 | 2011-08-10 15:58:19 | Fix docstring in dns.h | ||
| 50be5a14 | 2011-08-11 03:06:07 | Another docstring fix. | ||
| 2888facc | 2011-07-04 23:02:11 | Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy | ||
| 49418612 | 2010-11-16 12:55:10 | Use the US-English "canceled", not the UK "cancelled". | ||
| 19521436 | 2010-09-03 16:42:16 | Expose a function to add a nameserver by sockaddr | ||
| 33200e72 | 2010-08-10 15:03:14 | Document that DNS_NO_SEARCH is an obsolete alias for DNS_QUERY_NO_SEARCH | ||
| cc2379d2 | 2010-07-26 14:48:32 | Constify a couple of arguments to evdns_server_request_add_*_reply | ||
| e1c1167c | 2010-07-22 14:38:08 | Replace (unused,always 0) is_tcp argument to evdns_add_server_port*() with flags Since we weren't using it for anything, and we always failed if it was set, we're allowed to change the future semantics of setting it. | ||
| b2f2be6e | 2010-03-10 16:25:16 | Make evdns use the regular logging system by default Once, for reasons that made sense at the time, we had evdns.c use its own logging subsystem with two levels, "warn" and "debug". This leads to problems, since setting a log handler for Libevent wouldn't actually trap these messages, since they weren't on by default, and since some of the warns should really be msgs. This patch changes the default behavior of evdns.c to log to event_(debugx,warnx,msgx) by default, and adds a new (internal-use-only) log level of EVDNS_LOG_MSG. Programs that set a evdns logging function will see no change. Programs that don't will now see evdns warnings reported like other warnings. | ||
| 17efc1cd | 2010-03-04 01:25:51 | Update all our copyright notices to say "2010" | ||
| e5bbd40a | 2010-02-18 17:41:15 | Clean up formatting: use tabs, not 8-spaces, to indent. | ||
| 8fdf09c0 | 2010-02-18 17:08:50 | Clean up formatting: Disallow space-before-tab. | ||
| d4de062e | 2010-02-10 17:19:18 | Add an arc4random implementation for use by evdns Previously, evdns was at the mercy of the user for providing a good entropy source; without one, it would be vulnerable to various active attacks. This patch adds a port of OpenBSD's arc4random() calls to Libevent [port by Chris Davis], and wraps it up a little bit so we can use it more safely. | ||
| 1dd7e6dc | 2010-02-05 01:16:23 | Remove the 'flags' argument from evdns_base_set_option() The 'flags' argument made sense when passed to evdns_(base_)?parse_resolv_conf when it said which parts of the resolv.conf file to obey. But for evdns_set_option(), it was really silly, since you wouldn't be calling evdns_set_option() unless you actually wanted to set the option. Its meaning was basically, "set this to DNS_OPTIONS_ALL unless you want a funny surprise." evdns_base_set_option was new in 2.0.1-alpha, so we aren't committed to keeping it source-compatible. | ||
| 72dd6667 | 2009-12-07 17:21:41 | evdns_getaddrinfo() now supports the /etc/hosts file. The regular blocking evutil_getaddrinfo() already supported /etc/hosts by falling back to getaddrinfo() or gethostbyname(). But evdns_getaddrinfo() had no such facility. Now it does. The data structure here isn't very clever. I guess people with huge /etc/hosts files will either need to get out of the 1980s, or submit a patch to this code so that it uses a hashtable instead of a linked list. Includes basic unit tests. | ||
| 1e56a32d | 2009-12-29 16:04:16 | Make the initial nameserver probe timeout configurable. When we decide that a nameserver is down, we stop sending queries to it, except to periodically probe it to see if it has come back up. Our previous probe sechedule was an ad-hoc and hard-wired "10 seconds, one minute, 5 minues, 15 minutes, 1 hour, 1 hour, 1 hour...". There was nothing wrong with having it be ad-hoc, but making it hard-wired served no good purpose. Now the user can set the initial timeout via a new "initial-probe-timeout:" option; future timeouts back off by a factor of 3 on every failure to a maximum of 1 hour. As a side-benefit, this lets us cut the runtime of the dns/retry test from about 40 seconds to about 3 seconds. Faster unit tests are always a good thing. | ||
| 201d8d0b | 2009-11-17 18:29:44 | Clarify even more about various system-specific problems with getaddrinfo svn:r1542 | ||
| 86f57420 | 2009-11-16 22:25:46 | Add two implementations of getaddrinfo: one blocking and one nonblocking. The entry points are evutil_getaddrinfo and evdns_getaddrinfo respectively. There are fairly extensive unit tests. I believe this code conforms to RFC3493 pretty closely, but there are probably more issues. It should get tested on more platforms. This code means we can dump the well-intentioned but weirdly-implemented bufferevent_evdns and evutil_resolve code. svn:r1537 | ||
| 72bafc17 | 2009-11-16 22:23:55 | Remove the stupid brokenness where DNS option names needed to end with a colon. svn:r1536 | ||
| 0b9eb1bf | 2009-11-03 20:40:48 | Add a bufferevent function to resolve a name then connect to it. This function, bufferevent_socket_connect_hostname() can either use evdns to do the resolve, or use a new function (evutil_resolve) that uses getaddrinfo or gethostbyname, like http.c does now. This function is meant to eventually replace the hostname resolution mess in http.c. svn:r1496 | ||
| 670658eb | 2009-07-21 18:32:57 | Correct the signatures for evdns_configure_windows_nameservers(), now that it is exposed. svn:r1369 | ||
| a386fde3 | 2009-07-17 20:28:03 | Checking for MS_WINDOWS rather than WIN32 is a Tor-ism. Fix that! svn:r1360 | ||
| 0b4ab122 | 2009-05-28 15:47:15 | Spell-check the the headers svn:r1320 | ||
| d2e9caa6 | 2009-04-06 20:38:19 | Fix evdns_cancel to alert callback and free associated RAM. Also, we add a test to make sure evdns_cancel is working properly. svn:r1139 | ||
| 77c80b8d | 2009-02-11 17:24:11 | New bind-to option to allow DNS clients to bind to arbitrary ports for their outgoing addresses. svn:r1119 | ||
| 4d92e426 | 2009-02-02 19:22:27 | forward-port: Make evdns_resolve_reverse args const. svn:r1096 | ||
| b85b710c | 2009-01-27 22:34:36 | Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065 | ||
| c0712b16 | 2009-01-26 17:29:45 | Initial documentation for evdns server functions. Also deprecate the one that didn't take an event_base. svn:r1054 | ||
| 52a75f18 | 2009-01-26 17:09:22 | Documentation (or more accurate documentation) for a few more functions. svn:r1051 | ||
| 87be18da | 2008-12-25 16:25:37 | implement evdns_cancel_request; test one of the new evdns_base functions svn:r980 | ||
| dd731685 | 2008-12-03 20:09:13 | Implement increased DSN-poisoning resistance via the 0x20 hack. svn:r958 | ||
| 1c765b78 | 2008-11-28 20:11:24 | move dns header files into the include directory; move old functions into compat and structs into a struct header file svn:r955 |