Commit Graph

22309 Commits

Author SHA1 Message Date
Roger Dingledine
3809c0ab91 tolerate bandwidtch buckets going negative (i hope)
svn:r3344
2005-01-12 10:00:38 +00:00
Nick Mathewson
ff9618f31e Note that we need to check return codes from more libevent functions
svn:r3343
2005-01-12 07:00:28 +00:00
Roger Dingledine
53dbc66a79 document LongLivedPorts in the man page
svn:r3342
2005-01-12 06:45:00 +00:00
Nick Mathewson
324b192f68 Make Tor use Niels Provos's libevent instead of it's current
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
2005-01-12 06:42:32 +00:00
Roger Dingledine
9b578f2fe2 add more chat and interactive protocols to LongLivedPorts
svn:r3340
2005-01-12 05:18:14 +00:00
Roger Dingledine
84c81e0783 Annotate circuits w/ whether they aim to contain high uptime nodes and/or
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
2005-01-12 04:58:23 +00:00
Roger Dingledine
51f47d746e clean up smartlist_string_isin so callers don't have to manage bufs
themselves


svn:r3338
2005-01-12 04:53:53 +00:00
Roger Dingledine
70b3208f0a if somebody starts his tor server in jan 2004 and then fixes his
clock, don't make his published uptime be a year.


svn:r3337
2005-01-11 11:54:11 +00:00
Roger Dingledine
45eb8d9660 if you're a server and the auth dirservers are down, go to any other
server. only give up hope on network reachability when no other servers
are reachable either.


svn:r3335
2005-01-10 17:39:41 +00:00
Roger Dingledine
74bc4e5af0 help avoid overflow from len_in + (len_in/n)*len_ins
nick, do you think this does it? if so, we should maybe backport too.


svn:r3334
2005-01-10 16:30:51 +00:00
Roger Dingledine
4b6d55afdf separate time_of_process_start from stats_n_seconds_uptime:
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
2005-01-10 05:10:22 +00:00
Roger Dingledine
3370f53010 it helps to use the correct name for the struct
svn:r3331
2005-01-10 04:32:59 +00:00
Roger Dingledine
10a81ccf18 when pruning circuit-wait streams when a dir fetch failed,
refer in logs to the destination address, not the address of the
application connection.


svn:r3330
2005-01-10 02:47:50 +00:00
Peter Palfrader
eab35efa67 Forward port patches
svn:r3329
2005-01-09 02:30:28 +00:00
Peter Palfrader
904b321fa7 Add watch file
svn:r3328
2005-01-09 02:30:02 +00:00
Roger Dingledine
f468ff04ea when we haven't fetched a directory yet, or the last time we
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
2005-01-07 15:57:57 +00:00
Roger Dingledine
31227f0292 two more policy issues
svn:r3326
2005-01-07 14:01:56 +00:00
Roger Dingledine
c1ffbf9b67 some early notes on a 'challenges in tor' paper
svn:r3325
2005-01-07 03:22:18 +00:00
Roger Dingledine
608caffc64 fix unit tests: address has to be a non-private IP, and socksport
needs to be 0.


svn:r3324
2005-01-07 01:12:30 +00:00
Roger Dingledine
b267da4f4b document DirAllowPrivateAddresses
svn:r3322
2005-01-06 21:03:47 +00:00
Roger Dingledine
cd1f50d2f0 new config option DirAllowPrivateAddresses for authdirservers.
now by default they refuse router descriptors that have non-IP
or private-IP addresses.


svn:r3321
2005-01-06 21:03:27 +00:00
Nick Mathewson
91bafc476e Fix a fun bug: do not rewrite a cached directory back to the cache; otherwise we will think it is recent and not fetch a newer one.
svn:r3319
2005-01-06 20:11:52 +00:00
Roger Dingledine
f8b517fa97 finish marking my comment in main.c
svn:r3318
2005-01-06 19:20:54 +00:00
Roger Dingledine
1f51809e65 clean up string printing in relay logs
svn:r3317
2005-01-06 19:19:13 +00:00
Roger Dingledine
6d2859c2e5 fix trivial typo in log entry
svn:r3316
2005-01-06 19:17:01 +00:00
Roger Dingledine
a36007131b take back our statement about known bugs on win32 for servers.
people should try it again and let us know.


