aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Collapse)AuthorAge
* when picking unverified routers, skip those with bad uptime orRoger Dingledine2004-08-20
| | | | | | | bad bandwidth, depending on what properties you care about svn:r2302
* remove last vestiges of this 'twin' conceptRoger Dingledine2004-08-18
| | | | svn:r2291
* 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 try to exclude our routerinfo from being picked in theRoger Dingledine2004-08-18
| | | | | | | | | path, it fails because we're using a pointer to the routerinfo we generate, not a pointer to the routerinfo in the routerlist. so look up the right one and use that. svn:r2286
* remove crazy notion that clique_mode() means we areRoger Dingledine2004-08-18
| | | | | | | already connected to everybody we could be connected to. svn:r2283
* be more aggressive about trying to make circuits:Roger Dingledine2004-08-18
| | | | | | | | try once a second for 30 seconds, and only when the entire previous period has failed do we pause after MAX_CIRCUIT_FAILURES failures. svn:r2281
* choose exit nodes by bandwidth tooRoger Dingledine2004-08-18
| | | | svn:r2274
* deal better if we don't have enough available nodes to choose a pathRoger Dingledine2004-08-17
| | | | svn:r2262
* if they ask for exactly one entrynode, don't pick it as an exitnode.Roger Dingledine2004-08-17
| | | | | | | also, fix part of the zero-identity-router-in-stats bug svn:r2252
* use unverified routers in the desired positionsRoger Dingledine2004-08-17
| | | | svn:r2249
* Add a generic Comma-separated-value config type, and a FirewallPorts option ↵Nick Mathewson2004-08-16
| | | | | | to tell FascistFirewall which ports are open. (Defaults to 80,443) svn:r2244
* Implement strict{entry|exit}nodes config optionsNick Mathewson2004-08-15
| | | | svn:r2236
* o clients choose nodes proportional to advertised bandwidthRoger Dingledine2004-08-15
| | | | | | | | | | o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
* fix a race condition in 008pre2: don't try to extend onto a connectionRoger Dingledine2004-08-08
| | | | | | | | | | that's still handshaking. for servers in clique mode, require the conn to be open before you'll choose it for your path. svn:r2198
* let children survive sigint, sigterm, etc.Roger Dingledine2004-08-08
| | | | | | | | this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
* commit some odds and ends, so my tree is cleanRoger Dingledine2004-08-04
| | | | svn:r2137
* change 0.0.8 extend cell format so it's compatible with 0.0.7Roger Dingledine2004-07-22
| | | | svn:r2094
* disallow picking unverified routers in circuitsRoger Dingledine2004-07-21
| | | | | | | (for now) svn:r2082
* we were counting incorrectly when trying to figure out whetherRoger Dingledine2004-07-21
| | | | | | | | a given AP stream was being handled or not. (how did this work?) svn:r2077
* make connection_tls_finish_handshake() more plausible.Roger Dingledine2004-07-21
| | | | | | | now we accept connections from unknown routers. svn:r2074
* Misc small code cleanups; remove exit_server_mode(); change tor_tls_verify ↵Nick Mathewson2004-07-21
| | | | | | behavior svn:r2073
* abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), ↵Nick Mathewson2004-07-18
| | | | | | clique_mode(), etc. Dont change underlying comments. svn:r2054
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* refuse to build a circuit before the directory has arrivedRoger Dingledine2004-07-13
| | | | | | | this will prevent a few of the 'couldn't decrypt onionskin' errors, maybe svn:r2036
* bugfix: tell circuits what id_digest to look for, soRoger Dingledine2004-07-12
| | | | | | | n_conn_open() can find waiting circuits. svn:r2034
* populate circ->n_conn_id_digest when we set circ->n_connRoger Dingledine2004-07-03
| | | | svn:r2001
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* another checkpoint toward letting ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1999
* some of the infrastructure to let ORs connect on demandRoger Dingledine2004-07-02
| | | | svn:r1998
* Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson2004-07-01
| | | | svn:r1997
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
* router_choose_random_node() was ignoring its routerlist argument.Roger Dingledine2004-05-20
| | | | | | | so now we don't pass it one. svn:r1911
* Break files apart into more modulesRoger Dingledine2004-05-13
* \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