- 19 Dec, 2008 1 commit
-
-
Nick Mathewson authored
Move in-addr.arpa parsing and generation into address.c, and simplify the code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses. svn:r17707
-
- 18 Dec, 2008 1 commit
-
-
Nick Mathewson authored
svn:r17680
-
- 17 Dec, 2008 1 commit
-
-
Nick Mathewson authored
svn:r17662
-
- 10 Dec, 2008 1 commit
-
-
Nick Mathewson authored
Fix a logic error that would automatically reject all but the first configured DNS server. Bugfix on 0.2.1.5-alpha. Possible fix for part of 813/868. Spotted by coderman svn:r17569
-
- 22 Nov, 2008 1 commit
-
-
Nick Mathewson authored
Consider GetNetworkParams() nameserver parsing to have suceeded if even one nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver. svn:r17368
-
- 29 Oct, 2008 1 commit
-
-
Nick Mathewson authored
Implement the 0x20-hack to make DNS poisoning harder against us, especially 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
-
- 08 Oct, 2008 1 commit
-
-
Roger Dingledine authored
svn:r17050
-
- 22 Sep, 2008 1 commit
-
-
Nick Mathewson authored
Oops; we need to make sure that DNS request names are matched in the _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
-
- 04 Sep, 2008 1 commit
-
-
Nick Mathewson authored
svn:r16759
-
- 27 Aug, 2008 1 commit
-
-
Nick Mathewson authored
svn:r16674
-
- 22 Aug, 2008 2 commits
-
-
Nick Mathewson authored
svn:r16627
-
Nick Mathewson authored
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
-
- 24 Feb, 2008 1 commit
-
-
Nick Mathewson authored
Fix the last of the -Wshorten-64-to-32 warnings. svn:r13696
-
- 21 Feb, 2008 1 commit
-
-
Nick Mathewson authored
Fix all -Wshorten-64-to-32 warnings that appear on my macbook. svn:r13662
-
- 20 Feb, 2008 2 commits
-
-
Nick Mathewson authored
Oops. not supposed to use tor_assert() in eventdns.c svn:r13622
-
Nick Mathewson authored
Make the last of the veracode warning issues get fixed. svn:r13620
-
- 15 Feb, 2008 1 commit
-
-
Nick Mathewson authored
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
-
- 08 Feb, 2008 1 commit
-
-
Nick Mathewson authored
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
-
- 05 Feb, 2008 1 commit
-
-
Nick Mathewson authored
Remove or downgrade some XXX020 items. svn:r13388
-
- 15 Jan, 2008 1 commit
-
-
Nick Mathewson authored
Fixes to more anonymously-reported typos and logic errors. svn:r13136
-
- 14 Jan, 2008 1 commit
-
-
Nick Mathewson authored
add some missing checks for failing return values. svn:r13130
-
- 19 Sep, 2007 1 commit
-
-
Nick Mathewson authored
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
-
- 11 Sep, 2007 1 commit
-
-
Nick Mathewson authored
remove yet more pointless differences between our eventdns.c and the evdns.c in libevent. svn:r11425
-
- 10 Sep, 2007 3 commits
-
-
Nick Mathewson authored
remove more pointless differences between our eventdns.c and the evdns.c in libevent. svn:r11416
-
Nick Mathewson authored
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
-
Nick Mathewson authored
Fix a couple of memory leaks in eventdns.c; found by niels. Not backport candidates, since they only affect DNSPort users. svn:r11413
-
- 17 Aug, 2007 1 commit
-
-
Nick Mathewson authored
Compile without warnings on MinGW, even with --enable-gcc-warnings enabled. svn:r11157
-
- 08 Aug, 2007 1 commit
-
-
Nick Mathewson authored
Include fewer redundant headers; use the compiler search paths better. svn:r11060
-
- 25 Jul, 2007 1 commit
-
-
Nick Mathewson authored
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
-
- 23 Jul, 2007 1 commit
-
-
Nick Mathewson authored
Use tor malloc replacements in eventdns.c for now: there might be goblins there...goblins that only dmalloc can find! svn:r10912
-
- 19 Jul, 2007 1 commit
-
-
Nick Mathewson authored
Apparently, this problem can occur on the whole BSD family. "Yay." svn:r10884
-
- 17 Jun, 2007 1 commit
-
-
Nick Mathewson authored
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
-
- 31 May, 2007 1 commit
-
-
Nick Mathewson authored
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
-
- 29 May, 2007 3 commits
-
-
Nick Mathewson authored
Aaargh. Revert accidentally-committed debugging code in last patch. svn:r10400
-
Nick Mathewson authored
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
-
Nick Mathewson authored
Merge an evdns fix from libevent r357: "evdns_shutdown fix from adam langley. svn:r10387
-
- 26 May, 2007 1 commit
-
-
Nick Mathewson authored
socklen_t is a silly type anyway. Just use int as the argument for evdns_server_request_get_requesting_addr. svn:r10347
-
- 24 May, 2007 1 commit
-
-
Nick Mathewson authored
Fix some eventdns dns server bugs, and add a new eventdns function to get the address of whoever requested this lookup. svn:r10316
-
- 21 May, 2007 1 commit
-
-
Nick Mathewson authored
Bugfix and possible backport candidate: use the same logic as in read_all when reading resolv.conf. Maybe this fixes bug 433. svn:r10237
-
- 16 May, 2007 1 commit
-
-
Nick Mathewson authored
Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
-