| Commit message (Expand) | Author | Age |
* | Port Tor to work on Windows CE•••Most of the changes here are switches to use APIs available on Windows
CE. The most pervasive change is that Windows CE only provides the
wide-character ("FooW") variants of most of the windows function, and
doesn't support the older ASCII verions at all.
This patch will require use of the wcecompat library to get working
versions of the posix-style fd-based file IO functions.
[commit message by nickm]
| valerino | 2010-05-24 |
* | Try to untangle the logic in server_port_flush•••It's a bit confusing to have a loop where another function,
confusingly named "*_free", is responsible for advancing the loop
variable (or rather, for altering a structure so that the next time
the loop variable's initializer is evaluated it evaluates to something
different.)
Not only has this confused people: it's also confused coverity scan.
Let's fix that.
| Nick Mathewson | 2010-01-25 |
* | Don't use OutboundBindAddress to connect to localhost•••The OutboundBindAddress option is useful for making sure that all of
your outbond connections use a given interface. But when connecting
to 127.0.0.1 (or ::1 even) it's important to actually have the
connection come _from_ localhost, since lots of programs running on
localhost use the source address to authenticate that the connection
is really coming from the same host.
Our old code always bound to OutboundBindAddress, whether connecting
to localhost or not. This would potentially break DNS servers on
localhost, and socks proxies on localhost. This patch changes the
behavior so that we only look at OutboundBindAddress when connecting
to a non-loopback address.
| Nick Mathewson | 2010-01-20 |
* | Include util.h and log.h as relative paths.•••This shouldn't be necessary, but apparently the Android cross-compiler
doesn't respect -I as well as it should. (-I is supposed to add to the
*front* of the search path. Android's gcc wrapper apparently likes to add to
the end. This is broken, but we need to work around it.)
| Nathan Freitas | 2009-09-29 |
* | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | 2009-09-01 |
|\ |
|
| * | Fix compile warnings on Snow Leopard•••Big thanks to nickm and arma for helping me with this!
| Sebastian Hahn | 2009-09-01 |
* | | Switch over to tor_strtok_r instead of strtok_r. | Mike Perry | 2009-08-09 |
* | | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | 2009-06-30 |
|\| |
|
| * | Have eventdns set the "truncated" bit correctly.•••Fixed bug 1022; This isn't actually a live bug in Tor, since in Tor
we never generate large DNS replies.
| Nick Mathewson | 2009-06-30 |
* | | Update Tor to use Libevent 2.0 APIs when available.•••This patch adds a new compat_libevent.[ch] set of files, and moves our
Libevent compatibility and utilitity functions there. We build them
into a separate .a so that nothing else in src/commmon depends on
Libevent (partially fixing bug 507).
Also, do not use our own built-in evdns copy when we have Libevent
2.0, whose evdns is finally good enough (thus fixing Bug 920).
| Nick Mathewson | 2009-06-12 |
* | | Merge commit 'origin/maint-0.2.1' into master.•••Conflicts:
ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h
| Nick Mathewson | 2009-05-25 |
|\| |
|
| * | Use tor_socket_strerror in eventdns.c. Fixes bug 987. | Nick Mathewson | 2009-05-25 |
* | | Improved bug-957 fix for 0.2.2.•••Really, our idiocy was that we were calling event_set() on the same
event more than once, which sometimes led to us calling event_set() on
an event that was already inserted, thus making it look uninserted.
With this patch, we just initialize the timeout events when we create
the requests and nameservers, and we don't need to worry about
double-add and double-del cases at all.
| Nick Mathewson | 2009-05-22 |
|/ |
|
* | Finish up the 0.2.1 version of the bug 957 fix.•••Basically, all this means is downgrading our warning messages to debug
messages, since the bug workaround code here is adequate to stop the
bug.
| Nick Mathewson | 2009-05-22 |
* | Possible fix for crash bug related to event timeouts. [Bug 957]•••If we ever add an event, then set it, then add it again, there will be
now two pointers to the event in the event base. If we delete one and
free it, the first pointer will still be there, and possibly cause a
crash later.
This patch adds detection for this case to the code paths in
eventdns.c, and works around it. If the warning message ever
displays, then a cleverer fix is in order.
{I am not too confident that this *is* the fix, since bug 957 is very
tricky. If it is, it is a bugfix on 0.2.0.}
| Nick Mathewson | 2009-05-18 |
* | Fix one case of bug 929.•••svn:r18683
| Nick Mathewson | 2009-02-23 |
* | Add some debugging code to try to catch the likely cause of bug 929•••svn:r18682
| Nick Mathewson | 2009-02-23 |
* | Revert an erroneous part of the non-fix to bug 326, and add comments to expla...•••svn:r18494
| Nick Mathewson | 2009-02-11 |
* | I worry that the CLEAR() macro in eventdns.c is hiding bugs. That is sad, b...•••svn:r18493
| Nick Mathewson | 2009-02-11 |
* | Port some mostly cosmetic eventdns changes from libevent•••svn:r18492
| Nick Mathewson | 2009-02-11 |
* | Remove some deadcode and use tor_inet_aton uniformly.•••svn:r18422
| Nick Mathewson | 2009-02-09 |
* | Fix a remote-crash bug. This will need a patch release.•••svn:r18421
| Nick Mathewson | 2009-02-09 |
* | Fix a race condition on nameserver reconfiguration.•••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
| Nick Mathewson | 2009-01-28 |
* | Fix a compile warning on win32.•••svn:r18099
| Nick Mathewson | 2009-01-14 |
* | Make outgoing DNS requests respect OutboundBindAddress.•••Fixes the bug part of bug 789.
svn:r17983
| Nick Mathewson | 2009-01-06 |
* | Remove svn $Id$s from our source, and remove tor --version --version.•••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
| Nick Mathewson | 2009-01-04 |
* | Only set sin_len/sin6_len when they exist.•••svn:r17851
| Nick Mathewson | 2009-01-02 |
* | Try harder to make sure we zero-out the extraneous sockaddr fields and that w...•••svn:r17849
| Nick Mathewson | 2009-01-02 |
* | Indeed, arma was right. There was one ntohl too many in debug_ntop in eventd...•••svn:r17826
| Nick Mathewson | 2008-12-30 |
* | point out the bug location to nick. unless i'm wrong.•••svn:r17825
| Roger Dingledine | 2008-12-30 |
* | More compilation tweaks on Android: fix two clear errors in our code that app...•••svn:r17808
| Nick Mathewson | 2008-12-29 |
* | Move in-addr.arpa parsing and generation into address.c, and simplify the cod...•••svn:r17707
| Nick Mathewson | 2008-12-19 |
* | Do not leak the DNS server port structure.•••svn:r17680
| Nick Mathewson | 2008-12-18 |
* | Resolve many DOCDOCs.•••svn:r17662
| Nick Mathewson | 2008-12-17 |
* | Fix a logic error that would automatically reject all but the first configure...•••svn:r17569
| Nick Mathewson | 2008-12-10 |
* | Consider GetNetworkParams() nameserver parsing to have suceeded if even one n...•••svn:r17368
| Nick Mathewson | 2008-11-22 |
* | Implement the 0x20-hack to make DNS poisoning harder against us, especially w...•••svn:r17171
| Nick Mathewson | 2008-10-29 |
* | fix typo in log entry•••svn:r17050
| Roger Dingledine | 2008-10-08 |
* | Oops; we need to make sure that DNS request names are matched in the _questio...•••svn:r16933
| Nick Mathewson | 2008-09-22 |
* | Fix mingw build with --enable-gcc-warnings set.•••svn:r16759
| Nick Mathewson | 2008-09-04 |
* | Oops; set address families on nameservers.•••svn:r16674
| Nick Mathewson | 2008-08-27 |
* | Oops. Linux has no sa_len field.•••svn:r16627
| Nick Mathewson | 2008-08-22 |
* | r17846@tombo: nickm | 2008-08-22 11:54:00 -0400••• 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
| Nick Mathewson | 2008-08-22 |
* | r14410@tombo: nickm | 2008-02-23 16:51:46 -0500••• Fix the last of the -Wshorten-64-to-32 warnings.
svn:r13696
| Nick Mathewson | 2008-02-24 |
* | r14371@tombo: nickm | 2008-02-21 16:13:18 -0500••• Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
| Nick Mathewson | 2008-02-21 |
* | r18263@catbus: nickm | 2008-02-20 12:45:15 -0500••• Oops. not supposed to use tor_assert() in eventdns.c
svn:r13622
| Nick Mathewson | 2008-02-20 |
* | r18259@catbus: nickm | 2008-02-20 12:03:15 -0500••• Make the last of the veracode warning issues get fixed.
svn:r13620
| Nick Mathewson | 2008-02-20 |
* | r14181@tombo: nickm | 2008-02-15 16:48:17 -0500••• 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
| Nick Mathewson | 2008-02-15 |
* | r17967@catbus: nickm | 2008-02-07 11:44:51 -0500••• 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
| Nick Mathewson | 2008-02-08 |
* | r17914@catbus: nickm | 2008-02-05 16:12:16 -0500••• Remove or downgrade some XXX020 items.
svn:r13388
| Nick Mathewson | 2008-02-05 |