aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
Commit message (Expand)AuthorAge
* Resolve a FIXME: use identity comparison, not nickname comparison, to•••choose circuit ID types. This is important because our view of "the nickname of the router on the other side of this connection" is skewed, and depends on whether we think the other rotuer is verified--and there's no way to know whether another router thinks you are verified. For backward compatibility, we notice when the other router chooses the same circuit ID type as us (because it's running an old version), and switch our type to be polite. svn:r2797 Nick Mathewson2004-11-10
* Clean up copyrights.•••Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698 Roger Dingledine2004-11-07
* Make options no longer a global variable.•••Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692 Roger Dingledine2004-11-06
* implement first piece of hibernation•••still need to track bandwidth, and make decisions based on bandwidth svn:r2630 Roger Dingledine2004-10-31
* tolerate old 0.0.7 clients that demand a certain ip:port for a router•••even though it's moved on to another one. also reduce some log verbosity. svn:r2288 Roger Dingledine2004-08-18
* when we get a sigint, don't accept new connections/circuits,•••but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070 Roger Dingledine2004-07-20
* clean up directory.c API•••svn:r1860 Roger Dingledine2004-05-12
* list in-points to command.c•••svn:r1849 Roger Dingledine2004-05-11
* it's amazing what a bit of punctuation can do for appearances•••svn:r1843 Roger Dingledine2004-05-10
* more doxygen markup•••plenty more remains svn:r1824 Roger Dingledine2004-05-09
* comment the functions in command.c•••this is one of the files nick regarded as scary, so hopefully these will help. svn:r1817 Roger Dingledine2004-05-07
* since we don't support truncateds much, don't bother sending them;•••just close the circ. (this wasn't relevant before, because we were mis-handling destroys.) svn:r1711 Roger Dingledine2004-04-26
* Better error msg on unknown circuit id.•••svn:r1708 Nick Mathewson2004-04-26
* compress end-of-second summary into one line•••svn:r1635 Roger Dingledine2004-04-15
* Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath•••svn:r1555 Nick Mathewson2004-04-08
* make rend apconn send to the right cpath layer•••and fix circuit_log_path to know about rend circs svn:r1496 Roger Dingledine2004-04-05
* refactor; start adding debugging logs to midpoint rend stuff•••svn:r1445 Nick Mathewson2004-04-02
* Add rendezvous-related metadata and code to circuits. Initially, we•••thought that a complicated adjunct structure would be necessary, but it doesn't look that way anymore. Of course, I might have forgotten something. svn:r1396 Nick Mathewson2004-03-30
* Split out mark_for_close with circuits. Seems to work for me.•••svn:r1197 Nick Mathewson2004-03-02
* clean up some log messages and severities•••still plenty more left to clean svn:r1158 Roger Dingledine2004-02-28
* checkpoint: revamp relay cell packaging and handling•••include the infrastructure for inserting padding cells when there's a relay-recognized conflict, but it does not work currently. svn:r958 Roger Dingledine2003-12-23
* remove trailing whitespace•••svn:r951 Roger Dingledine2003-12-17
* move cell size to 512 bytes•••move length to 2 bytes, put it in the relay header remove 4 reserved bytes in cell add 4 bytes to relay header for the integrity check svn:r942 Roger Dingledine2003-12-16
* add H(K|1) to the onionskin reply•••verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941 Roger Dingledine2003-12-16
* don't build too many circs at once•••expire circs that have been building for too long svn:r835 Roger Dingledine2003-11-18
* bugfix: if you recognize a relay cell, don't also pass it on.•••svn:r816 Roger Dingledine2003-11-16
* Rename aci to circ_id throughout.•••svn:r784 Nick Mathewson2003-11-11
* change WARNING to WARN•••and fix a few typos svn:r571 Roger Dingledine2003-10-10
* 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
* Add new cell fullness and bandwidth stats.•••svn:r533 Nick Mathewson2003-10-02
* bugfixes and features: closer to making dirserv work•••fix a variety of seg faults don't try to list OPs in running-routers write cached-directory to disk when rebuilding the dir on boot, dirservers load approved-routers file on boot, dirservers load cached directory file svn:r508 Roger Dingledine2003-09-29
* 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
* clean up exported api's•••svn:r461 Roger Dingledine2003-09-16
* implemented cpuworkers•••please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402 Roger Dingledine2003-08-20
* 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
* send truncates AP-ward in a circuit, not destroys•••svn:r313 Roger Dingledine2003-06-13
* implement truncate and truncated (untested)•••clean up circuit_deliver_relay_cell convention svn:r312 Roger Dingledine2003-06-12
* 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
* sign directories with the signing key•••svn:r274 Roger Dingledine2003-05-07
* 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
* 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