aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Collapse)AuthorAge
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | 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
* make the default default options.FirewallPorts be the defaultRoger Dingledine2004-11-04
| | | | svn:r2683
* break out validate_optionsRoger Dingledine2004-11-04
| | | | | | | leave options.FirewallPorts NULL if it's NULL svn:r2673
* - Implement all of control interface except authentication, setconfig,Nick Mathewson2004-11-03
| | | | | | | | | and actually making the sockets. - Make sure that identity-based nicknames start with $. - Use new string_join interface. svn:r2661
* lay the groundwork for a default value for each config option.Roger Dingledine2004-11-03
| | | | | | | tolerate null exitnodes, entrynodes, etc config options. svn:r2655
* Fix paul gardner's assert bug. Turns out when circuit_launch_by_nickname()Roger Dingledine2004-10-30
| | | | | | | | | failed at the first hop, it would try to relaunch another circ right then, even though the first circuit hadn't been populated yet with its pending_final_cpath. svn:r2624
* Tricksy compiler warnings! We hates them, hates them forever, my precious!Nick Mathewson2004-10-27
| | | | svn:r2615
* Use tor_snprintf, not snprintfNick Mathewson2004-10-27
| | | | svn:r2609
* Replace sprintf with snprintfNick Mathewson2004-10-27
| | | | svn:r2602
* start the process of making 0.0.7* obsoleteRoger Dingledine2004-10-17
| | | | svn:r2565
* various tweaks and fixesRoger Dingledine2004-10-16
| | | | svn:r2548
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2544
* Implement "families" of coadministered nodes; prevent them all from ↵Nick Mathewson2004-10-15
| | | | | | appearing on the same circuit. svn:r2523
* Try to always dtrt if routerlist==NULLNick Mathewson2004-10-14
| | | | svn:r2489
* more int to size_t conversions, fixing one or more amd64 bugsRoger Dingledine2004-10-14
| | | | | | | plus a whitespace patch on config.c from vicman svn:r2482
* fix the stale pointer assert bug reported by joe magicRoger Dingledine2004-10-11
| | | | svn:r2436
* Fix a rare assert trigger, where routerinfos for entries in our cpathRoger Dingledine2004-09-30
| | | | | | | | would expire while we're building the path. Thanks to Eugene Armstead for pointing it out. svn:r2402
* don't pick administrative-friends when picking your pathRoger Dingledine2004-09-10
| | | | | | | (just a skeleton for now) svn:r2349
* 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