aboutsummaryrefslogtreecommitdiff
path: root/src/or/onion.c
Commit message (Collapse)AuthorAge
...
* bugfixesRoger Dingledine2003-11-16
| | | | svn:r818
* initial patches on patchesRoger Dingledine2003-11-16
| | | | svn:r814
* Finish implementing the rest of the exitpolicy stuff, except for ↵Nick Mathewson2003-11-16
| | | | | | automatically starting circuit builds. svn:r813
* Improved exit policy syntax; basic client-side DNS caching.Nick Mathewson2003-11-14
| | | | | | | | | | | | | | | | | | | | - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts 18.0.0.0/8. Policies are parsed on startup, not when comparing to them. - desired_path_len is now part of an opaque cpath_build_state_t structure. - END_REASON_EXITPOLICY cells no longer include a port. - RELAY_COMMAND_CONNECTED cells now include the IP address we've connected to. - connection_edge now has a client_dns cache to remember resolved addresses. It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY cells. It gets used by connection_ap_handshake_send_begin. We don't compare it to exit policies yet. svn:r812
* bump default pathlen to 3; clean up surrounding codeRoger Dingledine2003-11-13
| | | | svn:r810
* lay groundwork for EntryNodes and ExitNodesRoger Dingledine2003-11-12
| | | | svn:r805
* Make crypto_pseudo_rand* never fail.Nick Mathewson2003-11-12
| | | | svn:r797
* Remove dead codeNick Mathewson2003-11-12
| | | | svn:r794
* Compute paths as we build them.Nick Mathewson2003-11-12
| | | | svn:r793
* Refactor onion_generate_cpath to build cpaths one hop at a time. ThisNick Mathewson2003-11-12
| | | | | | | | | | | is a the first step in computing hops one step at a time. Next, we move the responsibility for calling onion_extend_cpath into circuit.c (Later, we may want to special-case onion_extend_cpath to treat entry and exit routers differently.) svn:r792
* Rename aci to circ_id throughout.Nick Mathewson2003-11-11
| | | | svn:r784
* move closer to being able to reload config on HUPRoger Dingledine2003-10-21
| | | | | | | | rename APPort to SocksPort introduce new tor_free() macro svn:r642
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | | | | and fix a few typos svn:r571
* Refactor, rename, and clarifyNick Mathewson2003-10-09
| | | | svn:r569
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* minor fixes; bump to 0.0.2pre10Roger Dingledine2003-10-07
| | | | svn:r551
* refactor so connection_write_to_buf() never failsRoger Dingledine2003-10-04
| | | | svn:r537
* my_routerinfo, router_is_me, and learn_my_address are obsoleteRoger Dingledine2003-10-01
| | | | | | | ACIs are decided now by strcmp'ing nicknames, rather than comparing addr:port svn:r529
* getting closer to having dirserv workingRoger Dingledine2003-09-30
| | | | | | | | we now add our own descriptor to the descriptor list and we rebuild the directory (and dump to disk) after receiving a POST svn:r509
* 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
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | '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
* bugfixes and refactoringsRoger Dingledine2003-09-16
| | | | svn:r468
* clean up exported api'sRoger Dingledine2003-09-16
| | | | svn:r461
* bugfix: onion pending queue now worksRoger Dingledine2003-09-14
| | | | | | | and fixed recent memory leak svn:r456
* fix the cpuworker circ-had-vanished bug (maybe)Roger Dingledine2003-09-14
| | | | | | | still several (many) tls-related bugs outstanding. svn:r454
* 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
* start refactoring dnsworker so testing won't be so darn hardRoger Dingledine2003-08-14
| | | | | | | | | add NumCpus config variable in preparation for cpuworkers hardcode /etc/torrc path for config (simplifies win32 port) improve exit policy debugging during router entry parsing svn:r397
* src/orNick Mathewson2003-07-30
| | | | svn:r371
* Remove false warnings from printf checksNick Mathewson2003-06-21
| | | | svn:r340
* When debugging, dump key materialNick Mathewson2003-06-14
| | | | svn:r323
* Fix the periodic bug that would make handshaking fail.Nick Mathewson2003-06-14
| | | | | | | | The culprit: sometimes DH_calculate_key returns less than DH_KEY_LEN bytes; we needed to check the return value. svn:r322
* Better test messages for onion skin bugNick Mathewson2003-06-13
| | | | svn:r319
* 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
* implement truncate and truncated (untested)Roger Dingledine2003-06-12
| | | | | | | clean up circuit_deliver_relay_cell convention svn:r312
* Answer question about eliminating symmetric encryption from onion skinsNick Mathewson2003-06-02
| | | | svn:r304
* OPport is gone. So is conn type OP.Roger Dingledine2003-05-28
| | | | svn:r298
* correct the comments, plus a question for nickRoger Dingledine2003-05-26
| | | | svn:r295
* 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
* 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
* Implement core of onion-skin-based handshakeNick Mathewson2003-05-01
| | | | svn:r259
* terminology shift: data->relay, topic->relay, topic->streamRoger Dingledine2003-05-01
| | | | svn:r258
* Adjust straggling users of payload fieldNick Mathewson2003-04-17
| | | | svn:r250
* Choose correct abstraction for topic_foo. Abstract random-integer codeNick Mathewson2003-04-17
| | | | svn:r249