| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r1428
|
|
|
|
|
|
|
| |
let circuit_launch_new return the circ it just made
svn:r1424
|
|
|
|
|
|
|
|
|
| |
let you specify the purpose of circuits you launch
bugfix: we used to be declaring the first successful circuit too early -- when the first hop finished. now we're more accurate.
svn:r1421
|
|
|
|
|
|
|
| |
(nobody uses this yet)
svn:r1417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to do a directory connection *through* tor just
as if we're doing it as an application.
Make ap_conns tolerate it when the application sends stuff before
The socks handshake is done (it just buffers it).
Tell directory_initiate_command the length of the payload (because
it might include nuls).
Add a directory_has_arrived function to, for example, start building
the rendezvous service descriptor.
svn:r1412
|
|
|
|
|
|
| |
and service IDs, and store/load them from disk
svn:r1410
|
|
|
|
| |
svn:r1406
|
|
|
|
|
|
| |
directory_handle_command
svn:r1404
|
|
|
|
|
|
|
|
|
|
|
| |
* read all the time (before we would ignore eof sometimes, oops)
* we can handle different urls now
* send back 404 for an un-handled url
* commands initiated by the client can handle payloads now
* introduce conn->purpose to avoid exponential state-space explosion
svn:r1400
|
|
|
|
|
|
|
| |
but that aren't warnings
svn:r1384
|
|
|
|
|
|
| |
strlcat instead of strncat to generate directories.
svn:r1361
|
|
|
|
| |
svn:r1357
|
|
|
|
|
|
|
|
|
|
|
|
| |
this resolves a subtle bug where tor clients were preferentially using
the directory servers, since when they start building circuits they
know only about the directory servers
on the other hand, it now takes longer after startup before there's
a working circuit. so it goes.
svn:r1350
|
|
|
|
|
|
| |
circuits, even when SocksPort is off.
svn:r1327
|
|
|
|
| |
svn:r1324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
successful/failed connections, successful/failed extends, and
connection uptimes.
It's still not done: more tests are needed, and not everything calls
connection/circuit_mark_for_close properly. This skews the results.
Also, there needs to be a 'testing' mode for non-OP ORs, where they
periodically build circuits just to test whether extends work.
svn:r1313
|
|
|
|
| |
svn:r1294
|
|
|
|
|
|
|
|
| |
bugfix: don't return immediately for has_pending_tls_data unless
the conn is allowed to read
svn:r1270
|
|
|
|
|
|
|
|
| |
this is a checkpoint commit; there still remain some
bugs, er, somewhere.
svn:r1269
|
|
|
|
| |
svn:r1264
|
|
|
|
| |
svn:r1262
|
|
|
|
| |
svn:r1261
|
|
|
|
| |
svn:r1258
|
|
|
|
|
|
| |
gethostbyname works.
svn:r1250
|
|
|
|
| |
svn:r1245
|
|
|
|
|
|
|
|
| |
mark an OR connection expired, we might close it before
finishing a flush if the other side isn't reading.
svn:r1240
|
|
|
|
|
|
|
| |
it's simply not true
svn:r1236
|
|
|
|
| |
svn:r1215
|
|
|
|
|
|
|
|
|
|
| |
we were never writing anything when hold_open_until_flushed was set,
since conn_write returns early if marked_for_conn is set.
seems a bit better now.
svn:r1214
|
|
|
|
| |
svn:r1213
|
|
|
|
|
|
|
| |
and also note/fix a variety of other stream-based bugs
svn:r1210
|
|
|
|
| |
svn:r1209
|
|
|
|
|
|
|
| |
also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT
svn:r1208
|
|
|
|
| |
svn:r1204
|
|
|
|
| |
svn:r1203
|
|
|
|
| |
svn:r1197
|
|
|
|
| |
svn:r1188
|
|
|
|
|
|
|
| |
so the user knows it's working
svn:r1179
|
|
|
|
| |
svn:r1178
|
|
|
|
|
|
|
| |
this way people can get cores if they want to
svn:r1171
|
|
|
|
| |
svn:r1163
|
|
|
|
| |
svn:r1162
|
|
|
|
| |
svn:r1152
|
|
|
|
| |
svn:r1151
|
|
|
|
|
|
| |
only a close path; add some missing end cells; change return conventions a little.
svn:r1149
|
|
|
|
| |
svn:r1146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
who wants to shut down a connection calls connection_mark_for_close instead
of setting marked_for_close to 1. This automatically removes the connection
from the DNS cache if needed, sends a RELAY END cell if appropriate, and can
be changed to do whatever else is needed.
Still to do:
- The same for circuits, maybe.
- Add some kind of hold_connection_open_until_flushed flag, maybe.
- Change stuff that closes connections with return -1 to use mark_for_close,
maybe.
svn:r1145
|
|
|
|
|
|
|
|
|
|
| |
add some more data to be flushed but never turn POLLOUT on. not sure
how commonly this bug was hit, but it would be a doozy.
Also add some asserts to see if it happens elsewhere.
svn:r1142
|
|
|
|
| |
svn:r1129
|
|
|
|
| |
svn:r1128
|