[freenet-CVS] freenet/src/freenet OpenConnectionManager.java, 1.142, 1.143

2003-10-23 Thread Pascal
Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv23443

Modified Files:
OpenConnectionManager.java 
Log Message:
Correct the "Send queue"/"Data sent" labels.

Index: OpenConnectionManager.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/OpenConnectionManager.java,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -w -r1.142 -r1.143
--- OpenConnectionManager.java  24 Oct 2003 04:35:10 -  1.142
+++ OpenConnectionManager.java  24 Oct 2003 04:39:53 -  1.143
@@ -1601,8 +1601,8 @@
 
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.RECEIVING,"Receiving"));
 
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.MESSAGES,"Messages"));
 if(useOldStyle || viewLevel>0) {
-
//pw.print(renderTableHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.SENDQUEUE,"Data
 sent"));
-
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.DATASENT,"Send
 queue"));
+
//pw.print(renderTableHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.SENDQUEUE,"Send
 queue"));
+
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.DATASENT,"Data
 sent"));
 
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.RECEIVEQUEUE,"Receive
 queue"));
 
pw.print(renderConnectionsTableColumnHeader(req.getRequestURI(),iSortingMode,ConnectionHandlerComparator.DATARECEIVED,"Data
 received"));
 } else {

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet/node/rt NGRoutingTable.java, 1.15, 1.16

2003-10-23 Thread Edward J. Huff
Update of /cvsroot/freenet/freenet/src/freenet/node/rt
In directory sc8-pr-cvs1:/tmp/cvs-serv22946

Modified Files:
NGRoutingTable.java 
Log Message:
Fix NPE in NGRoutingTable.reference in same way as similar NPE
was fixed in NGRoutingTable.updateReference.


Index: NGRoutingTable.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/node/rt/NGRoutingTable.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -r1.15 -r1.16
--- NGRoutingTable.java 23 Oct 2003 18:47:55 -  1.15
+++ NGRoutingTable.java 24 Oct 2003 04:35:41 -  1.16
@@ -187,6 +187,10 @@
} else if(nr.supersedes(mem.getNodeReference())) {
((DataObjectRoutingMemory)mem).noderef = nr;
NodeEstimator e = (NodeEstimator)(estimators.get(i));
+   if (e == null)
+   Core.logger.log(this, "Got "+mem+" but not estimator!",
+   new 
Exception("debug"), Logger.NORMAL);
+   else
e.ref = nr;
}


___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet OpenConnectionManager.java, 1.141, 1.142

2003-10-23 Thread Pascal
Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv22903

Modified Files:
OpenConnectionManager.java 
Log Message:
Fix indenting (no functional changes)

Index: OpenConnectionManager.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/OpenConnectionManager.java,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -w -r1.141 -r1.142

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet/node Main.java,1.278,1.279

2003-10-23 Thread Pascal
Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv21889

Modified Files:
Main.java 
Log Message:
Fix threading

Index: Main.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -w -r1.278 -r1.279
--- Main.java   24 Oct 2003 04:22:03 -  1.278
+++ Main.java   24 Oct 2003 04:27:09 -  1.279
@@ -361,7 +361,7 @@
 Node.threadFactoryName = params.getString("threadFactory"); // need for 
initDiagnostics
 
 // Backward compatible defaults.
-if (Node.maxThreads < 0) {
+if (Node.maxThreads <= 0) {
 if (Node.threadFactoryName.equals("Q")) {
 Node.threadFactoryName = "F";
 }
@@ -1407,7 +1407,7 @@
 ThreadFactory tf = null;
 if (Node.threadFactoryName.equals("Y")) {
 tf = (ThreadFactory) new YThreadFactory(tg, Node.targetMaxThreads, 
"YThread-");
-} else if (Node.threadFactoryName.equals("T")) {
+} else if (Node.threadFactoryName.equals("F")) {
 tf = (ThreadFactory) new FastThreadFactory(tg, Node.maxThreads);
 } else if (Node.threadFactoryName.equals("Q")) {
 tf = (ThreadFactory) new QThreadFactory(tg, Node.targetMaxThreads);

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet/node Main.java,1.277,1.278

2003-10-23 Thread Pascal
Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv21112

Modified Files:
Main.java 
Log Message:
Fix indenting (no functional changes)

Index: Main.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -w -r1.277 -r1.278

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-dev] xsl in fproxy

2003-10-23 Thread Zlatin Balevsky
Can anyone familiar with xsl list the differences between filtering html 
for anonimity-compromising content and filtering xsl transformations?  
If an xml file is filtered agains the current rules (no off-freenet 
links, no actions) and its corresponding xsl is made sure not to contain 
any such transformations will there be any additional issues freenet 
users should be concerned about?

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Using NGR network information

2003-10-23 Thread Tom Kaitchuck
On Thursday 23 October 2003 21:36, Doug Bostrom wrote:
> Greetings,
>
> Having responded to Matthew's request for a few people to set up a test
> network of NGR servers, I'm now wondering how the one I've started can be
> more useful. I've been using  it to retrieve various random things, and
> when I have a few moments from time to time I'll insert something into the
> network.
>
> Running the server and exercising it a little is all fine,and dandy,  but
> what about the information from error messages and the log output that's
> currently being dumped unwatched into a file on the host here? I'm split
> heavily on a bunch of other work, and I'll likely miss anything interesting
> that might be coughed up. So, an idea: Would it be completely stupid to
> capture the log output periodically, grep it for stuff suggested as
> interesting material by the developers, then gzip and  mail the result to
> some address where Matthew or whoever is responsible for all this can have
> a look at it? Sure, there's quite a bit in the logs but by removing all the
> unexceptional stuff maybe something would remain that would be useful if
> only you could see it. This could all be done effortlessly by a script. In
> fact, such a script could fashioned so that the items to search for could
> be retrieved along w/ the daily snapshot jar retrieval.
>
> Whatever helps get things working better- if you want the entire log for
> every day I'll be happy to send it. It just seems like a shame to be
> stabbing around in the dark (so to speak, I'm sure you're not actually)
> when there's all this info available if only you could see it.
>
> Given the nature of the NGR test network, it's hard to think that such a
> scheme would be a dreadful security compromise or somehow expose the
> network to danger.
>
> I mention all of this in part because a few hours ago while I was busy with
> a conference call I noticed the console on  the NGR box here spit out a
> dire warning having to with a serious JVM error or somesuch. Unfortunately
> I couldn't do a thing about it at the time and now I can't find it in the
> log, though it's presumably in there someplace.
>
> Over and out.

Better yet, insert it onto the network. Just have a script where Frost or 
something inserts it into a channel. That would give you plenty of traffic, 
new stuff to request, and make the information available. Make a few 
categories: Errors, Normal, Discussion etc.
I'll try to get a unstable node up tomorrow.

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Using NGR network information

2003-10-23 Thread Doug Bostrom
Greetings,

Having responded to Matthew's request for a few people to set up a test 
network of NGR servers, I'm now wondering how the one I've started can be 
more useful. I've been using  it to retrieve various random things, and when 
I have a few moments from time to time I'll insert something into the 
network.  

Running the server and exercising it a little is all fine,and dandy,  but 
what about the information from error messages and the log output that's 
currently being dumped unwatched into a file on the host here? I'm split 
heavily on a bunch of other work, and I'll likely miss anything interesting 
that might be coughed up. So, an idea: Would it be completely stupid to 
capture the log output periodically, grep it for stuff suggested as 
interesting material by the developers, then gzip and  mail the result to 
some address where Matthew or whoever is responsible for all this can have a 
look at it? Sure, there's quite a bit in the logs but by removing all the 
unexceptional stuff maybe something would remain that would be useful if only 
you could see it. This could all be done effortlessly by a script. In fact, 
such a script could fashioned so that the items to search for could be 
retrieved along w/ the daily snapshot jar retrieval.

Whatever helps get things working better- if you want the entire log for 
every day I'll be happy to send it. It just seems like a shame to be stabbing 
around in the dark (so to speak, I'm sure you're not actually) when there's 
all this info available if only you could see it.

Given the nature of the NGR test network, it's hard to think that such a 
scheme would be a dreadful security compromise or somehow expose the network 
to danger. 

I mention all of this in part because a few hours ago while I was busy with a 
conference call I noticed the console on  the NGR box here spit out a dire 
warning having to with a serious JVM error or somesuch. Unfortunately I 
couldn't do a thing about it at the time and now I can't find it in the log, 
though it's presumably in there someplace.

Over and out.
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-CVS] freenet/src/freenet/message Accepted.java, 1.3, 1.4 AnnouncementComplete.java, 1.3, 1.4 AnnouncementExecute.java, 1.3, 1.4 AnnouncementFailed.java, 1.7, 1.8 AnnouncementReply.java, 1.3, 1.4 DataInsert.java, 1.2, 1.3 DataNotFound.java, 1.4, 1.5 DataReply.java, 1.4, 1.5 DataRequest.java, 1.7, 1.8 DataSend.java, 1.8, 1.9 Identify.java, 1.5, 1.6 InsertReply.java, 1.3, 1.4 InsertRequest.java, 1.3, 1.4 NodeAnnouncement.java, 1.6, 1.7 NodeMessage.java, 1.7, 1.8 QueryAborted.java, 1.3, 1.4 QueryRejected.java, 1.9, 1.10 QueryRestarted.java, 1.3, 1.4 Request.java, 1.15, 1.16 StoreData.java, 1.10, 1.11 VoidMessage.java, 1.3, 1.4

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/message
In directory sc8-pr-cvs1:/tmp/cvs-serv2447/src/freenet/message

Modified Files:
Accepted.java AnnouncementComplete.java 
AnnouncementExecute.java AnnouncementFailed.java 
AnnouncementReply.java DataInsert.java DataNotFound.java 
DataReply.java DataRequest.java DataSend.java Identify.java 
InsertReply.java InsertRequest.java NodeAnnouncement.java 
NodeMessage.java QueryAborted.java QueryRejected.java 
QueryRestarted.java Request.java StoreData.java 
VoidMessage.java 
Log Message:
6276:
Fix major bug in 6275; make Message.toRawMessage(Presentation,PeerHandler) be the one 
and only toRawMessage method, to prevent horrible confusion problems we had. Change 
all messages to implement it, all uses to use it.
Logging.


Index: Accepted.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/Accepted.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- Accepted.java   9 Oct 2003 00:23:39 -   1.3
+++ Accepted.java   24 Oct 2003 02:24:57 -  1.4
@@ -21,8 +21,8 @@
super(source, raw);
 }
 
-public RawMessage toRawMessage(Presentation t) {
-   RawMessage raw = super.toRawMessage(t);
+public RawMessage toRawMessage(Presentation t, PeerHandler ph) {
+   RawMessage raw = super.toRawMessage(t,ph);
//raw.messageType=messageName;
return raw;
 }

Index: AnnouncementComplete.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/AnnouncementComplete.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- AnnouncementComplete.java   9 Oct 2003 00:23:39 -   1.3
+++ AnnouncementComplete.java   24 Oct 2003 02:24:57 -  1.4
@@ -30,8 +30,8 @@
 in = (raw.trailingFieldLength == 0 ? null : raw.trailingFieldStream);
 }
 
-public RawMessage toRawMessage(Presentation p) {
-RawMessage raw = super.toRawMessage(p);
+public RawMessage toRawMessage(Presentation p, PeerHandler ph) {
+RawMessage raw = super.toRawMessage(p,ph);
 //raw.messageType = messageName;   
 raw.trailingFieldName = "Keys";
 raw.trailingFieldLength = keys.streamLength();

Index: AnnouncementExecute.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/AnnouncementExecute.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- AnnouncementExecute.java9 Oct 2003 00:23:39 -   1.3
+++ AnnouncementExecute.java24 Oct 2003 02:24:57 -  1.4
@@ -46,8 +46,8 @@
 in = raw.trailingFieldStream;
 }
 
-public RawMessage toRawMessage(Presentation p) {
-RawMessage raw = super.toRawMessage(p);
+public RawMessage toRawMessage(Presentation p, PeerHandler ph) {
+RawMessage raw = super.toRawMessage(p,ph);
 raw.messageType = messageName;
 raw.fs.add("RefSignature", refSignature);
 raw.trailingFieldName = "Values";

Index: AnnouncementFailed.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/AnnouncementFailed.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -r1.7 -r1.8
--- AnnouncementFailed.java 18 Oct 2003 00:17:56 -  1.7
+++ AnnouncementFailed.java 24 Oct 2003 02:24:57 -  1.8
@@ -61,8 +61,8 @@
 }
 }
 
-public RawMessage toRawMessage(Presentation p) {
-RawMessage raw = super.toRawMessage(p);
+public RawMessage toRawMessage(Presentation p, PeerHandler ph) {
+RawMessage raw = super.toRawMessage(p,ph);
 //raw.messageType = messageName;
 raw.fs.add("Reason",Fields.longToHex(reason));
 

Index: AnnouncementReply.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/AnnouncementReply.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- AnnouncementReply.java  9 Oct 2003 00:23:39 -   1.3
+++ AnnouncementReply.java  24 Oct 2003 02:24:58 -  1.4
@@ -37,8 +37,8 @@
 }
 }
 
-public RawMessage toRawMessage(Presentation p) {
-RawMessage raw = super.toRawMessage(p);
+public RawMessage toRawMessage(Presentation p, PeerHandler ph) {
+RawMessage raw = super.toRawMessage(p,ph);
 //raw.messageType = messageName;
 raw.fs.add("ReturnValue",Fields.bytesToHex(returnVal));
 return raw;

Index: DataInsert.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/DataInsert.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- Da

[freenet-CVS] freenet/src/freenet/message/client ClientMessage.java, 1.8, 1.9

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/message/client
In directory sc8-pr-cvs1:/tmp/cvs-serv2447/src/freenet/message/client

Modified Files:
ClientMessage.java 
Log Message:
6276:
Fix major bug in 6275; make Message.toRawMessage(Presentation,PeerHandler) be the one 
and only toRawMessage method, to prevent horrible confusion problems we had. Change 
all messages to implement it, all uses to use it.
Logging.


Index: ClientMessage.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/client/ClientMessage.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -r1.8 -r1.9
--- ClientMessage.java  18 Oct 2003 00:17:56 -  1.8
+++ ClientMessage.java  24 Oct 2003 02:24:58 -  1.9
@@ -68,7 +68,7 @@
": " + getMessageName() + " @" + Long.toHexString(id);
 }
 
-public RawMessage toRawMessage(Presentation t) {
+public RawMessage toRawMessage(Presentation t, PeerHandler ph) {
 RawMessage raw = t.newMessage( getMessageName(), close, true,
otherFields, 0, "EndMessage", null );
 if (dataLength > 0) {

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet ConnectionHandler.java, 1.196, 1.197 Message.java, 1.10, 1.11 PeerPacketMessage.java, 1.17, 1.18 Version.java, 1.468, 1.469

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv2447/src/freenet

Modified Files:
ConnectionHandler.java Message.java PeerPacketMessage.java 
Version.java 
Log Message:
6276:
Fix major bug in 6275; make Message.toRawMessage(Presentation,PeerHandler) be the one 
and only toRawMessage method, to prevent horrible confusion problems we had. Change 
all messages to implement it, all uses to use it.
Logging.


Index: ConnectionHandler.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/ConnectionHandler.java,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -w -r1.196 -r1.197
--- ConnectionHandler.java  23 Oct 2003 18:47:55 -  1.196
+++ ConnectionHandler.java  24 Oct 2003 02:24:57 -  1.197
@@ -2094,6 +2094,8 @@
return false;
}
try {
+   Core.logger.log(this, "Sending packet: \n"+
+   new String(toSend), 
Logger.DEBUG);
sendBytes(toSend, 0, toSend.length, prio);
} catch (IOException e) {
Core.logger.log(this, "Got IOException trying to send packet "+

Index: Message.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/Message.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -r1.10 -r1.11
--- Message.java23 Oct 2003 18:47:55 -  1.10
+++ Message.java24 Oct 2003 02:24:57 -  1.11
@@ -67,21 +67,13 @@
 
 /** Converts this message to something that can be sent over the wire,
   * using the given Presentation.
+  * @argument ph some messages need to know what PeerHandler they are going to
   */
-public RawMessage toRawMessage(Presentation t) {
-   return toRawMessage(t, null);
-}
-
-public RawMessage toRawMessage(Presentation t, ConnectionHandler ch) {
+public RawMessage toRawMessage(Presentation t, PeerHandler ph) {
 RawMessage r = t.newMessage(getMessageName(), close , sustain,
 otherFields, 0, "EndMessage", null);
 
 return r;
-}
-
-public RawMessage toRawMessage(Presentation t, ConnectionHandler ch,
-  PeerHandler ph) {
-   return toRawMessage(t, ch);
 }
 
 /** Part of the MessageObject implementation.

Index: PeerPacketMessage.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/PeerPacketMessage.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -r1.17 -r1.18
--- PeerPacketMessage.java  23 Oct 2003 18:47:55 -  1.17
+++ PeerPacketMessage.java  24 Oct 2003 02:24:57 -  1.18
@@ -71,7 +71,7 @@
this.content = null;
return;
}
-   this.raw = msg.toRawMessage(p, null, ph);
+   this.raw = msg.toRawMessage(p, ph);
try {
synchronized (bais) {
bais.reset();

Index: Version.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/Version.java,v
retrieving revision 1.468
retrieving revision 1.469
diff -u -w -r1.468 -r1.469
--- Version.java23 Oct 2003 18:47:55 -  1.468
+++ Version.java24 Oct 2003 02:24:57 -  1.469
@@ -18,7 +18,7 @@
 public static String protocolVersion = "1.47";
 
 /** The build number of the current revision */
-public static final int buildNumber = 6275;
+public static final int buildNumber = 6276;
 // 6028: may 3; ARK retrieval fix
 
 public static final int ignoreBuildsAfter = 6500;

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet/client FCPClient.java,1.18,1.19

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/client
In directory sc8-pr-cvs1:/tmp/cvs-serv2447/src/freenet/client

Modified Files:
FCPClient.java 
Log Message:
6276:
Fix major bug in 6275; make Message.toRawMessage(Presentation,PeerHandler) be the one 
and only toRawMessage method, to prevent horrible confusion problems we had. Change 
all messages to implement it, all uses to use it.
Logging.


Index: FCPClient.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/client/FCPClient.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -r1.18 -r1.19
--- FCPClient.java  18 Oct 2003 00:17:56 -  1.18
+++ FCPClient.java  24 Oct 2003 02:24:57 -  1.19
@@ -1322,10 +1322,10 @@
 int i;
 for (i = 0; i < req.headers.length; i++) {
 // Write header
-RawMessage m = req.headers[i].toRawMessage(protocol);
+RawMessage m = req.headers[i].toRawMessage(protocol,null);
 m.writeMessage(dataOut);
 // Write map
-m = req.maps[i].toRawMessage(protocol);
+m = req.maps[i].toRawMessage(protocol,null);
 m.writeMessage(dataOut);
 }
 dataOut.close();
@@ -1482,7 +1482,7 @@
 }
 
 private final static void dumpHeader(SegmentHeader header, Bucket bucket) throws 
IOException {
-RawMessage m = header.toRawMessage(protocol);
+RawMessage m = header.toRawMessage(protocol,null);
 OutputStream o = null;
 try {
 o = bucket.getOutputStream();

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


Re: [freenet-dev] Re: Index for unstable network

2003-10-23 Thread Conrad J. Sabatier
On Thu, Oct 23, 2003 at 06:46:24PM -0700, Martin Stone Davis wrote:
> Conrad J. Sabatier wrote:
> 
> >Damn, of all the times for my node to go belly-up, just as I was inserting 
> >the site again.  :-)  Ah well, gave me a chance to upgrade before 
> >restarting.
> 
> Err... if you've upgraded to 6275, then you better downgrade again to 
> 6274 or wait for Toad to fix the problem with 6275.

So I see,  :-)  Will do.

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: Index for unstable network

2003-10-23 Thread Martin Stone Davis
Conrad J. Sabatier wrote:

Damn, of all the times for my node to go belly-up, just as I was inserting 
the site again.  :-)  Ah well, gave me a chance to upgrade before 
restarting.
Err... if you've upgraded to 6275, then you better downgrade again to 
6274 or wait for Toad to fix the problem with 6275.

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Re: Index for unstable network

2003-10-23 Thread Conrad J. Sabatier
On Thu, Oct 23, 2003 at 08:12:38PM -0500, Conrad J. Sabatier wrote:
> On Thu, Oct 23, 2003 at 05:29:04PM -0700, Martin Stone Davis wrote:
> > Conrad J. Sabatier wrote:
> > 
> > >On Thu, Oct 23, 2003 at 06:15:15PM -0500, Conrad J. Sabatier wrote:
> > >
> > >>I've been running a spider, collecting site info and am now in the 
> > >>process of inserting a new index freesite.  Nearly done.
> > >>
> > >>Figured we could use an index site of what's actually available under the
> > >>unstable network.
> > >>
> > >>As soon as the insertion is complete, I'll post the URI.  Stay tuned.
> > >
> > >
> > >OK, the URI is:
> > >
> > >[EMAIL PROTECTED],flaghATTIcmo6j3ic7qohg/[EMAIL PROTECTED]/DFI//
> > 
> > Post again, please, without the at sign... gmane is screwing it up.
> > 
> > Thanks!
> > -Martin
> 
> You mean like this?
> 
> SSK PcUIAvD3Jm7ThsH9HWFrYxIGEw0PAgM,flaghATTIcmo6j3ic7qohg/SSK 
> PcUIAvD3Jm7ThsH9HWFrYxIGEw0PAgM/DFI//
> 
> " " = "@"
> 
> Actually, it's in the process of updating again right now, so it may not be 
> immediately accessible.  The first insertion was done just before 00:00:00 
> GMT.  :-)

Damn, of all the times for my node to go belly-up, just as I was inserting 
the site again.  :-)  Ah well, gave me a chance to upgrade before 
restarting.

Trying again...bear with me here, I'm a newbie at this insertion business.  
:-)

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Re: Index for unstable network

2003-10-23 Thread Conrad J. Sabatier
On Thu, Oct 23, 2003 at 05:29:04PM -0700, Martin Stone Davis wrote:
> Conrad J. Sabatier wrote:
> 
> >On Thu, Oct 23, 2003 at 06:15:15PM -0500, Conrad J. Sabatier wrote:
> >
> >>I've been running a spider, collecting site info and am now in the 
> >>process of inserting a new index freesite.  Nearly done.
> >>
> >>Figured we could use an index site of what's actually available under the
> >>unstable network.
> >>
> >>As soon as the insertion is complete, I'll post the URI.  Stay tuned.
> >
> >
> >OK, the URI is:
> >
> >[EMAIL PROTECTED],flaghATTIcmo6j3ic7qohg/[EMAIL PROTECTED]/DFI//
> 
> Post again, please, without the at sign... gmane is screwing it up.
> 
> Thanks!
> -Martin

You mean like this?

SSK PcUIAvD3Jm7ThsH9HWFrYxIGEw0PAgM,flaghATTIcmo6j3ic7qohg/SSK 
PcUIAvD3Jm7ThsH9HWFrYxIGEw0PAgM/DFI//

" " = "@"

Actually, it's in the process of updating again right now, so it may not be 
immediately accessible.  The first insertion was done just before 00:00:00 
GMT.  :-)

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: Index for unstable network

2003-10-23 Thread Martin Stone Davis
Conrad J. Sabatier wrote:

On Thu, Oct 23, 2003 at 06:15:15PM -0500, Conrad J. Sabatier wrote:

I've been running a spider, collecting site info and am now in the process 
of inserting a new index freesite.  Nearly done.

Figured we could use an index site of what's actually available under the
unstable network.
As soon as the insertion is complete, I'll post the URI.  Stay tuned.


OK, the URI is:

[EMAIL PROTECTED],flaghATTIcmo6j3ic7qohg/[EMAIL PROTECTED]/DFI//
Post again, please, without the at sign... gmane is screwing it up.

Thanks!
-Martin
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Index for unstable network

2003-10-23 Thread Conrad J. Sabatier
On Thu, Oct 23, 2003 at 06:15:15PM -0500, Conrad J. Sabatier wrote:
> I've been running a spider, collecting site info and am now in the process 
> of inserting a new index freesite.  Nearly done.
> 
> Figured we could use an index site of what's actually available under the
> unstable network.
> 
> As soon as the insertion is complete, I'll post the URI.  Stay tuned.

OK, the URI is:

[EMAIL PROTECTED],flaghATTIcmo6j3ic7qohg/[EMAIL PROTECTED]/DFI//

Pardon the fact that it's a little rough around the edges.  I used Fspider 
from the "My Freenet Index" site to generate everything, and for some stupid 
reason, it defaults to using CHECKED_HTTP for all of the GUI elements, even 
though it's using the built-in aqua stuff.  I hope to remedy that soon.

Anyway, these are the sites I've found so far.  It's a DBR site, by the way, 
so check back every day for updates.

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: Unstable weirdness in node file

2003-10-23 Thread pineapple
Running winxp home, sun jvm 1.4.2.  Anyone else have
this problem where their fnp port does NOT match what
is in their freenet.ini file?  The only error in my
logfile was this:

23-Oct-2003 5:06:07 PM
(freenet.support.io.NIOInputStream, QThread-17,
NORMAL): waited more than 5 minutes in NIOIS.read()
tcp/connection:
4852>213.243.189.247:13462,[EMAIL PROTECTED]:[EMAIL PROTECTED]
closing
java.lang.Exception: debug
at
freenet.support.io.NIOInputStream.read(NIOInputStream.java:293)
at java.io.FilterInputStream.read(Unknown Source)
at
freenet.session.FnpLink.negotiateOutbound(FnpLink.java:607)
at freenet.session.FnpLink.solicit(FnpLink.java:174)
at
freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:96)
at
freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:974)
at
freenet.OpenConnectionManager.createConnection(OpenConnectionManager.java:542)
at
freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:178)
at
freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:56)
at
freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:49)
at
freenet.node.StateChain.received(StateChain.java:195)
at
freenet.node.StateChain.received(StateChain.java:71)
at
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:234)
at
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:172)
at
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHandler.java:124)
at
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:72)
at freenet.Ticker$Event.run(Ticker.java:323)
at
freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:234)


