| Commit message (Expand) | Author | Age |
... | |
* | r9561@Kushana: nickm | 2006-11-16 22:32:54 -0500••• Tweaks to test-connection patch: use ".noconnect" instead of ".test" (since there are lots of ways to test things). Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type. Make the function that checks the address be static and use const and strcasecmpend properly.
svn:r8959
| Nick Mathewson | 2006-11-17 |
* | r9560@Kushana: nickm | 2006-11-16 22:09:12 -0500••• Check in an implementation of "test" connections from Scott Squires:
these connections immediately close upon reaching Tor. They're useful
for apps that want to check whether they're talking to the same Tor as
a given controller. (I'll be tweaking this a bit before I push.)
svn:r8958
| Nick Mathewson | 2006-11-17 |
* | r9319@totoro: nickm | 2006-11-14 13:04:50 -0500••• Patch from Zajcev Evgeny to make natd work properly (we needed to allow extra characters after the port number).
svn:r8952
| Nick Mathewson | 2006-11-14 |
* | r9309@totoro: nickm | 2006-11-13 19:05:41 -0500••• Whitespace fixes, and clean up code from last natd patch.
svn:r8947
| Nick Mathewson | 2006-11-14 |
* | r9308@totoro: nickm | 2006-11-13 18:41:23 -0500••• Add support for (Free?)BSD's natd, which was an old way to let you
have your firewall automatically redirect traffic. (Original patch
from Zajcev Evgeny, updated for 0.1.2.x by tup.)
svn:r8946
| Nick Mathewson | 2006-11-14 |
* | r9307@totoro: nickm | 2006-11-13 18:25:56 -0500••• Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.
svn:r8945
| Nick Mathewson | 2006-11-14 |
* | checkpoint some changes as i read diffs•••svn:r8780
| Roger Dingledine | 2006-10-20 |
* | r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry.
svn:r8779
| Nick Mathewson | 2006-10-20 |
* | r9306@Kushana: nickm | 2006-10-20 13:27:43 -0400••• Enable reasons for stream events in all cases but CLOSED in about_to_close_connection. That one will take a little longer.
svn:r8778
| Nick Mathewson | 2006-10-20 |
* | r9303@Kushana: nickm | 2006-10-20 12:07:34 -0400••• Start implementing reason extension for stream events to match the one one used by circuit events. (Not a complete implementation yet; actual reasons are not passed to control.c)
svn:r8777
| Nick Mathewson | 2006-10-20 |
* | r9298@dhcp-18-188-67-85: nickm | 2006-10-20 11:25:07 -0400••• Weasel correctly notes that we should not discard the return value from connection_exit_begin_con. Right now, the return value is always discardable, so this does not actually cause a bug, but it might later. So fix it.
svn:r8774
| Nick Mathewson | 2006-10-20 |
* | r9289@31-35-219: nickm | 2006-10-20 09:43:22 -0400••• Fix longstanding bug in connection_exit_begin_conn(): Since connection_edge_end() exits when the connection is unattached, we were never sending RELAY_END cells back for failed RELAY_BEGIN attempts. Fix this. This might make clients that were otherwise timing out either fail faster or retry faster, which is good news for us.
svn:r8770
| Nick Mathewson | 2006-10-20 |
* | Security bugfixes:••• When the user sends a NEWNYM signal, clear the client-side DNS
cache too. Otherwise we continue to act on previous information.
svn:r8679
| Roger Dingledine | 2006-10-09 |
* | r8957@totoro: nickm | 2006-10-08 22:35:17 -0400••• The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx.
svn:r8664
| Nick Mathewson | 2006-10-09 |
* | finish poking and prodding. i'm all happy now.•••svn:r8633
| Roger Dingledine | 2006-10-07 |
* | minor cleanups•••svn:r8622
| Roger Dingledine | 2006-10-07 |
* | checkpoint some cleanups•••svn:r8599
| Roger Dingledine | 2006-10-05 |
* | r8839@totoro: nickm | 2006-10-02 15:31:49 -0400••• Make a field longer to accomodate verbose nicknames; note that verbose nicknames will never reach this point.
svn:r8583
| Nick Mathewson | 2006-10-03 |
* | r8822@totoro: nickm | 2006-10-01 16:24:22 -0400••• Fix bug 303: reject attempts to use Tor as a one-hop proxy.
svn:r8566
| Nick Mathewson | 2006-10-01 |
* | if we fail to build a circuit to an intended enclave, and it's•••not mandatory that we use that enclave, stop wanting it.
svn:r8559
| Roger Dingledine | 2006-10-01 |
* | r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries
svn:r8542
| Nick Mathewson | 2006-09-29 |
* | r8997@Kushana: nickm | 2006-09-28 23:40:22 -0400••• [Needs review.] Add a BEGIN_DIR relay cell type for an easier
in-protocol way to connect to directory servers through Tor.
Previously, clients could only connect to director servers over Tor
from exit nodes, but couldn't get directory information anonymously
from a non-exit cache without getting a directory server involved.
This needs testing, and needs client-side code to actually exercise it.
svn:r8527
| Nick Mathewson | 2006-09-29 |
* | Backport candidate: Fix a long-standing server-side DNS bug. When a•••client asks us to resolve (not connect to) an address, and we have a
cached answer, give them the cached answer. Previously, we would give
them no answer at all.
svn:r8478
| Nick Mathewson | 2006-09-24 |
* | r8895@Kushana: nickm | 2006-09-21 20:05:11 -0400••• Debug client-side reverse dns code.
svn:r8452
| Nick Mathewson | 2006-09-22 |
* | r8894@Kushana: nickm | 2006-09-21 18:30:42 -0400••• Specify and implement SOCKS5 interface for reverse hostname lookup.
svn:r8451
| Nick Mathewson | 2006-09-22 |
* | remove some loud log messages•••svn:r8450
| Roger Dingledine | 2006-09-22 |
* | r8877@Kushana: nickm | 2006-09-21 17:12:33 -0400••• Consider non-exit servers unsuitable for RESOLVE commands.
svn:r8442
| Nick Mathewson | 2006-09-21 |
* | r8576@Kushana: nickm | 2006-08-25 17:16:01 -0400••• Fix bug 314: Instead of checking address_in_virtualrange, check addressmap_have_mapping(). This should be more accurate. [Rename to addressmap_have_mapping() from addressmap_already_mapped().]
svn:r8226
| Nick Mathewson | 2006-08-25 |
* | simplify compare_cached_resolves_by_expiry() to make it match•••the idioms of other compare functions. hopefully i didn't
break it?
svn:r7048
| Roger Dingledine | 2006-08-14 |
* | save 3-7 bytes per edge connection•••svn:r7044
| Roger Dingledine | 2006-08-14 |
* | r7304@Kushana: nickm | 2006-08-10 01:58:05 -0700••• Fix verbose compilation errors; make sure transparent proxy fails when no method is configured.
svn:r7012
| Nick Mathewson | 2006-08-10 |
* | r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700••• whitespace fixes
svn:r7011
| Nick Mathewson | 2006-08-10 |
* | r7301@Kushana: nickm | 2006-08-10 01:41:27 -0700••• Only open /dev/pf once.
svn:r7009
| Nick Mathewson | 2006-08-10 |
* | r7300@Kushana: nickm | 2006-08-10 01:36:40 -0700••• Distinguish netfilter vs pf at configure time based on headers, not on OS.
svn:r7008
| Nick Mathewson | 2006-08-10 |
* | r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700••• Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.
svn:r7007
| Nick Mathewson | 2006-08-10 |
* | defense in depth•••svn:r6939
| Roger Dingledine | 2006-07-30 |
* | r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400••• Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
| Nick Mathewson | 2006-07-27 |
* | r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400••• Clean up wide lines from last patch.
svn:r6907
| Nick Mathewson | 2006-07-26 |
* | r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
| Nick Mathewson | 2006-07-26 |
* | r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400••• Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit.
svn:r6903
| Nick Mathewson | 2006-07-26 |
* | Don't tell anybody, but we're going OO here. This patch splits•••circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
| Nick Mathewson | 2006-07-23 |
* | don't squeal if the first few retries fail.•••svn:r6791
| Roger Dingledine | 2006-07-18 |
* | Define a schedule for how long to wait between retrying•••application connections. Rather than waiting a fixed amount of
time between each retry, we wait only 5 seconds for the first,
10 seconds for the second, and 15 seconds for each retry after
that. Hopefully this will improve the expected experience.
Addresses bug 297.
svn:r6790
| Roger Dingledine | 2006-07-18 |
* | If we are using an exit enclave and we can't connect, e.g. because•••its webserver is misconfigured to not listen on localhost, then back
off and try connecting from somewhere else before we fail.
svn:r6783
| Roger Dingledine | 2006-07-18 |
* | stick to nick's nul/null convention•••svn:r6763
| Roger Dingledine | 2006-07-15 |
* | when an exit node gets a malformed begin cell, don't complain to•••the node operator, since he can't do anything about it.
svn:r6733
| Roger Dingledine | 2006-07-06 |
* | We got an obscure report of an assert error on a windows Tor server with•••connection_add being called with socket = -1. The only places I can see
where that happen would be if our tor_socketpair succeeds but it hands
back negative values for some of its file descriptors. Perhaps this will
produce more useful assert errors next time.
svn:r6550
| Roger Dingledine | 2006-06-06 |
* | Oops. When we dont get a TTL, we should default to the default, not to the mi...•••svn:r6527
| Nick Mathewson | 2006-06-03 |
* | More DNS fixes. Send meaningful TTLs back to the client when•••possible. Cache at the server side independently from the TTL, to
prevent attackers from probing the server to see who has been asking
for what hostnames. (Hi, Dan Kaminski!)
Also, clean some whitespace.
svn:r6526
| Nick Mathewson | 2006-06-03 |
* | add a few more debugging lines to help mikec track down his•••11 minute jump into the future.
svn:r6465
| Roger Dingledine | 2006-05-23 |