svn:r3314
2005-01-06 07:31:20 +00:00
Nick Mathewson
9883137f54 Add proposal to control spec for a simple way to bind IP addresses to hostnames. Example: "Please make all requests for 10.200.0.1 go to foobarbaz.onion". This feature would be needed for any attempt to write a torified DNS proxy. Needs more thought and more comments.
svn:r3313
2005-01-06 02:02:18 +00:00
Nick Mathewson
2614589166 Enable Mac startup script by default
svn:r3311
2005-01-05 19:45:28 +00:00
Nick Mathewson
30aa8ab1cd fix typo in mac installer
svn:r3310
2005-01-05 19:34:01 +00:00
Roger Dingledine
ffa1008c3a clean up osx/win32/generic instructions
svn:r3309
2005-01-05 14:25:53 +00:00
Nick Mathewson
a6e587305f typo spotted by chris
svn:r3308
2005-01-05 06:48:39 +00:00
Nick Mathewson
dcd228585d Implement SIGNAL control command.
svn:r3307
2005-01-05 06:40:47 +00:00
Nick Mathewson
b4fedc7f14 Stop reversing and re-reversing config lines: keep them in order all the time. Removes needless confusion and fixes bug #50.
svn:r3305
2005-01-05 06:05:37 +00:00
Nick Mathewson
2e8f15a567 Note some 0093 items
svn:r3304
2005-01-05 03:02:08 +00:00
Roger Dingledine
3e30d87ad2 fix typo
svn:r3302
2005-01-05 02:58:05 +00:00
Nick Mathewson
e99f79fa4d Remove broken and undocumented wart where multiple CSV config lines are appended rather than replaced. Resolves bug #49
svn:r3301
2005-01-05 02:51:04 +00:00
Roger Dingledine
f6b0032c31 update url for tor
svn:r3300
2005-01-05 02:48:44 +00:00
Nick Mathewson
20142a2508 Forward-port OSX packaging stuff from maint branch
svn:r3299
2005-01-05 02:46:25 +00:00
Roger Dingledine
041edf8754 and the first cut of a tor osx installation howto
svn:r3298
2005-01-05 02:41:59 +00:00
Roger Dingledine
cb48bff349 point to the new screenshot file names
svn:r3297
2005-01-05 02:18:15 +00:00
Roger Dingledine
aa48b96036 migrate to the new URL
svn:r3296
2005-01-05 00:06:51 +00:00
Roger Dingledine
d9439a32da change url in win32 installer
svn:r3295
2005-01-04 23:55:26 +00:00
Roger Dingledine
814dd946f0 fix duplicate dns_cancel_pending_resolve reported by Giorgos Pallas
svn:r3293
2005-01-04 11:26:08 +00:00
Peter Palfrader
ba8690373a Add sharedscripts tor logrotate.d/tor
svn:r3290
2005-01-04 10:53:09 +00:00
Peter Palfrader
5648994036 Update debian/copyright (it's 2005)
svn:r3289
2005-01-04 10:52:32 +00:00
Peter Palfrader
869f2a78cb New upstream version
svn:r3288
2005-01-04 10:51:50 +00:00
Roger Dingledine
cd796800d5 forward-port the 0.0.9.2 changelog
svn:r3287
2005-01-04 09:09:00 +00:00
Roger Dingledine
ba7c74e742 bandaid: make Giorgos Pallas's dns assert bug not actually crash on him.
one day we should try to figure out what's actually going on here.


svn:r3280
2005-01-04 06:21:06 +00:00
Nick Mathewson
6dd91de3bd Nothing actually _uses_ socks_port, so why publish it? For backward compatibility, publish a socks_port of 0, and never read socks_port.
svn:r3279
2005-01-04 05:46:54 +00:00
Roger Dingledine
e6c1ab2daf post 0.0.9.x, demand that servers declare at least 20000 bytes/s
for bandwidthrate


svn:r3277
2005-01-04 03:46:50 +00:00