| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
svn:r18682
|
|
|
|
|
|
| |
explain why it was erroneous.
svn:r18494
|
|
|
|
|
|
| |
because it was meant to make them more detectable. Change it to change stuff to garbage rather than to 0. If no bugs turn up, we can remove it in 0.2.2.x
svn:r18493
|
|
|
|
| |
svn:r18492
|
|
|
|
| |
svn:r18422
|
|
|
|
| |
svn:r18421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This resolves bug 526, wherein we would crash if the following
events occurred in this order:
A: We're an OR, and one of our nameservers goes down.
B: We launch a probe to it to see if it's up again. (We do this hourly
in steady-state.)
C: Before the probe finishes, we reconfigure our nameservers,
usually because we got a SIGHUP and the resolve.conf file changed.
D: The probe reply comes back, or times out. (There is a five-second
window for this, after B has happens).
IOW, if one of our nameservers is down and our nameserver
configuration has changed, there were 5 seconds per hour where HUPing
the server was unsafe.
Bugfix on 0.1.2.1-alpha. Too obscure to backport.
svn:r18306
|
|
|
|
| |
svn:r18099
|
|
|
|
|
|
| |
Fixes the bug part of bug 789.
svn:r17983
|
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
| |
svn:r17851
|
|
|
|
|
|
| |
we set sockaddr_len. Conceivably a backport candidate, though nothing has yet been sen to break.
svn:r17849
|
|
|
|
|
|
| |
eventdns.c
svn:r17826
|
|
|
|
| |
svn:r17825
|
|
|
|
|
|
| |
apparently the compiler cares about there.
svn:r17808
|
|
|
|
|
|
| |
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
|