Re: [freenet-support] Host access problem

2004-06-01 Thread dave
 Having found that I was using Mozilla 1.6 for most browsing, I allowed it
 to become the default browser with EarthLink TotalAccess.  Before that I'd
 had
 Internet Browser as the default and simply exited it before calling
 Mozilla for Freenet use.

 Apparently Mozilla 1.6 (at least when installed as the default Browser) is
 unable to send proper orders to get downloads of Freenet files from the
 'host.'  By cancelling all copies of Mozilla browser (it is slow to load
 and often has an extra copy or more in memory) and activating I.E. I was
 able to get the latest Freenet to download using the Win-installer of
 Freenet.

 Hope I can remember this problem (and how to get around it) in a
 week.


GOSH!!!  Wow, that's pretty wild.  As I recall, the installer for Freenet
on Windows makes use of Nullsoft's libraries for downloading files.  So it
looks like Nullsoft have inextricably tied their installer libraries to
the host default web browser being IE, which just sucks so much ass. 
(Why, Justin, Why?)

I'll see if I can drill down to the problem and find a replacement
downloader library (NB - will not be this week or possibly even next, as
just too busy atm)

d
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] SYNs and SMURFs

2004-06-01 Thread freenetproject
Thanks.  I have a SMC router that does have a tough time keeping up with 
Freenet.

On a side note, I've found another use for Freenet as a system stress 
test.  Unlike most applications, with Freenet you can really see a 
differences when you change your system configuration.  If you have bad 
memory, Freenet will find it.  If you have slow disk access, Freenet 
will really show you how slow it is. That new 2.6Ghz processor, Freenet 
will eat it up and ask for dessert.  If your router is crap, Freenet 
will zero in on that weak spot.

p.s. Sorry for the double post.  I'll blame that on my router too.
Salah Coronya wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roger Hayter wrote:
In message [EMAIL PROTECTED],
[EMAIL PROTECTED] writes

For a long time I've received what looks like SYN floods and SMURF
attacks to my port associated with Freenet.  I've assumed that it's a
fault of my firewall or PC, but what's weird is that the port of the
offending IP increments.  I thought that the port that Freenet uses
was fixed being that it was defined in the .conf file.
Excuse my display of ignorance, but could someone please explain why
the far ends port would need to change?
Example
Time: 05/31/2004, 04:21:52
Message: Smurf
Source: 133.205.255.225, 1905
Time: 05/31/2004, 04:25:38
Message: Smurf
Source: 133.205.255.225, 2600
Etc.
Most likely this is an attempt by a Freenet node on 133.205.255.225 to
connect to your Freenet external port, which is fixed, but is being
prevented by your firewall.  It tries again and chooses the next
available source port.  It has to use a new source port so it can tell
the difference between the present connection and previous ones, should
a packet return. The return packet will be from your Freenet fixed port,
and to the arbitrary source port on the remote machine, 133.205.255.225.
This is normal.  Can you tell your firewall to ignore connections to
your Freenet port?  I think it may well be identifying Freenet packets
as smurf attacks - what does anyone else think?

If this is from a SOHO broadband router - especially a D-Link router,
they should likely be disregarded, as the DoS detection in there doesn't
usually work and it KNOWN to be broken in D-Link's firmware.
There was a version of Freenet, 5023 IIRC, that accidently DID launch a
sort of syn flood as it would try to reconnect relentlessly.
In general, most SOHO router simply cannot handle the kind of traffic
Freenet generates, and it confuses it with a DoS attack.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAu7YxhctESbvQ8ZwRAlhbAJ9Xn5orQIPwNhtdaONP5Ha7vHuNnACfSODp
2eiFYi1hJm8YNcVQSuVA+5o=
=okvI
-END PGP SIGNATURE-
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] re: Memory leak in XP

2004-06-01 Thread Jay Oliveri
On Sunday 30 May 2004 12:22 am, Michael K. wrote:
 I've been using Freenet for a couple of days now, and I began noticing
 that after using the program for about an hour, the size of the file in
 memory began to grow ridiculously large. Had I run the program for a
 whole day, the memory leak would have encompassed all available memory on
 the system.

 Is this unique to XP SP2 or does this affect all XP versions?

I doubt many people here run SP2 since it's still in testing.  You should be 
running XP 1a if you expect to analyze Freenet's performance with any 
accuracy since 1a is there current 'stable' service pack.

How did you determine that Freenet ate up all your memory?  I don't know 
what you mean when you say the size of the file in memory; do you mean 
the memory used by the Freenet process?

-- 
Jay Oliveri
GnuPG ID: 0x5AA5DD54
FCPTools Maintainer
www.sf.net/users/joliveri
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Error messages- java.io.IOException: Too many open files

