Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Replace 4 more sscanf()s with tor_sscanf() | Nick Mathewson | 2011-07-01 |
| | | | | | | | | For some inexplicable reason, Coverity departs from its usual standards of avoiding false positives here, and warns about all sscanf usage, even when the formatting strings are totally safe. Addresses CID # 447, 446. | ||
* | Merge branch 'bug3367' | Nick Mathewson | 2011-06-21 |
|\ | |||
| * | Add, use a bufferevent-safe connection_flush() | Nick Mathewson | 2011-06-21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of places in control.c were using connection_handle_write() to flush important stuff (the response to a SIGNAL command, an ERR-level status event) before Tor went down. But connection_handle_write() isn't meaningful for bufferevents, so we'd crash. This patch adds a new connection_flush() that works for all connection backends, and makes control.c use that instead. Fix for bug 3367; bugfix on 0.2.3.1-alpha. | ||
* | | Merge remote-tracking branch 'public/bug3264' | Nick Mathewson | 2011-06-21 |
|\ \ | |||
| * | | Log SSL state changes at LOG_DEBUG, LD_HANDSHAKE. | Nick Mathewson | 2011-06-20 |
| |/ | | | | | | | | | | | This can be slightly useful for debugging blocking events. Addresses ticket 3116; based on loud_ssl_states branch. | ||
* / | Fix tor-fw-helper-natpmp.c API usage | Jacob Appelbaum | 2011-06-20 |
|/ | | | | | | libnatpmp-20110618 changed the API that tor-fw-helper used and for a time tor-fw-helper could not build against the newest libnatpmp. This patch brings support for libnatpmp to tor-fw-helper. | ||
* | Add port 6523 (Gobby) to LongLivedPorts. | intrigeri | 2011-06-20 |
| | |||
* | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-19 |
|\ | | | | | | | | | | | Conflicts: src/or/config.c src/or/or.h | ||
| * | Tweak bug2355_revert at suggestion from Roger | Nick Mathewson | 2011-06-19 |
| | | |||
| * | Add changes file for bug2355 revert | Nick Mathewson | 2011-06-17 |
| | | |||
* | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-17 |
|\| | |||
| * | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 | Nick Mathewson | 2011-06-17 |
| |\ | |||
| | * | Abandon rendezvous circuits on SIGNAL NEWNYM | Robert Ransom | 2011-06-17 |
| | | | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-17 |
|\| | | |||
| * | | Merge branch 'bug3407' into maint-0.2.2 | Nick Mathewson | 2011-06-17 |
| |\ \ | |||
| | * | | Make send_control_event_impl's behaviour sane | Robert Ransom | 2011-06-17 |
| | | | | |||
| | * | | Make connection_printf_to_buf's behaviour sane | Robert Ransom | 2011-06-17 |
| | | | | |||
* | | | | Merge remote-tracking branch 'rransom-tor/bug3332-v2' | Nick Mathewson | 2011-06-15 |
|\ \ \ \ | |||
| * | | | | Assert that HS operations are not performed using single-hop circuits | Robert Ransom | 2011-06-14 |
| | | | | | | | | | | | | | | | | | | | | (with fixes by Nick Mathewson to unbreak the build) | ||
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-14 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||
| * | | | | Merge remote-tracking branch 'public/bug3369' into maint-0.2.2 | Nick Mathewson | 2011-06-14 |
| |\ \ \ \ | |||
| | * | | | | changelog entry for bug3369 | Nick Mathewson | 2011-06-13 |
| | | | | | | |||
| * | | | | | Add changes file for bug3393 | Nick Mathewson | 2011-06-14 |
| |/ / / / | |||
* | | | | | Merge remote-tracking branch 'rransom-tor/bug3349' | Nick Mathewson | 2011-06-14 |
|\ \ \ \ \ | |||
| * | | | | | Report SIGNAL event to controllers when acting on delayed NEWNYM | Robert Ransom | 2011-06-05 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 3349. | ||
* | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-14 |
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | |||
| * | | | | | Fix a rare memleak during stats writing | Sebastian Hahn | 2011-06-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If rep_hist_buffer_stats_write() was called unitinitalized, we'd leak memory. | ||
| * | | | | | Don't use signed 1-bit bitfields | Sebastian Hahn | 2011-06-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was harmless, we never compared it to anything but itself or 0. But Coverity complained, and it had a point. | ||
| * | | | | | Remove a few dead assignments during router parsing | Sebastian Hahn | 2011-06-08 |
| | | | | | | |||
| * | | | | | Check some more return values in unit tests | Sebastian Hahn | 2011-06-08 |
| | | | | | | |||
| * | | | | | remove some dead code, found by coverity | Sebastian Hahn | 2011-06-08 |
| | | | | | | |||
* | | | | | | Ensure the release tarball contains all manpages | Sebastian Hahn | 2011-06-12 |
| |_|/ / / |/| | | | | | | | | | | | | | | Thanks to Nick for the idea for the fix. | ||
* | | | | | fix typo in changes/coverity_master spotted by rransom | Nick Mathewson | 2011-06-10 |
| | | | | | |||
* | | | | | Prefer tt_assert in unit tests, not tor_assert | Nick Mathewson | 2011-06-08 |
| | | | | | |||
* | | | | | tweak coverity_master changes file | Nick Mathewson | 2011-06-08 |
| | | | | | |||
* | | | | | Fix a memleak in nodelist_assert_ok() | Sebastian Hahn | 2011-06-08 |
| | | | | | |||
* | | | | | Remove a dead variable in the heartbeat code | Sebastian Hahn | 2011-06-08 |
| | | | | | |||
* | | | | | Fix a minor coverity-found bug in tests | Sebastian Hahn | 2011-06-08 |
| | | | | | |||
* | | | | | Fix crash bug (3361) when setting off-flavor networkstatus | Nick Mathewson | 2011-06-07 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we set a networkstatus in the non-preferred flavor, we'd check the time in the current_consensus. But that might have been NULL, which could produce a crash as seen in bug 3361. | ||
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-06 |
|\| | | | | |||
| * | | | | Merge branch 'bug3306_nm_squashed' into maint-0.2.2 | Nick Mathewson | 2011-06-06 |
| |\ \ \ \ | |||
| | * | | | | Detect insanely large circuit build state; don't give its length to rand_int | Nick Mathewson | 2011-06-06 |
| | | | | | | |||
| | * | | | | Check maximum properly in crypto_rand_int() | Nick Mathewson | 2011-06-06 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | George Kadianakis notes that if you give crypto_rand_int() a value above INT_MAX, it can return a negative number, which is not what the documentation would imply. The simple solution is to assert that the input is in [1,INT_MAX+1]. If in the future we need a random-value function that can return values up to UINT_MAX, we can add one. Fixes bug 3306; bugfix on 0.2.2pre14. | ||
* | | | | | | Merge branch 'maint-0.2.2' | Roger Dingledine | 2011-06-05 |
|\| | | | | | |_|/ / / |/| | | | | |||
| * | | | | Merge branch 'maint-0.2.1' into maint-0.2.2 | Roger Dingledine | 2011-06-05 |
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/| | |||
| | * | | move to the june 1 2011 maxmind geoip db | Roger Dingledine | 2011-06-05 |
| | | | | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-03 |
|\| | | | |||
| * | | | Merge branch 'bug3318c' into maint-0.2.2 | Nick Mathewson | 2011-06-03 |
| |\ \ \ | |||
| | * | | | Reject 128-byte keys that are not 1024-bit | Nick Mathewson | 2011-06-03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we added the check for key size, we required that the keys be 128 bytes. But RSA_size (which defers to BN_num_bytes) will return 128 for keys of length 1017..1024. This patch adds a new crypto_pk_num_bits() that returns the actual number of significant bits in the modulus, and uses that to enforce key sizes. Also, credit the original bug3318 in the changes file. | ||
* | | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-03 |
|\| | | | |