summaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2011-08-10Ignore deprecation warnings on OS XSebastian Hahn
Starting with Lion, Apple decided to deprecate the system openssl. We can start requiring users to install their own openssl once OS X doesn't ship with it anymore.
2011-08-08Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-08-08Update to the August 2011 GeoIP database.Karsten Loesing
2011-07-20Check return value in fmt_addrNick Mathewson
Previously, if tor_addr_to_str() returned NULL, we would reuse the last value returned by fmt_addr(). (This could happen if we were erroneously asked to format an AF_UNSPEC address.) Now instead we return "???".
2011-07-19Untangle first sentence of changes/bug3607Nick Mathewson
2011-07-19Specify text or binary mode in every start_writing_to_stdio_file callRobert Ransom
2011-07-14Merge branch 'bug3577' into maint-0.2.2Nick Mathewson
2011-07-13Change GETINFO fingerprint to look at server_mode, not my_descriptorNick Mathewson
It's possible for us to be a server and have a fingerprint without having yet generated a descriptor. Fixes bug 3577; bugfix on 0.2.0.1-alpha
2011-07-07Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2011-07-07update to the july 2011 geoip dbRoger Dingledine
2011-07-07Correctly send a SUCCEEDED event for rdns requestsSebastian Hahn
The issue was that we overlooked the possibility of reverse DNS success at the end of connection_ap_handshake_socks_resolved(). Issue discovered by katmagic, thanks!
2011-07-05Merge remote-tracking branch 'rransom-tor/bug3465-022' into maint-0.2.2Nick Mathewson
2011-07-01Merge branch 'cid30_changelog' into maint-0.2.2Nick Mathewson
2011-07-01Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-07-01Merge branches 'cov217_021' and 'cid_450' into maint-0.2.1Nick Mathewson
2011-07-01Use strlcpy in create_unix_sockaddr()Nick Mathewson
Using strncpy meant that if listenaddress were ever >= sizeof(sockaddr_un.sun_path), we would fail to nul-terminate sun_path. This isn't a big deal: we never read sun_path, and the kernel is smart enough to reject the sockaddr_un if it isn't nul-terminated. Nonetheless, it's a dumb failure mode. Instead, we should reject addresses that don't fit in sockaddr_un.sun_path. Coverity found this; it's CID 428. Bugfix on 0.2.0.3-alpha.
2011-07-01Add a changelog entry for cid30 fix.Nick Mathewson
2011-07-01Fix insanely large stack_allocation in log_credential_statusNick Mathewson
I'm not one to insist on C's miserly stack limits, but allocating a 256K array on the stack is too much even for me. Bugfix on 0.2.1.7-alpha. Found by coverity. Fixes CID # 450.
2011-06-25Add BUILDTIMEOUT_SET to the result of GETINFO events/namesRobert Ransom
2011-06-19Tweak bug2355_revert at suggestion from RogerNick Mathewson
2011-06-17Add changes file for bug2355 revertNick Mathewson
2011-06-17Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-06-17Abandon rendezvous circuits on SIGNAL NEWNYMRobert Ransom
2011-06-17Merge branch 'bug3407' into maint-0.2.2Nick Mathewson
2011-06-17Make send_control_event_impl's behaviour saneRobert Ransom
2011-06-17Make connection_printf_to_buf's behaviour saneRobert Ransom
2011-06-14Merge remote-tracking branch 'public/bug3369' into maint-0.2.2Nick Mathewson
2011-06-14Add changes file for bug3393Nick Mathewson
2011-06-13changelog entry for bug3369Nick Mathewson
2011-06-08Fix a rare memleak during stats writingSebastian Hahn
If rep_hist_buffer_stats_write() was called unitinitalized, we'd leak memory.
2011-06-08Don't use signed 1-bit bitfieldsSebastian Hahn
This was harmless, we never compared it to anything but itself or 0. But Coverity complained, and it had a point.
2011-06-08Remove a few dead assignments during router parsingSebastian Hahn
2011-06-08Check some more return values in unit testsSebastian Hahn
2011-06-08remove some dead code, found by coveritySebastian Hahn
2011-06-06Merge branch 'bug3306_nm_squashed' into maint-0.2.2Nick Mathewson
2011-06-06Detect insanely large circuit build state; don't give its length to rand_intNick Mathewson
2011-06-06Check maximum properly in crypto_rand_int()Nick Mathewson
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.
2011-06-05Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2011-06-05move to the june 1 2011 maxmind geoip dbRoger Dingledine
2011-06-03Merge branch 'bug3318c' into maint-0.2.2Nick Mathewson
2011-06-03Reject 128-byte keys that are not 1024-bitNick Mathewson
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.
2011-06-03Merge remote-tracking branch 'rransom/bug2748-v2' into maint-0.2.2Nick Mathewson
2011-06-02Changes file for bug2355.Nick Mathewson
2011-06-02Merge remote-tracking branch 'rransom-tor/bug3309' into maint-0.2.2Nick Mathewson
2011-06-02Merge remote-tracking branch 'arma/bug3321' into maint-0.2.2Nick Mathewson
2011-06-02Add info-level log messages during HS-client-state purgeRobert Ransom
I hope these will never be useful, but having them and not needing them is better than needing them and not having them.
2011-06-02Clear last_hid_serv_requests on SIGNAL NEWNYMRobert Ransom
Fixes bug #3309.
2011-06-01Report wrong key sizes correctlyNick Mathewson
When we introduced NEED_KEY_1024 in routerparse.c back in 0.2.0.1-alpha, I forgot to add a *8 when logging the length of a bad-length key. Bugfix for 3318 on 0.2.0.1-alpha.
2011-05-31fix a bridge edge case similar to 2511Roger Dingledine
If you had configured a bridge but then switched to a different bridge via the controller, you would still be willing to use the old one.
2011-05-30Merge branch 'bug3216_v2' into maint-0.2.2Nick Mathewson