aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
Commit message (Collapse)AuthorAge
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* Clean up some logging and interfacesNick Mathewson2004-11-23
| | | | svn:r2945
* stop some more seg faultsRoger Dingledine2004-11-20
| | | | svn:r2921
* Resolve a FIXME: use identity comparison, not nickname comparison, toNick Mathewson2004-11-10
| | | | | | | | | | | | | | | 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
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | 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
* implement first piece of hibernationRoger Dingledine2004-10-31
| | | | | | | still need to track bandwidth, and make decisions based on bandwidth svn:r2630
* tolerate old 0.0.7 clients that demand a certain ip:port for a routerRoger Dingledine2004-08-18
| | | | | | | | | even though it's moved on to another one. also reduce some log verbosity. svn:r2288
* when we get a sigint, don't accept new connections/circuits,Roger Dingledine2004-07-20
| | | | | | | | but delay 30 seconds until exiting. if we get a second sigint, exit immediately. svn:r2070
* clean up directory.c APIRoger Dingledine2004-05-12
| | | | svn:r1860
* list in-points to command.cRoger Dingledine2004-05-11
| | | | svn:r1849
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* comment the functions in command.cRoger Dingledine2004-05-07
| | | | | | | | this is one of the files nick regarded as scary, so hopefully these will help. svn:r1817
* since we don't support truncateds much, don't bother sending them;Roger Dingledine2004-04-26
| | | | | | | | | just close the circ. (this wasn't relevant before, because we were mis-handling destroys.) svn:r1711
* Better error msg on unknown circuit id.Nick Mathewson2004-04-26
| | | | svn:r1708
* compress end-of-second summary into one lineRoger Dingledine2004-04-15
| | | | svn:r1635
* Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpathNick Mathewson2004-04-08
| | | | svn:r1555
* make rend apconn send to the right cpath layerRoger Dingledine2004-04-05
| | | | | | | and fix circuit_log_path to know about rend circs svn:r1496
* refactor; start adding debugging logs to midpoint rend stuffNick Mathewson2004-04-02
| | | | svn:r1445
* Add rendezvous-related metadata and code to circuits. Initially, weNick Mathewson2004-03-30
| | | | | | | | | | 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
* Split out mark_for_close with circuits. Seems to work for me.Nick Mathewson2004-03-02
| | | | svn:r1197
* clean up some log messages and severitiesRoger Dingledine2004-02-28
| | | | | | | still plenty more left to clean svn:r1158
* checkpoint: revamp relay cell packaging and handlingRoger Dingledine2003-12-23
| | | | | | | | include the infrastructure for inserting padding cells when there's a relay-recognized conflict, but it does not work currently. svn:r958
* remove trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r951
* move cell size to 512 bytesRoger Dingledine2003-12-16
| | | | | | | | | 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
* add H(K|1) to the onionskin replyRoger Dingledine2003-12-16
| | | | | | | | | | verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941
* don't build too many circs at onceRoger Dingledine2003-11-18
| | | | | | | expire circs that have been building for too long svn:r835
* bugfix: if you recognize a relay cell, don't also pass it on.Roger Dingledine2003-11-16
| | | | svn:r816
* Rename aci to circ_id throughout.Nick Mathewson2003-11-11
| | | | svn:r784
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | | | | and fix a few typos svn:r571
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* refactor around connection_edge_send_command()Roger Dingledine2003-10-04
| | | | svn:r539
* wrap strdup; prefer time() to gettimeofday()Roger Dingledine2003-10-04
| | | | svn:r538
* Add new cell fullness and bandwidth stats.Nick Mathewson2003-10-02
| | | | svn:r533
* bugfixes and features: closer to making dirserv workRoger Dingledine2003-09-29
| | | | | | | | | | | 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
* clean up receiver buckets; prepare for payloads in relay_end; note a few bugsRoger Dingledine2003-09-27
| | | | svn:r502
* first pass: obey log conventionRoger Dingledine2003-09-26
| | | | | | | | | | | | | | | | | | | | | 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
* clean up exported api'sRoger Dingledine2003-09-16
| | | | svn:r461
* implemented cpuworkersRoger Dingledine2003-08-20
| | | | | | | | | | please poke at it and report bugs still needs polishing, and only handles onions now (should handle OR handshakes too) svn:r402
* Change many files to new log_fn formatNick Mathewson2003-06-17
| | | | svn:r333
* relay queues are obsolete (woo!)Roger Dingledine2003-06-13
| | | | | | | | | | | 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
* send truncates AP-ward in a circuit, not destroysRoger Dingledine2003-06-13
| | | | svn:r313
* implement truncate and truncated (untested)Roger Dingledine2003-06-12
| | | | | | | clean up circuit_deliver_relay_cell convention svn:r312
* remove dead codeRoger Dingledine2003-05-20
| | | | | | | | | | 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
* add circuit-level sendme relay cellsRoger Dingledine2003-05-20
| | | | | | | | | | remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293
* sign directories with the signing keyRoger Dingledine2003-05-07
| | | | svn:r274
* put some symbolic constants to the onion skin lengthsRoger Dingledine2003-05-06
| | | | svn:r265
* incremental path building in; uses ephemeral DH; onions are goneRoger Dingledine2003-05-05
| | | | | | | still need to change circuit-level sendmes svn:r264