- Original Message - 
From: "Niklas Bergh" <[EMAIL PROTECTED]>
To: "Discussion of development issues"
<[EMAIL PROTECTED]>
Sent: Thursday, October 23, 2003 1:37 PM
Subject: Re: [freenet-dev] Unstable weirdness in node
file


> Have you seen anything strange in the log file?
> 
> /N
> 
> - Original Message - 
> From: "pineapple" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 23, 2003 3:42 PM
> Subject: [freenet-dev] Unstable weirdness in node
file
> 
> 
> > Just tried the latest unstable build.  For some
reason
> > physical.tcp in the node file has a port that does
not
> > match my freenet.ini file.  The port number seems
to
> > be generated randomly every time the node is
started
> > and I can't prevent it from changing even by write
> > protecting the file.
> > 
> > __
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
search
> > http://shopping.yahoo.com
> > ___
> > Devl mailing list
> > [EMAIL PROTECTED]
> >
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
> > 
> ___
> Devl mailing list
> [EMAIL PROTECTED]
>
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Index for unstable network

2003-10-23 Thread Conrad J. Sabatier
I've been running a spider, collecting site info and am now in the process 
of inserting a new index freesite.  Nearly done.

Figured we could use an index site of what's actually available under the
unstable network.

As soon as the insertion is complete, I'll post the URI.  Stay tuned.

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: 6275 stack traces

