| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
crank up the length of the maximum allowed control message.
svn:r9644
|
|
|
|
| |
svn:r9634
|
|
|
|
|
|
|
| |
Make remap stream events have a souce; make them generated every time we get a successful connected or resolved cell. Also change reported stream target address to IP consistently when we get the IP from an exit node.
svn:r9624
|
|
|
|
|
|
|
| |
Resolve 56 DOCDOC comments.
svn:r9594
|
|
|
|
|
|
|
| |
Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec.
svn:r9586
|
|
|
|
|
|
|
| |
Apply stream_bw patch from Robert Hogan.
svn:r9585
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
| |
Refactor setconf implementation to be a little slower, but far less error prone.
svn:r9549
|
|
|
|
|
|
|
|
| |
one config option at once. (Vidalia 0.0.11 does this.)
Backport candidate.
svn:r9545
|
|
|
|
|
|
|
| |
Warn when we get a v0 control connection.
svn:r9530
|
|
|
|
|
|
|
| |
Wow. Remember when I wrote that script to tell me about macros that were never used? Good times.
svn:r9525
|
|
|
|
|
|
|
| |
Report stream end events where a resolve succeeded or where we got a socks protocol error correctly, rather than calling both of them "INTERNAL". Turn ALREADY_SOCKS_REPLIED into a flag rather than a reason. This will help debug 367 part 2 a little.
svn:r9511
|
|
|
|
|
|
|
| |
Fix third case of bug 367: make circuit get sent along with END_STREAM_REASON_DESTROY stream CLOSED events.
svn:r9510
|
|
|
|
| |
svn:r9495
|
|
|
|
|
|
|
| |
Add a REMAP state to stream events so that controllers can learn exactly when the target address for a stream has changed. May help Vidalia resolve confusions related to bug 375.
svn:r9484
|
|
|
|
|
|
|
| |
Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there.
svn:r9482
|
|
|
|
|
|
|
| |
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
|
|
|
|
|
| |
Resolve remaining DOCDOC comments.
svn:r9476
|
|
|
|
|
|
|
| |
Audit non-const char arguments; make a lot more of them const.
svn:r9466
|
|
|
|
|
|
|
| |
Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry.
svn:r9355
|
|
|
|
|
|
|
| |
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision.
svn:r9354
|
|
|
|
|
|
|
| |
Check addresses for rfc953-saneness at exit too, and give a PROTOCOL_WARN when they fail. Also provide a mechanism to override this, so blossom can have its @@##$$^.whatever.exit hostnames if it wants.
svn:r9336
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
control-spec: upcase arguments in status events; note unimplemented events individually
r11825@Kushana: nickm | 2007-01-03 17:41:43 -0500
Implement EXTERNAL IP server status event.
r11826@Kushana: nickm | 2007-01-03 17:47:10 -0500
Implement BAD_SERVER_DESCRIPTOR server status event.
r11827@Kushana: nickm | 2007-01-03 18:01:56 -0500
Implement SOCKS_UNKNOWN_PROTOCOL and DANGEROUS_SOCKS client events.
r11828@Kushana: nickm | 2007-01-03 18:23:22 -0500
Implement BUG controller events. Also, flush ERR-level status events just like ERR-level log messages.
r11829@Kushana: nickm | 2007-01-03 23:37:27 -0500
Yet more status events: CLOCK_SKEW, GOOD/ACCEPTED_SERVER_DESCRIPTOR, {CHECKING_}REACHABILITY_{SUCCEEDED|FAILED}
r11833@Kushana: nickm | 2007-01-05 16:56:37 -0500
Note some unimplementedness in control-spec.txt
svn:r9279
|
|
|
|
|
|
|
| |
fault when starting a server without a fingerprint file present.
svn:r9261
|
|
|
|
|
|
|
| |
Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames
svn:r9211
|
|
|
|
|
|
|
| |
Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy!
svn:r9208
|
|
|
|
|
|
|
| |
Implement SETEVENTS GUARD. Needs review and testing.
svn:r9137
|
|
|
|
|
|
|
| |
Implement GETINFO fingerprint.
svn:r9136
|
|
|
|
|
|
|
|
| |
socks-command-connect-dir streams, so we don't open new anonymity
questions.
svn:r9099
|
|
|
|
|
|
|
|
|
|
| |
New socks command CONNECT_DIR. New config option TunnelDirConns that
builds a circ ending at the directory server and delivers a BEGIN_DIR
cell if it's running 0.1.2.2-alpha or later. We still need to make
one-hop circs when appropriate, while making other conns avoid them.
svn:r9098
|
|
|
|
| |
svn:r9063
|
|
|
|
| |
svn:r9062
|
|
|
|
| |
svn:r9061
|
|
|
|
|
|
|
| |
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts.
svn:r9052
|
|
|
|
|
|
|
| |
Make GETINFO dir/status/... work even when we are not a directory. Needs a little cleanup. Closes bug 263.
svn:r9051
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Try to compile with fewer warnings on irix64's MIPSpro compiler /
environment, which apparently believes that:
- off_t can be bigger than size_t.
- only mean kids assign things they do not subsequently inspect.
I don't try to fix the "error" that makes it say:
cc-3970 cc: WARNING File = main.c, Line = 1277
conversion from pointer to same-sized integral type (potential portability
problem)
uintptr_t sig = (uintptr_t)arg;
Because really, what can you do about a compiler that claims to be c99
but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x;
is safe?
svn:r8948
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.
svn:r8945
|
|
|
|
|
|
|
| |
Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate. Document this.
svn:r8834
|
|
|
|
|
|
|
| |
Add a CLEARDNSCACHE signal to clear the client-side DNS cache.
svn:r8829
|
|
|
|
|
|
|
| |
Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone.
svn:r8828
|
|
|
|
|
|
|
| |
to update
svn:r8813
|
|
|
|
|
|
|
| |
Remove reference to NS_FULL event; add two GETINFO targets.
svn:r8812
|
|
|
|
|
|
|
| |
and so vidalia can start handling them if it wants.
svn:r8802
|
|
|
|
|
|
|
| |
Implement status event backend logic.
svn:r8799
|
|
|
|
|
|
|
|
| |
it's an ugly patch, but at least this way we can see that
it's fixed. maybe clean up the whole "@" syntax later on.
svn:r8783
|
|
|
|
|
|
|
| |
Oops. Conform to spec.
svn:r8782
|
|
|
|
|
|
|
| |
Add an event type to tell the controller when our opinion of a router status has changed. I might have missed some cases here.
svn:r8781
|