| Commit message (Expand) | Author | Age |
* | whitespace fix | Sebastian Hahn | 2010-07-27 |
* | Fix compilation with mingw and OpenSSL 0.9.8m+ | mingw-san | 2010-07-26 |
* | Make sure we don't warn for libevent versions like 1.4.14b-stable | Sebastian Hahn | 2010-07-26 |
* | Rename log.h to torlog.h•••This should make us conflict less with system files named "log.h".
Yes, we shouldn't have been conflicting with those anyway, but some
people's compilers act very oddly.
The actual change was done with one "git mv", by editing
Makefile.am, and running
find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
| Nick Mathewson | 2010-07-09 |
* | Merge remote branch 'public/rand_double2' | Nick Mathewson | 2010-06-29 |
|\ |
|
| * | Make cbt_generate_sample use crypto_rand_double()•••Possible workaround for bug 1139, if anybody cares.
| Nick Mathewson | 2010-06-25 |
| * | Add a function to return a double in range [0,1). | Nick Mathewson | 2010-06-22 |
* | | Merge branch 'bug1526-v2' | Nick Mathewson | 2010-06-25 |
|\ \ |
|
| * | | Fix zlib macro brokenness on osx with zlib 1.2.4 and higher.•••From the code:
zlib 1.2.4 and 1.2.5 do some "clever" things with macros. Instead of
saying "(defined(FOO) ? FOO : 0)" they like to say "FOO-0", on the theory
that nobody will care if the compile outputs a no-such-identifier warning.
Sorry, but we like -Werror over here, so I guess we need to define these.
I hope that zlib 1.2.6 doesn't break these too.
Possible fix for bug 1526.
| Nick Mathewson | 2010-06-22 |
* | | | Fix a compile error when building with Libevent before 1.4.5-stable•••Older versions of Libevent forgot to declare enough function arguments
constant.
| Nick Mathewson | 2010-06-25 |
* | | | Use Libevent 2.0's periodic timers where available.•••These timers behave better with non-monotonic clocks than our old
ones, and also try harder to make once-per-second events get called
one second apart, rather than one-plus-epsilon seconds apart.
This fixes bug 943 for everybody using Libevent 2.0 or later.
| Nick Mathewson | 2010-06-25 |
* | | | Log an error if openssl fails to copy a key for us•••This should never happen unless openssl is buggy or some of our
assumptions are deeply wrong, but one of those might have been the
cause of the not-yet-reproducible bug 1209. If it ever happens again,
let's get some info we can use.
| Nick Mathewson | 2010-06-22 |
| |/
|/| |
|
* | | Save a couple characters' allocation in esc_for_log | Florian Zumbiehl | 2010-06-14 |
* | | Reinstate warning when HOME isn't set.•••Having ~/.tor expand into /.tor is, after all, almost certainly not
what the user wanted, and it deserves a warning message.
Also, convert a guess-and-malloc-and-sprintf triple into an asprintf.
| Nick Mathewson | 2010-06-07 |
* | | Treat unset $HOME like empty $HOME•••This means Tor no longer dies when it doesn't have a $HOME.
| Sebastian Hahn | 2010-06-07 |
* | | Make pointer types correct in WinCE patch | Nick Mathewson | 2010-05-24 |
* | | 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 |