| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
Conflicts:
ChangeLog
|
| | |
| | |
| | |
| | |
| | | |
Maybe this is what parakeep was complaining about? Really wish he
would stick around more. Playing these guessing games is not fun :(
|
| | |
| | |
| | |
| | |
| | | |
They are capped to be between 0 and weight_scale (10000) by the code
just before the snprintf.
|
| | |
| | |
| | |
| | |
| | | |
Still not sure why they generate an empty consensus document..
Too much frobbing going on there.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Also always predict that we need a high capacity circuit or internal
circuit.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Also add bwweightscale consensus param. Use it as our
fixed-point calculation width.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All other bandwidthrate settings are restricted to INT32_MAX, but
this check was forgotten for PerConnBWRate and PerConnBWBurst. Also
update the manpage to reflect the fact that specifying a bandwidth
in terabytes does not make sense, because that value will be too
large.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix a dereference-then-NULL-check sequence. This bug wasn't triggered
in the wild, but we should fix it anyways in case it ever happens.
Also make sure users get a note about this being a bug when they
see it in their log.
Thanks to ekir for discovering and reporting this bug.
|
| | | |
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Don't continue handling EXTENDCIRCUIT messages when we get an
unknown purpose.
|
| | | |
|
| | |
| | |
| | |
| | | |
Found by coverity
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
get_torrc_fname() does the same thing we did in this code, so let's
replace it.
|
|/ /
| |
| |
| |
| | |
This is so that coverity stops complaining about using a user-supplied
string with the open() syscall. Let's see if it works.
|
| |
| |
| |
| |
| |
| |
| | |
Spec conformance issue: The code didn't force the network-status-version
token to be the first token in a v3 vote or consensus.
Problem discovered by Parakeep.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also add a comment about an odd CBT timeout edgecase.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
On or-talk, Marco Bonetti reports that recent iPhone SDKs build
Tor fine without it.
|
| |
| |
| |
| |
| |
| | |
Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097.
Also fix a coding style violation.
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
Tor has tor_lookup_hostname(), which prefers ipv4 addresses automatically.
Bug 1244 occured because gethostbyname() returned an ipv6 address, which
Tor cannot handle currently. Fixes bug 1244; bugfix on 0.0.2pre25.
Reported by Mike Mestnik.
|