Nick Mathewson
|
e5b88dc83f
Update Tor to use Libevent 2.0 APIs when available.
|
15 years ago |
Nick Mathewson
|
b805e5debf
Merge commit 'origin/maint-0.2.1' into master.
|
15 years ago |
Nick Mathewson
|
99c315a473
Use tor_socket_strerror in eventdns.c. Fixes bug 987.
|
15 years ago |
Nick Mathewson
|
a3fadddd4a
Improved bug-957 fix for 0.2.2.
|
15 years ago |
Nick Mathewson
|
1d002a25a2
Finish up the 0.2.1 version of the bug 957 fix.
|
15 years ago |
Nick Mathewson
|
34030a3d23
Possible fix for crash bug related to event timeouts. [Bug 957]
|
15 years ago |
Nick Mathewson
|
27c3b43817
Fix one case of bug 929.
|
15 years ago |
Nick Mathewson
|
c7f3416a9e
Add some debugging code to try to catch the likely cause of bug 929
|
15 years ago |
Nick Mathewson
|
65dc835773
Revert an erroneous part of the non-fix to bug 326, and add comments to explain why it was erroneous.
|
15 years ago |
Nick Mathewson
|
6e4afe6f13
I worry that the CLEAR() macro in eventdns.c is hiding bugs. That is sad, 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
|
15 years ago |
Nick Mathewson
|
8d9aadf57c
Port some mostly cosmetic eventdns changes from libevent
|
15 years ago |
Nick Mathewson
|
fe987d3a17
Remove some deadcode and use tor_inet_aton uniformly.
|
15 years ago |
Nick Mathewson
|
2ebdf91a52
Fix a remote-crash bug. This will need a patch release.
|
15 years ago |
Nick Mathewson
|
f78793879d
Fix a race condition on nameserver reconfiguration.
|
15 years ago |
Nick Mathewson
|
2aaf71826d
Fix a compile warning on win32.
|
15 years ago |
Nick Mathewson
|
462f64b6b9
Make outgoing DNS requests respect OutboundBindAddress.
|
15 years ago |
Nick Mathewson
|
c4b8fef362
Remove svn $Id$s from our source, and remove tor --version --version.
|
15 years ago |
Nick Mathewson
|
9c20441bcb
Only set sin_len/sin6_len when they exist.
|
15 years ago |
Nick Mathewson
|
48f2ce298b
Try harder to make sure we zero-out the extraneous sockaddr fields and that we set sockaddr_len. Conceivably a backport candidate, though nothing has yet been sen to break.
|
15 years ago |
Nick Mathewson
|
ffe22fab9b
Indeed, arma was right. There was one ntohl too many in debug_ntop in eventdns.c
|
15 years ago |
Roger Dingledine
|
c190842a34
point out the bug location to nick. unless i'm wrong.
|
15 years ago |
Nick Mathewson
|
2c4097e99d
More compilation tweaks on Android: fix two clear errors in our code that apparently the compiler cares about there.
|
15 years ago |
Nick Mathewson
|
029be5ad02
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.
|
15 years ago |
Nick Mathewson
|
148e4e8837
Do not leak the DNS server port structure.
|
15 years ago |
Nick Mathewson
|
6693f32530
Resolve many DOCDOCs.
|
15 years ago |
Nick Mathewson
|
d8027aa689
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
|
15 years ago |
Nick Mathewson
|
c7910c3bc9
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.
|
15 years ago |
Nick Mathewson
|
0c9dfffe5a
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.
|
15 years ago |
Roger Dingledine
|
bb1f488dbe
fix typo in log entry
|
15 years ago |
Nick Mathewson
|
b0c48d8e45
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.
|
15 years ago |