aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
Commit message (Collapse)AuthorAge
* 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
* remove popt dependency, consolidate config stuffRoger Dingledine2002-11-23
| | | | | | | reformat parts of onion.c svn:r136
* cleanup and a variety of bugfixesRoger Dingledine2002-10-02
| | | | svn:r132
* Add convenience functions to wrap create and init for symmetric ciphers; ↵Nick Mathewson2002-10-02
| | | | | | clean up error handling in onion.c svn:r131
* cell now has a network appearance and an internal (struct) appearanceRoger Dingledine2002-10-02
| | | | svn:r130
* introduced a periodic keepalive padding cellRoger Dingledine2002-10-01
| | | | | | | | | now tor can be run safely inside nat'ed areas that kill idle connections; and the proxy can handle when you suspend your laptop and then emerge hours later from a new domain. svn:r125
* more robust http(ish) handlingRoger Dingledine2002-09-28
| | | | svn:r123
* catch hup to reload directory/router listRoger Dingledine2002-09-28
| | | | svn:r121
* cleanupRoger Dingledine2002-09-28
| | | | | | | | | | prkey is only fetched when it's needed tor nodes who aren't dirservers now fetch directories and autoconnect to new nodes listed in the directory default role is a non-dirserver node svn:r120
* dirserver should include itself in the directoryRoger Dingledine2002-09-26
| | | | | | | if connecting to a dirserver fails, remove it from the router array svn:r113
* directory servers in and functionalRoger Dingledine2002-09-26
| | | | | | | | proxies now periodically pull down an hourly-updated directory, and replace their router list with it if it parses correctly. svn:r112
* laying the groundwork for dynamic router listsRoger Dingledine2002-09-24
| | | | | | | | | | | | | | | | revamped the router reading section reference counting for crypto pk env's (so we can dup them) we now read and write pem pk keys from string rather than from FILE*, in anticipation of fetching directories over a socket (so now on startup we slurp in the whole file, then parse it as a string) fixed a bug in the proxy side, where you could get some circuits wedged if they showed up while the connection was being made svn:r110
* more robust when only some of the socks info has arrivedRoger Dingledine2002-09-23
| | | | svn:r108
* onion proxy now speaks socks4aRoger Dingledine2002-09-22
| | | | | | | | | | | httpap is obsolete; we support privoxy directly now! smtpap is obsolete; need to find a good socks4a-enabled smtp proxy/client I dub thee 0.0.1. svn:r107
* kill -USR1 the or and it will dump conn/circuit stats to stdoutRoger Dingledine2002-09-21
| | | | svn:r106
* synchronize to the version i've been giving people to testRoger Dingledine2002-09-19
| | | | svn:r104
* added 'connected' cell typeRoger Dingledine2002-09-17
| | | | | | | see http://archives.seul.org/or/dev/Sep-2002/msg00018.html svn:r103