aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* 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
* work on versioning; new log_fn functionNick Mathewson2003-05-09
| | | | svn:r288
* removed obsolete version.hRoger Dingledine2003-05-09
| | | | svn:r285
* Routerinfos are no longer linkedNick Mathewson2003-05-09
| | | | svn:r283
* (possibly incorrect) code to make routers get resolved when they'reNick Mathewson2003-05-08
| | | | | | | | | | inserted into the directory. Roger: If you can answer the question with your name on it, you may prevent a segfault before it happens. :) svn:r277
* Call the right signed-directory functions; try to describe the difference ↵Nick Mathewson2003-05-08
| | | | | | between everything; remove some unused interfaces svn:r276
* sign directories with the signing keyRoger Dingledine2003-05-07
| | | | svn:r274
* Tested backends for directory signing and checking. Directory parser ↵Nick Mathewson2003-05-07
| | | | | | completely refactored. Need documentation and integration. Explanitory mail forthcoming. svn:r271
* Decrease DH group length to 1024. (Roger, you may want to read section 1 of ↵Nick Mathewson2003-05-07
| | | | | | the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.) svn:r269
* More work on directories. Signed directories not yet tested. No support for ↵Nick Mathewson2003-05-07
| | | | | | checking sigs yet svn:r268
* Refactor directories; add unit tests; add router keywordNick Mathewson2003-05-06
| | | | svn:r266
* 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
* Tests, headers, and debugging for onion skin backendNick Mathewson2003-05-05
| | | | svn:r263
* streams are now 8 bytes, and are recognized by intermediate hopsRoger Dingledine2003-05-02
| | | | | | | | the OP only crypts the appropriate number of times depending on which layer (hop on the path) it's for/from. svn:r262
* cpath is now a doubly linked list, not an arrayRoger Dingledine2003-05-01
| | | | svn:r260
* terminology shift: data->relay, topic->relay, topic->streamRoger Dingledine2003-05-01
| | | | svn:r258
* Choose correct abstraction for topic_foo. Abstract random-integer codeNick Mathewson2003-04-17
| | | | svn:r249
* Factor out cell packing and unpackingNick Mathewson2003-04-16
| | | | svn:r240
* Factor out timeval-related functions.Nick Mathewson2003-04-16
| | | | svn:r237
* Remove the notion of "onion ciphers"; make packing and unpacking separate fnsNick Mathewson2003-04-16
| | | | svn:r236
* add missing prototypeRoger Dingledine2003-04-16
| | | | svn:r235
* divorce circuit building from user connectionsRoger Dingledine2003-04-16
| | | | | | | | now we rebuild the circuit periodically (but only if it's been used), and we can further abstract it to do incremental circuit building, etc. svn:r233
* Introduce a few unit tests (from older code), refactor compression ↵Nick Mathewson2003-04-15
| | | | | | setup/teardown svn:r232
* make it work (heh)Roger Dingledine2003-04-11
| | | | svn:r231
* refactored some duplicate code into connection_edge.cRoger Dingledine2003-04-11
| | | | svn:r230
* put most of the remaining exit policy stuff inRoger Dingledine2003-04-08
| | | | | | | route selection still doesn't pay attention to exit policies though svn:r227
* parse exit policy linesRoger Dingledine2003-04-07
| | | | svn:r225
* Add magic to end of C files to make emacs happy; split test invocation into ↵Nick Mathewson2003-04-07
| | | | | | separate file. svn:r224
* move cell size to 256. seems to work (?)Roger Dingledine2003-03-24
| | | | svn:r218
* fix rare race conditionRoger Dingledine2003-03-24
| | | | | | | | if the directory is remade while an OR is handshaking, the directory needs to become dirty again when the handshake succeeds svn:r215
* kludge because openssl and zlib both typedef free_func :(Roger Dingledine2003-03-19
| | | | svn:r208
* Finish zlib and half-open; switch to 3des (ede/ofb)Nick Mathewson2003-03-19
| | | | svn:r198
* greatly simplify this notion of 'roles':Roger Dingledine2003-03-18
| | | | | | | | if your ORPort is non-zero then you must connect to all nodes if your DirPort is non-zero then you must act like a directory server svn:r192
* Add code for end-to-end zlib compression. Still needs flow-controlNick Mathewson2003-03-17
| | | | svn:r187
* lazy (just in time) directory rebuildingRoger Dingledine2003-03-11
| | | | svn:r174
* clean out obsolete cell typesRoger Dingledine2003-03-07
| | | | svn:r170
* minor code cleanupRoger Dingledine2003-03-05
| | | | svn:r166
* let up on the bandwidth constraintsRoger Dingledine2003-02-18
| | | | svn:r162
* Bugfixes and enhancements in sendmes and dns farmRoger Dingledine2003-02-18
| | | | svn:r161
* rudimentary dns caching (of both resolves and resolve failures)Roger Dingledine2003-02-14
| | | | | | | serious performance increase over non-caching svn:r158
* fix endian issues for topics -- they might work on bsd nowRoger Dingledine2003-02-06
| | | | | | | | | (they wouldn't have before) alternate code which bypasses the dns farm, so we can compare speed svn:r154
* make reusing circuits work (and be the default)Roger Dingledine2003-02-06
| | | | | | | performance is better, but not by much. not sure why yet. svn:r153
* major overhaul: dns slave subsystem, topicsRoger Dingledine2003-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | on startup, it forks off a master dns handler, which forks off dns slaves (like the apache model). slaves as spawned as load increases, and then reused. excess slaves are not ever killed, currently. implemented topics. each topic has a receive window in each direction at each edge of the circuit, and sends sendme's at the data level, as per before. each circuit also has receive windows in each direction at each hop; an edge sends a circuit-level sendme as soon as enough data cells have arrived (regardless of whether the data cells were flushed to the exit conns). removed the 'connected' cell type, since it's now a topic command within data cells. at the edge of the circuit, there can be multiple connections associated with a single circuit. you find them via the linked list conn->next_topic. currently each new ap connection starts its own circuit, so we ought to see comparable performance to what we had before. but that's only because i haven't written the code to reattach to old circuits. please try to break it as-is, and then i'll make it reuse the same circuit and we'll try to break that. svn:r152
* use a rbtree for replay detection, rather than linear searchRoger Dingledine2002-12-31
| | | | | | | | when we had lots of new onions coming in, we were using 40% of our time searching through the tracked_onions linked list. svn:r150
* onions go on and off the network correctly nowRoger Dingledine2002-12-03
| | | | | | | | we're closer to an OS X port CVS: ---------------------------------------------------------------------- svn:r146
* create cells are now queued and processed only when idleRoger Dingledine2002-11-27
| | | | | | | | | | | we also queue data cells destined for a circuit that is pending, and process them once the circuit opens destroys reach into the queue and remove the pending onion, along with its collected data cells svn:r142
* per-second cell statistics to help with profilingRoger Dingledine2002-11-24
| | | | svn:r140
* added OnionsPerSecond to prevent create floodingRoger Dingledine2002-11-23
| | | | | | | first cut, probably needs more playing with svn:r137