Commit Graph

6999 Commits

Author SHA1 Message Date
Andrew Lewman
2d8e125b09 Force an increase in file descriptors on start
svn:r5945
2006-02-09 05:08:23 +00:00
Andrew Lewman
ee2966d850 Added libevent 1.1a to Requires
svn:r5944
2006-02-09 04:22:25 +00:00
Roger Dingledine
8cd6d0e453 and by default it's off
svn:r5943
2006-02-09 04:21:39 +00:00
Roger Dingledine
eda7373e15 clean up TestSocks man page entry
svn:r5942
2006-02-09 04:21:03 +00:00
Roger Dingledine
f534bf33f6 apply contrib/checkSpace.pl to our spec files too.
svn:r5941
2006-02-09 03:44:49 +00:00
Roger Dingledine
31dbb0aec9 remove MaxConn TODO item
svn:r5940
2006-02-09 03:44:27 +00:00
Roger Dingledine
e106c5a246 checkpoint some more notes on incentives
svn:r5939
2006-02-09 03:44:13 +00:00
Roger Dingledine
c0aa77d7e7 over-long line in dir-spec
svn:r5938
2006-02-09 03:40:53 +00:00
Roger Dingledine
88f7aeba94 admit that the HardwareAccel config option is probably buggy.
svn:r5937
2006-02-09 03:22:58 +00:00
Roger Dingledine
fd0fcdf17c stop calling it a "libevent poll" -- the word "poll" has
other meaning in this context that are confusing.


svn:r5936
2006-02-09 03:09:52 +00:00
Roger Dingledine
28f3765b5a and maybe some function documentation will help too
svn:r5935
2006-02-09 02:59:37 +00:00
Roger Dingledine
dbea401305 correct the comments that don't realize it's the opposite
svn:r5934
2006-02-09 02:59:26 +00:00
Roger Dingledine
51dffee36c MaxConn has been obsolete for a while now.
Document ConnLimit, which is the opposite.


svn:r5933
2006-02-09 02:59:10 +00:00
Roger Dingledine
31f2705d9a and make sure that never happens again
svn:r5932
2006-02-09 02:42:33 +00:00
Roger Dingledine
2c221dd8db fix bug 245: When modifying the orconn_circid_map map, we would
sometimes decrement conn->n_circuits even when there was no circuit
originally. This caused conn->n_circuits to go negative.

We noticed this because we were checking if connections can be
closed based on conn->n_circuits == 0, so we were never closing
any connection that had ever had a circuit on it.


svn:r5931
2006-02-09 02:42:15 +00:00
Roger Dingledine
1c596156aa tweak comment
svn:r5930
2006-02-09 00:08:23 +00:00
Roger Dingledine
c0cde6f9c3 link to "running a server may give you better anonymity" faq
svn:r5929
2006-02-06 10:05:03 +00:00
Roger Dingledine
0b0bdecee8 you can't use torcp to change your torrc to be a server. you
need to do it by hand still.
next version, we swear.


svn:r5928
2006-02-06 06:34:41 +00:00
Nick Mathewson
e5a574ce2e Move "sort list of versions" logic into routerparse.c; make version-checking code say which versions it would have accepted. (not tested.)
svn:r5927
2006-02-06 05:04:27 +00:00
Nick Mathewson
2bb4fd24de char *x = "y"; is not good C.
svn:r5926
2006-02-06 05:01:44 +00:00
Roger Dingledine
2be4f3e424 noise says it's spelled SHA-1
svn:r5925
2006-02-06 04:58:05 +00:00
Nick Mathewson
50e1005327 Only v1 authorities get hidden service descriptors with current protocol
svn:r5924
2006-02-06 04:56:18 +00:00
Nick Mathewson
97bff8edaa Fix a const-non-const warning
svn:r5923
2006-02-06 04:55:27 +00:00
Nick Mathewson
7dbea118ce Adjust spec to parameterize cell and key lengths. This should please Ian.
svn:r5922
2006-02-06 04:34:26 +00:00
Peter Palfrader
cc349042f6 Document TestSocks
svn:r5921
2006-02-05 22:45:02 +00:00
Roger Dingledine
614faa541b turns out we don't build on freebsd 6.0
svn:r5920
2006-02-05 09:37:02 +00:00
Roger Dingledine
b00c78b0d7 remove some accomplished tasks
svn:r5919
2006-02-05 05:43:47 +00:00
Roger Dingledine
a9c87fe251 more typos and nits
svn:r5918
2006-02-05 05:28:52 +00:00
Nick Mathewson
157e6a025a Stupid cut-and-paste bug.
svn:r5917
2006-02-05 05:11:24 +00:00
Roger Dingledine
555a64e06d as soon as we've fetched some more directory info, that's time
to think about downloading more server descriptors. this way
we don't have a 10 second pause in initial bootstrapping.


