summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-12Remove the --enable-iphone option as needless.Nick Mathewson
On or-talk, Marco Bonetti reports that recent iPhone SDKs build Tor fine without it.
2010-02-13Remove the --enable-debug option for configure, it didn't do anything.Sebastian Hahn
2010-02-11Clean up whitespaceNick Mathewson
2010-02-11updated win32 build instructions with new mingw and msys versions.Andrew Lewman
2010-02-11clean up the documentation, break out sections for osx compiles.Andrew Lewman
2010-02-10Add Windows version detection for Vista and 7Sebastian Hahn
Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097. Also fix a coding style violation.
2010-02-09Add changelog for memcpy bug, with credit for "memcpyfail"Nick Mathewson
2010-02-09Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-02-09Merge remote branch 'sebastian/bug925'Nick Mathewson
2010-02-09Merge remote branch 'sebastian/bug1238'Nick Mathewson
2010-02-09Merge remote branch 'sebastian/exit-notice'Nick Mathewson
2010-02-09Make tor_addr_copy() conform to memcpy requirementsNick Mathewson
The src and dest of a memcpy() call aren't supposed to overlap, but we were sometimes calling tor_addr_copy() as a no-op. Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch removes it.
2010-02-09Fix a whitespace violationSebastian Hahn
2010-02-09Speed up the execution of exit_policy_is_general_exit_helper()Sebastian Hahn
It isn't necessary to walk through all possible subnets when the policy we're looking at doesn't touch that subnet.
2010-02-09Another unit test for exit_policy_is_general_exit()Sebastian Hahn
2010-02-08Fix the path to the exit-notice file in torrc.sampleSebastian Hahn
Also reword it slightly to reflect the fact that no packagers ship the file.
2010-02-080/8 doesn't count as a /8 subnet towards an Exit flagSebastian Hahn
2010-02-08Don't spam controllers with TOO_MANY_CONNECTIONS eventsSebastian Hahn
We implemented ratelimiting for warnings going into the logfile, but didn't rate-limit controller events. Now both log warnings and controller events are rate-limited.
2010-02-08Don't use gethostbyname() in resolve_my_address()Sebastian Hahn
Tor has tor_lookup_hostname(), which prefers ipv4 addresses automatically. Bug 1244 occured because gethostbyname() returned an ipv6 address, which Tor cannot handle currently. Fixes bug 1244; bugfix on 0.0.2pre25. Reported by Mike Mestnik.
2010-02-07Merge commit 'origin/maint-0.2.1'Nick Mathewson
2010-02-07lookup_last_hid_serv_request() could overflow and leak memorySebastian Hahn
The problem was that we didn't allocate enough memory on 32-bit platforms with 64-bit time_t. The memory leak occured every time we fetched a hidden service descriptor we've fetched before.
2010-02-06Fix building of RPMs. Patch by Erinn Clark.Sebastian Hahn
2010-02-04Another unit test for exit_policy_is_general_exit()Sebastian Hahn
2010-02-04Call exit_policy_is_general_exit lessSebastian Hahn
When calculating the is_exit flag for a routerinfo_t, we don't need to call exit_policy_is_general_exit() if router_exit_policy_rejects_all() tells us it definitely is an exit. This check is much cheaper than running exit_policy_is_general_exit().
2010-02-04New unit test, testing for b0red's exit policySebastian Hahn
2010-02-03When we've disabled .exit hostnames, actually reject them.Nick Mathewson
Previously we were treating them as decent hostnames and sending them to the exit, which is completely wrong.
2010-02-03Trivial doc fix for exit_policy_is_general_exit_helperNick Mathewson
The original comment said what it did if there was at least one /8 that allowed access to the port, but not what it did otherwise.
2010-02-03Another new test for exit_policy_is_general_exit()Sebastian Hahn
2010-02-03New testcase for exit_policy_is_general_exitSebastian Hahn
2010-02-03Don't assign Exit flag incorrectlySebastian Hahn
exit_policy_is_general_exit() assumed that there are no redundancies in the passed policy, in the sense that we actively combine entries in the policy to really get rid of any redundancy. Since we cannot do that without massively rewriting the policy lines the relay operators set, fix exit_policy_is_general_exit(). Fixes bug 1238, discovered by Martin Kowalczyk.
2010-02-02Add a changelog entry for fixing bug 1237.Nick Mathewson
We don't have such an entry for 0.2.1.x, since bug 1237 never made it into a released version of 0.2.1.x.
2010-02-02Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-02-02Link libssl and libcrypto in the right order.Nick Mathewson
For most linking setups, this doesn't matter. But for some setups, when statically linking openssl, it does matter, since you need to link things with dependencies before you link things they depend on. Fix for bug 1237.
2010-01-31add a2x intermediate files to gitignoreNick Mathewson
2010-01-31Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-01-31Revise OpenSSL fix to work with OpenSSL 1.0.0beta*Nick Mathewson
In brief: you mustn't use the SSL3_FLAG solution with anything but 0.9.8l, and you mustn't use the SSL_OP solution with anything before 0.9.8m, and you get in _real_ trouble if you try to set the flag in 1.0.0beta, since they use it for something different. For the ugly version, see my long comment in tortls.c
2010-01-29Merge commit 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/common/tortls.c
2010-01-29Decide whether to use SSL flags based on runtime OpenSSL version.Nick Mathewson
We need to do this because Apple doesn't update its dev-tools headers when it updates its libraries in a security patch. On the bright side, this might get us out of shipping a statically linked OpenSSL on OSX. May fix bug 1225. [backported]
2010-01-29Detect the correct versions of openssl for tls negotiation fixNick Mathewson
Since it doesn't seem to hurt, we should use _both_ fixes whenever we see OpenSSL 0.9.7L .. 0.9.8, or OpenSSL 0.9.8L..
2010-01-29Decide whether to use SSL flags based on runtime OpenSSL version.Nick Mathewson
We need to do this because Apple doesn't update its dev-tools headers when it updates its libraries in a security patch. On the bright side, this might get us out of shipping a statically linked OpenSSL on OSX. May fix bug 1225.
2010-01-29Clarify a paragraph in prop 169.Nick Mathewson
2010-01-28Make sure docdir is defined when making doc/Sebastian Hahn
Apparently some autoconf versions need this, while others don't. This means documentation will be installed into share/doc/tor/.
2010-01-28Fix building the tarballSebastian Hahn
This removes the Makefile.am from doc/design-paper and replaces it with a static Makefile. We don't need to call it during the normal Tor build process, as we don't need its targets normally. Keeping it around in case we want to rebuild the pdf or ps files later.
2010-01-28The name for the proposal status of 151 is "finished", not "Implemented"Nick Mathewson
2010-01-28Proposal 169: Eliminate TLS renegotiationNick Mathewson
I propose a backward-compatible change to the Tor connection establishment protocol to avoid the use of TLS renegotiation. Rather than doing a TLS renegotiation to exchange certificates and authenticate the original handshake, this proposal takes an approach similar to Steven Murdoch's proposal 124, and uses Tor cells to authenticate the parties' identities once the initial TLS handshake is finished.
2010-01-27Fix comments for getinfo_helper_tSebastian Hahn
rieo pointed out something isn't right here
2010-01-27Clean the man and html files with make (dist)cleanSebastian Hahn
2010-01-27Stop shipping the design paper in the tarballsSebastian Hahn
2010-01-27Fix ChangeLog entry for asciidoc branch.Nick Mathewson
2010-01-27Merge remote branch 'sebastian/manpage'Nick Mathewson