2003-10-23 Thread Martin Stone Davis
Martin Stone Davis wrote:
> This is accompanied by 0/0 transmitting/receiving connections on ocm
> most of the time.
>
> -Martin
>
> Martin Stone Davis wrote:
>
>> Immediately after starting 6275, I got this:
>>

Going back to 6274 solved the problem.  No need to reseed either.  And 
guess what, I'm still getting stack traces like this with 6274:

Oct 23, 2003 3:59:59 PM (freenet.node.Node, main, NORMAL): Scheduling 
open on all 34 connections
Oct 23, 2003 4:05:02 PM (freenet.support.io.NIOInputStream, QThread-29, 
NORMAL): waited more than 5 minutes in NIOIS.read() tcp/connection: 
3233>208.180.130.230:2468,[EMAIL PROTECTED]:[EMAIL PROTECTED] 
closing
java.lang.Exception: debug
	at freenet.support.io.NIOInputStream.read(NIOInputStream.java:293)
	at java.io.FilterInputStream.read(Unknown Source)
	at freenet.session.FnpLink.negotiateOutbound(FnpLink.java:607)
	at freenet.session.FnpLink.solicit(FnpLink.java:174)
	at freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:96)
	at 
freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:974)
	at 
freenet.OpenConnectionManager.createConnection(OpenConnectionManager.java:542)
	at freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:178)
	at 
freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:56)
	at freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:49)
	at freenet.node.StateChain.received(StateChain.java:195)
	at freenet.node.StateChain.received(StateChain.java:71)
	at 
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:234)
	at 
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:172)
	at 
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHandler.java:124)
	at 
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:72)
	at freenet.Ticker$Event.run(Ticker.java:323)
	at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:234)



-Martin

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: 6275 stack traces

2003-10-23 Thread Martin Stone Davis
This is accompanied by 0/0 transmitting/receiving connections on ocm 
most of the time.

-Martin

Martin Stone Davis wrote:

Immediately after starting 6275, I got this:

