aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Expand)AuthorAge
* play with connection_edge_send_command•••maybe more robust now svn:r655 Roger Dingledine2003-10-22
* make end relay cells have payloads•••move default exit policy into config files svn:r653 Roger Dingledine2003-10-22
* 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
* clean up logging, allow user to specify log files•••If DebugLogFile is specified, log to it at -l debug If LogFile is specified, log to it at the -l from the commandline (default info) If no LogFile *and* not a Daemon, then log to stdout. Make conn->s = -1 by default (this might break things) When kill -USR1, prefer to log at INFO, but make sure they always see it. svn:r596 Roger Dingledine2003-10-15
* i'm a little teapot, short and stout•••cvs compiles again svn:r581 Roger Dingledine2003-10-14
* fix segfault (connecting to dirserver when network is down)•••svn:r580 Roger Dingledine2003-10-13
* 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
* 0.0.2pre11, new license•••svn:r564 Roger Dingledine2003-10-08
* Update LICENSE and copyright dates.•••svn:r560 Nick Mathewson2003-10-08
* no need to trigger an assert if socks handshake is malformed•••svn:r542 Roger Dingledine2003-10-06
* 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
* socks5 now works•••(or at least, we can talk to mozilla.) svn:r536 Roger Dingledine2003-10-04
* Add new cell fullness and bandwidth stats.•••svn:r533 Nick Mathewson2003-10-02
* clean up receiver buckets; prepare for payloads in relay_end; note a few bugs•••svn:r502 Roger Dingledine2003-09-27
* connection_new() can't ever fail•••svn:r497 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
* bugfixes and note missing features•••deal with content-length headers better when reading http don't assume struct socks4_info is a packed struct fail the socks handshake if destip is zero flesh out conn_state_to_string() for dir conn fix typo (bug) in connection_handle_read() directory get is now called fetch, post is now upload reopen logs on sighup svn:r475 Roger Dingledine2003-09-21
* 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
* clean up exported api's•••svn:r461 Roger Dingledine2003-09-16
* refactor connects into connection_connect()•••svn:r460 Roger Dingledine2003-09-16
* bugfix: onion pending queue now works•••and fixed recent memory leak svn:r456 Roger Dingledine2003-09-14
* reshuffle functions for cleaner organization•••svn:r451 Roger Dingledine2003-09-12
* Attempt to make sockets code work right on windows.•••svn:r398 Nick Mathewson2003-08-14
* Start of port to win32. Missing are:••• - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380 Nick Mathewson2003-08-12
* fix many bugs in package_window handling•••svn:r363 Roger Dingledine2003-07-03
* bugfix: a connection-level sendme cell would cause a connection to start•••packaging from its buffer, even if the circuit-level package-window was still 0. svn:r360 Roger Dingledine2003-06-28
* if stream ends before resolve finishes, inform resolver•••svn:r359 Roger Dingledine2003-06-27
* Change many files to new log_fn format•••svn:r333 Nick Mathewson2003-06-17
* remove on-the-fly compression feature•••it wasn't working, and it was harder than we'd anticipated not worth it. svn:r316 Roger Dingledine2003-06-13
* implement truncate and truncated (untested)•••clean up circuit_deliver_relay_cell convention svn:r312 Roger Dingledine2003-06-12
* 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
* 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
* terminology shift: data->relay, topic->relay, topic->stream•••svn:r258 Roger Dingledine2003-05-01
* Adjust straggling users of payload field•••svn:r250 Nick Mathewson2003-04-17
* Choose correct abstraction for topic_foo. Abstract random-integer code•••svn:r249 Nick Mathewson2003-04-17
* Factor out cell packing and unpacking•••svn:r240 Nick Mathewson2003-04-16
* make it work (heh)•••svn:r231 Roger Dingledine2003-04-11
* refactored some duplicate code into connection_edge.c•••svn:r230 Roger Dingledine2003-04-11