[freenet-devl] Binary Tree DBR code

2001-12-14 Thread Scott Young
I am currently writing and documenting some code to handle Binary Tree DBRs. I don't know how to integrate it into Freenet, so I'll try to keep the code easy to merge with Freenet. I currently have more documentation in the code than actual code, so that should help :-) After I get a little m

[freenet-devl] Freenet Propoganda: Thinking and living "Free".

2001-12-14 Thread Oskar Sandberg
On Mon, Dec 10, 2001 at 02:38:11PM -0800, Ian Clarke wrote: > We have thought about this before a bit, I came up with the rather > grandiose :- > "If code is law, then Freenet is the first amendment". > > Based on Lawrence Lessig's assertion that code is law. "Where were _you_ when they took fr

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Oskar Sandberg
On Fri, Dec 14, 2001 at 11:14:31AM -0600, Edgar Friendly wrote: > Oskar Sandberg writes: < > > > You obviously can't have every node in the chain restart the request at > > more or less the same time. > > No, you just have the query die and that's it. maybe just change > "queryRestarted" to "G

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Oskar Sandberg
On Fri, Dec 14, 2001 at 12:01:10PM -0500, Tavin Cole wrote: > On Fri, Dec 14, 2001 at 04:48:17PM +0100, Oskar Sandberg wrote: > > > Does this make sense, or did I simply work too much today? > > > > No it doesn't. I was obviously aware of this when we first implemented > > the restart. It is not c

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Are
> > On Fri, Dec 14, 2001 at 10:39:51AM -0600, Edgar Friendly wrote: > > > You don't get new noderefs by inserting. > > > > Yes, you do. > > > > -- > > > You do? whose noderef do you get? some random person along the > chain? That seems wierd. Ive found that successfully inserting a small file i

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread toad
On Fri, Dec 14, 2001 at 10:39:51AM -0600, Edgar Friendly wrote: > toad writes: > > > On Fri, Dec 14, 2001 at 09:13:41AM -0600, Edgar Friendly wrote: > > > > The reason you have nodes with high CP that haven't been contacted is > > > that fred already punished them (by not talking to them for a w

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Oskar Sandberg
On Thu, Dec 13, 2001 at 06:53:51PM +0100, Sebastian Sp?th wrote: > We just discussed this on IRC, taking it to the devl list: > > Normally a request times out according to the timeOut setting. But when > Fred receives a "restarted query" message, it will wait even further. > > It might be a nice

[freenet-devl] [bug] fproxy wrongly encodes slashes in retry forms

2001-12-14 Thread Robert Bihlmeyer
h numeric value outside [0,255]. Note that URLEncoder also behaves badly with these kind of characters. -- next part -- A non-text attachment was scrubbed... Name: not available Type: text/x-patch Size: 2223 bytes Desc: not available URL: <https://emu.freenetproject.org/pi

[freenet-devl] Diagnostics and FieldSet.MAX_PARSE_SIZE

2001-12-14 Thread Oskar Sandberg
On Wed, Dec 12, 2001 at 06:36:15PM -0500, Gianni Johansson wrote: > Hi Oskar: > > Diagnostics.writeVars seems to write field sets that are too big to be read by > FieldSet.parseFields. This is tripping up my attempts to add diagnostics > support to NodeStatusServlet. Can I just increase FieldSe

[freenet-devl] Log analyze

