aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* Merge remote-tracking branch 'public/bug9716_024'Nick Mathewson2013-09-19
|\
| * Try using INT_MAX, not SOMAXCONN, to set listen() backlog.•••Fall back to SOMAXCONN if INT_MAX doesn't work. We'd like to do this because the actual maximum is overrideable by the kernel, and the value in the header file might not be right at all. All implementations I can find out about claim that this is supported. Fix for 9716; bugfix on every Tor. Nick Mathewson2013-09-11
* | Merge branch 'bug5040_4773_rebase_3'Nick Mathewson2013-08-15
|\ \
| * | Tests for connection_write_ext_or_command.Nick Mathewson2013-08-15
| * | Unit tests for ext_or_id_map.Nick Mathewson2013-08-15
| * | Make the Extended ORPort understand the TRANSPORT command.George Kadianakis2013-07-18
| * | More Extended ORPort code improvements.•••* Change name of init_ext_or_auth_cookie_authentication(). * Add a small comment. George Kadianakis2013-07-18
| * | Move Extended ORPort code to its own module.•••Move the code from the connection_or module to ext_orport. This commit only moves code: it shouldn't modify anything. George Kadianakis2013-07-18
| * | Various Extended ORPort code improvements.•••* Add documentation. * Free ext_or_auth_correct_client_hash. * Use VPORT(ExtORPort) instead of V(ExtORPOrt). See dfe03d36c8749eb07e9bb2ea47e88ff05e9e3127 for details. George Kadianakis2013-07-18
| * | Prepare codebase for the implementation of Extended ORPort auth.George Kadianakis2013-07-18
| * | Create the Extended ORPort authentication cookie file.George Kadianakis2013-07-18
| * | Skeleton ExtORPort implementation. Needs testing, documentation.•••Does not implement TransportControlPort yet. Nick Mathewson2013-07-18
* | | Prepare patch for ticket 5129 for merging.•••- Preserve old eventdns code. - Add function to close sockets cross-platform, without accounting. - Add changes/ file. Peter Retzlaff2013-08-02
|/ /
* | Fix two pre-coffee typosPeter Palfrader2013-07-15
* | Reject relative control socket paths and emit a warning.•••Previously we would accept relative paths, but only if they contained a slash somewhere (not at the end). Otherwise we would silently not work. Closes: #9258. Bugfix on 0.2.3.16-alpha. Peter Palfrader2013-07-15
* | Tweak fix for #8789 a bit; avoid double-close and add changes fileNick Mathewson2013-05-24
* | Close socket at err target.•••In connection_listener_new(). See #8789. Arlo Breault2013-05-24
* | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-24
|\|
| * Merge remote-tracking branch 'public/bug6026' into maint-0.2.4Nick Mathewson2013-04-24
| |\
| | * Treat a changed IPv6 ORPort like an IPv4 one in retry_all_listeners()•••Fix for bug 6026 Nick Mathewson2013-03-11
* | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-12
|\| |
| * | Merge remote-tracking branch 'public/bug5650_squashed' into maint-0.2.4Nick Mathewson2013-04-12
| |\ \
| | * | Avoid busy-looping on WANTREAD within connection_handle_write•••Fix for bug 5650. Also, if we get a WANTREAD while reading while writing, make sure we're reading. Nick Mathewson2013-04-12
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-11
|\| | |
| * | | Merge remote-tracking branch 'public/bug8117_023' into maint-0.2.4•••Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.c Nick Mathewson2013-04-11
| |\ \ \
| | * | | Per-SOCKSPort configuration for bug 8117 fix.•••This might be necessary if the bug8117 fix confuses any applications. Also add a changes file. Nick Mathewson2013-03-20
| | |/ /
* | | | fix text in function comment•••(now that we moved to libevent) Roger Dingledine2013-04-11
* | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-04-02
|\| | |
| * | | Merge remote-tracking branch 'public/bug8427' into maint-0.2.4Nick Mathewson2013-04-02
| |\ \ \
| | * | | Don't warn about not sending a socks reply if we get a write error•••If we get a write error on a SOCKS connection, we can't send a SOCKS reply, now can we? This bug has been here since 36baf7219, where we added the "hey, I'm closing an AP connection but I haven't finished the socks handshake!" message. It's bug 8427. Nick Mathewson2013-03-12
| | |/ /
* | | | Merge remote-tracking branch 'asn/bug3594_rebased_and_fixed'•••Conflicts: src/common/util.c src/or/entrynodes.h Nick Mathewson2013-03-19
|\ \ \ \ | |/ / / |/| | |
| * | | Fix various issues pointed out by Nick and Andrea.•••- Document the key=value format. - Constify equal_sign_pos. - Pass some strings that are about to be logged to escape(). - Update documentation and fix some bugs in tor_escape_str_for_socks_arg(). - Use string_is_key_value() in parse_bridge_line(). - Parenthesize a forgotten #define - Add some more comments. - Add some more unit test cases. George Kadianakis2013-02-09
| * | | Send SOCKS arguments when doing SOCKS5.George Kadianakis2013-02-09
| * | | Send SOCKS arguments when doing SOCKS4.George Kadianakis2013-02-09
* | | | Check return values from fcntl and setsockopt•••(Based on a patch from flupzor; bug #8206) Nick Mathewson2013-03-18
| |_|/ |/| |
* | | Merge remote-tracking branch 'public/wide_circ_ids'•••Conflicts: src/or/channel.h src/or/connection_or.c src/or/cpuworker.c Nick Mathewson2013-02-15
|\ \ \
| * | | Replace magic constants for wide_circ_ids with inline function callsNick Mathewson2013-02-09
| * | | Allow a v4 link protocol for 4-byte circuit IDs.•••Implements proposal 214. Needs testing. Nick Mathewson2012-11-06
* | | | Fix two more coverity-spotted leaks in master.•••One is a probably-impossible leak if we fail to sign a consensus; another occurs when we can't look up the user we're trying to chown our sockets to. Nick Mathewson2013-02-11
| |/ / |/| |
* | | Merge remote-tracking branch 'public/easy_ratelim'•••Conflicts: src/or/connection.c Nick Mathewson2013-02-07
|\ \ \
| * | | Use log_fn_ratelim in a few places.Nick Mathewson2012-12-26
* | | | Merge remote-tracking branch 'public/bug7816_023'•••Conflicts: src/common/util.c Nick Mathewson2013-02-07
|\ \ \ \
| * | | | Fix various small leaks on error cases•••Spotted by coverity, bug 7816, bugfix on various versions. Nick Mathewson2012-12-28
| * | | | Avoid leaking headers received from SSL proxy•••Fixes part of 7816. Spotted by coverity. Fix on 0.2.2.1-alpha. Nick Mathewson2012-12-28
| | |_|/ | |/| |
* | | | Merge remote-tracking branch 'public/bug7708_023_v3_squashed'Nick Mathewson2013-02-01
|\ \ \ \
| * | | | Clarify documentation of connection_finished_flushingNick Mathewson2013-02-01
| * | | | Fix serious breakage in connection_handle_write_impl•••When we first implemented TLS, we assumed in conneciton_handle_write that a TOR_TLS_WANT_WRITE from flush_buf_tls meant that nothing had been written. But when we moved our buffers to a ring buffer implementation back in 0.1.0.5-rc (!), we broke that invariant: it's possible that some bytes have been written but nothing. That's bad. It means that if we do a sequence of TLS writes that ends with a WANTWRITE, we don't notice that we flushed any bytes, and we don't (I think) decrement buckets. Fixes bug 7708; bugfix on 0.1.0.5-rc Nick Mathewson2013-02-01
| |/ / /
* | | | Rename log() to tor_log() for logging•••This is meant to avoid conflict with the built-in log() function in math.h. It resolves ticket 7599. First reported by dhill. This was generated with the following perl script: #!/usr/bin/perl -w -i -p s/\blog\(LOG_(ERR|WARN|NOTICE|INFO|DEBUG)\s*,\s*/log_\L$1\(/g; s/\blog\(/tor_log\(/g; Nick Mathewson2013-02-01
* | | | Refactor: Use SOCK_ERRNO to avoid some #ifdef _WIN32s•••Fixes ticket 6302 Nick Mathewson2013-01-16
* | | | Update the copyright date to 201.Nick Mathewson2013-01-16