aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | | | | Fix a hard-to-trigger memory leak in launch_resolveNick Mathewson2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To hit this leak, you need to be a relay that gets a RESOLVE request or an exit node getting a BEGIN or RESOLVE request. You must either have unconfigured (and unconfigurable) nameservers, or you must have somehow set DisableNetwork after a network request arrived but before you managed to process it. So, I doubt this is reached often. Still, a leak's a leak. Fix for bug 5916; bugfix on 0.2.3.9-alpha and 0.1.2.1-alpha.
* | | | | | | | | Fix the unittest breakage introduced by a8a862c.George Kadianakis2012-05-18
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Merge remote-tracking branch 'asn/bug5602'Nick Mathewson2012-05-18
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Use a more helpful log message when we can't find a proxy.George Kadianakis2012-05-18
| | | | | | | |
* | | | | | | | Merge remote-tracking branch 'asn/bug5646'Nick Mathewson2012-05-18
|\ \ \ \ \ \ \ \
| * | | | | | | | Extract data from DESTROY cell _after_ protocol violation checks.George Kadianakis2012-05-18
| |/ / / / / / /
* / / / / / / / Ignore unknown lines from managed proxies.George Kadianakis2012-05-18
|/ / / / / / /
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Make the succeeding parse_http_time tests more obviously rightNick Mathewson2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (When the correct answer is given in terms of seconds since the epoch, it's hard to be sure that it really is the right answer just by reading the code.)
| * | | | | | Fix month check in parse_http_time, add testSebastian Hahn2012-05-16
| | | | | | |
| * | | | | | Remove more dubiosity in struct tm handling. related to bug5346Nick Mathewson2012-05-16
| | | | | | |
| * | | | | | Reject an additional type of bad date in parse_http_timeNick Mathewson2012-05-16
| | | | | | |
| * | | | | | Fix parse_http_time and add testsEsteban Manchado Velázquez2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * It seems parse_http_time wasn't parsing correctly any date with commas (RFCs 1123 and 850). Fix that. * It seems parse_http_time was reporting the wrong month (they start at 0, not 1). Fix that. * Add some tests for parse_http_time, covering all three formats.
* | | | | | | Merge remote-tracking branch 'public/bug5139'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \
| * | | | | | | Bridges should never set the send_unencrypted flag on any of their descsNick Mathewson2012-04-27
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Fix for bug 5139.
* | | | | | | In connection_ap_handshake_process_socks(), mark the socks request as ↵Fabian Keil2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | finished if a reply is send after a parse error Silences the log message: [warn] {BUG} _connection_mark_unattached_ap(): Bug: stream (marked at connection_edge.c:2224) sending two socks replies? after the client triggered the "Tor is not an HTTP Proxy" response. No additional socks reply was sent, though.
* | | | | | | Remove over-two-months-old entry guards even while running.Roger Dingledine2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we only did this check at startup, which could lead to us holding a guard indefinitely, and give weird results. Fixes bug 5380; bugfix on 0.2.1.14-rc. (Patch by Roger; changes file and commit message by Nick)
* | | | | | | Correct documentation for remove_obsolete_entry_guards.Nick Mathewson2012-05-16
| | | | | | |
* | | | | | | Merge remote-tracking branch 'public/bug2297'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \
| * | | | | | | Exits don't need to fetch certs for unknown authoritiesNick Mathewson2012-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we started RefuseUnknownExits back in 0.2.2.11-alpha, we started making exits act like they cache directory info (since they need an up-to-date idea of who is really a router). But this included fetching needless (unrecognized) authorities' certs, which doesn't make any sense for them. This is related to, but not necessarily the same as, the issue that Ian reported for bug #2297. (This patch is based on a patch from a user who I believe has asked not to be named. If I'm wrong about that, please add the appropriate name onto the changelog.)
* | | | | | | | Merge remote-tracking branch 'public/bug2822'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \ \
| * | | | | | | | Reject SOCKS requests for "localhost" or ".local"Nick Mathewson2012-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sending them on is futile, since we will be told "127.0.0.1" and then think we've been lied to. Partial fix for 2822.
| * | | | | | | | Rate-limit the warnings as a client when asked to connect a private addrNick Mathewson2012-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial fix for ticket 2822.
* | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | Correct the bulletproofing of routerlist_insert()Nick Mathewson2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original code updated some variables, but forgot to remove a replaced old-routerdesc from rl->old_routers. Related to bug 1776.
* | | | | | | | | Merge remote-tracking branch 'public/bug3296'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | When no usable exit satisfies a predicted port, stop predicting it.Nick Mathewson2012-05-11
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 3296.
* | | | | | | | | When ReloadTorrcOnSIGHUP=1, do non-reload activities anywayNick Mathewson2012-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we skipped everything that got invoked from options_init_from_torrc. But some of the stuff in options_act_reversible and options_act is actually important, like reopening the logs. Now, a SIGHUP always makes the effects of an options_set() happen, even though the options haven't changed. Fix for bug 5095; bugfix on 0.2.1.9-alpha, which introduced __ReloadTorrcOnSIGHUP.
* | | | | | | | | Fix some remaining nmake/msvc build issuesNick Mathewson2012-05-16
| | | | | | | | |
* | | | | | | | | Merge branch 'win32_winnt'Nick Mathewson2012-05-16
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Bump _WIN32_WINNT to 0x0501 throughout the codeNick Mathewson2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tells the windows headers to give us definitions that didn't exist before XP -- like the ones that we need for IPv6 support. See bug #5861. We didn't run into this issue with mingw, since mingw doesn't respect _WIN32_WINNT as well as it should for some of its definitions.
| * | | | | | | | | Remove all instances of WIN32_WINNT (without leading _)Nick Mathewson2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We started adding it in 59e2c77824840f back in 2004, 8 years and 3 days ago. It's time to deprogram ourselves from this cargo cult.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-05-15
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'bug5796_022_squashed' into maint-0.2.2Nick Mathewson2012-05-15
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Fix a crash bug on SETCIRCUITPURPOSE.Nick Mathewson2012-05-15
| | | | | | | | | | |
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-05-15
|\| | | | | | | | | |
| * | | | | | | | | | Merge remote-tracking branch 'karsten/geoip-may2012' into maint-0.2.2Nick Mathewson2012-05-15
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Update to the May 2012 GeoIP database.Karsten Loesing2012-05-07
| | |/ / / / / / / / /
* | | | | | | | | | | Merge remote-tracking branch 'linus/task-5891'Nick Mathewson2012-05-15
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Assert that rep_hist_format_desc_stats() returns !NULL.Linus Nordberg2012-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The guard against this is the test for start_of_served_descs_stats_interval != 0 done earlier.
| * | | | | | | | | | Fix desc stats on bridge authorities that didn't serve anything.Karsten Loesing2012-05-15
| | | | | | | | | | |
* | | | | | | | | | | MSVC build issue: it can't tell that tor_assert(0) aborts.Nick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | MSVC build issue: make 'const' in declaration match 'const' in definitionNick Mathewson2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC warns if you declare a function as having a "int foo" argument and then implement it with a "const int foo" argument, even though the latter "const" is not a part of the function's interface.
* | | | | | | | | | | MSVC build issue: we use INLINE as the one that will magically workNick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | MSVC build issue: add magic to make openssl headers in aes.c workNick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | Be a good git person: store nmakefiles in correct text fmtNick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | Remove the unused torrc.bridge.in. Bug 5622.Nick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | We do not need to define _WIN32 by hand; MSVC does that for usNick Mathewson2012-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5858; fix on 0.2.3.12-alpha
* | | | | | | | | | | Fix win32 compilation of 31eb73f88e8Nick Mathewson2012-05-14
| | | | | | | | | | |
* | | | | | | | | | | Do not publish the "git-XXX" tag in server descriptorsNick Mathewson2012-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, allow packagers to put a 'TOR_BUILD_TAG' field in the server descriptor to indicate a platform-specific value, if they need to. (According to weasel, this was his use for the git- tag previously.) This is part of 2988