aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
Commit message (Expand)AuthorAge
* move closer to being able to reload config on HUP•••rename APPort to SocksPort introduce new tor_free() macro svn:r642 Roger Dingledine2003-10-21
* send the end cell when we realize we're going to end,•••not when we're closing the stream. this lets us put a payload in the end cell if we want to, to describe why we're closing the stream. there are still some places where we don't send the end cell immediately. i need to track them down. but it's a low priority, since i've made it send the end cell when we close the stream if we haven't already sent it. svn:r640 Roger Dingledine2003-10-21
* Stop using stdout for non-debugging cases•••svn:r592 Nick Mathewson2003-10-15
* change WARNING to WARN•••and fix a few typos svn:r571 Roger Dingledine2003-10-10
* Refactor, rename, and clarify•••svn:r569 Nick Mathewson2003-10-09
* Update LICENSE and copyright dates.•••svn:r560 Nick Mathewson2003-10-08
* refactor around connection_edge_send_command()•••svn:r539 Roger Dingledine2003-10-04
* wrap strdup; prefer time() to gettimeofday()•••svn:r538 Roger Dingledine2003-10-04
* refactor so connection_write_to_buf() never fails•••svn:r537 Roger Dingledine2003-10-04
* Add new cell fullness and bandwidth stats.•••svn:r533 Nick Mathewson2003-10-02
* my_routerinfo, router_is_me, and learn_my_address are obsolete•••ACIs are decided now by strcmp'ing nicknames, rather than comparing addr:port svn:r529 Roger Dingledine2003-10-01
* clean up receiver buckets; prepare for payloads in relay_end; note a few bugs•••svn:r502 Roger Dingledine2003-09-27
* first pass: obey log convention•••ERR is if something fatal just happened WARNING is something bad happened, but we're still running. The bad thing is either a bug in the code, an attack or buggy protocol/implementation of the remote peer, etc. The operator should examine the bad thing and try to correct it. (No error or warning messages should be expected. I expect most people to run on -l warning eventually.) NOTICE is never ever used. INFO means something happened (maybe bad, maybe ok), but there's nothing you need to (or can) do about it. DEBUG is for everything louder than INFO. svn:r486 Roger Dingledine2003-09-26
* Refactor buffers; implement descriptors.•••'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483 Nick Mathewson2003-09-25
* cleanups, bugfixes, more verbose logs•••Fixed up the assert_*_ok funcs some (more work remains) Changed config so it reads either /etc/torrc or the -f arg, never both Finally tracked down a nasty bug with our use of tls: It turns out that if you ask SSL_read() for no more than n bytes, it will read the entire record from the network (and maybe part of the next record, I'm not sure), give you n bytes of it, and keep the remaining bytes internally. This is fine, except our poll-for-read looks at the network, and there are no bytes pending on the network, so we never know to ask SSL_read() for more bytes. Currently I've hacked it so if we ask for n bytes and it returns n bytes, then it reads again right then. This will interact poorly with our rate limiting; we need a cleaner solution. svn:r481 Roger Dingledine2003-09-24
* leave the socks handshake on the inbuf until it's complete•••this paves the way for supporting socks5 and other handshakes it also removes those pesky AP-only variables from connection_t also hacked a fix for a bug where some streams weren't ending properly -- maybe because marked connections weren't flushing properly? svn:r472 Roger Dingledine2003-09-18
* bugfixes and refactorings•••svn:r468 Roger Dingledine2003-09-16
* Make sequential ACI selection logic handle HIGHER/LOWER•••svn:r466 Nick Mathewson2003-09-16
* Add first cut of assert_*_ok functions•••svn:r464 Nick Mathewson2003-09-16
* Add #ifdef'd code (on by default) to allocate ACIs sequentially.•••svn:r462 Nick Mathewson2003-09-16
* clean up exported api's•••svn:r461 Roger Dingledine2003-09-16
* bugfix: onion pending queue now works•••and fixed recent memory leak svn:r456 Roger Dingledine2003-09-14
* Attempt to track down bug in conn->package_window•••svn:r415 Nick Mathewson2003-08-25
* better log output for debugging•••svn:r375 Roger Dingledine2003-08-11
* Fix typo: ports are 16 bits.•••svn:r374 Nick Mathewson2003-08-11
* src/or•••svn:r371 Nick Mathewson2003-07-30
* fix many bugs in package_window handling•••svn:r363 Roger Dingledine2003-07-03
* slightly happier on 64-bit archs•••svn:r349 Roger Dingledine2003-06-24
* Remove false warnings from printf checks•••svn:r340 Nick Mathewson2003-06-21
* Change many files to new log_fn format•••svn:r333 Nick Mathewson2003-06-17
* relay queues are obsolete (woo!)•••they used to be used for * queueing relay cells at the edge of the network, when windows are empty * queueing relay cells that arrive after an onion but before the onion has been processed. both of these uses are gone. so out they go. svn:r315 Roger Dingledine2003-06-13
* implement truncate and truncated (untested)•••clean up circuit_deliver_relay_cell convention svn:r312 Roger Dingledine2003-06-12
* bugfix: it was expiring circuits that still had active connections•••svn:r303 Roger Dingledine2003-06-01
* OPport is gone. So is conn type OP.•••svn:r298 Roger Dingledine2003-05-28
* bugfix•••svn:r297 Roger Dingledine2003-05-28
* fix design bug: circ->n_conn is shared among circs, so it can't•••point to the streams for this circ. svn:r296 Roger Dingledine2003-05-27
* remove dead code•••circuits no longer queue more cells when the windows are empty -- they simply don't package it from the buffer if they're not going to want it. we can restore this code later if we need to resume queueing. svn:r294 Roger Dingledine2003-05-20
* add circuit-level sendme relay cells•••remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293 Roger Dingledine2003-05-20
* put some symbolic constants to the onion skin lengths•••svn:r265 Roger Dingledine2003-05-06
* incremental path building in; uses ephemeral DH; onions are gone•••still need to change circuit-level sendmes svn:r264 Roger Dingledine2003-05-05
* streams are now 8 bytes, and are recognized by intermediate hops•••the OP only crypts the appropriate number of times depending on which layer (hop on the path) it's for/from. svn:r262 Roger Dingledine2003-05-02
* cpath is now a doubly linked list, not an array•••svn:r260 Roger Dingledine2003-05-01
* terminology shift: data->relay, topic->relay, topic->stream•••svn:r258 Roger Dingledine2003-05-01
* bugfix: a circ can't be youngest if it's still connecting to the first hop•••svn:r255 Roger Dingledine2003-04-20
* bugfix: refactor to always use circuit_remove•••this way we can always check if a new circ needs to be launched svn:r254 Roger Dingledine2003-04-20
* bugfix: only close old circuits if they have no connections!•••svn:r251 Roger Dingledine2003-04-18
* Choose correct abstraction for topic_foo. Abstract random-integer code•••svn:r249 Nick Mathewson2003-04-17
* further cleanup, test.c still has some bugs•••svn:r241 Roger Dingledine2003-04-16
* Remove the last vestige of code that claims to know the inner structure of an...•••svn:r239 Nick Mathewson2003-04-16
* Factor out timeval-related functions.•••svn:r237 Nick Mathewson2003-04-16