Oct 23, 2003 1:33:59 PM (freenet.node.rt.NGRoutingTable, main, NORMAL): 
Loading estimators
Oct 23, 2003 1:34:00 PM (freenet.node.rt.NGRoutingTable, main, NORMAL): 
Rejecting reference tcp/62.57.115.57:51643, sessions=1, presentations=1, 
ID=DSA(236b a5e9 0eb2 c7e9 0f5a  a8cf b36f ac5c 7de4 be6e) - too old in 
loadEstimators
Oct 23, 2003 1:34:00 PM (freenet.node.rt.DecayingRunningAverage, main, 
NORMAL): reset 5360152.0064
java.lang.Exception: debug
at 
freenet.node.rt.DecayingRunningAverage.(DecayingRunningAverage.java:23) 

at 
freenet.node.rt.DecayingRunningAverage$DecayingRunningAverageFactory.create(DecayingRunningAverage.java:55) 

at 
freenet.node.rt.StandardNodeEstimator.(StandardNodeEstimator.java:65)
at 
freenet.node.rt.StandardNodeEstimatorFactory.create(StandardNodeEstimatorFactory.java:58) 

at 
freenet.node.rt.NGRoutingTable.loadEstimators(NGRoutingTable.java:104)
at freenet.node.rt.NGRoutingTable.(NGRoutingTable.java:49)
at freenet.node.Main.main(Main.java:784)
Oct 23, 2003 1:34:00 PM (freenet.node.rt.NGRoutingTable, main, NORMAL): 
Rejecting reference tcp/213.243.189.247:13462, sessions=1, 
presentations=1, ID=DSA(36d5 b8a9 7af7 95c8 8cb8  b8ff 4a02 5a11 bfd8 
e57a) - too old in loadEstimators

and then later I see these sprinkled throughout the log:

Oct 23, 2003 1:39:09 PM (freenet.support.io.NIOInputStream, QThread-22, 
NORMAL): waited more than 5 minutes in NIOIS.read() tcp/connection: 
4243>208.180.130.230:2468,[EMAIL PROTECTED]:[EMAIL PROTECTED] 
closing
java.lang.Exception: debug
at freenet.support.io.NIOInputStream.read(NIOInputStream.java:293)
at java.io.FilterInputStream.read(Unknown Source)
at freenet.session.FnpLink.negotiateOutbound(FnpLink.java:607)
at freenet.session.FnpLink.solicit(FnpLink.java:174)
at 
freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:96)
at 
freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:974) 

at 
freenet.OpenConnectionManager.createConnection(OpenConnectionManager.java:542) 

at freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:178)
at 
freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:56)
at 
freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:49)
at freenet.node.StateChain.received(StateChain.java:195)
at freenet.node.StateChain.received(StateChain.java:71)
at 
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:234) 

at 
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:172) 

at 
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHandler.java:124) 

at 
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:72)
at freenet.Ticker$Event.run(Ticker.java:323)
at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:234)
Oct 23, 2003 1:39:11 PM (freenet.support.io.NIOInputStream, QThread-7, 
NORMAL): waited more than 5 minutes in NIOIS.read() tcp/connection: 
4229>68.15.17.90:10560,[EMAIL PROTECTED]:[EMAIL PROTECTED] 
closing
java.lang.Exception: debug
at freenet.support.io.NIOInputStream.read(NIOInputStream.java:293)
at java.io.FilterInputStream.read(Unknown Source)
at freenet.session.FnpLink.negotiateOutbound(FnpLink.java:607)
at freenet.session.FnpLink.solicit(FnpLink.java:174)
at 
freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:96)
at 
freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:974) 

at 
freenet.OpenConnectionManager.createConnection(OpenConnectionManager.java:542) 

at freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:178)
at 
freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:56)
at 
freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:49)
at freenet.node.StateChain.received(StateChain.java:195)
at freenet.node.StateChain.received(StateChain.java:71)
at 
freenet.node.StandardMessageHandler$Ticket.run(StandardMessageHandler.java:234) 

at 
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:172) 

at 
freenet.node.StandardMessageHandler$Ticket.access$100(StandardMessageHandler.java:124) 

at 
freenet.node.StandardMessageHandler.handle(StandardMessageHandler.java:72)
at freenet.Ticker$Event.run(Ticker.java:323)
at freenet.thread.QThreadFactory$QThread.run(QThreadFactory.java:234)
Oct 23, 2003 1:39:11 PM (freenet.client.GetRequestProcess, QThread-265, 
NORMAL): Event: State FAILED reached. for 
[EMAIL PROTECTED]:freenet:[EMAIL PROTECTED]@Sc6qV~D6iFhaYord6HtbjJ8MaEYPAgM/YoYo//@25,true 
before failure

and some of these:

2003 1:39:23 PM (freenet.support.io.NIOInputStream, QThread-28, NORMAL): 
waited more th

Re: [freenet-dev] Re: Project Manager Needed?

2003-10-23 Thread Tom Kaitchuck
On Thursday 23 October 2003 08:02, digital ch wrote:
> You can't have it both ways.  The developers want a large group of people
> to test with.  That means those of us who want to support the project may
> opt for reduced functionality.  That doesn't mean we should be completely
> surprised by changes.  I don't care if you make changes that break the app,
> what I care is when you intentionally make drastic changes and don't warn
> the user ahead of time.
>
> I'm in development, and I have users that verify my product in a QA
> environment.  If I make changes that I know will seriously change the
> environement without warning them first I catch a world of crap.  Why?
> Because I wasted their time while they tried to figure out what was going
> on, emailing, bug tracking, etc.   The key point here is that they have to
> be notified in advance so they can plan accordingly.  I think many of the
> complaints started today originate from that.  The users would have
> preferred to know what was going on so they didn't  upgrade if they didn't
> want to take the risk.
>
> Developers suck at prioritizing and documentation both. I know I was a
> developer, now I have lots of them working under me.  Want proof?  Show me
> where there is one really good developer grade piece of documentation on
> freenet?  You can't cause it doesn't exist.  The reason more developers
> don't work on this project is because it is obscenely complicated and there
> is no really good documentation that tells you the architctecture so that
> you can figure out what you should do to start working on a particular
> piece.  Would it really be so hard to put together a document that says
> here are what the major classes are, here is what they are doing, here is
> where we need work?   If you believe people really want to read through the
> source to figure out whats going on your wrong.  I want to know exactly
> where to focus my attention.  Then once I jump in at the appropriate spot I
> will dig into the source and go to work.  I don't want to read 500 pages
> worth of source to figure out the spot I should start work.
>
> I say this realizing that we have other priorities. (Getting freenet to
> work for instance)  But it's one of those wierd economic issues.  Maybe if
> we did a better job with the little things we would end up with more
> resources and we could bang out the bigger things quicker...
>
> Toad, and all the other devs don't feel I'm trashing you.  Anyone who works
> that hard on a project where people are always complaining and making
> suggestions(self included) gets my admiriation.  I'm sure it has to be
> infinitely frustating.
>
> I've experienced that to.  It sucks I agree.  If you ever work under a real
> PM/Architect and it will change how you view these things dramatically.

I agree that most of the problems that people are complaining about result 
from people not knowing what to expect or what they can do. We have a open 
jobs list for the developers, but it is not updated often, and most of the 
actual development discussion takes place off this list. Also user are seldom 
warned whether a new build is likely to break and/or if it is worth their 
time to upgrade. Finally the webpage has very little documentation on it. It 
is hard for someone to find out information on how freenet works, even though 
it is there if they look hard enough. 

I think all of these problems could be solved if we had someone specifically 
trying to address them. Because I have been to occupied to become involved in 
development and will be for the forseeable future, and I would like to 
contribute to the project, I would like to volenter for the position of 
'Development cheerleader'. I have been using Freenet for a long time and have 
a very solid understanding of how it works, so I think I could easily do 
this. Basically I would ask all the developers to periodically send me an 
E-mail telling me: what they are doing, any bugs that they have found and not 
fixed, and what needs to be worked on. Then I will periodically send a 
message to this list that gives a status update. Then I will post a 
simplified version of the same to chat with each new version. If I get time, 
and was granted access to the websight I would upload more technical 
documentation.

How does that sound?

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Website

2003-10-23 Thread Ian Clarke
Are you still seeing that?

Jon Forsberg wrote:

Hi!
I get 

Warning: open(/tmp/sess_32eee295938ec27da2d1f7bf0f163672, O_RDWR) failed:
 No space left on device (28) in /home/groups/f/fr/freenet/htdocs/index.php
 on line 2
all over the website. Maybe that's something somebody should do something
about. It doesn't look to nice.
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl



___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Unstable weirdness in node file

2003-10-23 Thread Niklas Bergh
Have you seen anything strange in the log file?

/N

- Original Message - 
From: "pineapple" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 23, 2003 3:42 PM
Subject: [freenet-dev] Unstable weirdness in node file


> Just tried the latest unstable build.  For some reason
> physical.tcp in the node file has a port that does not
> match my freenet.ini file.  The port number seems to
> be generated randomly every time the node is started
> and I can't prevent it from changing even by write
> protecting the file.
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> ___
> Devl mailing list
> [EMAIL PROTECTED]
> http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-CVS] freenet/src/freenet/message Identify.java, 1.3, 1.4 Request.java, 1.13, 1.14

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet/message
In directory sc8-pr-cvs1:/tmp/cvs-serv14434/src/freenet/message

Modified Files:
Identify.java Request.java 
Log Message:
6274:
Logging, toString(), try to catch a bizarre crash reported by hirvox, and wierd stuff 
with messages being delayed rather than dropped locally.
Verify Identify messages' NodeRefs
The connhandler ref takes precedence over the ref in the Request. If no connhandler 
ref, and the Request ref is signed, set the ref on the ConnHandler to the Request ref.
Basic idea is to cut verifications, which may have been killing the RSL.
Up lastGoodBuild to 6270.


