summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-13Document unit of bandwidth related options in sample torrc.Peter Palfrader
2012-04-11Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-04-11Merge branch 'bug5593' into maint-0.2.2Nick Mathewson
2012-04-11Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-04-11Update to the April 2012 GeoIP database.Karsten Loesing
2012-04-10Include a Host: header with any HTTP/1.1 proxy requestNick Mathewson
Bugfix on 0.2.2.1-alpha, which added the orginal HTTP proxy authentication code. Fix for bug 5593.
2012-04-08Simplify DH prime generation logic some.Sebastian Hahn
This is just refactoring work here. The old logic was kind of convoluted, especially after the bug 5572 fix. We don't actually need to distinguish so many cases here. Dropping detection of the "!old_options || !old_options->DynamicDHGroups" case is fine because that's the same that we'd do for clients. Also add a changes file for bug 5572.
2012-04-07fix bug 5572Daniel 'koolfy' Faucon
2012-04-04Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2012-04-04Wrap long line; strlen("ides")<strlen("turtles").Nick Mathewson
2012-04-05ides has become turtles, and gotten a new IP addressSebastian Hahn
As per ticket 5569
2012-04-03Merge remote-tracking branch 'asn-mytor/bug5558_take2'Nick Mathewson
2012-04-03tor_vsscanf(): Don't return -1 if '%%' doesn't match.George Kadianakis
tor_vsscanf() is supposed to return the current number of matches on match failure.
2012-04-02Suppress "decided to publish new descriptor" message when not a serverNick Mathewson
The message only means that we're publishing a new descriptor when we are actually in some kind of server mode, and publication is on. Fix for bug 3942; bugfix on 0.2.3.2-alpha.
2012-04-02Add a warning about settign a bridge in MyFamilyDaniel 'koolfy' Faucon
2012-04-02Make it clear that bridges should not be set in MyFamilyDaniel 'koolfy' Faucon
2012-04-01Merge branch 'maint-0.2.2'Roger Dingledine
Conflicts: src/or/config.c
2012-04-01put a _ before or_options_t elements that aren't configurableRoger Dingledine
it's fine with me if we change the current convention, but we should actually decide to change it if we want to.
2012-04-01BridgePassword was never for debuggingRoger Dingledine
It is for the not-yet-implemented bridge community design.
2012-04-01Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/config.c Conflict was in or_options_free, where two newly added fields had free calls in the same place.
2012-04-01Do not use strcmp() to compare an http authenticator to its expected valueNick Mathewson
This fixes a side-channel attack on the (fortunately unused!) BridgePassword option for bridge authorities. Fix for bug 5543; bugfix on 0.2.0.14-alpha.
2012-03-30Fix comment typoRobert Ransom
2012-03-30Have tor_parse_*long functions check for negative basesNick Mathewson
One of our unit tests checks that they behave correctly (giving an error) when the base is negative. But there isn't a guarantee that strtol and friends actually handle negative bases correctly. Found by Coverity Scan; fix for CID 504.
2012-03-30Fix a couple of "unused assigned value" warnings in parse_config testsNick Mathewson
Coverity doesn't like the fact that we were storing the value of parse_config_line_from_str() but not checking it in a couple of cases. Fixes CID 505 and 506.
2012-03-30Fix a memory leak in an error case of SAFECOOKIE authentication.Nick Mathewson
Found by Coverity Scan; fix for CID 507; bugfix on 0.2.3.13-alpha.
2012-03-30Remove a couple redundant NULL-checks before crypto_cipher_freeNick Mathewson
Calling crypto_cipher_free(NULL) is always safe, since (by convention) all of our xyz_free() functions treat xyz_free(NULL) as a no-op. Flagged by coverity scan; fixes CID 508 and 509.
2012-03-30Merge branch 'bug5527'Nick Mathewson
2012-03-30Move router lookup to _after_ we assert that its argument is setNick Mathewson
A previous commit in the 5527 branch had moved router_get_mutable_by_digest(digest_rcvd) to happen before we did tor_assert(digest_rcvd), which would have defeated the purpose of the assert.
2012-03-30Merge remote-tracking branch 'linus/empty_desc_stats'Nick Mathewson
2012-03-30Add changes file.Linus Nordberg
2012-03-29checking "same addr/port but with nonmatching keys" is obsoleteRoger Dingledine
Specifically, I believe it dates back to when extend cells had address:port but no digest in them. The special edge case is certainly not worth the complexity these days.
2012-03-29simplify furtherRoger Dingledine
2012-03-29Refactor dirserv_orconn_tls_done().Linus Nordberg
Look up the router using the digest instead of looping over all routers.
2012-03-29Merge remote-tracking branch 'linus/bug4875_2'Nick Mathewson
2012-03-28note that bug 5151 is on 0.2.3.9-alphaNick Mathewson
2012-03-28Merge remote-tracking branch 'linus/bug5151'Nick Mathewson
2012-03-28Add changes file.Linus Nordberg
2012-03-28Make relays handle an address suggestion from a directory server giving an ↵Linus Nordberg
IPv6 address. last_guessed_ip becomes a tor_addr_t. Most parts of router_new_address_suggestion() learns about IPv6 (resolve_my_address() is still IPv4 only).
2012-03-28Don't try to generate stats from an empty served_descs.Linus Nordberg
2012-03-28Fix a bunch of check-spaces complaintsSebastian Hahn
2012-03-28tab-man strikes back (fixup on a9c0e9fec2)Roger Dingledine
2012-03-28Write initial documentation for the contents of the state fileNick Mathewson
Fixes bug 2987. There is still some information to go, but now we have a place to put it.
2012-03-28Merge branch 'bug4011'Nick Mathewson
2012-03-28Keep separate time-to-downloads for each consensus flavorNick Mathewson
This is a fix for bug 4011, where if we have a recent ns consensus we won't even try fetching a microdesc consensus. Fix on 0.2.3.1-alpha, I believe.
2012-03-27Merge branch 'openssl101_aes_ctr_rebased'Nick Mathewson
2012-03-27Excise PK_NO_PADDING entirely: Unpadded RSA is silly.Nick Mathewson
We never use it, so having it around is pointless. Suggested by Sebastian
2012-03-27Use OpenSSL 1.0.1's EVP aes_ctr implementation when availableNick Mathewson
This should be really fast on Intel chips.
2012-03-27Refactor the API for setting up a block cipher.Nick Mathewson
It allows us more flexibility on the backend if the user needs to specify the key and IV at setup time.
2012-03-27Remove support for PK_NO_PADDING in crypto_pk_public_hybrid_encryptNick Mathewson
We never use it, and it would be a stupid thing if we started using it.
2012-03-27Changelog for torify changesNick Mathewson
Also reinstate the part of the torify script that checks for torsocks being installed, so that we can give a more useful message in case it isn't.