aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
* fix another integer underflow caused by buckets going negativeRoger Dingledine2005-01-12
| | | | svn:r3346
* fix up some commentsRoger Dingledine2005-01-12
| | | | svn:r3345
* tolerate bandwidtch buckets going negative (i hope)Roger Dingledine2005-01-12
| | | | svn:r3344
* Make Tor use Niels Provos's libevent instead of it's currentNick Mathewson2005-01-12
| | | | | | | | | | | | poll-but-sometimes-select mess. This will let us use faster async cores (like epoll, kpoll, and /dev/poll), and hopefully work better on Windows too. There are some fairly nasty changes to main.c here; this will almost certainly break something. But hey, that's what alphas are for. svn:r3341
* add more chat and interactive protocols to LongLivedPortsRoger Dingledine2005-01-12
| | | | svn:r3340
* Annotate circuits w/ whether they aim to contain high uptime nodes and/orRoger Dingledine2005-01-12
| | | | | | | | | | | | | | | | | high capacity nodes. When building circuits, choose appropriate nodes. New config option LongLivedPorts to indicate application streams that will want high uptime circuits. When attaching a stream to a circuit, pay attention to its requirements. This means that every single node in an intro rend circuit, not just the last one, will have a minimum uptime. Boost the min uptime from an hour to 24 hours. svn:r3339
* if somebody starts his tor server in jan 2004 and then fixes hisRoger Dingledine2005-01-11
| | | | | | | clock, don't make his published uptime be a year. svn:r3337
* if you're a server and the auth dirservers are down, go to any otherRoger Dingledine2005-01-10
| | | | | | | | server. only give up hope on network reachability when no other servers are reachable either. svn:r3335
* separate time_of_process_start from stats_n_seconds_uptime:Roger Dingledine2005-01-10
| | | | | | | | | now we reset uptime when a dir fetch entirely fails. this hopefully has something to do with stability of being on the network. svn:r3333
* it helps to use the correct name for the structRoger Dingledine2005-01-10
| | | | svn:r3331
* when pruning circuit-wait streams when a dir fetch failed,Roger Dingledine2005-01-10
| | | | | | | | refer in logs to the destination address, not the address of the application connection. svn:r3330
* when we haven't fetched a directory yet, or the last time weRoger Dingledine2005-01-07
| | | | | | | | | | | | tried they were all unreachable, assume we are not connected to the network. when an application request comes in during this state, be optimistic and assume we just reconnected. fetch a new directory and if it works, begin making circuits. svn:r3327
* fix unit tests: address has to be a non-private IP, and socksportRoger Dingledine2005-01-07
| | | | | | | needs to be 0. svn:r3324
* new config option DirAllowPrivateAddresses for authdirservers.Roger Dingledine2005-01-06
| | | | | | | | now by default they refuse router descriptors that have non-IP or private-IP addresses. svn:r3321
* Fix a fun bug: do not rewrite a cached directory back to the cache; ↵Nick Mathewson2005-01-06
| | | | | | otherwise we will think it is recent and not fetch a newer one. svn:r3319
* finish marking my comment in main.cRoger Dingledine2005-01-06
| | | | svn:r3318
* clean up string printing in relay logsRoger Dingledine2005-01-06
| | | | svn:r3317
* fix trivial typo in log entryRoger Dingledine2005-01-06
| | | | svn:r3316
* typo spotted by chrisNick Mathewson2005-01-05
| | | | svn:r3308
* Implement SIGNAL control command.Nick Mathewson2005-01-05
| | | | svn:r3307
* Stop reversing and re-reversing config lines: keep them in order all the ↵Nick Mathewson2005-01-05
| | | | | | time. Removes needless confusion and fixes bug #50. svn:r3305
* Remove broken and undocumented wart where multiple CSV config lines are ↵Nick Mathewson2005-01-05
| | | | | | appended rather than replaced. Resolves bug #49 svn:r3301
* fix duplicate dns_cancel_pending_resolve reported by Giorgos PallasRoger Dingledine2005-01-04
| | | | svn:r3293
* bandaid: make Giorgos Pallas's dns assert bug not actually crash on him.Roger Dingledine2005-01-04
| | | | | | | one day we should try to figure out what's actually going on here. svn:r3280
* Nothing actually _uses_ socks_port, so why publish it? For backward ↵Nick Mathewson2005-01-04
| | | | | | compatibility, publish a socks_port of 0, and never read socks_port. svn:r3279
* post 0.0.9.x, demand that servers declare at least 20000 bytes/sRoger Dingledine2005-01-04
| | | | | | | for bandwidthrate svn:r3277
* Make sequence of log messages when starting on win32 with no config file ↵Nick Mathewson2005-01-04
| | | | | | more reasonable. svn:r3275
* forward-port the fix for the compiler warningRoger Dingledine2005-01-04
| | | | svn:r3273
* update print_usage to use new urlRoger Dingledine2005-01-03
| | | | svn:r3267
* update url for when users try to use socksport as an http proxyRoger Dingledine2005-01-03
| | | | svn:r3265
* Log when we retry a directory connectionNick Mathewson2005-01-03
| | | | svn:r3258
* Use correct logic to decide whether there are more directory servers to retry.Nick Mathewson2005-01-03
| | | | svn:r3257
* Split mark-dir-failed-and-retry logic into separate function; make it retry ↵Nick Mathewson2005-01-03
| | | | | | runningrouters as well as directory fetches; note that the do-we-need-to-give-up test is wrong. svn:r3256
* Fix an unused function warningNick Mathewson2005-01-03
| | | | svn:r3255
* Make directory fail-and-retry logic happen in connection_about_to_close(); ↵Nick Mathewson2005-01-03
| | | | | | fixes win32 bug. svn:r3253
* More work on task #43: fix race conditions on multithreaded (win32) servers.Nick Mathewson2005-01-03
| | | | svn:r3251
* Possible fix for task #43: when running on a multithreaded environment ↵Nick Mathewson2005-01-03
| | | | | | (currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244
* bugfix: if a server uploads a descriptor that's unapproved, actuallyRoger Dingledine2005-01-03
| | | | | | | tell him so. svn:r3243
* stop checking for clock skew, even for servers.Roger Dingledine2005-01-03
| | | | | | | | | this means we are vulnerable to an attack where somebody recovers and uses a really old certificate. however, if they do that, they probably can get our identity key just as easily. svn:r3241
* fix the assert bug reported by bassclef@163.comRoger Dingledine2005-01-02
| | | | svn:r3237
* Fix a double-mark-for-close bug, where we were finding a connRoger Dingledine2005-01-01
| | | | | | | | | for a cell even if that conn is already marked for close. Don't back-port to 0.0.9.x, since this fix could have weird implications. svn:r3235
* when a dirserver causes you to give a warn, mention which dirserver it wasRoger Dingledine2005-01-01
| | | | svn:r3234
* ...but only if you're a serverRoger Dingledine2004-12-31
| | | | svn:r3233
* require BandwidthRate to be at least 10kB/sRoger Dingledine2004-12-31
| | | | svn:r3232
* actually make it stop keeping track of times. whoops.Roger Dingledine2004-12-25
| | | | svn:r3230
* stop calling assert_connection_ok(conn, time(NULL)) on every singleRoger Dingledine2004-12-25
| | | | | | | conn on every single loop. svn:r3229
* stop telling win32 folks they have a bug just because we haven't finishedRoger Dingledine2004-12-25
| | | | | | | making tor work on win32 yet. svn:r3227
* initial profiling by phobos says we spend a whole lot of timeRoger Dingledine2004-12-25
| | | | | | | measuring how long each cell takes to process. make that optional. svn:r3226
* when you're loading the rendezvous service keys in options_act(),Roger Dingledine2004-12-24
| | | | | | | don't call it 'reloading'. svn:r3225