Index: Identify.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/Identify.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- Identify.java   9 Oct 2003 00:23:40 -   1.3
+++ Identify.java   23 Oct 2003 18:12:36 -  1.4
@@ -23,8 +23,8 @@
if(nodeRef == null) 
throw new InvalidMessageException("No reference found");
try {
-   // there is no reason to verify this.
-   sourceRef = new NodeReference(nodeRef, false, 
+   // Verify it so we can pass it on
+   sourceRef = new NodeReference(nodeRef, true, 
  source.peerIdentity());
} catch (BadReferenceException e) {
throw new InvalidMessageException("Failed to read NodeReference: "

Index: Request.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/message/Request.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -r1.13 -r1.14
--- Request.java23 Oct 2003 00:09:41 -  1.13
+++ Request.java23 Oct 2003 18:12:36 -  1.14
@@ -43,14 +43,23 @@
 searchKey = Key.readKey(keyString);
 hopsToLive= Fields.hexToInt(hopsString);
 // there is no reason to verify this.
-   if (nodeRef == null) {
-   requestSource = source.targetReference();
-   if(requestSource == null)
+   NodeReference ref = source.targetReference();
+   if (ref == null) {
+   Core.logger.log(this, "Getting requestSource from message: "+this+
+   ","+nodeRef+" for "+source, Logger.MINOR);
+   if(nodeRef == null)
throw new InvalidMessageException("Can't find Source field");
-   } else {
-   requestSource = new NodeReference(nodeRef, false, true,
- source.peerIdentity());
+   ref = new NodeReference(nodeRef, false, true, source.peerIdentity());
+   if(ref.isSigned()) {
+   source.setTargetReference(ref);
+   Core.logger.log(this, "Set targetReference on "+source+" to "+ref,
+   Logger.DEBUG);
}
+   } else if (nodeRef != null)
+   Core.logger.log(this, "Message "+this+" for "+source+" has "+
+   nodeRef+" but conn has "+ref,
+   Logger.MINOR);
+   requestSource = ref;
 } catch (KeyException k) {
 throw new InvalidMessageException("Failed to load key: " + k);
 } catch (NumberFormatException e) {
@@ -70,8 +79,12 @@
 raw.fs.add("HopsToLive", Fields.longToHex(hopsToLive));
if(ch != null && ch.targetReference() != null) {
// We have received Identify from them, so they will have ours too
-   } else
+   } else {
+   Core.logger.log(this, "Putting Source on message: "+this+
+   " in toRawMessage("+t+","+ch+")",
+   new Exception("debug"), Logger.MINOR);
raw.fs.add("Source", requestSource.getFieldSet(false));
+   }
 return raw;
 }
 

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-CVS] freenet/src/freenet ConnectionHandler.java, 1.194, 1.195 PeerHandler.java, 1.36, 1.37 PeerPacketMessage.java, 1.15, 1.16 Version.java, 1.466, 1.467

2003-10-23 Thread Matthew Toseland
Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv14434/src/freenet

Modified Files:
ConnectionHandler.java PeerHandler.java PeerPacketMessage.java 
Version.java 
Log Message:
6274:
Logging, toString(), try to catch a bizarre crash reported by hirvox, and wierd stuff 
with messages being delayed rather than dropped locally.
Verify Identify messages' NodeRefs
The connhandler ref takes precedence over the ref in the Request. If no connhandler 
ref, and the Request ref is signed, set the ref on the ConnHandler to the Request ref.
Basic idea is to cut verifications, which may have been killing the RSL.
Up lastGoodBuild to 6270.


Index: ConnectionHandler.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/ConnectionHandler.java,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -w -r1.194 -r1.195
--- ConnectionHandler.java  22 Oct 2003 12:32:07 -  1.194
+++ ConnectionHandler.java  23 Oct 2003 18:12:34 -  1.195
@@ -700,8 +700,18 @@
// Read any padding
int i=0;
for(i=0;i FCP
return;
+   } else {
+   if(logDEBUG)
+   Core.logger.log(this, "handlersSendingPacket = 
"+handlersSendingPackets+
+   ", 
probablyNotContactable() = "+probablyNotConnectable(),
+   Logger.DEBUG);
}
if (pm.priority == EXPENDABLE) {
Core.logger.log(this, "Discarding low priority message " + pm 
+ " on " + this, Logger.MINOR);

Index: PeerPacketMessage.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/PeerPacketMessage.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -r1.15 -r1.16
--- PeerPacketMessage.java  22 Oct 2003 12:32:06 -  1.15
+++ PeerPacketMessage.java  23 Oct 2003 18:12:35 -  1.16
@@ -1,3 +1,4 @@
+/* -*- Mode: java; c-basic-indent: 4; tab-width: 4 -*- */
 package freenet;
 import freenet.Core;
 import freenet.support.Logger;
@@ -28,7 +29,8 @@
 
 
 public String toString() {
-   return super.toString() + ":" + msg + ":" + raw + ":" + cb + ":" + 
finished;
+   return super.toString() + ":" + msg + ":" + raw + ":" + cb + ":" + 
finished +
+   ", prio="+priority;
}
 
public PeerPacketMessage(Identity i, Message msg, MessageSendCallback cb, int 
priority, long expires, PeerHandler ph) {

Index: Version.java
===
RCS file: /cvsroot/freenet/freenet/src/freenet/Version.java,v
retrieving revision 1.466
retrieving revision 1.467
diff -u -w -r1.466 -r1.467
--- Version.java23 Oct 2003 01:49:24 -  1.466
+++ Version.java23 Oct 2003 18:12:35 -  1.467
@@ -18,13 +18,13 @@
 public static String protocolVersion = "1.47";
 
 /** The build number of the current revision */
-public static final int buildNumber = 6273;
+public static final int buildNumber = 6274;
 // 6028: may 3; ARK retrieval fix
 
 public static final int ignoreBuildsAfter = 6500;
 
 /** Oldest build of Fred we will talk to */
-public static final int lastGoodBuild = 654; // jan 20; ARK insert fixes
+public static final int lastGoodBuild = 6270; // jan 20; ARK insert fixes
 
 /** The highest reported build of fred */
 public static int highestSeenBuild = buildNumber;

___
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs


[freenet-dev] Website

2003-10-23 Thread Jon Forsberg
Hi!
I get 

Warning: open(/tmp/sess_32eee295938ec27da2d1f7bf0f163672, O_RDWR) failed:
 No space left on device (28) in /home/groups/f/fr/freenet/htdocs/index.php
 on line 2

all over the website. Maybe that's something somebody should do something
about. It doesn't look to nice.
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Project Manager Needed?

2003-10-23 Thread Todd Walton
On Thu, 23 Oct 2003, Toad wrote:

> What newsgroups? I don't know about any newsgroups.

http://news.gmane.org/gmane.network.freenet.devel/

> It was covered adequately on the devl list (which unstable users should 
> be reading), the CVS list, and the IRC channels on both freenode and 
> IIP.

I suppose it depends on your definition of "adequately".

-todd
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Project Manager Needed?

2003-10-23 Thread Thomas Themel
Hi,
Toad ([EMAIL PROTECTED]) wrote on 2003-10-23:
> What newsgroups? I don't know about any newsgroups. It was covered
> adequately on the devl list (which unstable users should be reading),
> the CVS list, and the IRC channels on both freenode and IIP. I don't
> want to put it on the website because we don't need the publicity at the
> moment.

Since you're linking to GMANE as the mailing list archives on
www.freenetproject.org, it's only fair to assume that a number of people
read this via the NNTP interface at news.gmane.org 
(Newsgroup: gmane.network.freenet.devel).

I even tried to post a few experiences to freenet-support from there,
but it seems the moderator dropped my message.

Regarding the whole experience: As a casual node operator, I received
the impression over time that it was recommended to run an unstable
node, since 5028 was 'broken'. It was also recommended in various places
as good practice to update daily. I think intentionally breaking
compatibility without prior announcement was a bit harsh, and the
argument that unstable users ought to expect this is weak since unstable
seems to have become the de-facto standard for people who want to run
useful Freenet nodes. At least a mention in the README file, or a
mention on Fproxy's main page would have made this a lot easier to
handle. 

Posting it on the development mailing list is fine, but a few day's
notice really wouldn't have hurt, I think - I for one have other
concerns and can't keep current with every mailing list I'm subscribed
to all the time. Regarding the publicity: What, do you think it's not
going to be on slashdot this way? :)

ciao,
-- 
[*Thomas  Themel*]  "That which is novice-friendly is too frequently 
[extended contact]   expert-hostile, and vice versa."
[info provided in]   - Tom Christiansen, crossposting 
[*message header*] "GUIs considered harmful" to eight groups


pgp0.pgp
Description: PGP signature
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] Some Thoughts

2003-10-23 Thread Toad
On Thu, Oct 23, 2003 at 02:12:55PM +0200, Some Guy wrote:
> Was NGR tested as extensively as freenet's original routing?  If not then why?
> 
> You could have reused some of the same code from the first freenet paper.  Even now 
> this  might
> still be a good idea.  Sorry if you guys have done this and I haven't heard, but I 
> never was all
> that convinced by NGR.

Nope. Ian was dazzled by its beauty. But the main problem was that it's
virtually impossible to simulate NGRouting.
> 
> 
> 
> What's up with this on the website?:
> Warning: open(/tmp/sess_5d3d65067aaf873dad0a01febf15c08b, O_RDWR) failed: No space 
> left on device
> (28) in /home/groups/f/fr/freenet/htdocs/index.php on line 2
> 
> 
> 
> "It's unstable what did you expect" vs. "You seperated me from freenet:-("
> 
> If freenet formats my drive, burns my house down, and makes me sterile, even if I'm 
> running the
> unstable version, I'd be peeved.  Some testers were expecting freenet to peform some 
> for them in
> unstable, others weren't.  Can't we all just get along?

Unstable regularly breaks. The fork was no different. The problem is
that stable doesn't work and a lot of people who would use stable were
using unstable instead. AND I AM TRYING TO FIX THE BLOODY PROBLEM BY
PROTOTYPING NGROUTING ON A SEPARATE NETWORK, AREN'T I A BASTARD?
> 
> 
> 
> For a couple months now I have been making a contribution to freenet by not using 
> it.  By not
> running a node I reduced N and in my own lazy way probably improved performance more 
> than my
> resources could have.
> 
> Lately I've run an MNet node to help them out a bit; they only have a few nodes.  
> Maybe someday
> I'll have some P2P app that needs testing.
> 
> Now that you've starting this test network, I feel obligated to run a node for it.
> 
> 
> 
> How are you guys planning on getting data/traffic onto the test network?
> People inserting serious sites should probably insert into the production one.  
> Would frost be a good candidate to test on the test network?
> 
> Has anyone here running a "stable" node in the production net seen a performance 
> boost from having
> a smaller homogenious net?  
> 
> 
> 
> Project Manager Needed?
> I'd consider doing documentation, but this will generally mean reading lots of code 
> and asking
> lots of stupid questions, which might slow down developement.  I think Toad has got 
> about 50
> bosses on this list.  Maybe some of these latest issues are related to Ian being off 
> in Ireland.
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] Re: Project Manager Needed?

