| Commit message (Expand) | Author | Age |
... | |
* | | | moved wince related includes and defs to compat.h where possible, removed unu... | valerino | 2010-05-24 |
* | | | 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 |
* | | | Demote a warning about missing client ciphers | Sebastian Hahn | 2010-04-20 |
* | | | minor cleanups | Roger Dingledine | 2010-04-20 |
* | | | Fix a compilation warning on compat_libevent.c on some versions of windows li... | Nick Mathewson | 2010-04-19 |
* | | | Fix two compile-blockers in tor_vasprintf().•••1) mingw doesn't have _vscprintf(); mingw instead has a working snprintf.
2) windows compilers that _do_ have a working _vscprintf spell it so; they do
not spell it _vcsprintf().
| Nick Mathewson | 2010-04-19 |
* | | | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | 2010-04-15 |
|\| | |
|
| * | | Fix renegotiation on OpenSSL versions that backport RFC5746.•••Our code assumed that any version of OpenSSL before 0.9.8l could not
possibly require SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION. This is
so... except that many vendors have backported the flag from later
versions of openssl when they backported the RFC5476 renegotiation
feature.
The new behavior is particularly annoying to detect. Previously,
leaving SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION unset meant that
clients would fail to renegotiate. People noticed that one fast!
Now, OpenSSL's RFC5476 support means that clients will happily talk to
any servers there are, but servers won't accept renegotiation requests
from unpatched clients unless SSL_OP_ALLOW_etc is set. More fun:
servers send back a "no renegotiation for you!" error, which unpatched
clients respond to by stalling, and generally producing no useful
error message.
This might not be _the_ cause of bug 1346, but it is quite likely _a_
cause for bug 1346.
| Nick Mathewson | 2010-04-13 |
* | | | Merge branch 'asprintf' | Nick Mathewson | 2010-04-02 |
|\ \ \ |
|
| * | | | better handle the case where *strp is in asprintf args | Nick Mathewson | 2010-02-28 |
| * | | | Add a tor_asprintf() function, and use it in a couple of places.•••asprintf() is a GNU extension that some BSDs have picked up: it does a printf
into a newly allocated chunk of RAM.
Our tor_asprintf() differs from standard asprintf() in that:
- Like our other malloc functions, it asserts on OOM.
- It works on windows.
- It always sets its return-field.
| Nick Mathewson | 2010-02-25 |
* | | | | commit my annotations while i was hunting down the host order bug | Roger Dingledine | 2010-03-05 |
| |_|/
|/| | |
|
* | | | Update copyright dates for files not in maint-0.2.1 | Nick Mathewson | 2010-02-27 |
* | | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts:
src/common/test.h
src/or/test.c
| Nick Mathewson | 2010-02-27 |
|\ \ \
| | |/
| |/| |
|
| * | | Update Tor Project copyright years | Nick Mathewson | 2010-02-27 |
| * | | Zero a cipher completely before freeing it•••We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.
| Sebastian Hahn | 2010-02-26 |
* | | | Add the MIN and MAX macros for platforms that lack them | Nick Mathewson | 2010-02-25 |
* | | | Fix 64-bit printf issues in consensus-bw-weights5-merge.•••For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you
can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the
compiler 'printf("%lld", (long long int)x);' or else it doesn't
believe the types match. This is why we added U64_PRINTF_ARG; it
looks like we needed an I64_PRINTF_ARG too.
| Nick Mathewson | 2010-02-25 |
* | | | Remove misc unnecessary newlines found by new check. | Mike Perry | 2010-02-22 |
* | | | Add %lld compat defines. | Mike Perry | 2010-02-22 |
| |/
|/| |
|
* | | Merge remote branch 'sebastian/bug1254' | Nick Mathewson | 2010-02-22 |
|\ \ |
|
| * | | Zero a cipher completely before freeing it•••We used to only zero the first ptrsize bytes of the cipher. Since
cipher is large enough, we didn't zero too many bytes. Discovered
and fixed by ekir. Fixes bug 1254.
| Sebastian Hahn | 2010-02-22 |
* | | | Make expand_filename into a tor_strdup() alias on windows.•••On Windows, we don't have a notion of ~ meaning "our homedir", so we
were deliberately using an #ifdef to avoid calling expand_filename()
in multiple places. This is silly: The right place to turn a function
into a no-op on a single platform is in the function itself, not in
every single call-site.
| Nick Mathewson | 2010-02-22 |
|/ / |
|
* | | fix typo and garbage grammar | Roger Dingledine | 2010-02-21 |
* | | Merge remote branch 'sebastian/bug1143' | Nick Mathewson | 2010-02-19 |
|\ \ |
|
| * | | Make the DNSPort option work with libevent 2.x•••We need to use evdns_add_server_port_with_base() when configuring
our DNS listener, because libevent segfaults otherwise. Add a macro
in compat_libevent.h to pick the correct implementation depending
on the libevent version.
Fixes bug 1143, found by SwissTorExit
| Sebastian Hahn | 2010-02-19 |
* | | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts:
ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h
| Nick Mathewson | 2010-02-18 |
|\ \ \
| |/ /
|/| /
| |/ |
|
| * | Fix compile | Sebastian Hahn | 2010-02-18 |
| * | Even more conservative option-setting for SSL renegotiation.•••This time, set the SSL3_FLAGS_ALLOW_UNSAFE_RENEGOTIATION flag on every
version before OpenSSL 0.9.8l. I can confirm that the option value (0x0010)
wasn't reused until OpenSSL 1.0.0beta3.
| Nick Mathewson | 2010-02-17 |
* | | Remove the --enable-iphone option as needless.•••On or-talk, Marco Bonetti reports that recent iPhone SDKs build
Tor fine without it.
| Nick Mathewson | 2010-02-12 |
* | | Add Windows version detection for Vista and 7•••Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097.
Also fix a coding style violation.
| Sebastian Hahn | 2010-02-10 |
* | | Make tor_addr_copy() conform to memcpy requirements•••The src and dest of a memcpy() call aren't supposed to overlap,
but we were sometimes calling tor_addr_copy() as a no-op.
Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch
removes it.
| Nick Mathewson | 2010-02-09 |
* | | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | 2010-01-31 |
|\| |
|
| * | Revise OpenSSL fix to work with OpenSSL 1.0.0beta*•••In brief: you mustn't use the SSL3_FLAG solution with anything but 0.9.8l,
and you mustn't use the SSL_OP solution with anything before 0.9.8m, and
you get in _real_ trouble if you try to set the flag in 1.0.0beta, since
they use it for something different.
For the ugly version, see my long comment in tortls.c
| Nick Mathewson | 2010-01-31 |
| * | Decide whether to use SSL flags based on runtime OpenSSL version.•••We need to do this because Apple doesn't update its dev-tools headers
when it updates its libraries in a security patch. On the bright
side, this might get us out of shipping a statically linked OpenSSL on
OSX.
May fix bug 1225.
[backported]
| Nick Mathewson | 2010-01-29 |
* | | Detect the correct versions of openssl for tls negotiation fix•••Since it doesn't seem to hurt, we should use _both_ fixes whenever
we see OpenSSL 0.9.7L .. 0.9.8, or OpenSSL 0.9.8L..
| Nick Mathewson | 2010-01-29 |
* | | Decide whether to use SSL flags based on runtime OpenSSL version.•••We need to do this because Apple doesn't update its dev-tools headers
when it updates its libraries in a security patch. On the bright
side, this might get us out of shipping a statically linked OpenSSL on
OSX.
May fix bug 1225.
| Nick Mathewson | 2010-01-29 |
* | | Don't unlock a new log until done logging the tor version.•••This might please coverity scan.
| Nick Mathewson | 2010-01-25 |
* | | Merge remote branch 'origin/maint-0.2.1' | Nick Mathewson | 2010-01-23 |
|\| |
|
| * | Avoid a possible crash in tls_log_errors.•••We were checking for msg==NULL, but not lib or proc. This case can
only occur if we have an error whose string we somehow haven't loaded,
but it's worth coding defensively here.
Spotted by rieo on IRC.
| Nick Mathewson | 2010-01-22 |
* | | Fix build on Solaris by disabling support for DisableAllSwap•••Fixes bug 1198. Solaris doesn't have RLIMIT_MEMLOCK for get/setrlimit,
so disable support because we don't know if all memory can be locked.
| Sebastian Hahn | 2010-01-19 |
* | | don't list windows capabilities in windows uname•••we never used them, and maybe it's a bad idea to publish them
| Roger Dingledine | 2010-01-15 |
* | | Merge branch 'ewma' | Nick Mathewson | 2009-12-18 |
|\ \ |
|
| * | | Fix comment typos in container.c | Nick Mathewson | 2009-12-15 |
| * | | Enhance pqueue so we can remove items from the middle.•••This changes the pqueue API by requiring an additional int in every
structure that we store in a pqueue to hold the index of that structure
within the heap.
| Nick Mathewson | 2009-12-12 |
* | | | Remove duplicate words and a duplicate newline. | Karsten Loesing | 2009-12-18 |
* | | | Refactor out the 'find string at start of any line' logic.•••We do this in too many places throughout the code; it's time to start
clamping down.
Also, refactor Karsten's patch to use strchr-then-strndup, rather than
malloc-then-strlcpy-then-strchr-then-clear.
| Nick Mathewson | 2009-12-17 |
* | | | Merge commit 'origin/maint-0.2.1' | Nick Mathewson | 2009-12-15 |
|\ \ \
| | |/
| |/| |
|
| * | | Fix bug 1173: remove an assert(unsigned >= 0). | Nick Mathewson | 2009-12-15 |
* | | | Refactor a bit so that it is safe to include math.h, and mostly not needed. | Nick Mathewson | 2009-12-15 |
| |/
|/| |
|