2001-12-14 Thread Oskar Sandberg
On Wed, Dec 12, 2001 at 04:44:25PM -0500, Gianni Johansson wrote: < > > I don't think that they are errors at all. > > I'm pretty sure these are caused by hang ups from busy nodes, but Oskar could > say for sure. For sure. -- Oskar Sandberg oskar at freenetproject.org ___

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread toad
On Fri, Dec 14, 2001 at 09:13:41AM -0600, Edgar Friendly wrote: > toad writes: > > > Hi. According to localhost:8889, my (severely borken) node has 9 references. > > The top 6 have CP = 1.0 and have never been contacted. I am running with > > debug logging, so I grepped my logs. Four of them don'

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread toad
Hi. According to localhost:8889, my (severely borken) node has 9 references. The top 6 have CP = 1.0 and have never been contacted. I am running with debug logging, so I grepped my logs. Four of them don't appear at all, ever, anywhere in the log (for today). Node has been running for about 8 hours

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Gianni Johansson
On Friday 14 December 2001 09:35, Toad wrote: > Hi. According to localhost:8889, my (severely borken) node has 9 > references. The top 6 have CP = 1.0 and have never been contacted. Never successfully contacted or never tried? There's a time based recovery scheme that causes the CP of nodes that

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Gianni Johansson
On Friday 14 December 2001 12:57, Oskar wrote: > On Fri, Dec 14, 2001 at 12:01:10PM -0500, Tavin Cole wrote: > > On Fri, Dec 14, 2001 at 04:48:17PM +0100, Oskar Sandberg wrote: > > > > Does this make sense, or did I simply work too much today? > > > > > > No it doesn't. I was obviously aware of th

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Edgar Friendly
Oskar Sandberg writes: > On Fri, Dec 14, 2001 at 11:14:31AM -0600, Edgar Friendly wrote: > > The user can give up and try again - but since the new request is likely > to get routed back to the same node (even if the node that ate the > request is just broken, not an attack) it will hardly make i

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Tavin Cole
On Fri, Dec 14, 2001 at 11:16:11AM -0600, Edgar Friendly wrote: > > > You don't get new noderefs by inserting. > > > > Yes, you do. > > > You do? whose noderef do you get? some random person along the > chain? That seems wierd. The last node in the chain, except for datasource resets, just li

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Tavin Cole
On Fri, Dec 14, 2001 at 04:48:17PM +0100, Oskar Sandberg wrote: > > Does this make sense, or did I simply work too much today? > > No it doesn't. I was obviously aware of this when we first implemented > the restart. It is not considered a problem because: > > a) It cannot go on "forever" as the

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Tavin Cole
On Fri, Dec 14, 2001 at 10:39:51AM -0600, Edgar Friendly wrote: > You don't get new noderefs by inserting. Yes, you do. -- :: tavin cole (tcole at espnow.com) :: if there's been a way to build it there'll be a way to destroy it things are not all that out of control -

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Edgar Friendly
Tavin Cole writes: > On Fri, Dec 14, 2001 at 10:39:51AM -0600, Edgar Friendly wrote: > > You don't get new noderefs by inserting. > > Yes, you do. > > -- > You do? whose noderef do you get? some random person along the chain? That seems wierd. _

[freenet-devl] "restarted" tarpit attack

2001-12-14 Thread Edgar Friendly
Oskar Sandberg writes: > On Thu, Dec 13, 2001 at 06:53:51PM +0100, Sebastian Sp?th wrote: > > The solution might be to > > a) abolish restarted query messages allthogether (thelema) or/and > > You obviously can't have every node in the chain restart the request at > more or less the same tim

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Edgar Friendly
toad writes: > On Fri, Dec 14, 2001 at 09:13:41AM -0600, Edgar Friendly wrote: > > The reason you have nodes with high CP that haven't been contacted is > > that fred already punished them (by not talking to them for a while), > > and is trying to make sure they're still down. If we left their

[freenet-devl] How can a noderef appear on localhost:8889 and not in the debug logs?

2001-12-14 Thread Edgar Friendly
toad writes: > Hi. According to localhost:8889, my (severely borken) node has 9 references. > The top 6 have CP = 1.0 and have never been contacted. I am running with > debug logging, so I grepped my logs. Four of them don't appear at all, ever, > anywhere in the log (for today). Node has been ru

[freenet-devl] Statement is unreachable

2001-12-14 Thread toad
On Thu, Dec 13, 2001 at 10:14:58PM -0500, Gianni Johansson wrote: > I committed this. It should be fixed in cvs now. Yay. Now if only I can get it to compile again... :) > > --gj $ ./kbuild.sh # Building the Freenet node CLASSPATH=../..:/usr/share/java/id3-1_4hacked.jar:/usr/share/java/xerces.ja

[freenet-devl] Statement is unreachable

2001-12-14 Thread toad
On Fri, Dec 14, 2001 at 01:45:32AM +, toad wrote: > # Building fproxy and HttpServletRunner > CLASSPATH=../..:/usr/share/java/id3-1_4hacked.jar:/usr/share/java/xerces.jar:/usr/share/kaffe/Klasses.jar:/usr/share/kaffe/comm.jar:/usr/share/kaffe/microsoft.jar:/usr/share/kaffe/pjava.jar:/usr/share/

[freenet-devl] Statement is unreachable

2001-12-14 Thread toad
# Building fproxy and HttpServletRunner CLASSPATH=../..:/usr/share/java/id3-1_4hacked.jar:/usr/share/java/xerces.jar:/usr/share/kaffe/Klasses.jar:/usr/share/kaffe/comm.jar:/usr/share/kaffe/microsoft.jar:/usr/share/kaffe/pjava.jar:/usr/share/kaffe/rmi.jar:/usr/share/kaffe/tools.jar:/usr/share/java/f