2003-10-23 Thread Toad
On Thu, Oct 23, 2003 at 01:03:30PM +0200, Sebastian Sauer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hi,
> 
> I agree with "digital ch". I run a permanent freenet-node since over a year 
> now cause we really need something to stop the growing of total supervision. 
> 
> The switch to a devel-network without really giving informations out isn't the 
> first big mistake we where able to see last weeks and one more time I lost my 
> routingtable. Cause I'm a developer too I don't have the time to check daily 
> the freenet-mailinglists and seek through the commits to note that the fine 
> working unstable Build 6265 was _replaced_ with a devel-network. There are 

FINE WORKING UNSTABLE BUILD 6265? ROFLMAO

> reasons why the word "compatibility" and "branch" should contain together! 
> Till yesterday the unstable branch was compatible with the previous unstables 
> (and if not, then cause it's unstable :-). But why the hell it was 
> intentionaly made to be incompatible? Why the fork wasn't done as fork? Means 
> something like opening a "freenet-devel"-branch...
> 
> Anyway, I stopped my node now and wiped the store. Hopefully the situation 
> will get fixed and will be more user-friendly in future that I'm able to be a 
> part again without having to spend so much time with reading the mailinglists 
> to get really important user-infos. Thanks.
> 
> - -- 
> ca
> dipesh aka Sebastian Sauer
> s{windows}{linux}gm; //just another fixed pain in the (gl)ass
> GPG-key: http://www.dipe.org/public_key.asc
> Fingerprint: 8F1E 219B 16E6 4EC7 29CC  F408 E193 65E2 9134 2221
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/l7WF4ZNl4pE0IiERAprPAKDfziSWGVZ9k6v/3/846vN+xCJRTwCfcryX
> OefANtu12QRxkYkLaywtqsA=
> =g9uO
> -END PGP SIGNATURE-
> 
> ___
> Devl mailing list
> [EMAIL PROTECTED]
> http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] Project Manager Needed?

2003-10-23 Thread Toad
On Thu, Oct 23, 2003 at 06:24:43AM +, digital ch wrote:
> Just an observation but it really seems like freenet needs a project 
> manager.(I know... I know... along with more full time developers, servers, 
> testers, etc)

It has one. Ian.
> 
> For instance the issues that just popped up with the new unstable.  I was 
> one of those people who spent a couple of hours trying to figure out how I 
> broke my node.  All that was needed was a post to the newsgroups and a new 
> message on the homepage and it would have been fine.  But there was a 
> serious lack of communication.

What newsgroups? I don't know about any newsgroups. It was covered
adequately on the devl list (which unstable users should be reading),
the CVS list, and the IRC channels on both freenode and IIP. I don't
want to put it on the website because we don't need the publicity at the
moment.
> 
> A project manager could take care of those little things like 
> communication, as well as the general tasks like ensuring people document 
> stuff, trying to organize teams, evangalize, prioritize work, poll users, 
> etc.
> 
> Give it a thought, I think it would do a world of good for this project.

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


signature.asc
Description: Digital signature
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

[freenet-dev] Re: Re: Project Manager Needed?

2003-10-23 Thread zbalevsk


>Show me 
>where there is one really good developer grade piece of documentation on 
>freenet?  You can't cause it doesn't exist.  The reason more developers 
>don't work on this project is because it is obscenely complicated 

actually the old transport layer code (which is the only part of fred I'm
familiar with) was nicely engineered (ok maybe a little overengineered at
places) but even though there were some attempts at javadocs at some places it
was still hard to get into.

Of course that's now gone and the new transport layer ... is ...

and there 
>is no really good documentation that tells you the architctecture so that 
>you can figure out what you should do to start working on a particular 
>piece.


Give me an U!
Give me an M!
Give me an L!

An excellent example would be the limewire.org website even though the docs
there are way outdated they still give a good jumpstart into the code.


P.S. a quick note from the "practice what you preach" dept:

Frost has had UML diagrams on the TODO list for a while now; we're currently
doing some major refactoring but it will get done eventually and the diags will
be up.  Shortly.  Sort of.
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Unstable weirdness in node file

2003-10-23 Thread pineapple
Just tried the latest unstable build.  For some reason
physical.tcp in the node file has a port that does not
match my freenet.ini file.  The port number seems to
be generated randomly every time the node is started
and I can't prevent it from changing even by write
protecting the file.

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Re: Project Manager Needed?

2003-10-23 Thread digital ch



From: Martin Stone Davis <[EMAIL PROTECTED]>
Reply-To: Discussion of development issues <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [freenet-dev] Re: Project Manager Needed?
Date: Thu, 23 Oct 2003 00:00:22 -0700
digital ch wrote:

Just an observation but it really seems like freenet needs a project 
manager.(I know... I know... along with more full time developers, 
servers, testers, etc)

For instance the issues that just popped up with the new unstable.  I was 
one of those people who spent a couple of hours trying to figure out how I 
broke my node.  All that was needed was a post to the newsgroups and a new 
message on the homepage and it would have been fine.  But there was a 
serious lack of communication.
Considering that you are intentionally using an unstable version, I don't 
think that a couple of hours of confusion is a serious problem. 
Furthermore, you could have reduced the confusion to zero if you had been 
reading the CVS list (which is a pretty good idea since you're using 
unstable).
You can't have it both ways.  The developers want a large group of people to 
test with.  That means those of us who want to support the project may opt 
for reduced functionality.  That doesn't mean we should be completely 
surprised by changes.  I don't care if you make changes that break the app, 
what I care is when you intentionally make drastic changes and don't warn 
the user ahead of time.

I'm in development, and I have users that verify my product in a QA 
environment.  If I make changes that I know will seriously change the 
environement without warning them first I catch a world of crap.  Why? 
Because I wasted their time while they tried to figure out what was going 
on, emailing, bug tracking, etc.   The key point here is that they have to 
be notified in advance so they can plan accordingly.  I think many of the 
complaints started today originate from that.  The users would have 
preferred to know what was going on so they didn't  upgrade if they didn't 
want to take the risk.


A project manager could take care of those little things like 
communication, as well as the general tasks like ensuring people document 
stuff, trying to organize teams, evangalize, prioritize work, poll users, 
etc.

Give it a thought, I think it would do a world of good for this project.
Hmmm.  Maybe... But are the developers so bad at prioritizing?  So bad at 
documenting?  Are they bad at all?  I kinda doubt any of that has reached 
such a crisis that they need to be told what to do.  As for the rest, I 
dunno.  In any case, I doubt that there's money for an extra hire.
Developers suck at prioritizing and documentation both. I know I was a 
developer, now I have lots of them working under me.  Want proof?  Show me 
where there is one really good developer grade piece of documentation on 
freenet?  You can't cause it doesn't exist.  The reason more developers 
don't work on this project is because it is obscenely complicated and there 
is no really good documentation that tells you the architctecture so that 
you can figure out what you should do to start working on a particular 
piece.  Would it really be so hard to put together a document that says here 
are what the major classes are, here is what they are doing, here is where 
we need work?   If you believe people really want to read through the source 
to figure out whats going on your wrong.  I want to know exactly where to 
focus my attention.  Then once I jump in at the appropriate spot I will dig 
into the source and go to work.  I don't want to read 500 pages worth of 
source to figure out the spot I should start work.

I say this realizing that we have other priorities. (Getting freenet to work 
for instance)  But it's one of those wierd economic issues.  Maybe if we did 
a better job with the little things we would end up with more resources and 
we could bang out the bigger things quicker...

Toad, and all the other devs don't feel I'm trashing you.  Anyone who works 
that hard on a project where people are always complaining and making 
suggestions(self included) gets my admiriation.  I'm sure it has to be 
infinitely frustating.

-Martin

P.S. But maybe I have a bias against project managers.  For 6 years, I've 
worked for a boss who is not only a non-programmer but the stupidest, most 
micro-managing, and most controlling b*tch in the world.
I've experienced that to.  It sucks I agree.  If you ever work under a real 
PM/Architect and it will change how you view these things dramatically.



___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
_
Fretting that your Hotmail account may expire because you forgot to sign in 
enough? Get Hotmail Extra Storage today!   
http://join.msn.com/?PAGE=features/es

___
Devl mailing list
[EMAIL PROTECTED]
h

[freenet-dev] Some Thoughts

2003-10-23 Thread Some Guy
Was NGR tested as extensively as freenet's original routing?  If not then why?

You could have reused some of the same code from the first freenet paper.  Even now 
this  might
still be a good idea.  Sorry if you guys have done this and I haven't heard, but I 
never was all
that convinced by NGR.



What's up with this on the website?:
Warning: open(/tmp/sess_5d3d65067aaf873dad0a01febf15c08b, O_RDWR) failed: No space 
left on device
(28) in /home/groups/f/fr/freenet/htdocs/index.php on line 2



"It's unstable what did you expect" vs. "You seperated me from freenet:-("

If freenet formats my drive, burns my house down, and makes me sterile, even if I'm 
running the
unstable version, I'd be peeved.  Some testers were expecting freenet to peform some 
for them in
unstable, others weren't.  Can't we all just get along?



For a couple months now I have been making a contribution to freenet by not using it.  
By not
running a node I reduced N and in my own lazy way probably improved performance more 
than my
resources could have.

