summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2013-03-19Merge remote-tracking branch 'public/bug8031' into maint-0.2.4Nick Mathewson
2013-03-19Merge branch 'bug7582_v2' into maint-0.2.4Nick Mathewson
2013-03-19Free prepend_policy values in origin circuitsNick Mathewson
2013-03-18Merge remote-tracking branch 'public/bug6174' into maint-0.2.4Nick Mathewson
2013-03-18Merge remote-tracking branch 'public/bug8062' into maint-0.2.4Nick Mathewson
2013-03-18Handle TRUNCATE correctly if our next channel isn't done yet.Nick Mathewson
Patch from 'cypherpunks'. Fixes bug #7947. Bugfix on 0.0.7.1.
2013-03-18Merge remote-tracking branch 'public/bug6164' into maint-0.2.4Nick Mathewson
2013-03-18Fix some wide linesNick Mathewson
2013-03-18Merge remote-tracking branch 'andrea/bug8435' into maint-0.2.4Nick Mathewson
2013-03-18Make stream events for RESOLVE lookups more consistentNick Mathewson
Fixes 8203; patch by Desoxy
2013-03-18Improve comment for routers_with_measured_bw static var in dirserv.cAndrea Shepard
2013-03-18Improve comment on router_counts_toward_thresholds()Andrea Shepard
2013-03-18Add dirserv_has_measured_bw() predicate wrapper for ↵Andrea Shepard
dirserv_query_measured_bw_cache()
2013-03-18Merge remote-tracking branch 'public/no_dup_guards' into maint-0.2.4Nick Mathewson
2013-03-18Merge remote-tracking branch 'public/bug8059' into maint-0.2.4Nick Mathewson
2013-03-18Check return values from fcntl and setsockoptNick Mathewson
(Based on a patch from flupzor; bug #8206)
2013-03-18Check for 0.2.4.8, not 0.2.4.7, to determine EXTEND2 supportNick Mathewson
Fixes bug 8464; bugfix on b2863739 in 0.2.4.8-alpha
2013-03-18Ignore advertised bandwidths if we have enough measured bandwidths availableAndrea Shepard
2013-03-15Merge remote-tracking branch 'public/bug8180_023_v2' into maint-0.2.4Nick Mathewson
2013-03-15Upgrade the warn for EntryNodes without UseEntryGuards to an errorNick Mathewson
fixes bug 8180
2013-03-15Merge remote-tracking branch 'public/unused_stuff' into maint-0.2.4Nick Mathewson
2013-03-14Make circuit_purpose_to_string handle CIRCUIT_PURPOSE_PATH_BIAS_TESTINGNick Mathewson
2013-03-11On END_REASON_EXITPOLICY, mark circuit as unusable for that address.Nick Mathewson
Also, don't call the exit node 'reject *' unless our decision to pick that node was based on a non-summarized version of that node's exit policy. rransom and arma came up with the ideas for this fix. Fix for 7582; the summary-related part is a bugfix on 0.2.3.2-alpha.
2013-03-11Another possible diagnostic for 8031.Nick Mathewson
This time, I'm checking whether our calculated offset matches our real offset, in each case, as we go along. I don't think this is the bug, but it can't hurt to check.
2013-03-11Check more error codes when writing microdescriptors.Nick Mathewson
Possible partial fix, or diagnosis tool, for bug 8031.
2013-03-11Use fds, not stdio, to manage microdescriptor filesNick Mathewson
This is part of an attempt to mitigate 8031.
2013-03-11Increase link_proto field to 2 bytesNick Mathewson
This should have been 2 bytes all along, since version numbers can be 16 bits long. This isn't a live bug, since the call to is_or_protocol_version_known in channel_tls_process_versions_cell will reject any version number not in the range 1..4. Still, let's fix this before we accidentally start supporting version 256. Reported pseudonymously. Fixes bug 8062; bugfix on 0.2.0.10-alpha -- specifically, on commit 6fcda529, where during development I increased the width of a version to 16 bits without changing the type of link_proto.
2013-03-11Fix a framing bug when reading versions from a versions cell.Nick Mathewson
Our ++ should have been += 2. This means that we'd accept version numbers even when they started at an odd position. This bug should be harmless in practice for so long as every version number we allow begins with a 0 byte, but if we ever have a version number starting with 1, 2, 3, or 4, there will be trouble here. Fix for bug 8059, reported pseudonymously. Bugfix on 0.2.0.10-alpha -- specifically, commit 6fcda529, where during development I increased the width of a version to 16 bits without changing the loop step.
2013-03-10start part-way through the ssl cert lifetimeRoger Dingledine
also, snap the start time and end time to a day boundary, since most certs in the wild seem to do this.
2013-03-10randomize SSLKeyLifetime by defaultRoger Dingledine
resolves ticket 8443.
2013-03-10parameterize SSLKeyLifetimeRoger Dingledine
no actual changes in behavior yet
2013-03-10Merge remote-tracking branch 'arma/bug6783_big_hammer' into maint-0.2.4Nick Mathewson
2013-03-10Fix typos in a few log messagesBenjamin Kerensa
2013-03-10set DisableV2DirectoryInfo_ off by defaultRoger Dingledine
since it's only enableable by authorities, nobody else would be able to start their tor
2013-03-10Tweak bug6783 patch.Nick Mathewson
2013-03-10Add a DisableV2DirectoryInfo_ option to 404 all v2 ns requestsNick Mathewson
I have no idea whether b0rken clients will DoS the network if the v2 authorities all turn this on or not. It's experimental. See #6783 for a description of how to test it more or less safely, and please be careful!
2013-03-10Fix 8447: use %u to format circid_t.Nick Mathewson
Now that circid_t is 4 bytes long, the default integer promotions will leave it alone when sizeof(int) == 4, which will leave us formatting an unsigned as an int. That's technically undefined behavior. Fixes bug 8447 on bfffc1f0fc7616a25c32da2eb759dade4651659e. Bug not in any released Tor.
2013-03-07Better comment for dirserv_query_measured_bw_cache()Andrea Shepard
2013-03-07Use DIGESTMAP_FOREACH_MODIFY in dirserv_expire_measured_bw_cache() for concisionAndrea Shepard
2013-03-07Add unit test for dirserv measured bandwidth cacheAndrea Shepard
2013-03-07Make sure expiry check in dirserv_expire_measured_bw_cache() works if time_t ↵Andrea Shepard
is unsigned
2013-03-07More constness in dirserv.cAndrea Shepard
2013-03-07Make dirserv_cache_measured_bw() use a const measured_bw_line_t *Andrea Shepard
2013-03-05Call dirserv_clear_measured_bw_cache() from dirserv_free_all()Andrea Shepard
2013-03-01Correctly set entry->is_dir_cache when adding an entry guard for the first timeAndrea Shepard
(Second part of a bug8367 fix. -NM)
2013-03-01Fix bootstrapping with bridges by making is_dir_cache is set on them.Nick Mathewson
This fixes bug 8367, introduced in d7089ff228227259137b5a8b. Not in any released Tor.
2013-02-27Prefer measured bandwidths over advertised when computing things for votes ↵Andrea Shepard
on a dirauth
2013-02-25Fix a comment in tor_main.cNick Mathewson
We don't use subversion or src/*/makefile.am any longer
2013-02-23Remove some totally unused functionsNick Mathewson
2013-02-23Remove a bunch of unused macro definitionsNick Mathewson