summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-08-18when we try to exclude our routerinfo from being picked in theRoger Dingledine
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
2004-08-18even better, only print extend attempts if there are any.Roger Dingledine
svn:r2285
2004-08-18stop taking strlen of an uninitialized bufferRoger Dingledine
we were (are?) printing garbage in the rephist stats svn:r2284
2004-08-18remove crazy notion that clique_mode() means we areRoger Dingledine
already connected to everybody we could be connected to. svn:r2283
2004-08-18don't add a spurious newline before [truncated]Roger Dingledine
svn:r2282
2004-08-18be more aggressive about trying to make circuits:Roger Dingledine
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
2004-08-18bugfix: make intro circuits work againRoger Dingledine
svn:r2280
2004-08-18Avoid segfault when freeing options_t without firewall_portsNick Mathewson
svn:r2279
2004-08-18authdirservers don't need to be treated specially on hup forRoger Dingledine
making intro points svn:r2277
2004-08-18only establish intro points after we've gotten a directoryRoger Dingledine
svn:r2276
2004-08-18dirservers now don't build circuits until they have fetched aRoger Dingledine
directory from somebody else. this means they have time to build their connections first. svn:r2275
2004-08-18choose exit nodes by bandwidth tooRoger Dingledine
svn:r2274
2004-08-18Revert dumb think-o. Just because _some_ INTRODUCE2 cells are now longer,Nick Mathewson
doesn't mean we should raise the _minimum_ size. svn:r2273
2004-08-18Support new INTRODUCE2 cell formatNick Mathewson
svn:r2270
2004-08-18Functions to test nickname validityNick Mathewson
svn:r2269
2004-08-18fix unix build: CONFDIR, not CONF_DIRNick Mathewson
svn:r2267
2004-08-18Clean windows whitespaceNick Mathewson
svn:r2266
2004-08-18On windows, default datadir is APPDATA/tor, and default config file is ↵Nick Mathewson
APPDATA/tor/torrc. (APPDATA is usually somedrive:/Documents and Settings/.../Application Data/) svn:r2265
2004-08-17Move string-splitting into a separate functionNick Mathewson
svn:r2263
2004-08-17deal better if we don't have enough available nodes to choose a pathRoger Dingledine
svn:r2262
2004-08-17make csv parsing notice the last letter of each entry tooRoger Dingledine
svn:r2261
2004-08-17bugfix: make receiving csv lines not seg faultRoger Dingledine
svn:r2260
2004-08-17people with no torrc allow unverified middle/rendezvous nodes by defaultRoger Dingledine
svn:r2259
2004-08-17allow unverified nodes in middle and rendezvous positions by defaultRoger Dingledine
svn:r2258
2004-08-17when a verified routerinfo arrives with a new key than the previousRoger Dingledine
verified routerinfo with that name, close connections to the obsolete key to make way for connections to the new key. svn:r2257
2004-08-17Fix crash when looking for ~/.torrc with no $HOME setNick Mathewson
svn:r2256
2004-08-17make last patch compileNick Mathewson
svn:r2255
2004-08-17Stop logging events that happen to uninitialized digestsNick Mathewson
svn:r2254
2004-08-17if they ask for exactly one entrynode, don't pick it as an exitnode.Roger Dingledine
also, fix part of the zero-identity-router-in-stats bug svn:r2252
2004-08-17now that we parse router->uptime, make use of itRoger Dingledine
svn:r2251
2004-08-17Add strmap_isemptyNick Mathewson
svn:r2250
2004-08-17use unverified routers in the desired positionsRoger Dingledine
svn:r2249
2004-08-17Clean up last patch; implement (mostly) proper handling for ↵Nick Mathewson
verified/unverified name collisions. svn:r2248
2004-08-17Parse uptime into routerinfoNick Mathewson
svn:r2247
2004-08-17Implement AllowUnverifiedNodesNick Mathewson
svn:r2246
2004-08-17if a router claim huge bandwidth, don't believe itRoger Dingledine
svn:r2245
2004-08-16Add a generic Comma-separated-value config type, and a FirewallPorts option ↵Nick Mathewson
to tell FascistFirewall which ports are open. (Defaults to 80,443) svn:r2244
2004-08-16Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson
svn:r2243
2004-08-16o Handle servers with dynamic IP addresses: don't replaceRoger Dingledine
options->Address with the resolved one at startup. o detect our address right before we make a routerinfo each time. o external IP vs bind-IP. Already done, just use options->Address. o OutboundBindAddress config option, to bind to a specific IP address for outgoing connect()s. svn:r2241
2004-08-15Update to new choose_random_node interface.Nick Mathewson
svn:r2239
2004-08-15Check for time skew on http headers; report date in response to "GET /".Nick Mathewson
svn:r2238
2004-08-15We are an OR if ORPort *or* ORBindAddress is set; similarly for being an OPNick Mathewson
svn:r2237
2004-08-15Implement strict{entry|exit}nodes config optionsNick Mathewson
svn:r2236
2004-08-15End truncated log entries with [truncated]Nick Mathewson
svn:r2235
2004-08-15fix assert triggers in 0.0.7.x: if the other side returnsRoger Dingledine
an address 0.0.0.0, don't put it into the client dns cache. svn:r2233
2004-08-15o clients choose nodes proportional to advertised bandwidthRoger Dingledine
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
2004-08-15commit some minor fixes from this sandbox so i can commit the next oneRoger Dingledine
svn:r2229
2004-08-11Clean up tempdir after finishing unittests; use tor_temp_$PID instead of ↵Nick Mathewson
tor_temp; quit if tor_temp_$PID exists. svn:r2226
2004-08-09compile again on win32 (i think)Roger Dingledine
svn:r2222
2004-08-09minor fixtor-0.0.8pre3Roger Dingledine
svn:r2215