[freenet-support] Re: Adapating Freenet to NGRouting (from devlist)

2003-12-09 Thread Martin Stone Davis
[EMAIL PROTECTED] wrote:

Toad wrote:

{snip}

==
Probabilistic Drop
==
Drop HTL, replace it with a fixed probability (1 in 25) of the request
DNFing spontaneously at any given node.
{snip}

Umm.  Tell me to go stick my head in a bucket if I'm wrong but if you pick 1 in 25 as the figure, then a request still stands a 1% chance of making over 112 hops without being DNF. ((24/25)^112~=0.010).

Wouldn't that significantly increase the overall traffic on the network?

Kevin.
This mesage belongs on devl, not support.  And, there is a reply to this 
issue in Virtual PD (was Re: Adapating Freenet to NGRouting).

-Martin

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


[freenet-support] Re: Question

2003-11-13 Thread Martin Stone Davis
Edgar Friendly wrote:

Kyle Weigel [EMAIL PROTECTED] writes:


I run a server, and I donate space to freenet and all that fun stuff,
but I was wondering if I could post something on  MY donated
space.. and I know it's there, but give the link to people just like I
would link to anything else on Freenet.  I know one of the points is
that no one knows where data is, but I want to be able to have people
download/view from my server without them knowing where my server
resides.
Kyle Weigel

Sorry, freenet isn't the system you're looking for if you want
reliable hosting.  The network has to be able to put the data on the
nodes it'll look for it on.  If you have data on your node, and noone
knows about it, it's a waste of space.
Thelema.


Couldn't he just offer all the files using Frost?

-Martin

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


[freenet-support] Re: error determining this node's physical address(es)

2003-11-09 Thread Martin Stone Davis
[EMAIL PROTECTED] wrote:

Dear Sirs, 
  
This is from my log 
  
** 
Reducing rtMaxNodes to 15 - was too high for maxNodeConnections 60 because we keep an idle conn open to each node. 
Nov 8, 2003 10:38:01 AM (freenet.node.Node, main, ERROR): Reducing rtMaxNodes to 15 - was too high for maxNodeConnections 60 because we keep an idle conn open to each node. 
Nov 8, 2003 10:38:03 AM (freenet.node.Main, main, NORMAL): loading node keys: node 
Nov 8, 2003 10:38:03 AM (freenet.node.Main, main, NORMAL): Creating node keys: node 
There was an error determining this node's physical address(es). 
Please make sure ipAddress and listenPort are correctly set. 
Note that you may put a host name in the ipAddress field if you have a dynamic IP and are using a dynamic DNS service.Nov 8, 2003 10:38:05 AM (freenet.node.Main, main, ERROR): There was an error determining this node's physical address(es). 
Please make sure ipAddress and listenPort are correctly set. 
Note that you may put a host name in the ipAddress field if you have a dynamic IP and are using a dynamic DNS service. 
freenet.BadAddressException: Address seemed incorrect. To use Freenet you must have a globally addressable Internet address set correctly. 
 at freenet.node.Main.getAddresses(Main.java:1350) 
 at freenet.node.Main.main(Main.java:550) 
