| Commit message (Expand) | Author | Age |
* | now circuit_get_newest returns an appropriate circ for your purpose•••connection_ap_handshake_attach_circuit attaches to a circ of the
right purpose
add a skeletal rendclient.c
svn:r1441
| Roger Dingledine | 2004-04-02 |
* | teach directory servers to handle renddesc responses•••svn:r1434
| Roger Dingledine | 2004-04-01 |
* | let the circuit-launcher choose the exit node (if he wants)•••svn:r1428
| Roger Dingledine | 2004-04-01 |
* | outline what bob does to initialize his hidden services•••let circuit_launch_new return the circ it just made
svn:r1424
| Roger Dingledine | 2004-04-01 |
* | put in hooks for alice and bob logic when circuits finish/fail•••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
| Roger Dingledine | 2004-04-01 |
* | allow conns to demand to be attached to a clean circuit•••(nobody uses this yet)
svn:r1417
| Roger Dingledine | 2004-03-31 |
* | Add an ap_bridge function to do a socketpair and skip socks.•••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
| Roger Dingledine | 2004-03-31 |
* | Add code to configure hidden services, parse configuration, generate keys and...•••svn:r1410
| Nick Mathewson | 2004-03-31 |
* | rename hidserv_xx•••svn:r1406
| Nick Mathewson | 2004-03-31 |
* | Implement hidserv_XX functions; there is still an XXX in directory_handle_com...•••svn:r1404
| Nick Mathewson | 2004-03-31 |
* | Refactor directory servers•••* 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
| Roger Dingledine | 2004-03-30 |
* | use 'notice' loglevel for things the operator should hear•••but that aren't warnings
svn:r1384
| Roger Dingledine | 2004-03-30 |
* | Remove descriptors that are older than 24 hours from the directory. Use strl...•••svn:r1361
| Nick Mathewson | 2004-03-29 |
* | oh, i forgot to enable the find-munged-conn function•••svn:r1357
| Roger Dingledine | 2004-03-28 |
* | only build circuits after we've fetched the directory•••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
| Roger Dingledine | 2004-03-27 |
* | Add a RunTesting option to try to learn link state by creating test circuits,...•••svn:r1327
| Nick Mathewson | 2004-03-21 |
* | catch signals in a more portable way, so solaris can catch them too•••svn:r1324
| Roger Dingledine | 2004-03-20 |
* | Integrate the new "rephist" [rep(utation) hist(ory)] module to trace•••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
| Nick Mathewson | 2004-03-20 |
* | clean up some presentation and comments•••svn:r1294
| Roger Dingledine | 2004-03-18 |
* | bugfix: decrement OR connections from global_bucket too•••bugfix: don't return immediately for has_pending_tls_data unless
the conn is allowed to read
svn:r1270
| Roger Dingledine | 2004-03-14 |
* | refactor bandwidth-control token buckets•••this is a checkpoint commit; there still remain some
bugs, er, somewhere.
svn:r1269
| Roger Dingledine | 2004-03-14 |
* | get rid of those pesky tabs•••svn:r1264
| Roger Dingledine | 2004-03-12 |
* | more details when a conn is closed before it's done flushing•••svn:r1262
| Roger Dingledine | 2004-03-12 |
* | start tracking the 'broken pipe' error•••svn:r1261
| Roger Dingledine | 2004-03-11 |
* | Make OP work on windows! (Also misc logging tweaks)•••svn:r1258
| Nick Mathewson | 2004-03-11 |
* | Make windows version correct; initialize windows foolishness so that gethostb...•••svn:r1250
| Nick Mathewson | 2004-03-10 |
* | bugfix: only set conn->hold_open_until_flushed after marking•••svn:r1245
| Roger Dingledine | 2004-03-08 |
* | fix a rare race condition: when we send a cell and then•••mark an OR connection expired, we might close it before
finishing a flush if the other side isn't reading.
svn:r1240
| Roger Dingledine | 2004-03-06 |
* | stop asserting that computers always go forward in time•••it's simply not true
svn:r1236
| Roger Dingledine | 2004-03-06 |
* | and a minor patch•••svn:r1215
| Roger Dingledine | 2004-03-03 |
* | holding until flush was borked•••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
| Roger Dingledine | 2004-03-03 |
* | better debugging for lonely flushes•••svn:r1213
| Roger Dingledine | 2004-03-03 |
* | use conn->hold_open_until_flushed for streams•••and also note/fix a variety of other stream-based bugs
svn:r1210
| Roger Dingledine | 2004-03-03 |
* | Implement hold_open_until_flushed. I may have missed something important.•••svn:r1209
| Nick Mathewson | 2004-03-03 |
* | make socks5 not give a spurious warning•••also rename AP_CONN_STATE_CONNECTING to _CONNECT_WAIT
svn:r1208
| Roger Dingledine | 2004-03-03 |
* | remove redundant check•••svn:r1204
| Nick Mathewson | 2004-03-03 |
* | warn more when losing data on closed/marked connections.•••svn:r1203
| Nick Mathewson | 2004-03-03 |
* | Split out mark_for_close with circuits. Seems to work for me.•••svn:r1197
| Nick Mathewson | 2004-03-02 |
* | put switch_id and start_daemon earlier•••svn:r1188
| Roger Dingledine | 2004-02-29 |
* | print a statement when the first circ is finished,•••so the user knows it's working
svn:r1179
| Roger Dingledine | 2004-02-29 |
* | bugfix: only warn about an unrouter router after we've fetched a directory•••svn:r1178
| Roger Dingledine | 2004-02-29 |
* | cwd to datadir if it's defined, rather than /•••this way people can get cores if they want to
svn:r1171
| Roger Dingledine | 2004-02-28 |
* | Stop trying to flush on broken sockets marked for close.•••svn:r1163
| Nick Mathewson | 2004-02-28 |
* | some comments to point nick at the latest bugs•••svn:r1162
| Roger Dingledine | 2004-02-28 |
* | some more small fixes•••svn:r1152
| Roger Dingledine | 2004-02-28 |
* | make code more readable; arrbitrarily change a -1 to a 0.•••svn:r1151
| Nick Mathewson | 2004-02-28 |
* | Push responsibility for connection marking down as far as possible; have only...•••svn:r1149
| Nick Mathewson | 2004-02-28 |
* | patches/answers to nick's commit•••svn:r1146
| Roger Dingledine | 2004-02-27 |
* | Refactor mark_for_close, connection_edge_end and friends. Now, everybody•••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
| Nick Mathewson | 2004-02-27 |
* | Fix a bug where you might flush some data on a tls connection, and then•••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
| Roger Dingledine | 2004-02-27 |