summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-31Generalize fmt_addr() to support IPv6 decorations.George Kadianakis
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.
2012-03-27Remove tsocks support from torify.Nick Mathewson
Fixes bug3530 and bug 5180. Patch by ugh.
2012-03-27Log statement to help track down bug4091Nick Mathewson
2012-03-27Merge remote-tracking branch 'karsten/bug5053'Nick Mathewson
2012-03-27Provide large enough buffer in test_util_sscanf()Sebastian Hahn
This was causing crashes during unit test runs, as stack smashing protections got triggered. Issue spotted by weasel
2012-03-27bump to 0.2.3.13-alpha-devRoger Dingledine
2012-03-26merge in the safecookie changelog entry tootor-0.2.3.13-alphaRoger Dingledine
2012-03-26merge the change that 2f3ec43e5b4e wanted to mergeRoger Dingledine
2012-03-26Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/control.c
2012-03-26Safe cookie authentication gets a changes fileNick Mathewson
2012-03-26Merge remote-tracking branch 'rransom-tor/safecookie-022-v3' into maint-0.2.2Nick Mathewson
2012-03-26Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
This is an "-s ours" commit to avoid taking a5704b1c624c9a808f5, which was a cherry-picked backport of fdbb9cdf746bbf0c39c34 to add a SHA256-HMAC function.
2012-03-26Merge commit 'a5704b1c624c9a808f52f3a125339f00e2b9a378' into maint-0.2.2Nick Mathewson
2012-03-26Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: changes/bug5090 bug5090 was already merged and corrected in the master branch's changelog.
2012-03-26bump to 0.2.3.13-alphaRoger Dingledine
2012-03-25cleanup and blurb for 0.2.3.13-alphaRoger Dingledine
2012-03-25fold in latest changes entriesRoger Dingledine
2012-03-25explain that bug 5090 allows a post-auth heap overflowRoger Dingledine
resolves bug 5402.
2012-03-22Never disable debugger attachment for the unit testsSebastian Hahn
2012-03-20Shorten links to law.cornell.edu for exit-note fileChristian Kujau
The links we have currently redirect to those new files now.
2012-03-19Move the logging of 'My line' to debug level (#5151).Linus Nordberg