summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-17whitespace fixNick Mathewson
2012-08-17Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.Linus Nordberg
Closes #6423.
2012-08-17Merge branch 'bug6379' into maint-0.2.3Nick Mathewson
2012-08-17Fix more warnings from openbsd_mallocNick Mathewson
Apparently, (void)writev is not enough to suppress the "you are ignoring the return value!" warnings on Linux. Instead, remove the whole warning/error logic when compiling openbsd_malloc for Tor: we can't use it.
2012-08-17Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3Nick Mathewson
2012-08-17Merge remote-tracking branch 'public/bug6507' into maint-0.2.3Nick Mathewson
2012-08-17Whitespace and build fixes on 6475 patchNick Mathewson
2012-08-17Merge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3Nick Mathewson
2012-08-17Merge remote-tracking branch 'public/bug6514' into maint-0.2.3Nick Mathewson
2012-08-16Address Nick's comments from code review.Mike Perry
Also promote log messages to notice and rate-limit them.
2012-08-15Bug 6475: Explicitly track our path bias state.Mike Perry
This is done to avoid spurious warns. Additional log lines are also added to try to track down the codepaths where we are somehow overcounting success counts.
2012-08-15Fix warnings and 64-bit problems in openbsd-malloc codeNick Mathewson
The warning fixes are: - Only define issetugid if it's missing. - Explicitly ignore the return value of writev. - Explicitly cast the retval of readlink() to int. The 64-bit problems are related to just storing a size_t in an int. Not cool! Use a size_t instead. Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
2012-08-15Fix wildcarded address mappings from the control portNick Mathewson
Apparently, we weren't actually detecting wildcardedness when parsing them: whoops! bug 6244. Bugfix on 0.2.3.9-alpha
2012-08-15Raise the part of torrc mapaddress handling that knows wildcardsNick Mathewson
This patch extracts the inner part of config_register_addressmaps -- the part that knows about detecting wildcard addresses addresses -- and makes it into a new function. The new function is deliberately not moved or reindented, so that the diff is smaller. I need this to fix bug 6244.
2012-08-09Reject attempts to say FooPort and FooPort 0 in the same cfg domainNick Mathewson
2012-08-09Fix spaces from last patchNick Mathewson
2012-08-09Don't infer we have a FooPort from the presence of a FooPort lineNick Mathewson
Thanks to the changes we started making with SocksPort and friends in 0.2.3.3-alpha, any of our code that did "if (options->Sockport)" became wrong, since "SocksPort 0" would make that test true whereas using the default SocksPort value would make it false. (We didn't actually do "if (options->SockPort)" but we did have tests for TransPort. When we moved DirPort, ORPort, and ControlPort over to the same system in 0.2.3.9-alpha, the problem got worse, since our code is littered with checks for DirPort and ORPort as booleans. This code renames the current linelist-based FooPort options to FooPort_lines, and adds new FooPort_set options which get set at parse-and-validate time on the or_options_t. FooPort_set is true iff we will actually try to open a listener of the given type. (I renamed the FooPort options rather than leave them alone so that every previous user of a FooPort would need to get inspected, and so that any new code that forgetfully uses FooPort will need fail to compile.) Fix for bug 6507.
2012-08-09Merge remote-tracking branch 'public/bug6252_again' into maint-0.2.3Nick Mathewson
2012-08-03Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
Conflicts: src/or/routerlist.c
2012-08-03Try to clarify impact of bug 6537Nick Mathewson
I don't personally agree that this is likely to be easy to exploit, and some initial experimention I've done suggests that cache-miss times are just plain too fast to get useful info out of when they're mixed up with the rest of Tor's timing noise. Nevertheless, I'm leaving Robert's initial changelog entry in the git history so that he can be the voice of reason if I'm wrong. :)
2012-08-03Mitigate a side-channel leak of which relays Tor chooses for a circuitRobert Ransom
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.
2012-08-03Remove bogus comment claiming that an assertion is triggerable by consensusRobert Ransom
2012-08-03Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
2012-08-03Clarify security impact of bug 6530Nick Mathewson
2012-08-03Avoid possible segfault when handling networkstatus vote with bad flavorNick Mathewson
Fix for 6530; fix on 0.2.2.6-alpha.
2012-08-01Defensive programming: clear rs_out between iterations.Nick Mathewson
I can't currently find a bug here, but there are a couple of near-misses. Addresses ticket 6514; reported pseudonymously on IRC.
2012-07-31Merge branch 'bug6480_squashed' into maint-0.2.3Nick Mathewson
2012-07-31Avoid hard (impossible?)-to-trigger double-free in dns_resolve()Nick Mathewson
Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
2012-07-31changelog for bug6043Nick Mathewson
2012-07-31Fixes/beautification of RPM spec. Tiny improvements in RPM build docs.Ondrej Mikle
2012-07-31Fixed creating _tor user in RPM-based installs.Ondrej Mikle
2012-07-31Workaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old ↵Ondrej Mikle
note about using static libevent when building RPMs.
2012-07-31Cleanup of RPM build process - no more .git in tarball, use automake's ↵Ondrej Mikle
dist-gzip to create the tarball. Signed-off-by: Ondrej Mikle <ondrej.mikle@gmail.com>
2012-07-31Dependencies for RPM building with mock should work nowOndrej Mikle
2012-07-31Merge branch 'bug6490_v2' into maint-0.2.3Nick Mathewson
2012-07-31Warn when accounting is used in a way likely to link hidden servicesNick Mathewson
Fix for 6490.
2012-07-31Fix some manpage typosNick Mathewson
This is based on a pair of patches from A. Costa. I couldn't apply those directly, since they changed the generated *roff files, not the asciidoc source. Fixes Tor bug 6500 and Debian bug 683359.
2012-07-31trivial grammar fixRoger Dingledine
2012-07-23Merge remote-tracking branch 'asn/bug6274_take3' into maint-0.2.3Nick Mathewson
2012-07-20changes file for bug 6436.Nick Mathewson
2012-07-20Clarify how to build asciidoc files using homebrew on Mac OS XSteven Murdoch
2012-07-18Better handling of server managed proxies when Tor is not a relay.George Kadianakis
2012-07-18Have the bug6252 commit message reflect its on-again/off-again statusNick Mathewson
2012-07-18Detect bug 6252 (unexpected sendme cell)Roger Dingledine
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.
2012-07-18Merge branch 'smartlist_shorten' into maint-0.2.3Nick Mathewson
2012-07-18Tweaks to 6400 changes file and docs as suggested by armaNick Mathewson
2012-07-17Improve message on spurious SOCKSListenAddressNick Mathewson
2012-07-17Fix the remaining instances of nexted SMARTLIST_FOREACHNick Mathewson
2012-07-17Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/ENDNick Mathewson
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.
2012-07-17Allow TestingTorNetwork when alternate dir and bridge authorities are set.Linus Nordberg
Allow TestingTorNetwork when AlternateDirAuthority and AlternateBridgeAuthority is set even if DirServer is not.