aboutsummaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2011-08-04Replace files in stats/ rather than appending to them.Karsten Loesing
Right now, we append statistics to files in the stats/ directory for half of the statistics, whereas we overwrite these files for the other half. In particular, we append buffer, dirreq, and entry stats and overwrite exit, connection, and bridge stats. Appending to files was useful when we didn't include stats in extra-info descriptors, because otherwise we'd have to copy them away to prevent Tor from overwriting them. But now that we include statistics in extra-info descriptors, it makes no sense to keep the old statistics forever. We should change the behavior to overwriting instead of appending for all statistics. Implements #2930.
2011-08-01Initial patch to build Tor with msvc and nmakeNick Mathewson
We'll still need to tweak it so that it looks for includes and libraries somewhere more sensible than "where we happened to find them on Erinn's system"; so that tests and tools get built too; so that it's a bit documented; and so that we actually try running the output. Work done with Erinn Clark.
2011-07-20Add an OptimisticData option to control client-side optimistic dataNick Mathewson
2011-07-20Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-07-20Check return value in fmt_addrNick Mathewson
Previously, if tor_addr_to_str() returned NULL, we would reuse the last value returned by fmt_addr(). (This could happen if we were erroneously asked to format an AF_UNSPEC address.) Now instead we return "???".
2011-07-20Add changes file for optimistic client behaviorNick Mathewson
2011-07-19Merge remote-tracking branch 'public/prop171_v2'Nick Mathewson
2011-07-19Fix spurious warning in bufferevent socks parsingNick Mathewson
The problem was that we weren't initializing want_length to 0 before calling parse_socks() the first time, so it looked like we were risking an infinite loop when in fact we were safe. Fixes 3615; bugfix on 0.2.3.2-alpha.
2011-07-19Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-07-19Untangle first sentence of changes/bug3607Nick Mathewson
2011-07-19Specify text or binary mode in every start_writing_to_stdio_file callRobert Ransom
2011-07-19Implement stream isolationNick Mathewson
This is the meat of proposal 171: we change circuit_is_acceptable() to require that the connection is compatible with every connection that has been linked to the circuit; we update circuit_is_better to prefer attaching streams to circuits in the way that decreases the circuits' usefulness the least; and we update link_apconn_to_circ() to do the appropriate bookkeeping.
2011-07-19Parse prop171 options; refactor listener/port option codeNick Mathewson
Proposal 171 gives us a new syntax for parsing client port options. You can now have as many FooPort options as you want (for Foo in Socks, Trans, DNS, NATD), and they can have address:port arguments, and you can specify the level of isolation on those ports. Additionally, this patch refactors the client port parsing logic to use a new type, port_cfg_t. Previously, ports to be bound were half-parsed in config.c, and later re-parsed in connection.c when we're about to bind them. Now, parsing a port means converting it into a port_cfg_t, and binding it uses only a port_cfg_t, without needing to parse the user-provided strings at all. We should do a related refactoring on other port types. For control ports, that'll be easy enough. For ORPort and DirPort, we'll want to do this when we solve proposal 118 (letting servers bind to and advertise multiple ports). This implements tickets 3514 and 3515.
2011-07-18Merge remote-tracking branch 'public/bug3560'Nick Mathewson
2011-07-18start folding in the 0.2.3.2-alpha changelog entriesRoger Dingledine
2011-07-18Remove changes files already merged in 0.2.2.30-rcNick Mathewson
2011-07-15Fix bug in upload/download of hsdesc with microdescsNick Mathewson
Previously we were using router_get_by_id(foo) to test "do we have a descriptor that will let us make an anonymous circuit to foo". But that isn't right for microdescs: we should have been using node_t. Fixes bug 3601; bugfix on 0.2.3.1-alpha.
2011-07-15Treat null address as "unknown", not "rejected" in md policyNick Mathewson
Previously, we had an issue where we'd treat an unknown address as 0, which turned into "0.0.0.0", which looked like a rejected address. This meant in practice that as soon as we started doing comparisons of unknown uint32 addresses to short policies, we'd get 'rejected' right away. Because of the circumstances under which this would be called, it would only happen when we had local DNS cached entries and we were looking to launch new circuits.
2011-07-15Make WIN32_WINNT defines conditionalNick Mathewson
Requested by Gisle Vanem on tor-dev. I'm not quite sure this is the right solution, but it's probably harmless.
2011-07-14Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/control.c
2011-07-14Merge branch 'bug3577' into maint-0.2.2Nick Mathewson
2011-07-14Only download microdesc consensus from caches that support itNick Mathewson
Bugfix on 0.2.3.1-alpha; found by arma; never got a bug number.
2011-07-13Change GETINFO fingerprint to look at server_mode, not my_descriptorNick Mathewson
It's possible for us to be a server and have a fingerprint without having yet generated a descriptor. Fixes bug 3577; bugfix on 0.2.0.1-alpha
2011-07-13Merge remote-tracking branch 'public/bug1666'Nick Mathewson
Conflicts: doc/spec/socks-extensions.txt src/or/buffers.c src/or/config.c src/or/connection_edge.c
2011-07-11Merge branch 'bug2798'Nick Mathewson
2011-07-11Tweaks to bug2798 based on comments by armaNick Mathewson
2011-07-11Turn on microdescriptors for clientsNick Mathewson
2011-07-11Merge remote-tracking branch 'rransom-tor/bug3427'Nick Mathewson
2011-07-11Report the states of failed TLS connections from bootstrap_problemNick Mathewson
2011-07-11Split connection_about_to_close_connection into separate functionsNick Mathewson
This patch does NOTHING but: - move code - add declarations and includes as needed to make the new code work - declare the new functions.
2011-07-11typo in feature2841; spotted by asnNick Mathewson
2011-07-11Changes file for feature2841.Nick Mathewson
2011-07-11Revise code for adding EntryNodes to guards.Nick Mathewson
Previously, we'd just take all the nodes in EntryNodes, see which ones were already in the guard list, and add the ones that weren't. There were some problems there, though: * We'd add _every_ entry in EntryNodes, and add them in the order they appeared in the routerlist. This wasn't a problem until we added the ability to give country-code or IP-range entries in the EntryNodes set, but now that we did, it is. (Fix: We now shuffle the entry nodes before adding them; only add up to 10*NumEntryGuards) * We didn't screen EntryNodes for the Guard flag. That's okay if the user has specified two or three entry nodes manually, but if they have listed a whole subcontinent, we should restrict ourselves to the entries that are currently guards. (Fix: separate out the new guard from the new non-guard nodes, and add the Guards first.) * We'd prepend new EntryNodes _before_ the already configured EntryNodes. This could lead to churn. (Fix: don't prepend these.) This patch also pre-screens EntryNodes entries for reachableaddresses/excludenodes, even though we check for that later. This is important now, since we cap the number of entries we'll add.
2011-07-11Look at the right consensus in router_add_to_routerlist()Nick Mathewson
Just looking at the "latest" consensus could give us a microdesc consensus, if microdescs were enabled. That would make us decide that every routerdesc was unlisted in the latest consensus and drop them all: Ouch. Fixes bug 3113; bugfix on 0.2.3.1-alpha.
2011-07-07Merge branch 'maint-0.2.2'Roger Dingledine
2011-07-07Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2011-07-07update to the july 2011 geoip dbRoger Dingledine
2011-07-07Merge remote-tracking branch 'public/bug3153'Nick Mathewson
Conflicts: src/or/nodelist.c
2011-07-07Merge branch 'bug3263'Nick Mathewson
2011-07-07oops; wrong bug number.Nick Mathewson
2011-07-07Avoid double-free in bufferevent read/write cbsNick Mathewson
Fixes bug 3404; bugfix on 0.2.3.1-alpha.
2011-07-07Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-07-07Correctly send a SUCCEEDED event for rdns requestsSebastian Hahn
The issue was that we overlooked the possibility of reverse DNS success at the end of connection_ap_handshake_socks_resolved(). Issue discovered by katmagic, thanks!
2011-07-05Merge remote-tracking branch 'rransom-tor/bug3465-023-v2'Nick Mathewson
2011-07-05Merge remote-tracking branch 'rransom-tor/bug3465-022' into maint-0.2.2Nick Mathewson
2011-07-01Merge branch 'cov217_master'Nick Mathewson
2011-07-01Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-07-01Merge branch 'cid30_changelog' into maint-0.2.2Nick Mathewson
2011-07-01Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-07-01Merge branches 'cov217_021' and 'cid_450' into maint-0.2.1Nick Mathewson