summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | | | Merge branch 'cov217_022_squashed' into maint-0.2.2Nick Mathewson2011-07-01
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Use strlcpy when copying node IDs into measured_bw_line_tNick Mathewson2011-07-01
| | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using strncpy before, which isn't our style for stuff like this. This isn't a bug, though: before calling strncpy, we were checking that strlen(src) was indeed == HEX_DIGEST_LEN, which is less than sizeof(dst), so there was no way we could fail to NUL-terminate. Still, strncpy(a,b,sizeof(a)) is an idiom that we ought to squash everyplace. Fixes CID #427.
| * | | | | | | | | | | Merge branch 'cid30_changelog' into maint-0.2.2Nick Mathewson2011-07-01
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Add a changelog entry for cid30 fix.Nick Mathewson2011-07-01
| | |/ / / / / / / / / /
| * | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-07-01
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | / / / / / / / | | | |_|/ / / / / / / | | |/| | | | | | | |
| | * | | | | | | | | Merge branches 'cov217_021' and 'cid_450' into maint-0.2.1Nick Mathewson2011-07-01
| | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | Fix insanely large stack_allocation in log_credential_statusNick Mathewson2011-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | | | | | | Use strlcpy in create_unix_sockaddr()Nick Mathewson2011-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | | | | | | Fix a rare memory leak in rend_cache_storeNick Mathewson2011-07-01
| | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we rejected a descriptor for not being the one we wanted, we were letting the parsed descriptor go out of scope. Found by Coverity; CID # 30. Bugfix on 0.2.1.26. (No changes file yet, since this is not in any 0.2.1.x release.)
* | | | | | | | | | | Merge remote-tracking branch 'rransom-tor/bug3456'Nick Mathewson2011-06-24
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Correct terminology in commentRobert Ransom2011-06-24
| | | | | | | | | | | |
| * | | | | | | | | | | Store cpath_build_state_t flags in one-bit bitfields, not intsRobert Ransom2011-06-24
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' of ssh://git-rw.torproject.org/torNick Mathewson2011-06-24
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | reach back in time and name a config option correctlyRoger Dingledine2011-06-23
| | | | | | | | | | | |
* | | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-22
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| / / / / / / / / / / | |/ / / / / / / / / /
| * | | | | | | | | | Improve documentation of smartlist_split_stringRobert Ransom2011-06-22
| | | | | | | | | | |
| * | | | | | | | | | Fix minor comment issuesRobert Ransom2011-06-22
| | | | | | | | | | |
| * | | | | | | | | | Fix comment typoRobert Ransom2011-06-22
| | | | | | | | | | |
| * | | | | | | | | | explain that the ./publish should happen soon after the scpRoger Dingledine2011-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise you scp a tarball up but only one version of the website has it.
* | | | | | | | | | | Merge branch 'bug3367'Nick Mathewson2011-06-21
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add, use a bufferevent-safe connection_flush()Nick Mathewson2011-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 Mathewson2011-06-21
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Log SSL state changes at LOG_DEBUG, LD_HANDSHAKE.Nick Mathewson2011-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be slightly useful for debugging blocking events. Addresses ticket 3116; based on loud_ssl_states branch.
* | | | | | | | | | | | | forward-port the 0.2.2.29-beta changelog entryRoger Dingledine2011-06-21
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fix tor-fw-helper-natpmp.c API usageJacob Appelbaum2011-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.
* | | | | | | | | | | | Fix overwide line in config.cNick Mathewson2011-06-20
| | | | | | | | | | | |
* | | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-20
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| / / / / / / / / / / | |/ / / / / / / / / /
| * | | | | | | | | | Fix overwide lines in util.cNick Mathewson2011-06-20
| | | | | | | | | | |
* | | | | | | | | | | Add port 6523 (Gobby) to LongLivedPorts.intrigeri2011-06-20
| | | | | | | | | | |
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-19
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/or.h
| * | | | | | | | | | Tweak bug2355_revert at suggestion from RogerNick Mathewson2011-06-19
| | | | | | | | | | |
| * | | | | | | | | | Add changes file for bug2355 revertNick Mathewson2011-06-17
| | | | | | | | | | |
| * | | | | | | | | | Revert "Add an "auto" option to UseBridges"Nick Mathewson2011-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 507c1257a4d9c629fefc2adbad8db73607749734.
| * | | | | | | | | | Revert "Update man page for new UseBridges tristate behaviour."Nick Mathewson2011-06-17
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 40cfad1b5ae90b06eb74861a4fdc1310f8611111.
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-17
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-06-17
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Abandon rendezvous circuits on SIGNAL NEWNYMRobert Ransom2011-06-17
| | | | | | | | | |
* | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-17
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Merge branch 'bug3407' into maint-0.2.2Nick Mathewson2011-06-17
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Make send_control_event_impl's behaviour saneRobert Ransom2011-06-17
| | | | | | | | | | |
| | * | | | | | | | | Fix comment typoRobert Ransom2011-06-17
| | | | | | | | | | |
| | * | | | | | | | | Make connection_printf_to_buf's behaviour saneRobert Ransom2011-06-17
| | | | | | | | | | |
| | * | | | | | | | | Correct some outdated commentsRobert Ransom2011-05-24
| | | | | | | | | | |
| * | | | | | | | | | log when we finish ssl handshake and move to renegotiationRoger Dingledine2011-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | debug-level since it will be quite common. logged at both client and server side. this step should help us track what's going on with people filtering tor connections by our ssl habits.
* | | | | | | | | | | Merge remote-tracking branch 'rransom-tor/bug3332-v2'Nick Mathewson2011-06-15
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Assert that HS operations are not performed using single-hop circuitsRobert Ransom2011-06-14
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (with fixes by Nick Mathewson to unbreak the build)
* | | | | | | | | | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-06-14
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge remote-tracking branch 'public/bug3369' into maint-0.2.2Nick Mathewson2011-06-14
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | changelog entry for bug3369Nick Mathewson2011-06-13
| | | | | | | | | | | |
| | * | | | | | | | | | client-side DNS proxy server: reply NOTIMPL to unsupported queriesintrigeri2011-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 3369.