2004-06-01 Thread tripolar
java.io.IOException: Too many open files
   at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
   at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source)
   at 
freenet.transport.ListenSelectorLoop.processConnections(ListenSelectorLoop.java:107)
   at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:836)
   at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
   at java.lang.Thread.run(Unknown Source)
java.lang.Exception
   at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:837)
   at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
   at java.lang.Thread.run(Unknown Source)
Caught a java.io.IOException: Too many open files, 
LSL.processConnections failing

Does this error message help to figure out the problem or do you need to see
any logs?
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Where is the best place to search freenet-support archives?

2004-06-01 Thread tripolar
Hello
I have been using Gmane to search the freenet archives with no luck??
httpnews.gmane.orggmane.network.freenet.support
I have put in
java lang exception
java.io.IOException: Too many open files
java.io.IOException
without any hits.
Any tips would be helpful
Thanks
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Error messages- java.io.IOException: Too many open files

2004-06-01 Thread Toad
Hmmm. What are you running this on? If unix, what's your ulimit -n ?

On Tue, Jun 01, 2004 at 06:10:58PM +, tripolar wrote:
 java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source)
at 
 freenet.transport.ListenSelectorLoop.processConnections(ListenSelectorLoop.java:107)
at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:836)
at 
 freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Unknown Source)
 java.lang.Exception
at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:837)
at 
 freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
at java.lang.Thread.run(Unknown Source)
 Caught a java.io.IOException: Too many open files, 
 LSL.processConnections failing
 
 
 Does this error message help to figure out the problem or do you need to see
 any logs?
-- 
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
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

[freenet-support] 5083 announcing for no reason?

2004-06-01 Thread Kevin Steen
Just noticed these in my logfile:

01-Jun-2004 19:25:23 (freenet.node.states.announcing.Announcing,
YThread-34, NORMAL): Found 3 announcement targets for this node.
01-Jun-2004 19:25:23
(freenet.node.states.announcing.ExecuteAnnouncement, YThread-101,
NORMAL): Announcement failed: Announcee already known to network
01-Jun-2004 19:25:23 (freenet.node.states.announcing.Announcing,
YThread-73, NORMAL): Announcement failed to efcb e181 4b42 9631 06ee 
2ac0 2190 11fc b0da 1221 at depth  3:Announcee already known to network
01-Jun-2004 19:25:25
(freenet.node.states.announcing.ExecuteAnnouncement, YThread-88,
NORMAL): Announcement failed: Announcee already known to network
01-Jun-2004 19:25:25 (freenet.node.states.announcing.Announcing,
YThread-59, NORMAL): Announcement failed to 3b30 f715 0c8a e4c8 ebff 
0d4e aa42 7d45 ec33 be05 at depth  3:Announcee already known to network
01-Jun-2004 19:25:27
(freenet.node.states.announcing.ExecuteAnnouncement, YThread-96,
NORMAL): Announcement failed: Announcee already known to network
01-Jun-2004 19:25:27 (freenet.node.states.announcing.Announcing,
YThread-89, NORMAL): Announcement failed to 8938 65e9 abde 3f97 1d55 
e76a e202 65d4 0a83 4d92 at depth  3:Announcee already known to network
 
I can't see why the node is announcing - it processed 317 queries in the
hour before this, it has 76 open connections, load for Rate limiting is
124% and load for QueryRejecting is 12,5%. Uptime was just under 12
hours at the time of these messages, node running 1t 113% outbound
bandwidth utilisation.

Build 5083 on Linux 2.4.20, JRE 1.4.2_b28

-Kevin


___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Error messages- java.io.IOException: Too many open files

2004-06-01 Thread tripolar
I am running Debian-sid
I am currently trying to find my ulimit -n ??
Any clues?
Thanks
Toad wrote:
Hmmm. What are you running this on? If unix, what's your ulimit -n ?
On Tue, Jun 01, 2004 at 06:10:58PM +, tripolar wrote:
 

java.io.IOException: Too many open files
  at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
  at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source)
  at 
freenet.transport.ListenSelectorLoop.processConnections(ListenSelectorLoop.java:107)
  at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:836)
  at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
  at java.lang.Thread.run(Unknown Source)
java.lang.Exception
  at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:837)
  at 
freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
  at java.lang.Thread.run(Unknown Source)
Caught a java.io.IOException: Too many open files, 
LSL.processConnections failing

Does this error message help to figure out the problem or do you need to see
any logs?
   

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Error messages- java.io.IOException: Too many open files

