[freenet-dev] New mailFredStatus includes more hourly diagnostic values.

2003-11-07 Thread Edward J. Huff
Please note that if you have a ~/.mailFredStatus file, you need to delete the DIAGNOSTICS= line in order to use the new default. --writedefaults will put the new defaults into the file. changelog: Added more diagnostics. Print the time of accumulation in human-readable form. Needed temp files

Re: [freenet-dev] Re: A really easy way to defeat datastoreprobingtiming attacks?

2003-11-07 Thread lists
What if the time delay is proportional to how far away from your specialization the requested key is? That way, if you really are unlikely to have the key then you hide it more but requests for keys that you really ought to have need not be penalized. -- jeek - Original Message - From:

[freenet-dev] Solving the QR problem with scheduled appointments

2003-11-07 Thread Martin Stone Davis
Damn, this got too long. If My Solution (see below) has been discussed before, please point me to the topic so I can read what was said. The problem: First, the number of QR:s should be reduced since they degrade the efficiency of the network. After all, it would be better if

[freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Newsbyte
Ok, now I know I must be missing something here ;-) "But then the attacker just needs to account for the fact that you will try to fake it by fake-route to one other node. So, he discounts the time he thinks it would take you to real-route (he can measure this by sending you requests on

Re: [freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Some Guy
--- Newsbyte [EMAIL PROTECTED] wrote: As for the question at hand; I'm no coder, but as far as I've understood, there is an estimator of how much time it would cost to retrieve something from a node(?) Can't you make something that 1)checks if the requested item is in it's store 2)if

[freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Martin Stone Davis
Newsbyte wrote: Ok, now I know I must be missing something here ;-) But then the attacker just needs to account for the fact that you will try to fake it by fake-route to one other node. So, he discounts the time he thinks it would take you to real-route (he can measure this by sending you

[freenet-dev] Question about initial specialization

2003-11-07 Thread Niklas Bergh
Why isn't an initial routing table specialization for an announcee done? Wasn't it so before.. The announcement contained a key that everyone that received the announcement used as initial specialization (and thereby they all agreed about the initial specialization for a given node). As it is now

[freenet-dev] A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Newsbyte
- Original Message - From: Newsbyte To: Newsbyte Sent: Friday, November 07, 2003 12:31 PM Subject: Re: A really easy way to defeat datastore probingtiming attacks? "Did I understand you correctly? Before we continue, I gotta make sure we are talking about the same thing."

[freenet-CVS] freenet Makefile,1.49,1.50

2003-11-07 Thread G?ran Thyni
Update of /cvsroot/freenet/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv2788 Modified Files: Makefile Log Message: updated to reflect changes in java tree Index: Makefile === RCS file: /cvsroot/freenet/freenet/Makefile,v

[freenet-dev] Help with shell script needed

2003-11-07 Thread Toad
We need to set LD_ASSUME_KERNEL on Linux 2.6, as well as on redhat etc. I have some bash code to do this, but for start-freenet.sh it needs to be cross platform, so I hoped somebody here might be able to help. My current code is: #!/bin/bash if ([ `uname` == 'Linux' ]); then echo Linux detected;

Re: [freenet-dev] Question about initial specialization

2003-11-07 Thread Toad
On Fri, Nov 07, 2003 at 12:00:40PM +0100, Niklas Bergh wrote: Why isn't an initial routing table specialization for an announcee done? Wasn't it so before.. The announcement contained a key that everyone that received the announcement used as initial specialization (and thereby they all agreed

[freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Martin Stone Davis
Newsbyte wrote: - Original Message - *From:* Newsbyte mailto:[EMAIL PROTECTED] *To:* Newsbyte mailto:[EMAIL PROTECTED] *Sent:* Friday, November 07, 2003 12:31 PM *Subject:* Re: A really easy way to defeat datastore probingtiming attacks? Did I understand you correctly? Before we

[freenet-dev] Different reason for QR in 6316?

2003-11-07 Thread Doug Bostrom
I have no idea if this is coincidence, but just in case somebody else notices it? For the last 6 or so unstable releases my node here has been QRing nearly exclusively for the relatively good (?) reason of bandwidth limit saturation. With the update to 6316 it's now consistently QRing due to

Re: [freenet-dev] Help with shell script needed

2003-11-07 Thread Edward J. Huff
On Fri, 2003-11-07 at 11:02, Toad wrote: We need to set LD_ASSUME_KERNEL on Linux 2.6, as well as on redhat etc. I have some bash code to do this, but for start-freenet.sh it needs to be cross platform, so I hoped somebody here might be able to help. My current code is: #!/bin/bash if ([

Re: [freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Thomas Leske
Tom Kaitchuck wrote: The problem with this is that it doesn't really work. For the sake of argument, lets say that the time it takes your node to return some data is T, and the time it would take it to get it from the next node is T + 100. Right now if we return is less than T+100, they can

Re: [freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Some Guy
--- Martin Stone Davis [EMAIL PROTECTED] wrote: Explain how your system works in a network of all new nodes, where all nodes' estimates of time-delays is initially very bad (since they're newbies). How does the first query and data retrieval work? Well they could pretty quickly learn

[freenet-CVS] freenet/src/freenet Version.java, 1.513, 1.514 PeerHandler.java, 1.44, 1.45

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv18179/src/freenet Modified Files: Version.java PeerHandler.java Log Message: 6317: Make most xfer rates bytes/sec, fix conversion errors leading to crazy estimates, change transferSucceeded arguments.

[freenet-CVS] freenet/src/freenet/node Main.java,1.298,1.299

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node In directory sc8-pr-cvs1:/tmp/cvs-serv18179/src/freenet/node Modified Files: Main.java Log Message: 6317: Make most xfer rates bytes/sec, fix conversion errors leading to crazy estimates, change transferSucceeded arguments. Add min/max

[freenet-CVS] freenet/src/freenet/node/rt NGRouting.java, 1.22, 1.23 NodeEstimatorFactory.java, 1.3, 1.4 NGRoutingTable.java, 1.30, 1.31 StandardNodeEstimator.java, 1.26, 1.27 NodeEstimator.java, 1.11, 1.12

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/rt In directory sc8-pr-cvs1:/tmp/cvs-serv18179/src/freenet/node/rt Modified Files: NGRouting.java NodeEstimatorFactory.java NGRoutingTable.java StandardNodeEstimator.java NodeEstimator.java Log Message: 6317: Make most xfer

[freenet-CVS] freenet/src/freenet/client/http NodeStatusServlet.java, 1.79, 1.80

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/client/http In directory sc8-pr-cvs1:/tmp/cvs-serv18179/src/freenet/client/http Modified Files: NodeStatusServlet.java Log Message: 6317: Make most xfer rates bytes/sec, fix conversion errors leading to crazy estimates, change

Re: [freenet-dev] Help with shell script needed

2003-11-07 Thread Dan Merillat
On Fri, 07 Nov 2003, Edward J. Huff wrote: #! /bin/ksh Well, that's pretty useless right there. /bin/sh is pretty standard. ksh is optional and fairly rare in my experience. --Dan pgp0.pgp Description: PGP signature ___ Devl mailing list

[freenet-dev] New Uber-Node

2003-11-07 Thread Dan Merillat
Well, I picked up a 10 meg circuit (yes, really 10 meg. It's delivered over ethernet) to the internet, and stuck my freenet node on it. * Smoothed local mean traffic (queries per hour): 118767.081 * Smoothing half life (lsHalfLifeHours): 1.200 hour. * That is, the rate decays

[freenet-CVS] freenet/src/freenet/node/states/announcement NewAnnouncement.java, 1.18, 1.19

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/states/announcement In directory sc8-pr-cvs1:/tmp/cvs-serv20608/src/freenet/node/states/announcement Modified Files: NewAnnouncement.java Log Message: 6318: Probabilistic rejection, based on Benny Amorsen's patch to devl ages ago.

[freenet-CVS] freenet/src/freenet/node Node.java,1.240,1.241

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node In directory sc8-pr-cvs1:/tmp/cvs-serv20608/src/freenet/node Modified Files: Node.java Log Message: 6318: Probabilistic rejection, based on Benny Amorsen's patch to devl ages ago. Should be more suitable than binary rejection on

[freenet-CVS] freenet/src/freenet Version.java, 1.514, 1.515 Core.java, 1.52, 1.53

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv20608/src/freenet Modified Files: Version.java Core.java Log Message: 6318: Probabilistic rejection, based on Benny Amorsen's patch to devl ages ago. Should be more suitable than binary rejection on

Re: [freenet-dev] [zbalevsk@bridgeport.edu: Re: 2.6 and NPTL]

2003-11-07 Thread Toad
Turned out to be an NPTL LD_ASSUME_KERNEL problem after all. Fixed now afaics, although hot code substitution doesn't work. On Fri, Nov 07, 2003 at 10:24:26PM +0100, Thomas Themel wrote: Hi, Toad ([EMAIL PROTECTED]) wrote on 2003-11-07: It has worked flawlessly for me on a variety of

Re: [freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Toad
On Fri, Nov 07, 2003 at 06:23:17PM +0100, Some Guy wrote: As I said earlier this kind of delaying is unnessesary. Private Cache + Premix removes any need to do this. Does it? I thought that the list was collectively very concerned about some widely ignored legal idea called entrapment ? :)

[freenet-CVS] freenet/src/freenet/node/states/FNP NewRequest.java, 1.42, 1.43

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/states/FNP In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/node/states/FNP Modified Files: NewRequest.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between rejecting

[freenet-CVS] freenet/src/freenet/client VirtualClient.java, 1.15, 1.16 InternalClient.java, 1.32, 1.33

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/client In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/client Modified Files: VirtualClient.java InternalClient.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between

[freenet-CVS] freenet/src/freenet/node/states/announcement NewAnnouncement.java, 1.19, 1.20

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/states/announcement In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/node/states/announcement Modified Files: NewAnnouncement.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in

[freenet-CVS] freenet/src/freenet Version.java,1.515,1.516

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet Modified Files: Version.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between rejecting nearly all requests, and rejecting

[freenet-CVS] freenet/src/freenet/node Node.java, 1.241, 1.242 FailureTable.java, 1.34, 1.35

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/node Modified Files: Node.java FailureTable.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between rejecting nearly

[benny+nospam@amorsen.dk: [freenet-dev] Probabilistic rejection]

2003-11-07 Thread Toad
This has been applied in 6219; I suspect it will be a better fit with NGRouting than the old reject everything or reject nothing technique. - Forwarded message from Benny Amorsen [EMAIL PROTECTED] - From: Benny Amorsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [freenet-dev]

[freenet-CVS] freenet/src/freenet/node/http/infolets GeneralInfolet.java, 1.25, 1.26

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/http/infolets In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/node/http/infolets Modified Files: GeneralInfolet.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between

[freenet-CVS] freenet/src/freenet/client/http NodeStatusServlet.java, 1.80, 1.81

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/client/http In directory sc8-pr-cvs1:/tmp/cvs-serv26517/src/freenet/client/http Modified Files: NodeStatusServlet.java Log Message: 6319: Probabilistic rejection, based on work by Benny Amorsen. Make a distinction in stats between rejecting

Re: [freenet-dev] Re: A really easy way to defeat datastore probingtiming attacks?

2003-11-07 Thread Some Guy
--- Toad [EMAIL PROTECTED] wrote: On Fri, Nov 07, 2003 at 06:23:17PM +0100, Some Guy wrote: As I said earlier this kind of delaying is unnessesary. Private Cache + Premix removes any need to do this. Does it? Sure, what's in your public store will have nothing to do with what you

[freenet-dev] QueryReject patterns and NGRouting

2003-11-07 Thread Toad
Currently the situation, even with the recently integrated probabilistic rejection, is as follows: We start off with no load We accept some queries Eventually we use up our outbound bandwidth, and due to either messageSendTimeRequest or the output bandwidth limit, we reject queries until our

Re: [freenet-dev] QueryReject patterns and NGRouting

2003-11-07 Thread Toad
One radical solution: Remove the code to reject queries when the bandwidth limit is exceeded! NGRouting can figure out when nodes are slow due to long term overload a lot more easily and less alchemically than it can deal with query rejections. Or so the theory goes. Am I smoking crack here?

[freenet-CVS] freenet/src/freenet/node/states/FNP NewRequest.java, 1.43, 1.44

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/states/FNP In directory sc8-pr-cvs1:/tmp/cvs-serv21521/src/freenet/node/states/FNP Modified Files: NewRequest.java Log Message: 6320: Set a proper timeout on QueryRejected messages from NewRequest - these account for the vast majority

[freenet-CVS] freenet/src/freenet Version.java, 1.516, 1.517 PeerPacketMessage.java, 1.20, 1.21

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv21521/src/freenet Modified Files: Version.java PeerPacketMessage.java Log Message: 6320: Set a proper timeout on QueryRejected messages from NewRequest - these account for the vast majority of messages,

[freenet-CVS] freenet/src/freenet/node/rt StandardNodeEstimator.java, 1.27, 1.28

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/rt In directory sc8-pr-cvs1:/tmp/cvs-serv21521/src/freenet/node/rt Modified Files: StandardNodeEstimator.java Log Message: 6320: Set a proper timeout on QueryRejected messages from NewRequest - these account for the vast majority of

[freenet-CVS] freenet/src/freenet/client AutoRequester.java, 1.37, 1.38

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/client In directory sc8-pr-cvs1:/tmp/cvs-serv23905/src/freenet/client Modified Files: AutoRequester.java Log Message: 6321: Logging. Index: AutoRequester.java === RCS file:

[freenet-CVS] freenet/src/freenet/node/rt NGRouting.java,1.23,1.24

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node/rt In directory sc8-pr-cvs1:/tmp/cvs-serv23905/src/freenet/node/rt Modified Files: NGRouting.java Log Message: 6321: Logging. Index: NGRouting.java === RCS file:

[freenet-CVS] freenet/src/freenet Version.java,1.517,1.518

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv23905/src/freenet Modified Files: Version.java Log Message: 6321: Logging. Index: Version.java === RCS file:

[freenet-dev] Probabilistic caching

2003-11-07 Thread thong
I need a few details for a Freenet paper I'm working on at the moment... Does Fred do probabilistic caching now? If so, what is the algorithm? thanks, theo ___ Devl mailing list [EMAIL PROTECTED]

[freenet-CVS] freenet/src/freenet/node Node.java,1.242,1.243

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/node In directory sc8-pr-cvs1:/tmp/cvs-serv25218/src/freenet/node Modified Files: Node.java Log Message: 6322: Make bandwidth limiting related QRing smoother. Index: Node.java

[freenet-CVS] freenet/src/freenet Version.java,1.518,1.519

2003-11-07 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet In directory sc8-pr-cvs1:/tmp/cvs-serv25218/src/freenet Modified Files: Version.java Log Message: 6322: Make bandwidth limiting related QRing smoother. Index: Version.java ===

[freenet-dev] NGR problems and QRs

2003-11-07 Thread Andrew Rodland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The way I'm reading the code (admittedly, I'm not entirely familiar with it), when we have a search eventually succeed after receiving one or more QRs, only the time it took to succeed on the last node is fed to globalEstimator. So, globalEstimator

[freenet-dev] Re: QueryReject patterns and NGRouting

2003-11-07 Thread Zlatin Balevsky
One radical solution: Remove the code to reject queries when the bandwidth limit is exceeded! which returns us in the state 5010-5018 where the node has accepted umpteen transfers, each going at snail speed. Making that prevalent accross the network will be catastrophic. Another possibility is