| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention.
svn:r9995
|
|
|
|
|
|
|
| |
Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little.
svn:r9931
|
|
|
|
|
|
|
| |
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway.
svn:r9905
|
|
|
|
|
|
|
| |
Possibly resolve bug reported by xiando.
svn:r9903
|
|
|
|
|
|
|
| |
Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached.
svn:r9900
|
|
|
|
|
|
|
| |
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
|
|
|
|
|
|
|
| |
whether we've attached a stream.
svn:r9883
|
|
|
|
|
|
|
|
| |
stricter rate limiting to all OR conns except those that have
been touched by local circuits.
svn:r9882
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
behavior for getinfo addr-mappings/*. this is because
the code and spec have been mismatched since at least
0.1.1.x, so i would be surprised if nobody at all is
relying on the current behavior.
backport candidate.
backbackport candidate.
svn:r9823
|
|
|
|
| |
svn:r9822
|
|
|
|
|
|
|
| |
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
svn:r9733
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix a longstanding dnsworker-related bug: when we decide to kill a DNS worker for having been in use too long, and we independently decide to close one of the exit connections waiting for that DNS worker (perhaps because we got an END relay cell), it was possible for us to try to double-free the connection. We were smart enough to detect this and assert, but not smart enough to fix this bug before now. This should resolve bug 390. Backport candidate.
svn:r9581
|
|
|
|
|
|
|
| |
Update copyright dates.
svn:r9570
|
|
|
|
|
|
|
|
| |
we get when we hang up on an unhandshaked socks connection. i'm
still seeing these from polipo. darn it.
svn:r9565
|
|
|
|
|
|
|
| |
polipo bug.
svn:r9553
|
|
|
|
| |
svn:r9552
|
|
|
|
|
|
|
| |
Fix patch for 9510: never call control_event_stream_status on an exit connection. Should fix assert() noticed by xiando.
svn:r9514
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
"DNS resolve socks failed" handshake reply; just close it.
svn:r9437
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This one is a little tricky. Our BEGIN_DIR implementation has a
problem: the dirserv conns will decide they can flush all their data
immediately, since the edge_conns will read greedily.
For our 0.1.2 workaround, we track which or_conn a bridged dirserv
conn is attached to, and stop writing when its outbuf is too full, and
start writing again when the or_conn's outbuf empties out a little.
This requires a bit of pointer management. Let's hope it works.
svn:r9432
|
|
|
|
|
|
|
| |
Fix argument types in printf: try to make buildbot happier.
svn:r9403
|
|
|
|
| |
svn:r9400
|
|
|
|
| |
svn:r9395
|
|
|
|
|
|
|
| |
Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events. Clean up control-spec.txt a little, and fill in recommendations for events.
svn:r9374
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handshake to finish. Previously we would let them sit around for
days, if the connecting application didn't close them either.
Also take this opportunity to refactor a duplicate bit of circuituse.c.
And change the semantics of SocksTimeout slightly, but I think it'll
be ok.
svn:r9350
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r9263
|
|
|
|
|
|
|
| |
and add a todo item for nick in case he gets bored :)
svn:r9260
|
|
|
|
|
|
|
| |
Remove an XXXX012 for which the answer is "not really."
svn:r9244
|
|
|
|
|
|
|
| |
Remove dead code; make targets of addressmap commands/configs use AllowNonRFC953Hostnames
svn:r9211
|
|
|
|
|
|
|
| |
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
|
|
|
|
|
|
|
| |
Add client-side caching for reverse DNS.
svn:r9194
|
|
|
|
|
|
|
| |
Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections.
svn:r9191
|
|
|
|
|
|
|
|
|
| |
schedule. Now the first connect attempt will wait a full 10
seconds before switching to a new circuit. Perhaps this will help
a lot. Based on observations from Mike Perry.
svn:r9159
|
|
|
|
| |
svn:r9158
|
|
|
|
|
|
|
| |
Reject hostnames with invalid characters, in an attempt to catch more errors earlier. Add an option to disable this behavior.
svn:r9156
|
|
|
|
|
|
|
| |
Demand that BEGIN_DIR cells have an empty payload.
svn:r9104
|
|
|
|
|
|
|
|
| |
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:r9096
|
|
|
|
| |
svn:r9062
|
|
|
|
|
|
|
| |
Patch from Fabian Keil: Fix return statement in get_pf_socket()
svn:r9020
|
|
|
|
| |
svn:r9015
|