2004-06-01 Thread Toad
On Tue, Jun 01, 2004 at 06:46:10PM +, tripolar wrote:
 I am running Debian-sid
 I am currently trying to find my ulimit -n ??
 Any clues?
 Thanks

Just type it at a command line.
 
 Toad wrote:
 
 Hmmm. What are you running this on? If unix, what's your ulimit -n ?
 
 On Tue, Jun 01, 2004 at 06:10:58PM +, tripolar wrote:
  
 
 java.io.IOException: Too many open files
   at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
   at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source)
   at 
 freenet.transport.ListenSelectorLoop.processConnections(ListenSelectorLoop.java:107)
   at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:836)
   at 
 freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
   at java.lang.Thread.run(Unknown Source)
 java.lang.Exception
   at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:837)
   at 
 freenet.transport.ListenSelectorLoop.run(ListenSelectorLoop.java:149)
   at java.lang.Thread.run(Unknown Source)
 Caught a java.io.IOException: Too many open files, 
 LSL.processConnections failing
 
 
 Does this error message help to figure out the problem or do you need to 
 see
 any logs?

 
 
 ___
 Support mailing list
 [EMAIL PROTECTED]
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at 
 http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:[EMAIL PROTECTED]

-- 
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
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

[freenet-support] Request for help: NullPointerException on startup

2004-06-01 Thread Toad
Hi. Some users have been reporting NullPointerException's on startup of
their stable nodes. I have a possible fix, but I'd like to test this
before merging it to stable. If you have this problem please mail me and
I'll send you a jar to test. Include which branch you are running.
-- 
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
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Re: [freenet-support] Where is the best place to search freenet-support archives?

2004-06-01 Thread Edward J. Huff
On Tue, 2004-06-01 at 14:28, tripolar wrote:
 Hello
 I have been using Gmane to search the freenet archives with no luck??
 httpnews.gmane.orggmane.network.freenet.support
 
 I have put in
 java lang exception
 java.io.IOException: Too many open files
 java.io.IOException
 without any hits.
 Any tips would be helpful
 Thanks

Look at the list of freenet lists.  Note that they aren't all spelled
the same on gmane as the actual mailing list name.  For example, the
devl list is spelled devel on gmane.

http://news.gmane.org/index.php?prefix=gmane.network.freenet

This search gives some information:

http://search.gmane.org/search.php?query=ulimitemail=group=gmane.network.freenet.develsort=date

http://search.gmane.org/search.php?query=java.io.IOException%3A+Too+many+open+filesemail=group=gmane.network.freenet.develsort=date

Here is what I wrote last fall on this subject:

On Fri, 2003-11-14 at 16:46, Richard A. Hecker wrote:
  From: Brandon Low [EMAIL PROTECTED]
 ...snip...
 I saw the same thing yesterday on my 5032 node using Sun 1.4.2
 
  
  Caught a java.io.IOException: Too many open files,
LSL.processConnections failing
  java.io.IOException: Too many open files
[...]

When I got this (on Sun 1.4.1_02) I looked with lsof and found 1024 open
file descriptors.

On redhat 9 I put fs.file-max = 65536 in /etc/syscntrl.conf...

I found users still have ulimit -u showing max files 1024, and that
they can't increase it.

After googling a bit, I discovered two approaches (I fixed both)

1)  Change /etc/profile to add  ulimit -Hn 65536

2)  Create /etc/initscript as described in man initscript, including
ulimit -Hn 65536

Using this approach, I also had to add ulimit -n 65536 to
start-freenet.sh, since I don't want to give every process
a huge default file descriptor limit.

-- Ed Huff



signature.asc
Description: This is a digitally signed message part
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

[freenet-support] Could not initialize network I/O system - 5083

2004-06-01 Thread Jon Covington
Jun 1, 2004 4:09:44 PM (freenet.node.Main, main, NORMAL): starting node
Could not initialize network I/O system! Exiting
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.init(Unknown Source)
at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.nio.channels.Pipe.open(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.init(Unknown Source)
at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.nio.channels.Selector.open(Unknown Source)
at
freenet.transport.AbstractSelectorLoop.init(AbstractSelectorLoop.java:153)
at
freenet.transport.ThrottledSelectorLoop.init(ThrottledSelectorLoop.java:76
)
at
freenet.transport.ReadSelectorLoop.init(ReadSelectorLoop.java:78)
at
freenet.transport.tcpConnection.startSelectorLoops(tcpConnection.java:149)
at freenet.node.Main.startNode(Main.java:1570)
at freenet.node.Main.spawnNode(Main.java:1214)
at freenet.node.Main.main(Main.java:1001)
Caused by: java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
... 15 more

If you need anything else let me know.

- Jon

___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]