Commit Graph

5642 Commits

Author SHA1 Message Date
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
Andrew Lewman
e10ff0c23c Fixed BuildRequire for libevent-devel
svn:r5894
2006-02-02 03:21:13 +00:00
Andrew Lewman
c42f0da3d2 Added libevent 1.1a requirement for rpmbuilding now that many repos
carry libevent 1.1a as of 2006-01-12


svn:r5893
2006-02-02 02:43:03 +00:00
Roger Dingledine
af2c34ed50 three more todo items
svn:r5892
2006-02-01 10:55:59 +00:00
Roger Dingledine
864c81d668 more things to think about; and the details of two incentive schemes.
svn:r5891
2006-02-01 10:50:23 +00:00
Roger Dingledine
a07acfcd61 add another related issue to think about
svn:r5890
2006-02-01 06:45:15 +00:00
Roger Dingledine
9ff4b2cf97 document ExitPolicyRejectPrivate in man page
svn:r5889
2006-02-01 05:22:11 +00:00
Roger Dingledine
92ef9e37e7 Add a new config option ExitPolicyRejectPrivate which defaults to 1.
This means all exit policies will begin with rejecting private addresses,
unless the server operator explicitly turns it off.

Also, make our code to remove redundancies in the exit policy smarter,
so it can detect "reject foo, reject bar, reject *" patterns.

Lastly, we can get rid of the "exit policy implicitly accepts" code,
since we make everything more explicit now.


svn:r5888
2006-02-01 03:53:52 +00:00