Nov 8, 2003 10:38:05 AM (freenet.node.Main, main, NORMAL): starting filesystem 
Nov 8, 2003 10:38:15 AM (freenet.node.Main, main, NORMAL): loading data store 
Nov 8, 2003 10:38:16 AM (freenet.node.Main, main, NORMAL): loading routing table 
Nov 8, 2003 10:38:17 AM (freenet.node.Main, main, NORMAL): From output: 49.152 
Nov 8, 2003 10:38:17 AM (freenet.node.Main, main, NORMAL): Setting default initTransferRate to 49.152 
Nov 8, 2003 10:38:17 AM (freenet.node.rt.NGRoutingTable, main, NORMAL): Loading estimators 
Nov 8, 2003 10:38:18 AM (freenet.node.Main, main, NORMAL): Created new NGRT 
Nov 8, 2003 10:38:18 AM (freenet.node.Main, main, NORMAL): Loaded stats 
 
  
How can I solve this error?  Do need I to have a dynamic IP?  What is that?  Do need I dynamic DNS service?  What is that? 
I wonder what value I should enter for ipAddress.  Besides I have been unable to upload the pages of my freesite.  I still do my uploading with FreeWeb.  Is it possible that the missing value affects the whole working of the publishing process? 
Check your freenet.ini or freenet.conf for the ipAddress and listenPort 
lines.  Are they filled in correctly?  There should be no spaces and no 
comment (either % or #) at the beginning of the line.

-Martin

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


[freenet-support] Re: route not found

2003-11-06 Thread Martin Stone Davis
Dave Hooper wrote:

To configure your firewall you need to
1.  Let *ALL* outbound traffic from *ALL* local ports pass out through your
firewall onto the internet.  This is because Freenet sets up connections to
external nodes and there's no telling which local port numbers it will be
using at any time.  This is just the same as allowing outbound traffic from
an FTP client
I've suspected this for a while, but was too lazy/chicken to ask about 
it.  It should be added to the FAQ and/or readme.

and,
2.  Let *ONLY* inbound traffic *to your freenet port* pass from the internet
thru the firewall onto your computer.
Your freenet port by the way is the one that shows up on the first page of
the Configuration utility, or if you don't use that it's the line in
freenet.ini called listenPort
If your firewall is also a NAT router, you may also need to enable a mode on
the firewall called 'virtual server' - this ensures that inbound requests to
this port actually get routed to *your* computer - so you may need to enter
your PC's IP address into your firewall configuration.  If your firewall is
just software-based and installed on the same PC as freenet then you don't
need to do this step.
add this too.  Also, it is sometimes also called pinhole

snip

Thanks, Dave.  Great advice!
Martin
___
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support


[freenet-support] Re: route not found

2003-11-06 Thread Martin Stone Davis
Dave Hooper wrote:

To configure your firewall you need to
1.  Let *ALL* outbound traffic from *ALL* local ports pass out through your
firewall onto the internet.  This is because Freenet sets up connections to
external nodes and there's no telling which local port numbers it will be
using at any time.  This is just the same as allowing outbound traffic from
an FTP client
and,
Actually, I do have another question about this: ZoneAlarm can be 
configured to allow certain programs to access the internet.  This seems 
to work for the most part, but every once in a while (once in 10 or 20?) 
it blocks an outgoing packet because it can't tell (for some reason) 
that it came from javaw.exe.  ZoneAlarm reports that the program (which 
it can't tell what it is) must have started before ZoneAlarm was loaded 
(which isn't true).  Again, most of the packets *are* recognized as 
coming from javaw.exe, so there's no problem for them.  Very weird...

To fix this, I've enabled all outgoing packets for all programs in 
ZoneAlarm (expert rules), but I'm afraid this may not be the best idea 
from a security point of view.

Have you (or anyone) any experience with this?

-Martin

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


[freenet-support] Re: 5029 overloads

2003-11-01 Thread Martin Stone Davis
Toad wrote:

Reading between the lines... check your log file, have you had many
OutOfMemoryErrors?
While gathering the data to answer your question, I found something 
strange.  Get this:

* /servlet/nodeinfo/performance/general reports an uptime of 1 day 16 
hours 24 minutes
* My log file started at 12:30pm, Oct 30th
* It is currently 11:30pm, Oct 31st
* That's a time span of only one day and 11 hours! hmmm
* Also, I notice, strangely, that upstream bw is now reaching as high as 
130%.

In answer to your question, here is my first OutOfMemory error.  Note 
the date/time:

Oct 31, 2003 9:19:08 PM (freenet.thread.YThreadFactory$YThread, 
YThread-5710, ERROR): Unhandled exception java.lang.OutOfMemoryError in 
job freenet.Message: QueryRejected @[EMAIL PROTECTED] 
for tcp/connection: 
368124.92.223.200:21214,[EMAIL PROTECTED],[EMAIL PROTECTED], 
sending null:-1 for [EMAIL PROTECTED] (DSA(bb9b 353f 42ba 692f 
9661  f977 321d b395 fa51 af23),tcp/24.92.223.200:21214, sessions=1, 
presentations=1, ID=DSA(bb9b 353f 42ba 692f 9661  f977 321d b395 fa51 
af23)): outbound attempts=20:20/40 @ 938bd22ed9a2279e: htl=15, 
reason=Node overloaded @ 1067663947477
java.lang.OutOfMemoryError

There's a ton of OutOfMemory errors between the first and last.  The 
last one is this:

Oct 31, 2003 9:57:57 PM (freenet.thread.YThreadFactory$YThread, 
YThread-5751, ERROR): Unhandled exception 
java.lang.ArrayIndexOutOfBoundsException: 1 = 1 in job 
freenet.Message: DataRequest @[EMAIL PROTECTED] for 
tcp/connection: 
172766.45.116.114:47351,[EMAIL PROTECTED],[EMAIL PROTECTED], 
sending null:46254 for [EMAIL PROTECTED] (DSA(ce25 bb0c 5942 
8b7e 8019  6cec 64e0 f41e 0c0b 0856),tcp/groovy.danky.com:47351, 
sessions=1, presentations=1, ID=DSA(ce25 bb0c 5942 8b7e 8019  6cec 64e0 
f41e 0c0b 0856)): outbound attempts=20:18/38 @ 6fd7ef27e588bcc5 @ 
1067666277759
java.lang.ArrayIndexOutOfBoundsException: 1 = 1
	at java.util.Vector.elementAt(Unknown Source)
	at freenet.support.Heap.remove(Heap.java:122)
	at freenet.support.Heap.access$000(Heap.java:11)
	at freenet.support.Heap$Element.remove(Heap.java:59)
	at 
freenet.node.StandardMessageHandler$Ticket.received(StandardMessageHandler.java:162)
	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.YThreadFactory$YThread.run(YThreadFactory.java:195)

I am using YThreadFactory (obviously) and maximumThreads=300.  Also, I'm 
allocating 128MB to java memory.  I'll keep it running until the 
outgoing bandwidth gets really low.

Recommendations?  Or does this indicate a bug needing to be fixed?

-Martin

On Wed, Oct 29, 2003 at 10:29:49PM -0800, Martin Stone Davis wrote:

I'm using default values for everything.  Here are some relevant lines 
from my freenet.ini:

# Select which implementation of ThreadFactory to use.  Q: 
QThreadFactory (default). F: FastThreadFactory. Y: YetAnotherThreadFactory.
%threadFactory=Q

# Should we use thread management?  If this number is defined and 
non-zero, this specifies the max number of threads in the pool.  If this 
is overrun, connections will be rejected and events won't execute on time.
%maximumThreads=120

But I'm confused.  Why does General Information say maximumThreads=40, 
while freenet.ini says it's 120 by default?  And does this mean the real 
default value (40) is being set way too low?

-Martin

Brandon Low wrote:

What is your thread limit?  From the looks of that it is incredibly
low... Also, are you using YThreads or QThreads... what you might want
to do is increase your thread limit to something closer to 200 or 300
and change to YThreads.
big snip

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