| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration.
svn:r9080
|
| |
|
| |
|
|
|
|
|
|
|
| |
Implement dns label compression. Clients do not need this much; dns servers definitely do.
svn:r9073
|
|
|
|
|
|
|
| |
start fleshing out some logic to build server support into eventdns. Still needs work and testing.
svn:r9068
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix a signed/unsigned compare in eventdns.c
svn:r8685
|
|
|
|
|
|
|
| |
Fix signed/unsigned compare warning in eventdns.c
svn:r8654
|
|
|
|
| |
svn:r8650
|
|
|
|
|
|
|
| |
nick merged something back in
svn:r8605
|
|
|
|
|
|
|
| |
Trivial fix for solaris build. Libevent will want to use its own fix here, and probably already has.
svn:r8601
|
|
|
|
|
|
|
| |
Make eventdns.c formatting a little closer to evdns.c in libevent; add some bulletproofing to APPEND16 macro; clean some messages.
svn:r8600
|
|
|
|
|
|
|
| |
Oops; nameserver list is circular.
svn:r8552
|
|
|
|
|
|
|
| |
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
|
|
|
|
|
|
|
| |
Remove a signed/unsigned comparison in eventdns.c
svn:r8508
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r8429
|
|
|
|
| |
svn:r8428
|
|
|
|
| |
svn:r8351
|
|
|
|
| |
svn:r8350
|
|
|
|
|
|
|
| |
Tabify eventdns
svn:r8348
|
|
|
|
|
|
|
| |
Make eventdns spacing consistant
svn:r8347
|
|
|
|
| |
svn:r8345
|
|
|
|
| |
svn:r8344
|