Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Generalize fmt_addr() to support IPv6 decorations. | George Kadianakis | 2012-03-31 |
| | |||
* | Fix comment typo | Robert Ransom | 2012-03-30 |
| | |||
* | Have tor_parse_*long functions check for negative bases | Nick Mathewson | 2012-03-30 |
| | | | | | | | | 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. | ||
* | Fix a couple of "unused assigned value" warnings in parse_config tests | Nick Mathewson | 2012-03-30 |
| | | | | | | | | 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. | ||
* | Fix a memory leak in an error case of SAFECOOKIE authentication. | Nick Mathewson | 2012-03-30 |
| | | | | Found by Coverity Scan; fix for CID 507; bugfix on 0.2.3.13-alpha. | ||
* | Remove a couple redundant NULL-checks before crypto_cipher_free | Nick Mathewson | 2012-03-30 |
| | | | | | | | | 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. | ||
* | Merge branch 'bug5527' | Nick Mathewson | 2012-03-30 |
|\ | |||
| * | Move router lookup to _after_ we assert that its argument is set | Nick Mathewson | 2012-03-30 |
| | | | | | | | | | | | | | | 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. | ||
| * | checking "same addr/port but with nonmatching keys" is obsolete | Roger Dingledine | 2012-03-29 |
| | | | | | | | | | | | | 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. | ||
| * | simplify further | Roger Dingledine | 2012-03-29 |
| | | |||
| * | Refactor dirserv_orconn_tls_done(). | Linus Nordberg | 2012-03-29 |
| | | | | | | | | Look up the router using the digest instead of looping over all routers. | ||
* | | Merge remote-tracking branch 'linus/empty_desc_stats' | Nick Mathewson | 2012-03-30 |
|\ \ | |/ |/| | |||
| * | Don't try to generate stats from an empty served_descs. | Linus Nordberg | 2012-03-28 |
| | | |||
* | | Merge remote-tracking branch 'linus/bug4875_2' | Nick Mathewson | 2012-03-29 |
|\ \ | |||
| * | | Make relays handle an address suggestion from a directory server giving an ↵ | Linus Nordberg | 2012-03-28 |
| |/ | | | | | | | | | | | | | | | | | 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). | ||
* | | Merge remote-tracking branch 'linus/bug5151' | Nick Mathewson | 2012-03-28 |
|\ \ | |/ |/| | |||
| * | Move the logging of 'My line' to debug level (#5151). | Linus Nordberg | 2012-03-19 |
| | | |||
| * | Reorder initialisation of port_cfg to match order of members in struct. | Linus Nordberg | 2012-03-19 |
| | | |||
| * | Fix cut'n'paste bug (#5151). | Linus Nordberg | 2012-03-19 |
| | | |||
* | | Fix a bunch of check-spaces complaints | Sebastian Hahn | 2012-03-28 |
| | | |||
* | | Write initial documentation for the contents of the state file | Nick Mathewson | 2012-03-28 |
| | | | | | | | | | | Fixes bug 2987. There is still some information to go, but now we have a place to put it. | ||
* | | Keep separate time-to-downloads for each consensus flavor | Nick Mathewson | 2012-03-28 |
| | | | | | | | | | | | | 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. | ||
* | | Excise PK_NO_PADDING entirely: Unpadded RSA is silly. | Nick Mathewson | 2012-03-27 |
| | | | | | | | | | | | | We never use it, so having it around is pointless. Suggested by Sebastian | ||
* | | Use OpenSSL 1.0.1's EVP aes_ctr implementation when available | Nick Mathewson | 2012-03-27 |
| | | | | | | | | This should be really fast on Intel chips. | ||
* | | Refactor the API for setting up a block cipher. | Nick Mathewson | 2012-03-27 |
| | | | | | | | | | | It allows us more flexibility on the backend if the user needs to specify the key and IV at setup time. | ||
* | | Remove support for PK_NO_PADDING in crypto_pk_public_hybrid_encrypt | Nick Mathewson | 2012-03-27 |
| | | | | | | | | We never use it, and it would be a stupid thing if we started using it. | ||
* | | Log statement to help track down bug4091 | Nick Mathewson | 2012-03-27 |
| | | |||
* | | Merge remote-tracking branch 'karsten/bug5053' | Nick Mathewson | 2012-03-27 |
|\ \ | |||
| * | | Roger notes that address and addr are two different things. | Karsten Loesing | 2012-02-09 |
| | | | |||
| * | | Simply geoip_get_country_by_addr based on arma's comment. | Karsten Loesing | 2012-02-09 |
| | | | |||
| * | | Add braces around a two-line code block. | Karsten Loesing | 2012-02-09 |
| | | | |||
| * | | Count IPv6 connections in bridge and entry stats. | Karsten Loesing | 2012-02-09 |
| | | | |||
* | | | Provide large enough buffer in test_util_sscanf() | Sebastian Hahn | 2012-03-27 |
| | | | | | | | | | | | | | | | This was causing crashes during unit test runs, as stack smashing protections got triggered. Issue spotted by weasel | ||
* | | | bump to 0.2.3.13-alpha-dev | Roger Dingledine | 2012-03-27 |
| | | | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-03-26 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: src/or/control.c | ||
| * \ \ | Merge remote-tracking branch 'rransom-tor/safecookie-022-v3' into maint-0.2.2 | Nick Mathewson | 2012-03-26 |
| |\ \ \ | |||
| | * | | | Implement 'safe cookie authentication' | Robert Ransom | 2012-02-22 |
| | | | | | |||
| * | | | | Merge commit 'a5704b1c624c9a808f52f3a125339f00e2b9a378' into maint-0.2.2 | Nick Mathewson | 2012-03-26 |
| |\| | | | |||
| | * | | | Add a sha256 hmac function, with tests | Nick Mathewson | 2012-02-22 |
| | | | | | | | | | | | | | | | | | | | | (cherry picked from commit fdbb9cdf746bbf0c39c34188baa8872471183ff7) | ||
* | | | | | bump to 0.2.3.13-alpha | Roger Dingledine | 2012-03-26 |
| | | | | | |||
* | | | | | Never disable debugger attachment for the unit tests | Sebastian Hahn | 2012-03-22 |
| |_|_|/ |/| | | | |||
* | | | | Stop discarding command-line arguments when TestingTorNetwork is set | Roger Dingledine | 2012-03-14 |
| | | | | | | | | | | | | | | | | | | | | Discovered by Kevin Bauer. Fixes bug 5373; bugfix on 0.2.3.9-alpha, where task 4552 added support for two layers of torrc files. | ||
* | | | | Close fds on pipe() error in tor_spawn_background(). | George Kadianakis | 2012-03-12 |
| | | | | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-03-09 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: src/or/circuitbuild.c | ||
| * | | | Never choose a bridge as an exit. Bug 5342. | Nick Mathewson | 2012-03-09 |
| | | | | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-03-09 |
|\| | | | |||
| * | | | Revise "sufficient exit nodes" check to work with restrictive ExitNodes | Nick Mathewson | 2012-03-09 |
| | | | | | | | | | | | | | | | | | | | | If you set ExitNodes so that only 1 exit node is accepted, the previous patch would have made you unable to build circuits. | ||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2012-03-09 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: src/or/routerlist.c | ||
| * | | | Merge branch 'bug5343' into maint-0.2.2 | Nick Mathewson | 2012-03-09 |
| |\ \ \ | |||
| | * | | | Require a threshold of exit nodes before building circuits | Nick Mathewson | 2012-03-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mitigates an attack proposed by wanoskarnet, in which all of a client's bridges collude to restrict the exit nodes that the client knows about. Fixes bug 5343. |