aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* now that we parse router->uptime, make use of itRoger Dingledine2004-08-17
| | | | svn:r2251
* Add strmap_isemptyNick Mathewson2004-08-17
| | | | svn:r2250
* use unverified routers in the desired positionsRoger Dingledine2004-08-17
| | | | svn:r2249
* Clean up last patch; implement (mostly) proper handling for ↵Nick Mathewson2004-08-17
| | | | | | verified/unverified name collisions. svn:r2248
* Parse uptime into routerinfoNick Mathewson2004-08-17
| | | | svn:r2247
* Implement AllowUnverifiedNodesNick Mathewson2004-08-17
| | | | svn:r2246
* if a router claim huge bandwidth, don't believe itRoger Dingledine2004-08-17
| | | | svn:r2245
* 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
* Convenience function to do a strcmp on each member of a smartlist of stringsNick Mathewson2004-08-16
| | | | svn:r2243
* o Handle servers with dynamic IP addresses: don't replaceRoger Dingledine2004-08-16
| | | | | | | | | | | 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
* Update to new choose_random_node interface.Nick Mathewson2004-08-15
| | | | svn:r2239
* Check for time skew on http headers; report date in response to "GET /".Nick Mathewson2004-08-15
| | | | svn:r2238
* We are an OR if ORPort *or* ORBindAddress is set; similarly for being an OPNick Mathewson2004-08-15
| | | | svn:r2237
* Implement strict{entry|exit}nodes config optionsNick Mathewson2004-08-15
| | | | svn:r2236
* End truncated log entries with [truncated]Nick Mathewson2004-08-15
| | | | svn:r2235
* fix assert triggers in 0.0.7.x: if the other side returnsRoger Dingledine2004-08-15
| | | | | | | an address 0.0.0.0, don't put it into the client dns cache. svn:r2233
* 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
* commit some minor fixes from this sandbox so i can commit the next oneRoger Dingledine2004-08-15
| | | | svn:r2229
* Clean up tempdir after finishing unittests; use tor_temp_$PID instead of ↵Nick Mathewson2004-08-11
| | | | | | tor_temp; quit if tor_temp_$PID exists. svn:r2226
* compile again on win32 (i think)Roger Dingledine2004-08-09
| | | | svn:r2222
* minor fixRoger Dingledine2004-08-09
| | | | svn:r2215
* make "%llu" less likely to warn on weird platformsRoger Dingledine2004-08-09
| | | | svn:r2209
* Add replace_file to util.[ch] to survive stupidity of windows rename callNick Mathewson2004-08-09
| | | | svn:r2208
* Fix commentNick Mathewson2004-08-09
| | | | svn:r2207
* Fix bug in saving onion keys to disk when rotating; also survive short-term ↵Nick Mathewson2004-08-09
| | | | | | shutdowns better svn:r2206
* Make unittests passNick Mathewson2004-08-09
| | | | svn:r2205
* Fix a fencepost error in the last bandwidth reporting fixNick Mathewson2004-08-08
| | | | svn:r2202
* stop wasting cpu time on authdirserversRoger Dingledine2004-08-08
| | | | | | | | we were making a new directory only when the old one was dirty, but every time we made one, we'd dirty it by testing it right then. svn:r2199
* 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
* reject the default edonkey, kazaa, gnutella portsRoger Dingledine2004-08-08
| | | | | | | to slow the coming flood svn:r2195
* Don't warn about being unverified if you're not in the running-routersRoger Dingledine2004-08-07
| | | | | | | list at all. svn:r2193
* touch-upsRoger Dingledine2004-08-07
| | | | svn:r2192
* Handle loop initialization for bandwidth tracking properlyNick Mathewson2004-08-07
| | | | svn:r2190
* Only warn about version newness onceNick Mathewson2004-08-07
| | | | svn:r2189
* list the port and socks version when complaining about unsafe socksRoger Dingledine2004-08-07
| | | | svn:r2188
* Allow multiple ORs with same nickname in routerlistNick Mathewson2004-08-07
| | | | svn:r2187
* Remove obsolete link-key keywordNick Mathewson2004-08-07
| | | | svn:r2186
* router_get_hash_impl would fail when end_str started with \n. Now it works.Nick Mathewson2004-08-07
| | | | svn:r2185
* rotate onion keys every 12 hours, not every 2 hoursRoger Dingledine2004-08-07
| | | | svn:r2184
* Fix a leakNick Mathewson2004-08-07
| | | | svn:r2183
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
* avoid racing the mark-for-close when the client hangs up on usRoger Dingledine2004-08-07
| | | | | | | | at the same time we get an end relay cell. (thanks to wmf for reminding me) svn:r2181
* untwisting the logic, it would seem the pkey is always defined?Roger Dingledine2004-08-07
| | | | svn:r2180
* Comment about n_args<1 is correct, since all directory servers are running ↵Nick Mathewson2004-08-07
| | | | | | post-007x versions svn:r2179
* fencepostNick Mathewson2004-08-07
| | | | svn:r2178
* print the name of the dirserver that told us we were unverifiedRoger Dingledine2004-08-07
| | | | | | | nick, please review this. svn:r2177
* Always initialize hexid in rend_mid_rendezvous, no matter whatNick Mathewson2004-08-07
| | | | svn:r2176
* hex_encode is obsoleted by base16_encode, and never actually worked in the ↵Nick Mathewson2004-08-07
| | | | | | first place. (Thanks to Timo Lindfors for noticing the never-actually-worked part.) svn:r2175