| Commit message (Collapse) | Author | Age |
... | |
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
I only check on circuits, not streams, since bloating your stream
window past the initial circuit window can't help you much.
Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising
races if we lower CIRCWINDOW_START for an experiment.
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Conflicts:
src/or/routerlist.c
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Tor's and OpenSSL's current design guarantee that there are other leaks,
but this one is likely to be more easily exploitable, and is easy to fix.
|
| | | | | |
|
|\| | | |
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Fix for 6530; fix on 0.2.2.6-alpha.
|
| |_|/
|/| |
| | |
| | | |
Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Fix for 6490.
|
|/ / / |
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when
you have a nice short loop body, but using it for long bodies makes
your preprocessor tell the compiler that all the code is on the same
line. That causes grief, since compiler warnings and debugger lines
will all refer to that one line.
So, here's a new style rule: SMARTLIST_FOREACH blocks need to be
short.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
Allow TestingTorNetwork when AlternateDirAuthority and
AlternateBridgeAuthority is set even if DirServer is not.
|
| | |
| | |
| | |
| | | |
Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.
|
|/ / |
|
|\| |
|
| |
| |
| |
| |
| | |
The June 2012 db marks too many relays as country "A1".
Addresses bug 6334.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This could result in bizarre window values. Report and patch
contributed pseudymously. Fixes part of bug 6271. This bug was
introduced before the first Tor release, in svn commit r152.
(bug 6271, part a.)
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit c32ec9c425e9539bcc8ede95612e2d331c2cc2dd.
It turns out the two sides of the circuit don't actually stay in sync,
so it is perfectly normal for the circuit window on the exit relay to
grow to 2000+. We should fix that bug and then reconsider this patch.
|
| |
| |
| |
| |
| |
| |
| |
| | |
I only check on circuits, not streams, since bloating your stream
window past the initial circuit window can't help you much.
Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising
races if we lower CIRCWINDOW_START for an experiment.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| | |
warning to info, except when we're a dirauth (fixes bug 5238)
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This should make some debian build systems happier.
Also, increase the select() timeout to a more reasonable 100 msec.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With glibc 2.15 and clang 3.0, I get warnings from where we use the
strcpsn implementation in the header as strcspn(string, "="). This
is apparently because clang sees that part of the strcspn macro
expands to "="[2], and doesn't realize that that part of the macro
is only evaluated when "="[1] != 0.
|
| | |
| | |
| | |
| | |
| | | |
I need this because I'm about to frob that function to stop using
strcspn() in order to get rid of a clang warning.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In b1ad1a1d0266a20bb we introduced an implicit (but safe)
long-to-int shortening that clang didn't like.
Warning not in any released version of Tor.
|
|/ /
| |
| |
| | |
Fix for #6238
|
| |
| |
| |
| |
| |
| | |
The functions parse_{s,c}method_line() were using
tor_addr_port_lookup() which is capable of doing DNS lookups. DNS
lookups should not be necessary when parsing {C,S}METHOD lines.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We can treat this case as an EAGAIN (probably because of an
unexpected internal NUL) rather than a crash-worthy problem.
Fixes bug 6225, again. Bug not in any released version of Tor.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because the string output was no longer equal in length to
HEX_ERRNO_SIZE, the write() call would add some extra spaces and
maybe a NUL, and the NUL would trigger an assert in
get_string_from_pipe.
Fixes bug 6225; bug not in any released version of Tor.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We now catch bare {s that should be on the previous line with a do,
while, if, or for, and elses that should share a line with their
preceding }.
That is,
if (foo)
{
and
if (foo) {
...
}
else
are now detected.
We should think about maybe making Tor uncrustify-clean some day,
but configuring uncrustify is an exercise in bizarreness, and
reformatting huge gobs of Tor is always painful.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The code that detected the source of a remapped address checked that
an address mapping's source was a given rewrite rule if addr_orig had
no .exit, and addr did have a .exit after processing that rule. But
addr_orig was formatted for logging: it was not the original address
at all, but rather was the address escaped for logging and possibly
replaced with "[scrubbed]".
This new logic will correctly set ADDRMAPSRC_NONE in the case when the
address starts life as a .exit address, so that AllowDotExit can work
again.
Fixes bug 6211; bugfix on 0.2.3.17-beta
|