summaryrefslogtreecommitdiff
path: root/src/or/onion.c
AgeCommit message (Collapse)Author
2005-06-29Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson
- Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506
2005-06-13compile fix by agl, for code that is always commented outRoger Dingledine
svn:r4427
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-05-07Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson
svn:r4184
2005-05-02New and frightening code to implement fast-path first-hop CREATE_FAST cells. ↵Nick Mathewson
Watch out when we bump the version to 0.1.0.6-rc! svn:r4162
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-02-20forward-port the onion queue thingRoger Dingledine
svn:r3639
2005-02-11Free even more things on shutdown. Temporarily move tor_free_all out from ↵Nick Mathewson
#ifdef so it gets tested more. svn:r3614
2005-01-31stop logging loudly when a client tries an old onion key. it'sRoger Dingledine
time to give up on that issue, at least for now. svn:r3479
2004-12-13clean up logging,Roger Dingledine
make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-06Make options no longer a global variable.Roger Dingledine
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
2004-11-02canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine
svn:r2644
2004-10-16fix memory leak in router.c; start relying on NULL==(zero bytes)Nick Mathewson
svn:r2538
2004-10-14more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine
plus a whitespace patch on config.c from vicman svn:r2482
2004-09-29prefer tor_free to freeRoger Dingledine
plus complain more loudly when we fail to parse a dir we just fetched svn:r2401
2004-05-13Break files apart into more modulesRoger Dingledine
* \file circuitbuild.c * \brief The actual details of building circuits. * \file circuitlist.c * \brief Manage the global circuit list. * \file circuituse.c * \brief Launch the right sort of circuits, attach streams to them. * \file connection_edge.c * \brief Handle edge streams. * \file onion.c * \brief Functions to queue create cells, and handle onionskin * parsing and creation. * \file relay.c * \brief Handle relay cell encryption/decryption, plus packaging and * receiving from circuits. svn:r1863
2004-05-12Not every RSA decrypt should warn on failure.Nick Mathewson
svn:r1853
2004-05-10More doxygenation.Nick Mathewson
svn:r1832
2004-05-10function header comments for onion.c, including doxygen markupRoger Dingledine
svn:r1826
2004-04-25now assume all routers support rendezvous cellsRoger Dingledine
svn:r1699
2004-04-25use tor_assertRoger Dingledine
remove obsolete BUF_OK macro svn:r1697
2004-04-25Remove onion_pkey from connection, since onion keys can change more often ↵Nick Mathewson
than connections. Also add more log messages svn:r1693
2004-04-24Merge flagday into main branch.Nick Mathewson
svn:r1683
2004-04-17clean up some warningsRoger Dingledine
svn:r1651
2004-04-14handle more purposes in new_route_lenRoger Dingledine
svn:r1618
2004-04-12normal circs are 3 hops, but rend/intro circs are 4, becauseRoger Dingledine
the initiator doesn't get to choose the last hop svn:r1595
2004-04-07clean up choose_good_exit_server()Roger Dingledine
svn:r1542
2004-04-07Generating data does no good if you make no use of itNick Mathewson
svn:r1534
2004-04-07Don't use Tor version 0.0.5 for intro/rendezvous points. (We don't needNick Mathewson
to worry about 0.0.4 or earlier, because nobody is running them any more.) svn:r1533
2004-04-07don't pick myself or my twins as hops when building circuitsRoger Dingledine
svn:r1531
2004-04-07There is no need to cast void* to other pointer types.Nick Mathewson
svn:r1524
2004-04-07Put ourself in router list; act accordingly.Nick Mathewson
svn:r1521
2004-04-06Force hybrid encryption on for key negotiationNick Mathewson
svn:r1509
2004-04-06Stupid sizeof operator!Nick Mathewson
svn:r1508
2004-04-06Remove vestigial variableNick Mathewson
svn:r1507
2004-04-06Continue attack on magic numbers; use new crypto wrappers where possibleNick Mathewson
svn:r1504
2004-04-03Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson
ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
2004-04-03alice can intercept y.onion requests, do a lookup on them via tor,Roger Dingledine
and receive a 404 svn:r1455
2004-04-03Hide smartlist internalsNick Mathewson
svn:r1451
2004-04-02router_choose_random_node can take a smartlist of nodes to excludeRoger Dingledine
svn:r1442
2004-04-02now circuit_get_newest returns an appropriate circ for your purposeRoger Dingledine
connection_ap_handshake_attach_circuit attaches to a circ of the right purpose add a skeletal rendclient.c svn:r1441
2004-04-01For hidden services: handle INTRODUCE2, send ESTABLISH_INTRO, RENDEZVOUS1.Nick Mathewson
Also: - Add a pending final cpath element to build_state - Rename S_RENDEZVOUSING to S_CONNECT_REND - Add [CS]_REND_JOINED - Split out logic to initialize cpath crypto objects. - Have circuits/cpaths remember the KH element from their handshake, so they can use it for other authentication later. (As in ESTABLISH_INTRO) svn:r1438
2004-04-01alice chooses her rendezvous node from all running routersRoger Dingledine
and she can set preferences in her options svn:r1433
2004-04-01let the circuit-launcher choose the exit node (if he wants)Roger Dingledine
svn:r1428
2004-03-30Make smartlist Do What Arma Expects.Nick Mathewson
svn:r1401