Lately I've run an MNet node to help them out a bit; they only have a few nodes.  
Maybe someday
I'll have some P2P app that needs testing.

Now that you've starting this test network, I feel obligated to run a node for it.



How are you guys planning on getting data/traffic onto the test network?
People inserting serious sites should probably insert into the production one.  
Would frost be a good candidate to test on the test network?

Has anyone here running a "stable" node in the production net seen a performance boost 
from having
a smaller homogenious net?  



Project Manager Needed?
I'd consider doing documentation, but this will generally mean reading lots of code 
and asking
lots of stupid questions, which might slow down developement.  I think Toad has got 
about 50
bosses on this list.  Maybe some of these latest issues are related to Ian being off 
in Ireland.


__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


RE: [freenet-dev] Re: Don't upgrade to 6269

2003-10-23 Thread Pete
I ran Prodnet, and my nodes rt maxed at 40 nodes with only 15 reachable.
One day after toad's some what say hasty fork (I agree with the
decision, I just think it'd been better to use a new branch than
supposedly ruin the experience :-/?? For others) my rt has hit 32 nodes
with 25 reachable, and hopefully more will join as it is showing some
promise.

Pete

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brandon Low
Sent: 23 October 2003 07:54
To: Discussion of development issues
Subject: Re: [freenet-dev] Re: Don't upgrade to 6269


On Wed, 10/22/03 at 22:58:20 -0700, Martin Stone Davis wrote:
> To get on the new network, you'd have to do it intentionally: download
> unstable.ref and overwrite your seednodes.ref.  Furthermore, I'm not 
> sure how a network fork relates to privacy issues.

Initially, if people running unstable identify themselves, and upgrade,
their freenet nodes, and requests may be associated to a person, this is
the nature of a small network, once it grows to at least say 100 nodes,
the anonymity of freenet is valid.  This is kinda the reason the
'prodnet' project failed.

--B
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] [OT] Freenet development no. 200xxx

2003-10-23 Thread Jens Skripczynski
hi,

having had this discussion a lot the last month, I want to raise it again
from the dead.

I'm quite as unhappy as Matthias "don't upgrade...".

The releases of the stable branch where not as stable as I would expect from
a stable build (e.g. mutt took 3-4 years to become final release stable 1.0
even if it was useable without crash (for me) from 0.70...).

For me a stable freenet is much more use, than buggy version's with all
bell's and whistle's.

I have stopped using freenet as it uses too much of my machine's ressources
for almost nothing and i'm waiting till some people report it working.

Would it be possible to freeze freenet in the current state and write tests
for everything it is supposed to be doing and have them as a backup before
implementing new stuff ?

If testing is not possible because the stuff is too complicated, would
it be an idea to downgrade complexity for stability ?

At least my experience is, that if I write tests for my programs 
- I'm sure they work as intended
- get error's where I forgot to implement a check or
  change the source code

My programs are of course a lot smaller and do not use the 
jvm at a level that I have to cope with jvm race conditions and
jvm bugs, that add a certain level of complexity, too.

I had the feeling, that freenet was becoming quite popular, but
it will drive people off, if the stable branch does not work as intended.
(and noone should recommend the unstable branch to a _user_ as he will
expect something useable).


Ciao

Jens Skripczynski
-- 
E-Mail: skripczynski(at)mail2003(dot)skripczynski(dot)de

There are only 10 types of people in this world: 
those who understand binary and those who don't.
   -- found in Norman Walsh signature

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Fred Status automailer script + start-freenet.sh + update-unstable.sh

2003-10-23 Thread Edward J. Huff
These are the scripts I use to start freenet, update unstable,
and to mail fred status to Toad.

Use ./start-freenet --unstable

These attempt to avoid downloading the same snapshots repeatedly,
but because the snapshots directory doesn't avoid changing the
creation time of files which haven't changed, they get download
anyway.

eaa106aa562ae8ac6aacf7f041ef7832  start-freenet.sh
266a956cabc0e8f20d6016a7d135b572  update-unstable.sh
a0ae761d71e48097617a2becfb8a9f6d  mailFredStatus
27f3573bbf0a39946e66df6b6b767470  mailFredStatus.asc

-- 
Edward J. Huff <[EMAIL PROTECTED]>
#!/bin/sh

# timestamping sets the correct date on the retrieved file and avoids
# retrieving it if the remote date is not newer.  Does not work correctly
# together with the -O option for specifying a new output filename.
cp -pf freenet-unstable.jar freenet-unstable-latest.jar
wget --timestamping http://freenetproject.org/snapshots/freenet-unstable-latest.jar
# test -s FILE
#  FILE exists and has a size greater than zero
if test -s freenet-unstable-latest.jar; then
# if new file is different from the old one, make backup.
if ! cmp freenet-unstable-latest.jar freenet-unstable.jar; then
mv -f freenet-unstable.jar freenet-unstable-old.jar
	echo 'old freenet-unstable.jar saved'
fi
# always use the date/time from the project site.
mv freenet-unstable-latest.jar freenet-unstable.jar
else
rm -f freenet-unstable-latest.jar
fi
cp -pf seednodes-unstable.ref unstable.ref
wget --timestamping http://freenetproject.org/snapshots/unstable.ref
ls -l unstable.ref
if test -s unstable.ref; then
if ! cmp unstable.ref seednodes-unstable.ref; then
mv -f seednodes-unstable.ref unstable-old.ref
	echo 'old unstable seednodes file saved'
fi
cp -pf unstable.ref seednodes-unstable.ref
else
cp -pf seednodes-unstable.ref unstable.ref
fi
cp -pf seednodes-unstable.ref seednodes.ref
touch -t "197001011200" seednodes.ref || touch -d "1/1/1970" seednodes.ref
# so we don't reseed unless necessary
ls -l freenet*.jar seednodes*.ref
#!/bin/sh

if [ -f freenet.pid ] ; then
  echo stopping freenet process id `cat freenet.pid`
  kill `cat freenet.pid`
  sleep 1
  while ps -p `cat freenet.pid` | grep "^`cat freenet.pid` "; do
  echo "Freddy isn't dead yet!"
  ps -fp `cat freenet.pid`
  sleep 5
  done
  rm freenet.pid
fi

FREENET_JAR=freenet.jar
JAVA_MEMORY='-Xmx256m'

while [[ $# > 0 ]] ; do
case "$1" in
	--jar)
	FREENET_JAR=$2
	shift;;
	--meg|Meg|MEG)
	JAVA_MEMORY=-Xmx${2}m
	shift;;
	--sta*)
	FREENET_JAR=freenet-stable.jar
	;;
	--uns*)
	FREENET_JAR=freenet-unstable.jar
	;;
	--exp*)
	FREENET_JAR=freenet-exp.jar
	;;
	--cvs)
	FREENET_JAR=freenet-cvs.jar
	;;
esac
shift
done

# Check to see whether we use echo -n or echo "\c" to suppress newlines.
case "`echo 'hi there\c'; echo ' '`" in
  *c*) n='-n'; c='';;
  *)   n=''; c='\c';;
esac

# and get java implementation too, Sun JDK or Kaffe
JAVA_IMPL=`java -version 2>&1 | head -1 | cut -f1 -d' '`

if test ! -f freenet-ext.jar; then
  echo freenet-ext.jar not found.  It can be downloaded from
  echo http://freenetproject.org/snapshots/freenet-ext.jar
  echo
  echo $n "Would you like me to download it now? [Y/n] $c"
  read resp
  case "$resp" in
[Nn]*) exit 0;;
  esac
  wget http://freenetproject.org/snapshots/freenet-ext.jar
  if test ! -f freenet-ext.jar; then
echo "Sorry, I couldn't download it.  Aborting."
exit 1
  fi
fi

CLASSPATH=fec-linux-x86.jar:$FREENET_JAR:freenet-ext.jar:$CLASSPATH 
export CLASSPATH
# Why are we permanently altering the environment?
# We aren't.  This change affects only this process and it's children.
# Environment changes in scripts do not propagate to the invoking shell
# unless the script is run using the "source" (or ".") command.

if test ! -f seednodes.ref; then
  echo seednodes.ref not found, would you like to download some seeds
  echo from http://hawk.freenetproject.org/~freenet4/seednodes.ref?
  echo $n "[y/N] $c"
  read resp
  case "$resp" in
[yY]*) wget http://hawk.freenetproject.org/~freenet4/seednodes.ref;;
  esac
fi

if test ! -f freenet.conf; then
  echo It appears that this is your first time running Freenet.  You
  echo should read the README file as it contains important instructions
  echo and advice.
  echo
  echo First we must generate a freenet.conf file.  I will now run
  echo Freenet in configure mode, and it will ask you a number of
  echo questions.  If you don\'t understand the question, hitting "enter"
  echo without typing anything will go with the default which is likely
  echo to be the right thing.
  echo
  sh preconfig.sh
  java freenet.node.Main --config
fi

# if Sun JDK set -server option as suggested on mailing list
#if java -help 2>&1 | grep "[-]server" >/dev/null ;
#then
#  JAVA_ARGS="-server"
#else
#  JAVA_ARGS=""
#fi
# multiple reports that -server option seems to cause crashes
if test /etc/redhat-release
then
  export LD_ASSUME_KE

[freenet-dev] Re: Project Manager Needed?

2003-10-23 Thread Sebastian Sauer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi,

I agree with "digital ch". I run a permanent freenet-node since over a year 
now cause we really need something to stop the growing of total supervision. 

