Commit Graph

5678 Commits

Author SHA1 Message Date
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
Roger Dingledine
bdba6e42dc avoid a minor confusing log message
svn:r5887
2006-02-01 03:05:52 +00:00
Peter Palfrader
bf514e5dc5 Try to fix policy_includes_addr_mask_implicitly()
svn:r5886
2006-02-01 02:52:55 +00:00
Peter Palfrader
61ea27620a Also catch 0/8 in exit_policy_implicitly_allows_local_networks()
svn:r5885
2006-02-01 02:31:27 +00:00
Roger Dingledine
686508a04a don't try to upload hidden service descriptors until we have
established a circuit.


svn:r5884
2006-02-01 02:19:46 +00:00
Peter Palfrader
dbf2e10460 Apply Matt Ghali's --with-syslog-facility patch
svn:r5883
2006-02-01 02:15:44 +00:00
Roger Dingledine
415544bb75 start to put the incentives brainstorming down in text.
needs lots more work.


svn:r5882
2006-01-31 09:10:13 +00:00
Roger Dingledine
e05d4e45d2 provide a more useful warn message when our onion queue
gets full.


svn:r5881
2006-01-31 08:17:00 +00:00
Roger Dingledine
8fc44169e5 only start testing reachability once we've established a circuit.
this will make startup on dirservers less noisy.
it may also break things in subtle ways.


svn:r5878
2006-01-29 01:11:41 +00:00
Roger Dingledine
05cf1e0202 more bugs that arma needs to investigate
svn:r5877
2006-01-28 22:12:29 +00:00
Roger Dingledine
dfa23061a7 fix the man page: hardwareaccel is off by default.
svn:r5876
2006-01-28 22:09:57 +00:00
Roger Dingledine
0d0ce4b1ef more bugs and missing features
svn:r5875
2006-01-28 09:05:48 +00:00
Roger Dingledine
f8b9a8d457 bump the default bandwidthrate to 3 MB, and burst to 6 MB
svn:r5874
2006-01-28 08:28:15 +00:00
Nick Mathewson
d4393daf10 Make OpenSSL configure.in logic match libevent configure.in logic.
svn:r5873
2006-01-27 19:38:16 +00:00
Nick Mathewson
0e8072a8e7 More improvements on libevent hunting: give a good error when no libevent linkable is found at all; also try using -R to link libevent where needed.
svn:r5872
2006-01-27 18:39:40 +00:00