svn:r5916
2006-02-05 03:42:34 +00:00
Roger Dingledine
d602d0d298 cosmetic fix
svn:r5915
2006-02-05 03:42:04 +00:00
Roger Dingledine
640882c76c clean up tabs and wide-lines from weasel's commit
svn:r5914
2006-02-05 03:23:16 +00:00
Roger Dingledine
6535087845 when building v2 statuses or v1 running-routers, don't admit the
existence of descriptors older than a day.

we still cache them in case anybody asks, but we don't actively
mention them.


svn:r5913
2006-02-05 02:33:40 +00:00
Roger Dingledine
53f86cdf5d fix bug: we were caching the newest descriptor for each server,
well, forever. i imagine this just keeps growing in size.


svn:r5912
2006-02-05 02:07:28 +00:00
Roger Dingledine
4c1fa73c7e typos and nits
svn:r5911
2006-02-05 01:57:27 +00:00
Roger Dingledine
a53a73a782 forward-port the part where ordinary users try to fetch directories
less often. not critical but might as well stay in sync with stable.


svn:r5910
2006-02-05 01:57:07 +00:00
Roger Dingledine
67a77f17ca i'm not sure what man-in-the-middle attacks we were worried about,
but i agree that we don't need to worry about them for rendezvousing.
what we really meant was collision attacks. i think?


svn:r5909
2006-02-04 20:07:45 +00:00
Roger Dingledine
d222678ea5 link to goodell's tor detector script rather than the
traditional ip-checking sites.


svn:r5908
2006-02-04 19:53:05 +00:00
Roger Dingledine
f0fe4feb00 i hear sometimes the privoxy icon is blue.
svn:r5907
2006-02-04 19:47:14 +00:00
Roger Dingledine
640c555f02 Fix a major load balance bug: we were round-robining in 16 KB chunks, and
servers with bandwidthrate of 20 KB, while downloading a 600 KB directory,
would starve their other connections. Now we try to be a bit more fair.


svn:r5906
2006-02-04 08:58:51 +00:00
Roger Dingledine
032a01ef64 just because you support the feature does not mean that you
should put an example in the sample torrc file.

the debug-info lines were causing some people to think that
was a smart loglevel to use, and it also always isn't.


svn:r5905
2006-02-04 07:45:40 +00:00
Roger Dingledine
96e350c16c minor fix to control spec
svn:r5904
2006-02-04 00:26:12 +00:00
Peter Palfrader
94fb3f06b3 Fix compiler warning on 64 bit archs
svn:r5903
2006-02-03 22:26:43 +00:00
Nick Mathewson
a69b96af02 Be sure to restore LDFLAGS from LDFLAGS, not from LIBS.
svn:r5902
2006-02-03 19:34:09 +00:00
Peter Palfrader
390bbb0a0c Try to make tor work better through squid: Limit number of descriptors we fetch
to 96 (was 128 previously).

We limit this number even when we do not have a http proxy explicitly
configured as some people mistakenly believe transparent proxies are a neat
idea.


svn:r5901
2006-02-03 15:17:48 +00:00
Roger Dingledine
a1dd751f30 when we fail to bind a listener, try to provide a more useful log msg.
svn:r5900
2006-02-03 12:26:10 +00:00
Roger Dingledine
6f579deff4 check for EADDRINUSE in a cross-platform way (unless i'm wrong)
svn:r5899
2006-02-03 12:25:46 +00:00
Roger Dingledine
1800fbe486 don't warn when we receive a 503 from a dirserver/cache -- this
will pave the way for them being able to tell us to screw off
if they're busy.


svn:r5898
2006-02-03 12:08:31 +00:00
Roger Dingledine
0fadf0aad6 Fix bug 225: now "attachstream 0" treats conn like it just connected,
doing address remapping, handling .exit and .onion idioms, and so on.

Now we are more uniform in making sure that the controller hears about
all new connections, and making sure it hears when they close.


svn:r5897
2006-02-03 11:37:19 +00:00
Roger Dingledine
418dc7b16e I believe this resolves bug 234, the mysterious crash on 0.1.1.9
and later servers. I'm not sure yet, but better to have it in CVS
while we speculate that it's the fix.


svn:r5895
2006-02-02 10:10:07 +00:00