The switch to a devel-network without really giving informations out isn't the 
first big mistake we where able to see last weeks and one more time I lost my 
routingtable. Cause I'm a developer too I don't have the time to check daily 
the freenet-mailinglists and seek through the commits to note that the fine 
working unstable Build 6265 was _replaced_ with a devel-network. There are 
reasons why the word "compatibility" and "branch" should contain together! 
Till yesterday the unstable branch was compatible with the previous unstables 
(and if not, then cause it's unstable :-). But why the hell it was 
intentionaly made to be incompatible? Why the fork wasn't done as fork? Means 
something like opening a "freenet-devel"-branch...

Anyway, I stopped my node now and wiped the store. Hopefully the situation 
will get fixed and will be more user-friendly in future that I'm able to be a 
part again without having to spend so much time with reading the mailinglists 
to get really important user-infos. Thanks.

- -- 
ca
dipesh aka Sebastian Sauer
s{windows}{linux}gm; //just another fixed pain in the (gl)ass
GPG-key: http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC  F408 E193 65E2 9134 2221

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/l7WF4ZNl4pE0IiERAprPAKDfziSWGVZ9k6v/3/846vN+xCJRTwCfcryX
OefANtu12QRxkYkLaywtqsA=
=g9uO
-END PGP SIGNATURE-

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Overload

2003-10-23 Thread Jonathan Howard
Are most of the nodes on dev-network overloaded or is this a client side 
bug giving me mostly high search died probability?

I have 11 nodes with open connections, two with ~0.5 SDP, other close to 1.

I have got a reasonable number of Successful Transfers compared with stable.

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Network Fork on Unstable

2003-10-23 Thread Sebastian Lohmeier - monochromata Networked-Services Engineering
Hi Toad,

I have set up a node for the testing-network. It is reachable at 
monochromata.kicks-ass.net:28166.

Regards

Sebastian



___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Re: Don't upgrade to 6269

2003-10-23 Thread Alejandro. R. Mosteo Chagoyen
Dicho por Martin Stone Davis:
> True, it would have been nice if it had been made clear to all using
> the unstable that they should be not only reading "devl" but also
> CVS and IRC://freenode/freenet, but it was only *30 MINUTES* between
> Toad  starting to make changes and him posting detailed instructions
> on devl about what to do.  Hard for me to see how this should cause
> such a fuss.

While I'm not complaining, it's convenient for the next time the
warning arriving *before* the actual changes. Just to avoid race
conditions ;)

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: Don't upgrade to 6269

2003-10-23 Thread Martin Stone Davis
Costas Dokolas wrote:

-Original Message-
From: Ian Clarke [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:13 AM
To: Discussion of development issues
Subject: Re: [freenet-dev] Re: Don't upgrade to 6269
Todd Walton wrote:

You (Toad) and whoever few also agreed to this beforehand 
have basically 

taken control of everyone's node without permission, 
inflicting, in the 

process, irreversible damage (removal of the routing table).
Rubbish, nobody forced you to upgrade to the post-fork build, 
and nobody 
prevented you from subscribing to the CVS mailing list so you 
could make 
an informed decision about whether to upgrade.


I'd certainly expect something as important as this to be posted on "devl"
and "announce". The CVS list is not enough. I may not have subscribed to the
CVS list even if I knew of it's existence. Isn't the CVS list supposed to
carry mainly info pertaining to CVS commits? Is the fork such a mundane
detail? I think not.
I'm personaly not displeased of the fork itself, only the breakdown in
communications, i.e. properly informing all those nice people out there
using unstable. 
True, it would have been nice if it had been made clear to all using the 
unstable that they should be not only reading "devl" but also CVS and 
IRC://freenode/freenet, but it was only *30 MINUTES* between Toad 
starting to make changes and him posting detailed instructions on devl 
about what to do.  Hard for me to see how this should cause such a fuss.

Is the project doing them a service by releasing unstable
builds, or are they doing a service for the project by using/testing it? 
A little of both?  But everyone's ultimate goal is to get the thing 
working ASAP.  That's why Toad decided to fork the network at this time. 
 As someone who doesn't really know the code, I'm happy to trust his 
decision.

In my company we have a particular client on whom we deploy major new features
of our product and we tend to bend over backwards (to use an american term)
for this client because of this priviledge.
I bet that client is paying your company a lot more than we're paying 
Toad.  But seriously, I just fail to see how Toad is harming the users.

This particular fork is a more delicate matter than you and Toad assumed.

Doc


-Martin

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: 6263 Status

2003-10-23 Thread Mike Stump
> > For a total of 0.3% chance of a query getting an answer?  If only
> > 0.3% of all queries even get a DF, certainly the chance of
> > actually getting all the data is even lower?

> Where do you get the 0.3% chance from? psuccess is the probability
> of the whole requests successfully moving data.

Hum, I did that wrong...  What I should have said is that given the
432,580 outbound aggregate requests, we had 767 come back through the
node for consideration for data source resetting for a DF proability
of 0.18%.

767/432580
.00177308243561884506

But notice, this isn't substantially better than the 0.3% that I claimed.

> http://127.0.0.1:/servlet/nodestatus/psuccess_data.txt
> 
> More detailed data can be obtained from requestSuccessRatio and
> routingSuccessRatio (I use the hourly means), in the Diagnostics
> page.

But, that is ignores QR style queries?

> Yeah... that's for full file transfer though. I know, it's bad.

But, the good news is that it is trivially fixable (in total islation
for the first hop only).  Answer the last request in, with all the
data out, priority over all other data.  To avoid nodes wanting to
flood you, use the first time in, if you've seen the Q before from the
DSA.  That way, trivially, all data requests would go at full tilt
until transferred, no more 1 bytes/second transfers, ever.  And the
latency would always be 30ms for the first byte as well, always
(again, the first hop only).

Now, would that be best, I don't know.  It would come at a cost.  That
assumes that routing is sane and takes less than 100% of the
bandwidth.  I don't know that that is the case.  Certainly, by putting
it first, we could see if the network collapses.  If all nodes
instantly lock up doing noting but routing, then, obviously, routing
takes 100% of the bandwidth.

Data certainly would want 100% of the bandwidth, this we've seen from
gnutella, which is way less demanding on the network than freenet ever
can be.

Maybe the way out is to just allocate some fixed portion to routing
and save the problem for another day.  Say 10% for routing and 90% for
data.  I suspect this is status quo one way or another, though, I
don't recall seeing a stat that had the split as a % bytes of
upstream.

> Why does your browser only do 4 conns at a time? Can't you fix that?

Safari, one day, it will be fixed, one day, there will be instructions
on how to do this in the usual freenet places.  Until then...  If I
get really bored, I'll grab the sources and puzzle out where the 4 is,
or just file a radar.


YAWaCI:

Oh, and I had a good idea with what to do with the people behind NATs
and firewalls, lets use them as massive routers.  They contact lots of
people (until they load), you can ask them questions, they become
expert at what people that connect to them have (aka supernode), and
tell you exacty where to go for the content.  We'd use them only on
queries we want to sink into our node.  If we wanted to make them
something closer to first class, we could load in our address as a
proxy for them in DF messages when we pass them back and someone that
wants that data would have to contact us with a non-transient identity
(them, or their proxy) and then we'd hand that to the node we proxy
for as a insert that data into this node request, and they, upon
getting it connect out to the named node and inject the content.  If
you don't want DDOS floods this would enable, just send a make
connection to X request and when X gets an inbound connection from a
transient node that was in a request we made that had a DF answer with
X in it, then we fire up a Q for the data, and they give it to us as
normal.

Even transients could get/give content to other transients by using
one data intermediary and one request intermediary, which in the grand
freenet style of anonymity, is reasonable.
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] Re: Network Fork

2003-10-23 Thread Ken Corson
So, can anyone (everyone) who is unstable reach this :

freenet:[EMAIL PROTECTED],VJx7RVBspylkZ0CLO8d1cw

?

  It was my first insertion (and yes, for all you jokesters, it
was WONDERFUL 8^O )
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


RE: [freenet-dev] Re: Don't upgrade to 6269

2003-10-23 Thread Costas Dokolas
> -Original Message-
> From: Ian Clarke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 9:13 AM
> To: Discussion of development issues
> Subject: Re: [freenet-dev] Re: Don't upgrade to 6269
> 
> 
> Todd Walton wrote:
> > You (Toad) and whoever few also agreed to this beforehand 
> have basically 
> > taken control of everyone's node without permission, 
> inflicting, in the 
> > process, irreversible damage (removal of the routing table).
> 
> Rubbish, nobody forced you to upgrade to the post-fork build, 
> and nobody 
> prevented you from subscribing to the CVS mailing list so you 
> could make 
> an informed decision about whether to upgrade.

I'd certainly expect something as important as this to be posted on "devl"
and "announce". The CVS list is not enough. I may not have subscribed to the
CVS list even if I knew of it's existence. Isn't the CVS list supposed to
carry mainly info pertaining to CVS commits? Is the fork such a mundane
detail? I think not.

I'm personaly not displeased of the fork itself, only the breakdown in
communications, i.e. properly informing all those nice people out there
using unstable. Is the project doing them a service by releasing unstable
builds, or are they doing a service for the project by using/testing it? In
my company we have a particular client on whom we deploy major new features
of our product and we tend to bend over backwards (to use an american term)
for this client because of this priviledge.

This particular fork is a more delicate matter than you and Toad assumed.

Doc
___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] Re: Project Manager Needed?

2003-10-23 Thread Martin Stone Davis
Martin Stone Davis wrote:

digital ch wrote:

Just an observation but it really seems like freenet needs a project 
manager.(I know... I know... along with more full time developers, 
servers, testers, etc)

For instance the issues that just popped up with the new unstable.  I 
was one of those people who spent a couple of hours trying to figure 
out how I broke my node.  All that was needed was a post to the 
newsgroups and a new message on the homepage and it would have been 
fine.  But there was a serious lack of communication.


Considering that you are intentionally using an unstable version, I 
don't think that a couple of hours of confusion is a serious problem. 
Furthermore, you could have reduced the confusion to zero if you had 
been reading the CVS list (which is a pretty good idea since you're 
using unstable).
I take that back partially: there were no instructions in CVS as to what 
to do exactly.  So, even reading that you would have gotten confused (as 
I did).  But it was not 30 minutes later when Toad posted detailed 
instructions to devel.   Prior to that, you could have asked Toad (as I 
did) on IRC://freenode/freenet.

Anyone using the unstable version should keep up with the latest stuff 
by reading CVS, DEVEL, and hanging around IRC://freenode/freenet.

If there was a communication problem, it may have been not making this 
fact clear enough.

-Martin

___
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl