| Commit message (Expand) | Author | Age |
* | Fix parse_short_policy (bug 7192.)•••Our implementation of parse_short_policy was screwed up: it would
ignore the last character of every short policy. Obviously, that's
broken.
This patch fixes the busted behavior, and adds a bunch of unit tests
to make sure the rest of that function is okay.
Fixes bug 7192; fix on 0.2.3.1-alpha.
| Nick Mathewson | 2012-10-23 |
* | add a unit test to expose bug 7192 | Roger Dingledine | 2012-10-22 |
* | Merge branch 'block_renegotiate_023' into maint-0.2.3 | Nick Mathewson | 2012-10-19 |
|\ |
|
| * | Discard extraneous renegotiation attempts in the v3 link protocol•••Failure to do so left us open to a remotely triggerable assertion
failure. Fixes CVE-2012-2249; bugfix on 0.2.3.6-alpha. Reported by
"some guy from France".
| Nick Mathewson | 2012-10-17 |
* | | Don't serve or accept v2 HS descs over a DirPort•••(changes file tweaked by nickm)
| Robert Ransom | 2012-10-19 |
|/ |
|
* | Don't call fmt_addr() twice in a parameter list. | George Kadianakis | 2012-10-09 |
* | Merge remote-tracking branch 'arma/bug7037' into maint-0.2.3 | Nick Mathewson | 2012-10-04 |
|\ |
|
| * | Refuse extra create cells with reason "resource limit"•••In the past we had used reason "internal", which is more vague than
it needs to be. Resolves bug 7037.
| Roger Dingledine | 2012-10-03 |
* | | properly free the return values of rate_limit_log()•••resolves bug 7022.
| Roger Dingledine | 2012-10-03 |
|/ |
|
* | add faravahar as our ninth v3 dir auth | Roger Dingledine | 2012-09-22 |
* | Whitespace fixes | Nick Mathewson | 2012-09-18 |
* | Bug 6866: Convert pathbias asserts into log messages.•••Asserts were hit by Tor2Web mode.
| Mike Perry | 2012-09-17 |
* | Avoid undefined behaviour when parsing HS protocol versions•••Fixes bug 6827; bugfix on c58675ca728f12b42f65e5b8964ae695c2e0ec2d
(when the v2 HS desc parser was implemented).
Found by asn.
| Robert Ransom | 2012-09-13 |
* | Merge remote-tracking branch 'public/bug6341_a_v2' into maint-0.2.3 | Nick Mathewson | 2012-09-12 |
|\ |
|
| * | Check ewma_enabled before doing circ-has-become-inactive check•••This avoids a possible crash bug in flush_from_first_active_circuit.
Fixes bug 6341; bugfix on 0.2.2.7-alpha.
Bug reported and fixed by a pseudonymous user on IRC.
| Nick Mathewson | 2012-07-18 |
* | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3•••Conflicts:
src/test/test_util.c
| Nick Mathewson | 2012-09-11 |
|\ \ |
|
| * | | Fix assertion failure in tor_timegm.•••Fixes bug 6811.
| Nick Mathewson | 2012-09-11 |
* | | | Avoid segfault when reading state file from ancient tor•••If s_values is null in rep_hist_load_bwhist_state_section, we would
call smartlist_len() on it, and die.
Fixes bug 6801.
| Nick Mathewson | 2012-09-10 |
* | | | Avoid segfault if EntryGuardPathBias precedes EntryGuard•••Fix for bug 6774; bugfix on 0.2.3.17-beta.
| Nick Mathewson | 2012-09-05 |
* | | | Merge remote-tracking branch 'arma/bug6743' into maint-0.2.3 | Nick Mathewson | 2012-09-04 |
|\ \ \ |
|
| * | | | Make begindir_cutoff the same as general_cutoff•••Allow one-hop directory fetching circuits the full "circuit build timeout"
period, rather than just half of it, before failing them and marking
the relay down. This fix should help reduce cases where clients declare
relays (or worse, bridges) unreachable because the TLS handshake takes
a few seconds to complete.
Fixes bug 6743 (one piece of bug 3443); bugfix on 0.2.2.2-alpha, where
we changed the timeout from a static 30 seconds.
| Roger Dingledine | 2012-09-01 |
* | | | | fix whitespace and trivial typo | Roger Dingledine | 2012-09-03 |
|/ / / |
|
* | | | Quiet "Set buildtimeout to low val" warnings: make them info•••Fix for #6251
| Nick Mathewson | 2012-08-27 |
* | | | Downgrade path-bias warning messages to INFO for now.•••We've had over two months to fix them, and didn't. Now we need
0.2.3.x stable. Yes, it would be cool to get this working in
0.2.3.x, but not at the expense of delaying every other feature that
_does_ work in 0.2.3.x. We can do a real fix in 0.2.4.
| Nick Mathewson | 2012-08-27 |
* | | | Merge branch 'bug6710_023' into maint-0.2.3 | Nick Mathewson | 2012-08-27 |
|\ \ \ |
|
| * | | | Disable extending to private/internal addresses by default•••This is important, since otherwise an attacker can use timing info
to probe the internal network.
Also, add an option (ExtendAllowPrivateAddresses) so that
TestingTorNetwork won't break.
Fix for bug 6710; bugfix on all released versions of Tor.
| Nick Mathewson | 2012-08-27 |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3•••Conflicts:
src/or/policies.c
| Nick Mathewson | 2012-08-27 |
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| * | | Do not assert when comparing a null address/port against a policy•••This can create a remote crash opportunity for/against directory
authorities.
| Nick Mathewson | 2012-08-27 |
* | | | Merge remote-tracking branch 'public/bug6472' into maint-0.2.3 | Nick Mathewson | 2012-08-24 |
|\ \ \ |
|
| * | | | When iterating over connections pending DNS, skip marked ones•••Failure to do this would lead to double-free cases and similar,
especially when the exit's DNS was broken. See bug 6472 for full
details; this is a fix for 6472.
Anonymous patch from "cypherpunks" on trac.
| Nick Mathewson | 2012-08-17 |
* | | | | Merge remote-tracking branch 'public/bug6404' into maint-0.2.3 | Nick Mathewson | 2012-08-21 |
|\ \ \ \ |
|
| * | | | | Fix memory leak in dirvote_create_microdescriptor•••Found by George, who gets a cookie.
| Nick Mathewson | 2012-08-14 |
| * | | | | Remove the upper limit on the size of MD we can generate. | Nick Mathewson | 2012-07-31 |
| * | | | | Warn at parse time for routerstatus entry missing a microdesc consensus•••In 0.2.3.18-rc, we started warning on this case while building a
list of missing microdescriptor digests. That turned out to spam
the logs; instead let's warn at parse time.
Partial fix for bug 6404.
| Nick Mathewson | 2012-07-31 |
| * | | | | Don't include a router in an md consensus if we can't find a md for it.•••The spec requires that every router in a microdesc consensus have an
m line; we weren't obeying that spec.
This creates a new consensus method (13) to allow voting to continue
to work right. Partial fix for bug 6404; fix on 0.2.2.6-alpha.
| Nick Mathewson | 2012-07-31 |
| * | | | | Allow microdescs to be up to 2k. Partial fix for 6404. | Nick Mathewson | 2012-07-31 |
* | | | | | whitespace fix | Nick Mathewson | 2012-08-17 |
| |/ / /
|/| | | |
|
* | | | | Consider IPv6 OR ports when deciding whether a routerinfo change is cosmetic.•••Closes #6423.
| Linus Nordberg | 2012-08-17 |
* | | | | Merge remote-tracking branch 'public/bug6244_part_c' into maint-0.2.3 | Nick Mathewson | 2012-08-17 |
|\ \ \ \ |
|
| * | | | | Fix wildcarded address mappings from the control port•••Apparently, we weren't actually detecting wildcardedness when parsing
them: whoops!
bug 6244. Bugfix on 0.2.3.9-alpha
| Nick Mathewson | 2012-08-15 |
| * | | | | Raise the part of torrc mapaddress handling that knows wildcards•••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.
| Nick Mathewson | 2012-08-15 |
* | | | | | Merge remote-tracking branch 'public/bug6507' into maint-0.2.3 | Nick Mathewson | 2012-08-17 |
|\ \ \ \ \ |
|
| * | | | | | Reject attempts to say FooPort and FooPort 0 in the same cfg domain | Nick Mathewson | 2012-08-09 |
| * | | | | | Fix spaces from last patch | Nick Mathewson | 2012-08-09 |
| * | | | | | Don't infer we have a FooPort from the presence of a FooPort line•••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.
| Nick Mathewson | 2012-08-09 |
| |/ / / / |
|
* | | | | | Whitespace and build fixes on 6475 patch | Nick Mathewson | 2012-08-17 |
* | | | | | Merge remote-tracking branch 'mikeperry/bug6475' into maint-0.2.3 | Nick Mathewson | 2012-08-17 |
|\ \ \ \ \ |
|
| * | | | | | Address Nick's comments from code review.•••Also promote log messages to notice and rate-limit them.
| Mike Perry | 2012-08-16 |
| * | | | | | Bug 6475: Explicitly track our path bias state.•••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.
| Mike Perry | 2012-08-15 |
| |/ / / / |
|
* | | | | | Merge remote-tracking branch 'public/bug6514' into maint-0.2.3 | Nick Mathewson | 2012-08-17 |
|\ \ \ \ \
| |/ / / /
|/| | | | |
|