aboutsummaryrefslogtreecommitdiff
path: root/src/common
Commit message (Expand)AuthorAge
* clarify fmt_addr32 documentation to note that the address is in host-orderNick Mathewson2010-10-15
* Fix one-time memory leak when initializing libevent. Spotted by SebastianNick Mathewson2010-10-15
* Merge branch 'bug1992_part1'Nick Mathewson2010-10-15
|\
| * refactor all these tor_inet_ntoa idioms•••but don't refactor the ones that look messy Roger Dingledine2010-10-01
* | Improve accuracy of comment about aes_crypt performance•••The old comment was from before I tried a huge pile of crazy stuff to make the inner loop faster. Short answer: GCC already knows how to unroll loops pretty well. Other short answer: we should have made the relay payload size an even multiple of 4, 8, or ideally 16. Nick Mathewson2010-10-15
* | Kill comments saying to remove asserts once bug930 is solved.•••It's okay to leave the asserts in: the code doesn't appear in profiles. Nick Mathewson2010-10-15
* | Fix an apostrophe in a commentNick Mathewson2010-10-15
* | Add a portable tor_timercmp•••We can't use the platform timercmp, because 1) some platforms don't have them 2) some that do have them only support certain relational operators Nick Mathewson2010-10-15
* | Make the return value of tor_addr_sockaddr always be signedNick Mathewson2010-10-15
* | Remove the unused old fuzzy-time codeNick Mathewson2010-10-15
* | Fix an xxx wrt picking libevent methods known-to-work•••The short version is, "where we want to do it, we have nothing real to chose from and we can't do it easily. Where it's easy to do, we have no reason to do it yet." Nick Mathewson2010-10-15
* | Make check-spaces happySebastian Hahn2010-10-14
* | Merge branch 'nodes'Nick Mathewson2010-10-13
|\ \
| * | Fix a compile warning on OSX 10.6Sebastian Hahn2010-10-07
| * | Implement a few more node-based functions•••Some of these functions only work for routerinfo-based nodes, and as such are only usable for advisory purposes. Fortunately, our uses of them are compatible with this limitation. Nick Mathewson2010-10-01
| * | Implement a basic node and nodelist type•••The node_t type is meant to serve two key functions: 1) Abstracting difference between routerinfo_t and microdesc_t so that clients can use microdesc_t instead of routerinfo_t. 2) Being a central place to hold mutable state about nodes formerly held in routerstatus_t and routerinfo_t. This patch implements a nodelist type that holds a node for every router that we would consider using. Nick Mathewson2010-10-01
* | | Set OpenSSL 0.9.8l renegotiation flag early enough for bufferevents•••This seems to fix another case of bug2001. Nick Mathewson2010-10-12
* | | Actually call connection_tls_finish_handshake() with bufferevents•••First start of a fix for bug2001, but my test network still isn't working: the client and the server send each other VERSIONS cells, but never notice that they got them. Nick Mathewson2010-10-12
* | | Add header for tor_tls_log_one_errorNick Mathewson2010-10-11
* | | Log OpenSSL errors coming from bufferevent_opensslNick Mathewson2010-10-11
* | | Merge remote branch 'sjmurdoch/bug1903'Nick Mathewson2010-10-11
|\ \ \
| * | | Add a unit test for tor_spawn_background•••- Test sucessfully starting a process - Test failing to find the executable Steven Murdoch2010-10-10
| * | | Update documentation for tor_spawn_background•••- Include description of stdout_read, stderr_read, and argv Steven Murdoch2010-10-10
| * | | Fix issues in nickm's review of log_from_pipe for bug #1903•••- Replace sscanf with tor_sscanf - Replace use of strstr with equivalent call to strcmpstart Steven Murdoch2010-10-10
| * | | Fix nickm's comments on logging for bug #1903•••- Use log_warn rather than log_err for bad but survivable events Steven Murdoch2010-10-10
| * | | Note icky constructs mentioned in bug #1903•••- To be dealt with as part of bug #2029 Steven Murdoch2010-10-10
| * | | Fix issues in nickm's review of format_helper_exit_status for bug #1903•••- Responsibility of clearing hex_errno is no longer with caller - More conservative bounds checking - Length requirement of hex_errno documented - Output format documented Steven Murdoch2010-10-04
| |/ /
* | | Make tor_sscanf handle %xNick Mathewson2010-10-11
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-10-04
|\ \ \ | |/ / |/| |
| * | Correct a bogus comment.•••Whether or not OpenSSL reference-counts SSL_CTX objects is irrelevant; what matters is that Tor reference-counts its wrapper objects for SSL_CTXs. Robert Ransom2010-10-04
| * | Correct a couple of log messages in tortls.cRobert Ransom2010-10-04
| * | Fix several comments in tortls.cRobert Ransom2010-10-04
* | | Initialize fd values in tor_port_check_forwarding to -1Nick Mathewson2010-10-01
| |/ |/|
* | Merge branch 'tor-fw-squashed2'•••Conflicts: src/common/util.c Nick Mathewson2010-09-30
|\ \
| * | Fix space and formatting issuesNick Mathewson2010-09-30
| * | #if-out the fw-helper code in util.c when building on windowsNick Mathewson2010-09-30
| * | Start tor-fw-helper in the background, and log whatever it outputsSteven Murdoch2010-09-30
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2010-09-30
|\ \ \ | |/ / |/| / | |/
| * Fix check-spacesSebastian Hahn2010-09-30
* | make c612ddee compile with old libeventsRoger Dingledine2010-09-29
* | Autodetect the number of CPUs when possible if NumCPUs==0•••This is needed for IOCP, since telling the IOCP backend about all your CPUs is a good idea. It'll also come in handy with asn's multithreaded crypto stuff, and for people who run servers without reading the manual. Nick Mathewson2010-09-28
* | Add a new option to enable/disable IOCP supportNick Mathewson2010-09-28
* | Merge branch 'bufferevent5'Nick Mathewson2010-09-27
|\ \ | |/ |/|
| * Make the bufferevent code use the renegotiation-reenabling hackNick Mathewson2010-09-27
| * Always defer bufferevent_openssl callbacks to avoid reentrant invocationsNick Mathewson2010-09-27
| * Fix whitespace in bufferevents branchNick Mathewson2010-09-27
| * Document and/or fix stuff found by Sebastian in code review•••Thanks to Sebastian for his code-review of the bufferevents patch series.x Nick Mathewson2010-09-27
| * Some bufferevents related fixes and pointers for nickmSebastian Hahn2010-09-27
| * Convert bufferevents to use rate-limiting.•••This requires the latest Git version of Libevent as of 24 March 2010. In the future, we'll just say it requires Libevent 2.0.5-alpha or later. Since Libevent doesn't yet support hierarchical rate limit groups, there isn't yet support for tracking relayed-bytes separately when using the bufferevent system. If a future version does add support for hierarchical buckets, we can add that back in. Nick Mathewson2010-09-27
| * Documentation for a few bufferevent functions.Nick Mathewson2010-09-27