summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | Move connection_free_all() to the bottom of connection.c to enjoy maximum ↵George Kadianakis2011-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | visibility.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-08-15
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Remove extra quotation marks around the result of esc_for_logRobert Ransom2011-08-15
| | | | | | | | | |
* | | | | | | | | | Oops; _actually_ enable microdesc-by-default for clientsNick Mathewson2011-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that it wasn't enough to set the configuration to "auto", since the correct behavior for "auto" had been disabled in microdesc.c. :p (Hasn't been in a release yet, so doesn't need a changes entry.)
* | | | | | | | | | Merge remote-tracking branch 'sebastian/bug3700'Nick Mathewson2011-08-11
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Don't warn on http connection to my orportSebastian Hahn2011-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove a few other related warnings that could occur during the ssl handshake. We do this because the relay operator can't do anything about them, and they aren't their fault.
| * | | | | | | | | | Merge branch 'bug3643'Sebastian Hahn2011-08-11
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / /
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-08-11
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| / / / / / / / / / | |/ / / / / / / / /
| * | | | | | | | | Ignore deprecation warnings on OS XSebastian Hahn2011-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with Lion, Apple decided to deprecate the system openssl. We can start requiring users to install their own openssl once OS X doesn't ship with it anymore.
* | | | | | | | | | Whitespace tweaksNick Mathewson2011-08-10
| | | | | | | | | |
* | | | | | | | | | Fix a const warning in bug1692 codeNick Mathewson2011-08-10
| | | | | | | | | |
* | | | | | | | | | Merge branch 'bug1692-squashed'Nick Mathewson2011-08-10
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Fix condition reported by nickm.Kamran Riaz Khan2011-08-10
| | | | | | | | | | |
| * | | | | | | | | | Return if CONF_CHANGED isn't interesting.Kamran Riaz Khan2011-08-10
| | | | | | | | | | |
| * | | | | | | | | | Escape configuration values before sending them via CONF_CHANGED.Kamran Riaz Khan2011-08-10
| | | | | | | | | | |
| * | | | | | | | | | Use smartlist_asprintf_add() to improve readability.Kamran Riaz Khan2011-08-10
| | | | | | | | | | |
| * | | | | | | | | | Add smartlist_[v]asprintf_addRobert Ransom2011-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I should have added this before implementing #2411.
| * | | | | | | | | | Minor code readability fix.Kamran Riaz Khan2011-08-09
| | | | | | | | | | |
| * | | | | | | | | | Add changes file.Kamran Riaz Khan2011-08-09
| | | | | | | | | | |
| * | | | | | | | | | Minor comment fix.Kamran Riaz Khan2011-08-08
| | | | | | | | | | |
| * | | | | | | | | | Refactor to do CONF_CHANGED event formatting inside control.cKamran Riaz Khan2011-08-08
| | | | | | | | | | |
| * | | | | | | | | | Emits CONF_CHANGED events whenever Tor's configuration values change.Kamran Riaz Khan2011-08-08
| | | | | | | | | | |
* | | | | | | | | | | Make FooPort 0 correctly disable the FooPort.Nick Mathewson2011-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the prop171 stuff, it had instead made Tor bind port 0, and re-bind it differently all the time. Resolves bug3704; not in any released version.
* | | | | | | | | | | Sticking a size_t into long generates a warn on winSebastian Hahn2011-08-09
| | | | | | | | | | |
* | | | | | | | | | | Get rid of an unused parameter warning on winSebastian Hahn2011-08-09
| | | | | | | | | | |
* | | | | | | | | | | Sockets are unsigned on windowsSebastian Hahn2011-08-09
| |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | this gets rid of a warning about signed/unsigned comparison
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-08-08
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-08-08
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / | | |/| | | | | | |
| | * | | | | | | | Update to the August 2011 GeoIP database.Karsten Loesing2011-08-08
| | | | | | | | | |
* | | | | | | | | | Merge remote-tracking branch 'public/bug3550'Nick Mathewson2011-08-08
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Make --quiet and --hush apply to default logs, not only initial logsNick Mathewson2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 3550; bugfix on 0.2.0.10-alpha (where --quiet was introduced).
* | | | | | | | | | | Remove connection_edge_streams_are_compatibleRobert Ransom2011-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's dead code (not used anywhere by the current proposal 171 algorithm).
* | | | | | | | | | | Fix handling of ISO_STREAMRobert Ransom2011-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we track *which* stream with ISO_STREAM set is associated to a particular circuit, so that we won't think that stream is incompatible with its circuit and launch another one a second later, and we use that same field to mark circuits which have had an ISO_STREAM stream attached to them, so that we won't ever put a second stream on that circuit. Fixes bug 3695.
* | | | | | | | | | | Fix log message typoRobert Ransom2011-08-06
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge remote-tracking branch 'public/bug3683'Nick Mathewson2011-08-05
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Clear socks auth fields before freeNick Mathewson2011-08-05
| | | | | | | | | | |
| * | | | | | | | | | Handle storing much longer socks4 authentication data.Nick Mathewson2011-08-05
| | | | | | | | | | |
| * | | | | | | | | | Treat socks_request->{username,password} as non-NUL-terminatedNick Mathewson2011-08-04
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They *are* non-NUL-terminated, after all (and they have to be, since the SOCKS5 spec allows them to contain embedded NULs. But the code to implement proposal 171 was copying them with tor_strdup and comparing them with strcmp_opt. Fix for bug on 3683; bug not present in any yet-released version.
* | | | | | | | | | Clean up bridge-stats code.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only write a bridge-stats string if bridge stats have been initialized. This behavior is similar to dirreq-stats, entry-stats, etc. Also add a few unit tests for the bridge-stats code.
* | | | | | | | | | Separate generation of an entry-stats string from writing it to disk.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is similar to the previous two commits for dirreq-stats, but for entry-stats.
* | | | | | | | | | Separate generation of a dirreq-stats string from writing it to disk.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch separates the generation of a dirreq-stats string from actually writing it to disk. The new geoip_format_dirreq_stats() generates a dirreq-stats string that geoip_dirreq_stats_write() writes to disk. All the state changing (e.g., resetting the dirreq-stats history and initializing the next measurement interval) takes place in geoip_dirreq_stats_write(). That allows us to finally test the dirreq-stats code better.
* | | | | | | | | | Clean up geoip_dirreq_stats_write().Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We later want to split this function into one function that generates the dirreq-stats string and one that writes it to disk.
* | | | | | | | | | Add unit tests for buffer-stats.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that formatting the buffer-stats string is separate from writing it to disk, we can also decouple the logic to extract stats from circuits and finally write some unit tests for the history code.
* | | | | | | | | | Separate generation of a buffer-stats string from writing it to disk.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new rep_hist_format_buffer_stats() generates a buffer-stats string that rep_hist_buffer_stats_write() writes to disk. All the state changing (e.g., resetting the buffer-stats history and initializing the next measurement interval) takes place in rep_hist_buffer_stats_write(). That allows us to finally test the buffer-stats code better.
* | | | | | | | | | Clean up rep_hist_buffer_stats_write().Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We later want to split this function into one function that generates the buffer-stats string and one that writes it to disk.
* | | | | | | | | | Create cell-stats history even if we didn't see a single circuit.Karsten Loesing2011-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, if we didn't see a single circuit, we refrained from generating a cell-stats string and logged a warning. Nobody will notice the warning, and people will wonder why there's no cell-stats string in the extra-info descriptor. The better behavior is to generate a cell-stats string with all zeros.
* | | | | | | | | | Replace files in stats/ rather than appending to them.Karsten Loesing2011-08-04
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | Implement protocol-type isolation correctly.Nick Mathewson2011-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we'd just looked at the connection type, but that's always CONN_TYPE_AP. Instead, we should be looking at the type of the listener that created the connection. Spotted by rransom; fixes bug 3636.
* | | | | | | | | put the 0.2.1.30 stanza in the master changelog tooRoger Dingledine2011-08-01
| | | | | | | | |
* | | | | | | | | reach back in time and correct two changelog entriesRoger Dingledine2011-08-01
| | | | | | | | |