[freenet-support] ERROR(s) - FreeNet never can access the portals.

2004-11-11 Thread bob
freenet.client.WrongStateException: 
Wrong state: FAILED should be DONE: null:
Transfer failed with 36988 moved.
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:312)
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:74)
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:324)
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:74)
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:324)
at freenet.client.GetRequestProcess.getNextRequest
(GetRequestProcess.java:74)
at freenet.client.AutoRequester.onReachedState
(AutoRequester.java:938)
at freenet.client.AutoRequester.access$100
(AutoRequester.java:32)
at freenet.client.AutoRequester$AutoListener.onDone
(AutoRequester.java:992)
at freenet.client.listeners.DoneListener.receive
(DoneListener.java:61)
at freenet.client.AutoRequester$AutoListener.receive
(AutoRequester.java:988)
at freenet.client.SimpleEventProducer.produceEvent
(SimpleEventProducer.java:55)

theres more..but it wouldnt allow me to post alot of it without spending alot of
time formatting it


I received that after I *waited* for all the retries. Ive tried every portal on
the list and nothing so far. They all give me an error that says it will retry
again. Anyone had this problem? Is there something I should change in the
Configuration

___
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] Re: error (java?)

2005-06-06 Thread Bob
 <[EMAIL PROTECTED]> writes:

> 
> I tried to install freenet on an old AMD K6 300 Mhz - PC (debian, blackdown
java, both newest versions).
> 
> However, I get this error when starting freenet:
> 
> Jun 4, 2005 12:46:52 PM (freenet.node.Node, main, ERROR): Encountered an 
> unexpe$
> java.io.IOException: Value too large for defined data type
> at sun.nio.ch.FileChannelImpl.lock0(Native Method)
> at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:803)
> at java.nio.channels.FileChannel.tryLock(FileChannel.java:967)
> at freenet.node.Node.init(Node.java:3591)
> at freenet.node.Main.main(Main.java:476)
> 
> What should I do? Is that already a new freenet-version? (downloaded 
> yesterday)

Hmm, probably a Blackdown NIO issue ... Sun's JRE is the recommended one. (I
believe a goal of the 0.7 rewrite is to not depend on Sun's NIO so it can run on
Free JVMs like Kaffe etc.) I use 1.5.02 on Woody, manually installed from the
sun self-extracting binary.

> 
> Another question: When I tried freenet on a differnet, faster PC (but also
quite low bandwith) it also hung
> after about 10 hours, with a lot of java- Processes still running, but all as
zombies, so I had to restart
> that PC every time,  because freenet said it is already running when I tried
to restart it. Is that a known problem?

Hmm, well I don't remember getting actual zombie processes but I do have to tune
it on Debian to avoid periodic crashes/hangs. Basically freenet currently needs
a lot of memory (hopefully 0.7 will use less) and demands more as your datastore
gets bigger, java is crap at handling this and just falls over. You know this is
definetely happening if, after killing the mess (make a script or put in in
./start-freenet.sh ... "./stop-freenet.sh && sleep 4 && killall -9 java && sleep
3 && killall -9 java" or whatever) you try to restart the node and it falls over
with some random looking crash whilst initialising.

The solution to this is basically a smaller datastore or giving it more memory;
my freenet-running line in ./start-freenet.sh looks like this :

nice -n 10 -- java -server -XX:+AggressiveHeap -Xmx305m $JAVA_ARGS
freenet.node.Main "$@" &

The other possible issue is distro-specific thread library problems (you may
have noticed that start-freenet.sh tries to handle some known problematic cases)
but as I say I don't have problems with Woody so it probably isn't that.

>  (on that PC, also new debian, the log was always full of errors, hundreds of
unexpected values and so on, is
> that usual?

Yes :)  Freenet is full of debugging messages that make it very log-spammy on
logLevel=Normal ... you may want to set logLevel=Error, or logFile=NO to just
output to stdout, or set logRotate=true.

> But while it ran, it had always a constant in and out bandwith and transfered
exactly the amount
> of data I allowed, so there wasnt much wrong exept it always hang up after
some hours.)
> 
> Thanks

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: FUQUID on linux

2005-06-06 Thread Bob
Marco A. Calamari <[EMAIL PROTECTED]> writes:

> 
> 
> Any postive experience running fuquid on Linux,
>  via emulator/virtual machines ?
> 
> THX.   Marco
> 

Yeah, it works with both 'normal' wine and the winex cvs. There have been
reports of problems with one or two builds in the past, but generally it should
work fine aside from minor GUI inconsistencies. I'm using 1.5 at the moment with
whatever the current Gentoo wine ebuild is.

If you'd prefer a native solution there's also the recently developed and
amusingly named FuQT (it uses the qt libraries :), I don't think it has a
freesite yet and don't have access to my node right now but you should be able
to find it from the unkeyed frost board "FuQT". It looks nice but I haven't
actually used it.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: FUQUID on linux

2005-06-06 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:

> 
> It should have a freesite... And maybe a website too...
> 

Ooops, actually it's on Sourceforge. I'll update the wiki to say so.
http://sourceforge.net/projects/fuqt

Should still have a freesite though, yeah.

> On Mon, Jun 06, 2005 at 01:45:55PM +, Bob wrote:
> > 
> > If you'd prefer a native solution there's also the recently developed and
> > amusingly named FuQT (it uses the qt libraries :), I don't think it has a
> > freesite yet and don't have access to my node right now but you should be
> > able to find it from the unkeyed frost board "FuQT". It looks nice but I 
> > haven't actually used it.
> > 
> > 

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Requests are extremely slow to get any response. What gives?

2005-06-14 Thread Bob
S <[EMAIL PROTECTED]> writes:

> 
> On Mon, 13 Jun 2005 21:54:44 +
> Baldur Gislason <[EMAIL PROTECTED]> wrote:
> 
> > Why does it take forever for freenet to answer HTTP requests? Once it
answers them the throughput is nothing
> > to complain about, just eventually when it answers them. What can cause
> > this?
> > I'm running on FreeBSD 4.10 with Sun Java 1.4.2
> 
> I'm also running FreeBSD 4.10 with j2re1.4.2_05 under Linux
> compatibility. I run into a similar bottleneck from time to time. One
> thing that might help you is to tweak your browser settings such that
> your browser will fetch more items from fproxy (and other hosts) at once.
> This helps sometimes but not always.
> 

Other than browser settings, a few things. Firstly Freenet is inherrently quite
high latency compared to the web anyway, since it has to go off and find the
content possibly spread over multiple nodes via complex attack-resisting 
routing (which currently doesn't work as well as the devs would like). 
Secondly if I remember correctly there are parts of fproxy where threads block
on I/O when ideally they should use NIO or suchlike. Thirdly there are a finite
number of threads (maximumThreads parameter iirc), I don't think fproxy or any
other client explicitly reserves some but you _may_ get better performance if
you increase them a bit. It's a tradeoff against the extra memory/management 
overhead.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Firewall - allowing Javaw.exe everything is not good

2005-06-16 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:
 
> How do you suggest we fix the problem? If freenet was compilable that
> might help I suppose. Hopefully 0.7 will be.
> 
> On Wed, Jun 15, 2005 at 07:56:42PM +0400, Danila Medvedev wrote:
> > Under win2k Freenet (latest version, downloaded webinstall without Java -  
> > Java 1.4.2_06 already installed) connections show up to my firewall  
> > (AtGuard!) as javaw.exe
> > 
> > In process explorer I see javaw.exe as a child process of freenet.exe.  
> > Creating a general firewall rule permitting all outgoing connections  
> > requires me to allow them not just for freenet, but for all java  
> > applications.
> > 
> > This is not very good from a security standpoint. It would be preferable  
> > if this problem (albeit a minor problem right now) was somehow fixed in  
> > the future.

The only obvious way I can see around it right now is to make a copy of
javaw.exe just for Freenet use in the same directory where it is currently with
a different name, and update the javaw.exe line in Flaunch.ini ... I haven't
tried this but I think it should work. If so your personal firewall should let
you set different permissions on it.

If that doesn't work you could install another JRE somewhere just for freenet.
Or if you think it's some issue with both exe's being recognised as the same by
your firewall (having the same hash), add random byte(s) of junk on the end of
your copy, execution should never reach that point so it shouldn't cause any
problems.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: How do you keep a persistant internet connection

2005-06-18 Thread Bob
Eric Gentemann <[EMAIL PROTECTED]> writes:

> 
> I am a SBC DSL account.  I am not sure if it is Win XP or SBC but it
> seems my connection get timed out after about 2 hours.  Even with
> Freenet running it is still timing me out.  Is there an easy remedy to
> this?
> 
> Thanks to any replies

That's very odd, your IP might rotate but DSL should never disconnect entirely
for no apparent reason. Freenet doesn't do anything intended to cause this.

A few possibilities come to mind :

- You have a crappy modem/router that can't handle large numbers of connections
(characteristic of Freenet) and is falling over when asked to do so. The "free"
ones you get with ISP accounts tend to be less than great. The relevant
parameter is the "maxNodeConnections" line in freenet.ini . However unless you
manually put in some decent sized number here it will probably only be 60, it
should be 200 on XP but was getting set to 60 due to a bug in nodeconfig.exe
that I just fixed :)  If it is, you could try reducing it even further but I
would be suprised if any router is _that_ crap.

- Your box is pwned by spyware/trojans/rootkits/viruses/worms/all of the above.
No offence, I've seen it happen recently, inside 24 hours, to a reasonably
security conscious person who's system I fully patched up to date etc before it
even went on the net. One of the several IE6 0days in circulation is my guess.

- Other hardware issue(s) that only show up under heavy load, a common culprit
being flaky memory in the upper ranges. Probably not this though, I'm guessing
with a system like that you use it for other demanding apps/games where it would
show up also.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: How do you keep a persistant internet connection

2005-06-19 Thread Bob
Eric Gentemann <[EMAIL PROTECTED]> writes:

> 
> Thanks for the answer back, bob
> 
> I sat and did an examination of my logs for my modem and firewall.  
> Basically it is an XP issue,  I don't lose connection on freenet but
> any http  or telnet traffic never leaves the modem because my provider
> times me out.  Funny though.  They don't time out the dynamic address
> but just the traffic.  Funky DHCP setup ?  Not that knowlegdeable
> about hard network issues myself but enough to be dangerrous.

Um, so freenet carries on working but everything else doesn't?? That's 
even weirder.
Actually have you considered that maybe the link has in fact gone down
altogether and you're just seeing content from your local datastore? 
Unless freenet routes over magic these days that makes more sense ;)

If you are running XP SP1 and your connection is WiFi there are known 
dropout issues :
http://www.smallbusinesscomputing.com/webmaster/article.php/3506611
Unless you have some good reason not to you should be on SP2 already of 
course.

You could try reducing maxNodeConnections/not running Freenet at all and 
see if that helps,
if it does it's presumably some issue on your end e.g. crap or 
misconfigured router/modem. If not maybe it's an ISP side problem.

Looks like other SBC people may be experiencing similar issues :

http://www.dslreports.com/forum/remark,7315506
"I cannot get my DSL connection through my router to stay up."

http://www.techsupportforum.com/showthread.php?threadid=43981
"Having a disconnect issue, mostly while gaming online, but does happen 
while browsing also."

http://www.abaris.net/review/sbc-review.htm
"The system will periodically disconnect you even though you set the 
idle time parameters otherwise and try various ping programs in an 
effort to keep it online."

Then again maybe you could find reports like that for every big ISP :^/

If reducing maxNodeConnections doesn't help, and particularly if it 
happens in situations when freenet's not even running, my first guess 
would be something to do with your router configuration. If it's a 
'proper' networked router (as opposed to a USB modem only connected
to 1 PC) it probably has some sort of web interface on it that lets you 
set various stuff.
Having a PPP timeout set would explain disconnection. (On my generic 
Conexant/Linksys it's called "Disconnect Timeout" and is on the
"WAN" page.) If it's a USB single PC one, it probably comes with some 
diagnostic tool that may let you see/change stuff like that.

What router/modem/whatever are you using?

> I know that I'm not owned and have dealt with spyware issues aplenty. 
> I keep a good watch over logs, Because I do get portscaned a couple of
> time a day.  Funny thing is that after I got the node up and going I
> got probed even more.  Go fig.

Heh, maybe the friendly freeneters with you in their routing tables are 
bored :)

> Thanks again for that write back
>
> On 6/18/05, Bob <[EMAIL PROTECTED]> wrote:
> > Eric Gentemann  ...> writes:
> > 
> > >
> > > I am a SBC DSL account.  I am not sure if it is Win XP or SBC but 
it
> > > seems my connection get timed out after about 2 hours.  Even with
> > > Freenet running it is still timing me out.  Is there an easy 
remedy to
> > > this?
> > >
> > > Thanks to any replies
> > 
--snip--

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Node bandwidth with ADSL

2005-06-29 Thread Bob
 <[EMAIL PROTECTED]> writes:

> 
> I'm running a node on a 512/128 ADSL connection with a 25GB per month limit. I
need to constrain the amount of
> traffic passing through the node (set at 1GB size)to not more than say 6GB of
outgoing traffic per month.
> 
> Is it just a matter of setting the max and min in the settings file? Or can I
selectively shape with my router
> based on the port number(s) freenet uses?

It's probably best to do it via the OutputBandwidth / InputBandwidth
configuration settings. You could traffic shape via a router as you say, but it
would be difficult, and wouldn't feed into fred's load balancing calculations
like settting them does. You only know your own listenPort and other nodes in
your rt will have different random ones, bidirectional connections allow
(limited) upstream over outgoing connections only etc. It would presumably get
harder again with 0.7's use of UDP ... after all an eventual goal of Freenet is
to be hard to detect and filter.

The general concensus seems to be you only need to set OutputBandwidth to stop
freenet using too much, this is how I have/had my permanent node (down at the
moment due to hardware failure so maybe not so permanent :) configured and it
seems to work. If you have a strict cap it probably wouldn't hurt to set the
input limit as well though. In both cases set it to a bit less than what you
actually want to allocate because it tends to overrun slightly.

On a related point, given that setting appropriate bandwidth limits is widely
recommended for performance reasons / to avoid fred eating all your bandwidth, I
think that doing so in the winstaller (NodeConfig) should be significantly
easier and more obvious. Currently newbie users are expected to tab to the
"advanced" page without prompting, know what appropriate values for their
connection in bytes/sec are, and spin them into the appropriate controls. I may
have something concrete to submit on this over the weekend.
 
> What would other freenet users suggest, as I'm totally new to Freenet and have
limited knowledge of it's
> inner workings.
> 
> thanks,
> 
> Jeff

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: trouble connecting (java?)

2005-06-30 Thread Bob
Zuriel <[EMAIL PROTECTED]> writes:

> 
> trying to use freenet for the first time and I'm having some trouble,
> its probably due to my firewall but I'm not sure. I've tried
> disabling it and edit the freenet.ini file but it still doesn't work.
> here is the log file I have.

Your personal firewall is a fairly likely culprit, yeah. It seems to be failing
when it tries to start listening for connections. Under the circumsatances this
should only happen if something is already bound on that port, or if something
like a personal firewall is preventing it from binding to it.

Try opening a command prompt and doing "netstat -an". If you see a line like
"TCP   0.0.0.0:   0.0.0.0:0   LISTENING" where  is whatever your
listenPort is (it's in freenet.ini, don't post it for anonymity reasons) then
something (maybe a zombie freenet) is already bound to the port. Do the same
check for  (web interface port) and 8481 (Freenet Client Protocol). If any
of them are bound, try to stop/reconfigure whatever is using them and try again.
Alternatively you can change these ports in freenet.ini but this can cause
hassle later e.g. clients expecting to find the node on 8481, so change the
other stuff if you can.

If it's not that then review your personal firewall settings/logs, from its
point of view it will be the Java runtime javaw.exe that needs to be allowed to
"act as a server" in zonealarm-speak.

> Jun 29, 2005 11:11:26 PM (freenet.node.Main, main, NORMAL): Starting
> Freenet (Fred) 0.5 node, build #5103 on JVM Sun Microsystems
> Inc.:Java HotSpot(TM) Client VM:1.4.1_03-b02
> INFO: Native CPUID library
> 'freenet/support/CPUInformation/jcpuid-x86-windows.dll' loaded from
> resource
> INFO: Optimized native BigInteger library
> 'net/i2p/util/jbigi-windows-pentium4.dll' loaded from resource
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): loading
> node keys: node
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): Read node
> file
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): starting
> filesystem
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): loading
> data store
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): loading
> routing table
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): From
> output: 49152.0
> Jun 29, 2005 11:11:27 PM (freenet.node.Main, main, NORMAL): Setting
> default initTransferRate to 49152.0
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): Created
> new NGRT
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): Loaded
> stats
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): loading
> temp bucket factory
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): loaded
> temp bucket factory
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): Loaded
> bucket factory
> Jun 29, 2005 11:11:29 PM (freenet.node.Main, main, NORMAL): not
> seeding routing table
> Jun 29, 2005 11:11:30 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.(Unknown Source)
>   at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
>   at java.nio.channels.Pipe.open(Unknown Source)
>   at sun.nio.ch.WindowsSelectorImpl.(Unknown Source)
>   at sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
>   at java.nio.channels.Selector.open(Unknown Source)
>   at
> freenet.transport.AbstractSelectorLoop.(AbstractSelectorLoop.java:153)
>   at
> freenet.transport.ThrottledSelectorLoop.(ThrottledSelectorLoop.java:76)
>   at
> freenet.transport.ReadSelectorLoop.(ReadSelectorLoop.java:107)
>   at
> freenet.transport.tcpConnection.startSelectorLoops(tcpConnection.java:151)
>   at freenet.node.Main.startNode(Main.java:1570)
>   at freenet.node.Main.spawnNode(Main.java:1060)
>   at freenet.node.Main.main(Main.java:908)
> Caused by: java.net.ConnectException: Connection refused: 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
> 
> any suggestions?
> __

Bob




___
Support mailing list
Support@freenetproject.org
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] Re: trouble connecting (java?)

2005-06-30 Thread Bob
Oh yeah, another thing is that you're using an old beta release JVM ... this
isn't very likely to be the cause of the problem, but you should upgrade anyway
(http://java.com/en/download/windows_xpi.jsp) if only for the important security
fixes and some performance improvements.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Does Freenet still not work with Kaffe?

2005-07-12 Thread Bob
Duana Saskia STANLEY <[EMAIL PROTECTED]> writes:

> 
> 
> It was mentioned a year ago that Freenet doesn't yet work with Kaffe - is 
> this still the case?

AFAIK it still doesn't. The issue is lack of working NIO support,
which freenet
uses pretty heavily. Toad said a while ago that this was pretty much 
the only obstacle, so if it starts working in one Free JVM then the others
should follow.

> I'm having problems installing Kaffe so I don't 
> know.  I'll try Blackdown since you mentioned that works.  Any other java 
> VMs you can recommend?

Other than Sun's I think that's your only choice currently :^/
 
> The problem I'm trying to avoid is the java threads showing up as 
> individual processes under ps on redhat.  Apparently you can get a java 
> program to have just one listing in ps if you use some flag for some 
> threads-library on kernels greater than 2.6.  It's a bit over my head, 
> but anyway the latest sun JVM doesn't seem to do this.  If anyone knows 
> anything about this obscure issue, any info would be much appreciated.

Umm, and this matters to you why? Signalling the "parent" process in 
freenet.pid should affect all of them :^)

How threading is handled is an interplay between the JVM and the host system,
you can also influence it (mostly for backwards compatability when the default
behaviour breaks) with the LD_ASSUME_KERNEL environment variable which you've
probably noticed start-freenet.sh does for known problematic cases. I don't
claim to really understand it either. Blackdown can do either "green threads"
(userspace) or "native threads" (kernelspace but higher context switch cost /
footprint) but this is arcane stuff which it seems you shouldn't mess with
unless you know what you're doing, e.g running huge clustered simulations. The
docs aren't up to date on it either.
(http://www.blackdown.org/java-linux/docs/support/faq-release/
FAQ-java-linux-4.html#ss4.2)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Does Freenet still not work with Kaffe?

2005-07-18 Thread Bob
Duana Stanley <[EMAIL PROTECTED]> writes:


--snip--
> Thanks this was really helpful.. I didn't realise that the config file was
> setting it up not to use NPTL.  Which brings me to the next question 
> - are there still problems with using NPTL?  Even with the latest Sun JVM?
> 
> Duana.

Sorry, I don't know. Bear in mind however that some other "canon" pieces of
advice in start-freenet.sh, such as "don't add the -server JVM flag because it
breaks things", are contradicted by the experiences of other users (myself
included in that case.) There is a certain amount of trial and error involved in
getting freenet configured optimally :)

I *think* that the NPTL avoidance is there due to the really buggy
implementation in RH 9 / FC 1.
(http://linux-sxs.org/programming/ibm-java.html#APPENDIX_A). If you are using a
newer one e.g. Enterprise WS 4 then I would be suprised if it's still broken.

I also found this : 
http://www.theserverside.com/news/thread.tss?thread_id=23464
which says that "true" threads as opposed to a bunch of IPC processes didn't
exist till 2.6, and apparently this affects how the ps output looks, but it
isn't clear whether 2.6 "fixes" it or not. All I can say is that my (dead)
Debian box was 2.4.x and freenet showed as loads of pids on there.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Freenet won't start on my new computer

2005-08-06 Thread Bob
Bergman, Karl J <[EMAIL PROTECTED]> writes:

> 
> Due to a computer crash I had to switch to a new one.
> 
> When I try to start up freenet all I get is:
> 
> Loading native...
> Attempting to load freenet/support/CPUInformation/libjcpuid-x86-linux.so
> Written to /tmp/jcpuid45173lib.tmp: 55692
> INFO: Native CPUID library
> 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from
> resource
> INFO: Optimized native BigInteger library
> 'net/i2p/util/libjbigi-linux-athlon.so' loaded from resource
> 
> and then nothing.
> 
> Thankful for any help.
> 
> //Greven

Well, it looks normal up to that point.
Are you sure it doesn't start even if left for a long time? On my node at least
5104 takes a *long* time to start up for some reason, like 30-45 minutes.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Standalone freenet network in lan

2005-08-06 Thread Bob
Gautham Anil <[EMAIL PROTECTED]> writes:

> 
> Hi,
> 
> We are trying to set up a freenet (I have no previous experience with 
> it) network in a lan not connected to the internet. How does one go 
> about doing that?
> 
> Gautham

I haven't done this, but I'm pretty sure the procedure would be as follows :

- Install freenet but don't download a seednodes.ref, or delete it

- Start it so a node identity is generated (a file named "node" in the freenet
directory) then stop it again

- Make a new local refs file for the nodes on your LAN.
  This is simply all the contents of the various "node" files concatenated
  together, without blank lines (the last line of an identity is "End" which
   acts as a delimiter.)

- Name it seednodes.ref and put in each nodes freenet directory, start them up
and check after a while in "open connections" that they are in fact only
connecting to each other.

Depending on deployment issues you may find it more convenient to access the
noderefs over the LAN :
http://IP-ADDRESS-HERE/servlet/nodestatus/myref.txt

However, to do this you will need to (temporarily) have mainport.allowedHosts in
each node's freenet.conf set to allow access from all LAN hosts, e.g.
"mainport.allowedHosts=127.0.0.0/8,192.168.1.0/24".

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Standalone freenet network in lan

2005-08-07 Thread Bob
Gautham Anil <[EMAIL PROTECTED]> writes:

> Bob wrote:
> > Gautham Anil  ...> writes:
> > 
> >>Hi,
> >>
> >>We are trying to set up a freenet (I have no previous experience with 
> >>it) network in a lan not connected to the internet. How does one go 
> >>about doing that?

--snip--

> I am now getting these errors. Please help.

-- snip for stupid gmane filter --
> 16:21:48  Skipped bad NodeReference while reading seed nodes 
> freenet.node.BadReferenceException: Malformed ref: No session 
> fieldFieldset: 

--snip--
> 16:21:48  Skipped reference - truncated: java.io.EOFException:-
> 16:21:48  Skipped bad NodeReference while reading seed nodes 
> freenet.node.BadReferenceException: Malformed ref: No session 
> fieldFieldset: 
--snip--
> 16:21:48  seeded routing table-
> 16:21:48  starting node   -
> 16:21:49  loading service: mainport   -
> 16:21:49  loading service: distribution   -
> 16:21:49  Loading the single servlet distribution.params.servlet  -
> 16:21:49  Starting ticker..   -
> 16:21:49  Starting interfaces..   -
> 16:21:49  Bookmarks updated on request-
> 16:21:50  starting ListenSelector..   -
> 16:21:50  Found 0 announcement targets for this node. -
> 
--another snip--

Hmm crap, sorry. It looks like it's not quite that simple :(

There is quite a lot of extra info stored in seednodes.ref node references 
which isn't in the "node" files, but it's mostly estimator data which is 
generated dynamically as the network learns which therefore should not be
needed. It appears from this however that mainport does expect a "sessions"
line e.g. "sessions=1", and possibly other things.


The only other way I can think of is to use the distribution servlet. Again
though I have no actual experience of doing this so it's a bit of a guess :/

- Start node locally on one computer, with no seednodes
- Click the "Spread freenet" link on the first page of the web interface, i.e.
  http://127.0.0.1:8891/. This will start the "distribution servlet".
- Go to next PC and navigate to the URL the distribtion servlet gave you, 
  download your freenet distribution from there (NOT freenetproject.org).
  Start it and *hopefully* it will know that the first computer is a node.
- Repeat for all PCs in the network. AFAIK you should be able to download from
the first computer in all cases, since the nodes will eventually all find each
other via the first one.

This is a very clunky way of doing it for a big LAN though.

If that doesn't work either, really you want a response from someone who
actually understands how this stuff works ;) If nobody replies here you might
try emailing one of the core developers like Matthew (toad at amphibian dot
dyndns dot org).

Regards,
Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Standalone freenet network in lan

2005-08-08 Thread Bob
Stephen Mollett <[EMAIL PROTECTED]> writes:

> 
> Hi,
> 
> On Saturday 06 Aug 2005 21:10, Gautham Anil wrote:
> > We are trying to set up a freenet (I have no previous experience with
> > it) network in a lan not connected to the internet. How does one go
> > about doing that?
> 
> Try the suggestions in Toad's message of 10th Nov 2004:
> 
> http://permalink.gmane.org/gmane.network.freenet.support/5669
> 
> Stephen

Umm yes, do that.

I suppose I should have searched the archives rather than trying to guess :)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Bandwidth limiting of outgoing traffic...

2005-08-08 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:
 
> On Thu, Aug 04, 2005 at 10:06:04PM +0200, Evert Meulie wrote:
> > Hi all!
> > 
> > Has anyone been able to accurately shape the bandwidth consumption of 
> > freenet traffic leaving your server? I know there are options in 
> > freenet.conf, but it seems that these are either ignored totally or at 
> > the very least not very strictly abided by...
> 
> Really? Last time I tested it, outputBytes seemed to work okay. You
> _did_ set it in bytes per second, correct? And to what level are you
> trying to limit it?

In my experience on various computers outputBandwidthLimit does work, but tends
to consistently overshoot by a few KiB. This could cause problems if you've been
generous expecting it to be a hard ceiling limit ... try reducing it a bit.

> > Since Freenet uses random ports for outgoing traffic, I can't really 
> > shape it on my firewall either. (I do have an option to shape traffic 
> > based on packet content. Do all Freenet packages have some common, 
> > unique content perhaps?)
> 
> They shouldn't. Sadly they do at the moment (well not individual
> packets, but connections), but they won't in future.
> > 
> > The Freenet site suggested to control the bandwidth usage on the 
> > OS-level instead. Who can tell me how to do this?

The freenethelp Wiki is very useful, but isn't official project documentation :)
It should be possible to traffic-shape incoming traffic at least with a blanket
"all incoming tcp to port whatever-your-listenPort-is" rule if you really want
to, but any gains are likely to be minimal IMO (possibly slightly less CPU usage
due to the kernel doing some of the limiting.)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Which Linux for freenet?

2005-08-26 Thread Bob
[Anon] Anon User <[EMAIL PROTECTED]> writes:

> 
> -BEGIN TYPE III ANONYMOUS MESSAGE-
> Message-type: plaintext
> 
> It sounds like a stupid question perhaps, but I'm currently on windows and am
> giving serious thought and study time to at minimum switching to a windows 
> - - linux dual boot arrangment.
> 
> So far I'm leaning toward either Debian or Mandriva, does freenet prefer one
> better than the other?  Or does it matter much if it's one of the 'mainstream'
> distro's?
 
As others have said, the exact distro doesn't matter much to freenet and it will
be possible to get it working one way or another. If you're new to Linux and are
going to be using it as a desktop, your first priority should be choosing one
that's relatively easy to use / manage. I'd recommend looking at Ubuntu (or
kUbuntu which uses KDE and is therefore a bit more windows-like), Fedora Core
and similar. For what it's worth I installed Ubuntu a few months ago for a Linux
neophyte friend who was sick of his XP constantly being pwned no matter how
careful he was, and am pleasantly suprised that he actually likes it, has
commented how much easier various things are on it vs. windows, and somehow
still hasn't "got around" to reinstalling XP as dual boot :)
Admittedly I did help configure it for him, e.g. as per
http://wiki.ubuntu.com/RestrictedFormats (the default install is 100% pure Free
software) and stuff like installing all the "suggested" packages for k3b to give
it its full impressive range of ninja powers. Anyway if you make use of all the
FAQs and helpful forums out there I'm sure you could manage.

I have used Debian for a dedicated node successfully, via a manual Sun jre and
freenet install. Apparently it's OK as a desktop, but I'm pretty sure Ubuntu
does things better from a new user's perspective - it's based on Debian anyway
so you still get apt-get etcetera. Currently I use Gentoo, with freenet manually
installed although it does have a package for it. Unlike the guy downthread
though (unless he was joking) I would absolutely _NOT_ recommend Gentoo to a new
user or any "normal user" who doesn't want to tweak their OS. It's a hardcore
everything-is-configurable nerd distro. How nerdy? Well IIRC they only just made
an installer for it, up till then you got a root shell and an instructions.txt
and had to do everything manually :)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: 2 questions - config?

2005-08-26 Thread Bob
maxigas <[EMAIL PROTECTED]> writes:

> hi!
> 
> i'm a linux/freenet newbie (i had freenet for 2 weeks on XP previously). 2  
> questions
> 
> 1. i ran  "ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild  
> config" and it downloaded all the files via HTTP and then ended with the  
> usual gratulations BUT haven't asked me anything else after the HTTP  
> downloads. i think it had to have had asked me for memory usage and  
> threads and all that thrill, no?

I've never used the ebuild personally, but that sounds like it should work.

> 2. i think i could get freenet working, but all the documentation suggests  
> that there should be more lines in my conf file. isn't that so?
> 
> GNU nano 1.3.7 File: /etc/freenet.conf
> 
> ipAddress=.xxx.xxx
> listenPort=
> seedFile=/var/freenet/seednodes.ref
> logFile=/var/freenet/freenet.log
> storeFile=/var/freenet/store
> diagnosticsPath=/var/freenet/stats
> routingDir=/var/freenet
> nodeFile=/var/freenet/node
> 
> thx for any input,

Yes, freenet.conf should have rather more in it than that :
  [EMAIL PROTECTED] ~/freenet $ wc -l freenet.conf
  865 freenet.conf

Personally I would unmerge the ebuild and just download a tarball
(http://freenetproject.org/snapshots/freenet-latest.tgz), unzip it somewhere,
then you should be able to generate a full configuration the 'normal' freenet
way. Stop the node if it's running, delete or rename your freenet.conf then run
./start-freenet.sh and answer the prompts. Be aware it might take a while to
carry on after the first couple of questions (because it has to start freenet in
a special configuration mode).

Good luck,
Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Which Linux for freenet?

2005-08-27 Thread Bob
Matthew Exon <[EMAIL PROTECTED]> writes:

> Bob wrote:
> 
> > I'd recommend looking at Ubuntu (or
> > kUbuntu which uses KDE and is therefore a bit more windows-like), Fedora 
> > Core
> > and similar.
> 
> As far as Java goes, Ubuntu doesn't come with Java out of the box, 
> although there are at least some fairly clear instructions for 
> installing it:

Well no, but the last I heard no distros did apart from Sun's "Java desktop"
thing and Novell/Suse's enterprise edition, due to Sun's astonishingly stupid
redistribution policies. However recently that *finally* changed ("you may
redistribute either the JDK or Java 2 Runtime Environment with your software."
http://java.sun.com/j2se/1.5.0/runtime.html) so perhaps there are others now. 

Since it only covers bundling with your apps you still have to manually download
it from Sun's official site if you just want to install it on its own or
upgrade, proving that Sun's management are still morons. Hmm, technically you
could "bundle" it with a 1kb HelloWorld.jar to get it on distro mirrors, I
wonder if anyone has tried this :) It could be genuinely useful too, the package
system could run it post-install to verify the install ...
 
> https://wiki.ubuntu.com/Java
> https://wiki.ubuntu.com/AddingRepositoriesHowto
> 
> Fedora Core doesn't either.  It comes with some scary-looking warnings 
> about what can go wrong if you try to install it the wrong way, and 
> terrible instructions:
> 
> http://fedora.redhat.com/docs/release-notes/fc4/#id2503931

Personally I don't like Red Hat and have never used FC. I mentioned it because
it appears to be fairly popular as a "normal user" distro and from screenshots
I've seen of the unified desktop it looks pretty friendly/usable for such
people. My primary recommendation would still be Ubuntu/kUbuntu though.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Segfaults infreenet.node.ds.FSDataStoreElement$KeyInputStreamImpl.close()

2005-08-29 Thread Bob
n/a n/a <[EMAIL PROTECTED]> writes:

> honestly i think its more trouble then its worth, from everything ive read 
> it is completly un-secure which means everyone and their mother is watching, 

No it isn't. The current network does have known attacks sure, but so does every
current anonymous/psuedo-anonymous network that uses the Internet, and they
always will to some extent - all you can do is make attacks so difficult and
expensive they're unfeasible in practice. Which is what the devs are trying to
do. Even on the current network it's a lot harder to track Freenet than the
"regular" p2p you seem to be comparing it to like Gnutella2 or ed2k. There's a
reason why nobody running freenet has ever got a subpoena from the RIAA's hired
goons or a DMCA takedown notice, or more to the point why (as far as I know)
nobody has been prosecuted for trading highly illegal material over it.

> it is painfully slow and un-reliable,

Compared to a well-seeded torrent it's usually slow, sure. (See below for why.)
But in my experience reliability is better than your average torrent or most
other p2p - big files might take days, but once they start you can generally
depend on getting it all in the end. In contrast torrent seeds / p2p peers can
just disappear and leave you with an incomplete file forever, and quite often 
do.

> not to mention that needlessly huge 
> file you gotta download when u install it that it never actually lets you 
> finish downloading,

Huh? What file? You mean Java, or what the windows webinstaller downloads?
The windows installer / configurer is somewhat dodgy, partly for this reason 0.7
is aiming to simplify it a lot and do as much as possible inside the node.

> for what its worth you might as well save yourself the 
> headache and use any other p2p.

Well, you are making the fundamental error of comparing it to mature,
non-anonymous p2p apps. Freenet is still a very experimental, beta (or even
alpha depending who you ask ;) network which quite often has to come up with the
theory as it goes along because nobody has done it before. Its primary goal is
anonymity, not performance, and it turns out that the two things are
unfortunately diametrically opposed quite often. For example it would be faster
if it did more path folding, but that would make it less anonymous.

That said, the core developers are well aware that performance is not as good as
it could and should be. There are good reasons to hope that the 0.7 rewrite will
be better in this regard when it gets to release quality. Even then though you
must realise that the ultimate aim of Freenet is *not* blazing-fast popular
warez^Wfile downloading like the completely non-anonymous Bittorrent, but rather
for secure and anonymous grass-roots distribution of content that may be highly
illegal/suppressed in some countries or otherwise against the interests of the
authorities. As in people could be *tortured and killed* if they were caught.
THAT kind of anonymity.

> with the experience ive had with freenet its my opinion that it has been 
> utterly compremised, there is no anonymity.

A JVM crash does NOT mean freenet has been in any way "compromised", it means
there are bugs in the JVM, like there are in all complex software. These crashes
are not Freenet's fault, it's Suns (or Blackdown's for some people.) In fact the
security sandboxing of the JVM is why you get a nice stack trace like those
posted above, the virtual machine has crashed but it was self-contained and
hasn't affected anything else on your computer.

That doesn't mean they don't suck though. I would really like 0.7 release to be
GCJ'able or at least run OK under Kaffe :/

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: java.io.IOException: Too many open files

2005-08-30 Thread Bob
Julien Cornuwel <[EMAIL PROTECTED]> writes:

> Matthew Toseland a écrit :
> 
> >Does this happen after you start Freenet up, or had the node already
> >been running for a while? It's quite possible we have a slow FD leak
> >somewhere...

--gmane filter snip--
> The problem is now solved (by flushing the datastore), thank you for
> your answer.

Also it is possible, though not very likely, that open files are being limited
too much at the OS level. What do you see for "Open files" when you run 
"ulimit -a"?
For reference mine is 1024, I assume this is the default Linux/bash value.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: "Locally optimized BigInteger Library"

2005-08-30 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:

> Can you send me a diff -uw on the file?
> 
> On Mon, Aug 29, 2005 at 08:35:56PM -0400, Josh Watzman wrote:
> > Hello-
> > 
> > I wrote a few months ago about how to get jbigi loaded using a
> > locally-compiled library. This would allow people with unsupported
> > systems (such as PPC Linux or even Mac OS X) to get the advantages of
> > the jbigi library. I2P has allowed this by placing the library in the
> > same folder as the jar file; freenet did not, even though I was told
> > that the code was taken mostly verbatim from I2P.
> > 
--snip--

Well this is certainly better, thanks for working it out. For the record you can
run with jbigi on "unsupported" platforms right now by repackaging
freenet-ext.jar and overwriting whatever generic fallback library it tries to
load with your freshly compiled native one, but arguably this isn't very user
friendly :)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: java.io.IOException: Too many open files

2005-08-30 Thread Bob
Bob <[EMAIL PROTECTED]> writes:

--snip--
Arrgh! He says file ulimit is unlimited in the original post. Sorry list,
that'll teach me to read all of them in future.
(Mods : delete this post and parent if you want)

Bob


___
Support mailing list
Support@freenetproject.org
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] Important new bugfixed release of Frost

2005-08-30 Thread Bob
Sorry if this is judged OT, but I believe Frost is a significant part of the
"freenet experience" (heh) for quite a lot of people, and therefore it not
really working is a serious problem.

http://jtcfrost.sourceforge.net/
"Bugfix: problem computing the first empty index for message uploads was fixed
(IMPORTANT)"

Specificially, Frost has been seriously affected recently by the combination of
a pathetically determined script spammer using rotating IDs and a nasty bug in
Frost's upload handling. The effect, other than wading through spam (unless you
mark everyone rational GOOD then ignore all CHECK messages but obviously this
sucks,) was that posting could take a long time. The latter is fixed, so now you
can theoretically post like before. However Frost still needs a proper web of
trust sort of system to handle spamming.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Key

2005-08-31 Thread Bob
Ben <[EMAIL PROTECTED]> writes:

> I recently installed and started running freenet on Fedora Core 4, 
> everything went smoothly until I tried to start looking up indexes, and 
> it keeps returning the error that I have an invalid key. Just wondering 
> how I might go about taking care of that.
> 
> lb

Errors are normal for new nodes, it takes quite a long time for them to
initially integrate into the network. (I believe there is hope this time can be
reduced by 0.7.)

Errors and their meanings :

Route Not Found (RNF) : Your node doesn't know enough about the network to route
this request at all yet. Solution : leave it up until it does :) You can speed
this up by trying to request things, one way is to set aggressive browser
timeouts (http://wikiserver.freenethelp.org:14741/SpeedingUpFreenet) open The
Freedom Engine and leave it trying to retrieve the masses of activelinks.

Data Not Found (DNF) : Can mean the data really isn't on the network, but for
newbie nodes most probably means it is but it can't be found because routing is
working poorly. Again, the solution is to wait till routing works. Unfortunately
it can require days of total uptime to approach maximal performance :/

"Key not found in manifest" - the freesite author or their tools screwed up and
mis-inserted the site, the key you tried to retrieve isn't where it claims to 
be.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: java.lang.OutOfMemoryError

2005-09-04 Thread Bob
 <[EMAIL PROTECTED]> writes:

> 
> After running Freenet for a while (Actually only 2 weeks this time), I
> sometimes get the exclamation icon in the tray. The last thing in
> freenet.log is:
> 
> Exception in thread "YThread-2184" java.lang.OutOfMemoryError: Java heap
> space

This is not a freenet bug as such, it's caused by it using a lot of memory and
overrunning the default amount that java allocates. IIRC this is about 96MB on
win2k which is a bit stingy these days. So, you need to allow it to have more
(or/and reduce your maxNodeConnections, maximumThreads etc in freeenet.ini to
try to make it use less. CofE reports that the newest JRE [1.5.0_04] seems to
use more memory than previous ones so you could even try downgrading, but I
would tend to recommend against that.)

The way you are supposed to do it in windows is set the memory line in
Flaunch.ini, in the directory where freenet is installed. By default it will
look something like this :

 [Freenet Launcher]
 JavaExec=C:\Program Files\Java\j2re1.4.2_02\bin\java.exe
 Javaw=C:\Program Files\Java\j2re1.4.2_02\bin\javaw.exe
 JavaMem=default
 Priority=0
 PriorityClass=64

Obviously you change the "JavaMem" line, it appears the format is e.g.
"JavaMem=150" to set the maximum to 150MB.

Incidentally, you can in theory increase this limit for all java apps you might
run by going to control panel->java, then to the tab that lets you put in
command line options for the JVM (you may see multiple ones), and adding e.g.
"-Xmx150m". The "default" line in Flaunch.ini probably means to use whatever
this system default is.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: freenet wont connect anymore.

2005-09-07 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:

> Are you sure you are talking about the same Freenet we are? Please check
> http://freenetproject.org/
>
> On Sun, Sep 04, 2005 at 10:34:48PM -0500, Andy Doucette wrote:
> > Dear Freenet Support Community,
> > 
> > I have been a happy freenet user for several weeks now.  Today, my
> > freenet broke.  While my freenet server was running in the background, I
> > accidentally did something that produced a blue screen of death.  It had
> > to do with moving a TV window from one monitor to the other, producing
> > some sort of fault in my video card driver.  My computer restarted, and
> > I have not been able to connect to the freenet network ever since.  What
> > do you think could be wrong?  Thanks for your help.
> > 
> >  ~Andy

Assuming that this is in relation to freenet; I assume you're running it on
windows? I'm not really familiar with how it works on that platform but a couple
of things come to mind :

- Lock files. On *nix a "lock.lck" file gets written to the main freenet
directory on startup, to prevent more than one instance being run at a time. In
the event of a crash though it wouldn't get deleted and would prevent the node
restarting. So see if you have something like that in c:\Program Files\Freenet
and delete it if so.

- Inconsistent datastore versus index. I've never seen a node not cope with this
by fixing the index but perhaps it can happen. If the above doesn't help try
renaming (location of your freenet store)\index to something else, hopefully
this will rebuild the index if that's the problem.

- If neither of those help, look at (freenet directory)\freenet.log and
hopefully it will tell you what the problem is. Unless you have turned logging
off :) One possibility is that freenet is needing a huge amount of RAM at
startup (so you need to increase the JavaMem size in Flaunch.ini), this is a
known issue for some users on *nix ...

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Hypothetical question...

2005-09-17 Thread Bob
John Meeks <[EMAIL PROTECTED]> writes:

> The new information about version 0.7 sounds pretty good, but one thing
> about it concerns me.  Assuming I don't know anyone who is using freenet,
> how do I get onto the network?  (Remember, I'm asking this about the next
> version, since it says you can only connect if a "friend" lets you.
> Assuming I don't have a friend already using freenet, how do I get
> connected?)

As I understand it there will be two options : join the opennet, which is public
and harvestable like the current freenet (but hopefully has better performance
etc), or join / create a private darknet which isn't. However, given that the
routing model is predicated around the "friends form small-world networks"
concept I think even the opennet is supposed to be joined via the noderefs of
friend(s). This is of concern to me as well, I don't know anyone IRL who runs
freenet. 

We could have a rotating public nodes system like we currently do with
seednodes.ref, but surely this would horribly break the routing?

> This change worries me (unless I'm mis-understanding it), since it
> basically ties the network to a group of real-life friends, it creates a
> nice friendly map that the authorities could use to find everyone
> interested in a given subject.  I don't think the Chinese government would
> have any problems getting someone's computer and seeing all the "friends"
> it lists.

The idea of darknets is that they're not practical to detect. Assuming this is
the case, if e.g. CCP busted one darknet-running dissident through some other
means and got the chance to examine their computer, they could also find others
in that darknet. Hopefully dissidents in such situations have the sense to
organise like terrorist cells so that damage is limited in this case.

> In short, it seems like this change would create a set of isolated
> networks, and remove the plausable deniability of the previous network.

True to some extent, but the whole point of darknets is that they are isolated
and secret. There is already a seperate freenet 0.5 network in China. An opennet
node could be run to push content from darknets onto the public network, or vice
versa, although this is probably risky for a dissident to do.

> The "network of trust" concept seems to me to be deeply flawed, since
> spies have been able to infiltrate even the most guarded networks of
> "friends" (ie. the Mafia, the Manhattan project, etc).  Trusting "some guy
> I met on the internet" doesn't seem like something I'd really want to do.

Yeah, I could find freenet people on the 'net but not IRL, and as you say this
makes strong trust difficult. Obviously core project people are trustworthy but
if we all connect to them then AFAICS routing breaks (plus their nodes would
likely be DDoS'd ..)

> I guess another way to look at it is that the network seems to be going
> towards being more useful for people in countries like China and less
> useful for people in the US.  Plausable deniability is more useful in the
> US, whereas secrecy is more useful in China.  While I feel for people in
> China, I myself am in the US, and so therefore look at the project from my
> point of view (especially in the current political climate).

It is not beyond the bounds of possibility that freenet could be banned in
western countries too. The UK gov for example is reactionary, authoritarian and
power hungry - all it would take is one high-profile paedophille case or
suchlike to whip the tabloids up into a frenzy, and a wish list bill pre-written
by the security services could probably be rushed through parliament. We already
have state level internet censorship and monitoring. The US is much the same, in
spite of supposed constitutional free speech protections.

> I'm also a bit concerned about the constant restarts, it seems that the
> project is following the "fad security of the month" (although networks of
> trust were around with PGP like 10 years ago).

Well, as you see there will still be an opennet sort of like the current
freenet. The reasons given over the months for the other changes and in
particular the introduction of darknets all seem rational to me. It's a fact
that freenet 0.5 doesn't perform very well, is harvestable etc and these
problems need to be addressed somehow.

> Anyway, the reason I'm asking about this is because I currently have
> Paypal set up to donate $20/month to the project, but I'm not
> sure if I like the direction it's going.
> 
> Any better explanation of how this will work (mainly "how can I connect if
> I don't already know someone") would be greately appreciated.
> 
> Thanks.
> 
> --- John

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Hypothetical question...

2005-09-17 Thread Bob
Matthew Toseland <[EMAIL PROTECTED]> writes:

--snip--
> No, there will be an opennet. It will probably operate on similar
> principles to the current 0.5 network, but will be 0.7.
> > 
> > We could have a rotating public nodes system like we currently do with
> > seednodes.ref, but surely this would horribly break the routing?
> 
> Not necessarily.

So the friend small-world thing is purely for the scalable darknet, and the
opennet will use something like ngrouting?

> We have state level internet censorship?

Slight hyperbole perhaps, but the apparatus is there and it seems to be
happening. Right now known child porn sites are banned at the backbone/telco
level, which is fine, but this shows worrying signs of being expanded. Next on
the list is any criticism of a religion deemed to be "hate speech", and porn
deemed by some undefined party to be too "violent". The proposed incitement to
terrorism stuff is a bit open ended too.

http://news.bbc.co.uk/1/hi/uk/4195332.stm
OMG, must censor teh internets to protect our children because we have no
parenting skills. As for the insinuation that any porn harder than is allowed to
be sold in a UK sex shop must be censored, good luck censoring a third of the
internet.

http://news.bbc.co.uk/1/hi/uk_politics/3871867.stm
Scientologists rub their hands in glee as they gain a new weapon. Pointing out
Mohammed was by modern standards a paedo == offence? Claiming the 'lost books'
of the Bible that say Jesus had homosexual relations, served a hallucinogen at
the last supper etc. exist == offence? Etcetera.

http://news.bbc.co.uk/1/hi/uk_politics/4247638.stm
"Powers to tackle bookshops selling extremist material". So Mein Kampf is going
to be a thoughtcrime here too? Maybe we could have public bonfires of the
offending books while the security forces march around them and shout slogans,
y'know, to drive the point home.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: "Could not find the Main class" error

2005-09-19 Thread Bob
Jim Q. <[EMAIL PROTECTED]> writes:

> Hi,
> I had problem installing Freenet because it will fail to download software 
> during installation. Matthew helped me with that so I copied some of the 
> software it was having difficulty with in the installation directory but now 
> at the end of the installation I get the following error: "Java Virtual 
> Machine Launcher: Could Not Find the Main Class. Program will exit." BUt the 
> program continues its installation and is installed but whenever I try to 
> start the program I get the above mentioend JVM Launcher error. I upgraded 
> my JVM to the latest thinking that it was perhaps my JVM error.
> Thanks,
> Jim

Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which IIRC
has a different main class, but this would be hard to do by accident since they
aren't even hosted on freenetproject.org :)

Failing that, what does the end of freenet.log say when this happens?

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
Jim Q. <[EMAIL PROTECTED]> writes:

> I have tried upgrading Java 4.2 to 5 but that did not help. Now I have 
> installed Java 4.1

Well ... the version of Java generally speaking shouldn't be a problem as long
as it's recent (1.4.1 isn't generally recommended.) There was a recent issue
with the bundled webinstaller using an old java, but many people successfully
run freenet with Java 5.0.

Also there is a file "Flaunch.ini" written by the installer on setup into the
main directory, that tells freenet where java is. If you change your version of
Java after it's installed you may need to edit this file to point at the new one
(or reinstall freenet in which case the installer should do it for you.) It
looks something like this : 

 [Freenet Launcher]
 JavaExec=C:\Program Files\Java\j2re1.5.0_04\bin\java.exe
 Javaw=C:\Program Files\Java\j2re1.5.0_04\bin\javaw.exe
 JavaMem=default
 Priority=0
 PriorityClass=64

If it's currently wrong search for "java.exe" and "javaw.exe" and update the
JavaExec / Javaw lines as appropriate.

> but same error "Could not find the Main Class" keeps 
> popping up when Freenet.exe createconfig command is executed.

Basically this error implies that Java *is working* but it can't find the class
to run in freenet.jar for some reason. So either that class isn't in the jar
(which is why I suggested a corrupt jar), or it is but it can't even find
freenet.jar .

Did you download the jars manually? If so, where - are you sure you put them in
the right place?

Some stuff you can try :

1. Open a command prompt (cmd.exe on NT/w2k/XP, command.com on 9x)
2. Type "java -version", you should get some java info. If so Java is working.
3. Search for freenet.jar and note where it is
4. Check that freenet-ext.jar is in the same directory
5. Change to the directory where freenet.jar is in the command prompt. (A quick
way to do this on NT/w2k/XP : select the whole path in explorer's address bar,
ctrl-c to copy it, type [cd "] without the brackets, right click on the command
prompt to paste it, type another " and return.)
6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the quotes.
Hopefully this should start freenet after a while, although because you're not
doing it the official windows way you won't get the systray bunny etcetera. You
should be able to tell if it's working if you don't get any error messages and
your freenet.log file starts growing, and eventually by being able to open
http://127.0.0.1: .

Hope that helps,
Bob

> >From: Bob <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: [freenet-support] Re: "Could not find the Main class" error
> >Date: Mon, 19 Sep 2005 12:07:53 + (UTC)
> >
> >Jim Q.  ...> writes:
> >
> > > Hi,
> > > I had problem installing Freenet because it will fail to download 
> >software
> > > during installation. Matthew helped me with that so I copied some of the
> > > software it was having difficulty with in the installation directory but 
> >now
> > > at the end of the installation I get the following error: "Java Virtual
> > > Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
> >the
> > > program continues its installation and is installed but whenever I try 
> >to
> > > start the program I get the above mentioend JVM Launcher error. I 
> >upgraded
> > > my JVM to the latest thinking that it was perhaps my JVM error.
> > > Thanks,
> > > Jim
--snip--


___
Support mailing list
Support@freenetproject.org
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] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

> 
> >6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the 
> >quotes.
> 
> make that  "java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPATH%
freenet.node.Main"
>

Yeah, do this instead. I wrongly thought that freenet-ext.jar got explicitly
loaded by freenet.jar if it existed.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: "Could not find the Main class" error

2005-09-26 Thread Bob
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

> 
> 
> Hello,
>  
> Same errors ...
>  
> When Launching Freenet:
> 
>  
> The strange thing is that it is still present in the bar ...
> 
--snip--

Sorry, the freenet.jar in the snapshots dir was corrupt (see
http://article.gmane.org/gmane.network.freenet.support/6602). Toad will probably
have fixed it by the time you read this, download
http://freenetproject.org/snapshots/freenet.jar over the top of your existing
freenet.jar and try it again.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: problem downloading the readme file

2005-09-26 Thread Bob
J B <[EMAIL PROTECTED]> writes:

> 
> I just downloaded and installed Freenet and am unable to download the readme 
> file to figure it out.

There should be a README file in the main freenet directory .. it's more a
collection of notes than an exhaustive manual though.

I would point you to http://freenethelp.org but it seems to be down again :/ 
You might want to check it later. There's also the new official freenet wiki
(http://freenetproject.org/wiki) but since it's new there's not a lot of info on
it yet.

> I keep getting Route Not Found and Couldn't Retrieve 
> Key errors.

This is normal for relatively new nodes. To begin with they have nothing in
their datastores, are unknown to the network and don't know which nodes to route
requests to. These things improve as they "integrate" by learning network
characteristics and to some extent develop their own specialisms (parts of the
keyspace they are good at serving.)

In other words, leave your node running for quite a long time and you should see
it improve. Ideally freenet should be left running 24/7 on a dedicated computer,
but more realistic for most people is that after a couple of days total uptime
it should be reasonably well integrated and thereafter it should work acceptably
when run semi-regularly for a few hours at a time. (Some freesite authors report
successfully using freenet like this.)

Even after this integration period, you should be aware that freenet 0.5 is
usually slow and you will still see the occassional DNF or RNF. Freenet 0.7
performance should theoretically be better once it's release quality, although I
personally suspect the darknet will be faster than the opennet, maybe quite
significantly (better routing, less churn, friend-peers may share some of your
interests.)

Basic optimisations I'd recommend (some based on windows) :
1.)Make your datastore as big as you reasonably can, so that content blocks are
magically cached locally before you even know you want them.
2.)Give it as much memory as you reasonably can (edit the JavaMem line in
Flaunch.ini to e.g. JavaMem=350) because fred can be very I/O intensive.
3.)Make sure outputBandwidthLimit is set to something reasonable in freenet.ini
(read the comments). You can set this with NodeConfig under the 'advanced' tab
or something like that (yes I know, it should be much easier/more obvious)
4.)Again in freenet.ini / NodeConfig, make sure your ipAddress is set to your
external IP and that your listenPort is forwarded / allowed through any NAT /
firewall you may have. If you don't have a static external IP, use a free
dynamic DNS service like http://dyndns.org and make sure you keep it up to date.
You can tell if there's an issue here if there are never any incoming
connections on your "Open Connections" web interface page.
5.)Setting doCPULoad=true in freenet.ini (don't know if there's a NodeConfig
entry for this) is generally a good idea, if it's not set already.

If you're on *nix the same things apply except the configuration file is
freenet.conf, and you set maximum memory with the -Xmx flag in start-freenet.sh.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Disk Thrashing issues

2005-09-28 Thread Bob
Squished Squirrel <[EMAIL PROTECTED]> writes:

> S  ...> writes:
> 
> > I would venture to say that increasing VM is more likely to increase
> > disk access, not decrease it. -Xmx does seem to be what you want,
> > though; it will set a ceiling on the amount of RAM that Java will
> > allocate.
> > 
> > Try disabling Virtual Memory in Windows altogether, and see if that
> > helps any with the disk thrashing.

Hmm, that sounds a bit crazy .. although the windows VM does suck so who knows 
:)

> You should be able to run Windows
> > plus Freenet reasonably well in 640 megs, especially if you kill off any
> > tray utilities and unnecessary services. Check the task manager to see
> > how much RAM Windows wants for itself, then use -Xmx (or FLaunch.ini)
> to
> > give Java most of whatever's left.
> > 
> > s
> 
> In my haste to post, I said "VM to 192..." I meant JavaMem. Looking at
> the task manager, I'm not seeing any paging per se, so I don't think
> that is it. It seems to be a periodic task that freenet itself is performing.

Hmm. Tried useDSIndex=false? I don't know if that's particularly significant
though. You could also try doLowLevelOutputLimiting=false /
doLowLevelInputLimiting=false if you make sure doCPULoad=true and you have an
outputBandwidthLimit set, that's more of a CPU thing but it seems to reduce load
on my node.

Other than that give Java a lot of memory via the control panel->Java -Xmx
method and also set -Xms reasonably high to reduce fragmentation / management
overhead. If you don't run Frost or other Java apps on the same machine you
could make -Xms the same as -Xmx. Or install one JRE just for freenet and one
for other apps and set the flags per instance.

> It might go away if I dropped a drive in that had a decent cache.
> This is a 5 year old 30GB maxtor drive, and I doubt it has much of a
> cache on the drive itself. I think I really need to dig up another box
> with a wee bit more modern CPU and drive.

That would probably help. You might even consider EVM to split your DS across
multiple SATA / SCSI drives :)  This is suprisingly easy in Linux, I have no
idea how to do it in windows (possibly you would need 2003 server or something.)

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: Need a little help plz ...

2005-09-29 Thread Bob
Richard Thomson <[EMAIL PROTECTED]> writes:

> I seem to have Freenet working ok, but for some reason I am getting far to 
> many error messages.
> To date, I have been very lucky to get to a site's main page, but never any 
> further than that.
> Can someone tell me what I am doing wrong.

This is normal for new nodes. It gets better once a node is established in the
network, which is achieved by leaving it up as much as possible, preferably with
a big datastore. Freenet 0.5.x does have known performance issues even when well
established though, which hopefully will be somewhat addressed by 0.7.
Please see : http://article.gmane.org/gmane.network.freenet.support/6610
(Guess something like this should go in the official Wiki FAQ)

> Thanks
> 
> Here are some of the error messages ...
--snip--

OK, you have inbound connections which is good but I notice you have no
outputBandwidthLimit (or inputBandwidthLimit) set. Many people recommend having
an outputBandwidthLimit appropriate for your connection's upload speed, or
freenet tends to generate more traffic than it can handle.

There are many other settings you can tweak for performance, this is a bit of a
black art since optimal settings vary depending on the node but the first thing
I would try is changing the JavaMem= line in Flaunch.ini to e.g. "JavaMem=256"
to allow freenet to use up to 256MB of RAM.

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: OSX builds of freenet

2005-09-30 Thread Bob
Squished Squirrel <[EMAIL PROTECTED]> writes:

==snip==
> I'm about to test it over the weekend and see what happens.
> I know Java 1.4.2 (at least the latest version installed
> with 10.3.9) will crater with Kernel Panics. It sounds a lot
> like the problems that Azureus suffered from on Dual Processor
> Macs. When too many connections were opened simultaniously,
> Azureus would kernel panic. Apparently they found a work-
> around though.
==snip==

Yes, it looks that way. Apparently it only affects dual processor Macs, although
it can make single CPU ones very slow.

http://cvs.sourceforge.net/viewcvs.py/azureus/azureus2/ChangeLog.txt?rev=HEAD
2004.12.18 | Azureus 2.2.0.2
(...)
"BUGFIX: Core | Fix for kernel panics under MacOSX [ej32206, Nolar]"

"Karl Kraft" here claims to have sent a testcase for the issue (panic with pure
java only) to Sun and they ignored it, but doesn't say what it is exactly and I
can't find it.
http://www.macintouch.com/panreader34.html

Diff for the Azureus fix (multilined for gmane) :
http://sourceforge.net/mailarchive/forum.php?
forum_id=40629&style=flat&viewday=17&viewmonth=200408

Bob


___
Support mailing list
Support@freenetproject.org
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] Re: OSX builds of freenet

2005-10-06 Thread Bob
Squished Squirrel <[EMAIL PROTECTED]> writes:

==snip==
> Does freenet.jar accept command line options? In other words, can I pass
> maxNodeConnections as a command line option? 

Yes, all conf parameters can be overridden on the command line. You just pass
them like "--maxNodeConnections 200".

Bob


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


[freenet-support] Re: Compiling freenet on Linux

2005-10-07 Thread Bob
Peter Joosten <[EMAIL PROTECTED]> writes:
 
> Hello,
> 
> After using Mika Hirvonen's rpm's for a while and noticing that his server
nightwatch.mine.nu no 
> longer exists I decided to use the source and compile freenet. 

==snip==

> [javac] /usr/src/fred/freenet/src/freenet/PeerHTMLRenderer.java:770:
cannot find symbol
> [javac] symbol  : class HttpServletRequest
> [javac] location: class freenet.PeerHTMLRenderer
> [javac] HttpServletRequest req,
> [javac] ^
> [javac] /usr/src/fred/freenet/src/freenet/PeerHTMLRenderer.java:771: 
==snip==

I have no experience of building freenet, but this looks like a $CLASSPATH
problem. Specifically, check servlet.jar is in there. If the sources don't come
with servlet.jar you need to get one first, which comes e.g. as part of Apache
Tomcat, the Sun JWSDP or Apache Axis (I think.)

Bob


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


[freenet-support] Re: Compiling freenet on Linux

2005-10-07 Thread Bob
Bob <[EMAIL PROTECTED]> writes:

> ==snip==
> 
> I have no experience of building freenet, but this looks like a $CLASSPATH
> problem. Specifically, check servlet.jar is in there. If the sources don't 
> come
> with servlet.jar you need to get one first, which comes e.g. as part of Apache
> Tomcat, the Sun JWSDP or Apache Axis (I think.)
> 
> Bob

Umm, perhaps more usefully :

http://java.sun.com/products/servlet/download.html

The "implementations" linked at the top of the table should all have a
servlet.jar in them.

Bob


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


[freenet-support] Re: Zone Alarm's vsmon.exe eating RAM

2005-10-10 Thread Bob
Volodya Mozhenkov <[EMAIL PROTECTED]> writes:

> Level 13 wrote:
> > I'm using the last version of 5.5 series (freeware version). I'm
> > somehow reluctant about installing 6 since I've heard so much bad
> > things about this version.
> 
> I'm not terribly complaining... but i'm looking for a good free alternative,
though.
> 

Tiny personal firewall seemed pretty good last time I tried it, it's
free-as-in-beer for personal use.

http://www.webmasterfree.com/tpfw.html

Bob


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


[freenet-support] Re: Problem running freenet after having just installed the software (v. 5.2.8)

2005-10-17 Thread Bob
Matthew Hoffman <[EMAIL PROTECTED]> writes:

> 
> Hello. I read through this list and the helpful guides on the
> beginners site but I am not able to find the information I need.
> 
==snip==
> 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.(Unknown Source)
>   at sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
>   at java.nio.channels.Pipe.open(Unknown Source)
==snip==

Either some problem resolving the loopback like Toad said, or maybe your
listenPort is already being used by something else?? This should not be the case
unless you manually set it though (especially as you reinstalled which should
choose a random new one.)

All that exception means is that the ReadSelectorLoop or WriteSelectorLoop
failed to init (should really be two separate catches IMO), somebody familiar
with the code should be able to work out why faster than I could.

Bob


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


[freenet-support] Re: Problem with the install

2005-10-19 Thread Bob
m0rtal frei <[EMAIL PROTECTED]> writes:

> 
> Hi, fellas!
> 
> I have a strange error during install process: after getting all
> necessary files from hdd/inet, FreeNet install program shows:
> 
> Unable to write a file to disk. Check that the disk is not full, or
> write-protected, and that you have rights to install files. The
> installer will now exit.
> 
> And, surely, it aborts setup process and exits :(
> 
> I  have  almost  2GB  free  on my disk, it's not write-protected (even
> more,  I  can  see  all  non-zero  necessary  files  in  the temporary
> folder!),  and  have  all necessary rights (admin under WinXP). What's
> wrong?!

Hmm, that's very strange. I haven't seen this reported before. 
This error comes from the installer .NSI script. The only things which should
cause it are if the installer can't create the installation directory, or if it
fails to copy one of the needed files (README, NodeConfig.exe,freenet-ext.jar,
freenet-latest.jar or freenet.jar, Uninstall.exe) into it.

Random ideas : check for any weird ACL's / permissions on the install dir, that
you can manually create the dir and put stuff in it, if you're trying to install
from an SMB share or suchlike do it from a local disk instead.

It's possible to kludge around this error (copy all the "temporary" files
manually to your desired install location, run NodeConfig.exe to generate a
config, run freenet from the command line) but this is less than convenient and
you would lose nice windows functionality like the system tray bunny :/

Bob


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


[freenet-support] Re: Problem with the install

2005-10-21 Thread Bob
m0rtal frei <[EMAIL PROTECTED]> writes:

> No way :(
> First  time,  when  I  ran freenet.exe, it asked me to add a "path" to
> flaunch.ini, that leads to javaw.exe. I did it, and now error pops:
> 
> Java virtual machine launcher
> Could not find the main class. Program will exit.
> 
> I have the latest (I suppose) Java VM, 1.5.0_04, if that helps...
> 

This is probably because the winstaller writes some registry keys or
something :/  By "run freenet from the command line" I meant open a
command prompt, change to where you 'installed' freenet and do :

java -Xmx150M -cp freenet.jar;freenet-ext.jar;%CLASSPATH% freenet.node.Main

having first generated a freenet.ini with NodeConfig. Oh, and if you're
missing any files download them to the install dir from
http://freenetproject.org/snapshots. If you're missing freenet.jar itself
get freenet-latest.jar and rename it.

This really isn't a solution I know because it's a pain and the whole
point of the winstaller is to make the process user-friendly, but if
it works it helps narrow down where the problem is.

Bob


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


[freenet-support] Re: outputBandwidthLimit

2005-10-28 Thread Bob
Roman Bednarek <[EMAIL PROTECTED]> writes:

> On Fri, 28 Oct 2005, Matthew Toseland wrote:
> 
> > It *should* work. It is believed to work. Do you have an
> > inputBandwidthLimit set? That might be helpful - incoming traffic
> > requires acknowledgement via outgoing packets.
> >
> No, I  do not have inputBandwidthLimit set (my ADSL has much bigger 
> input than output), but now when I set it nothing has changed. I run it on 
> linux, if it doeas matter. On servlet/nodeinfo/performance/general page I 
> can read:
> Current upstream bandwidth usage 208 bytes/second (5,1%)
> and at the same time about 18KB on iptraf monitor(with only freenet 
> running).
> I had to stop freenet node, to write that answer in pine, full 
> bandwidth was used and I even could not type. (not always is so bad, most 
> of the time something free is left).
> 
> Roman

Hmm, well that's odd. Output limiting is not accurate, and there can be a lag of
up to 10 minutes before fred notices changes to the conf file, but it seems to
basically work in my experience. Some disparity between fred's usage report and
iptraf's could be explained by instantaneous vs. long period sampling, but can't
explain a limit of 4k apparently maxing out your upstream.

Could you post your outputBandwdithLimit line exactly as it appears in
freenet.conf / freenet.ini, and maybe the immediately surrounding entries? I
suspect it's not doing anything at all because it's somehow malformed, thus
letting freenet run unlimited.

Bob


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


[freenet-support] Re: NODECO-1

2005-10-30 Thread Bob
Volodya <[EMAIL PROTECTED]> writes:

> 
> I'm trying to help a friend of mine to set up a freenet node (the fact that
i'm doing it 
> over the Yahoo chat doesn't help much). At first we tried to skip the 
> download of seednodes.ref file during the install, and use mine instead. 
> For some reason that didn't work (0 connections), so i thought ok, let's
> try going through Imprort New Node Ref ->  Download References,
> however at that time "NODECO-1" error comes up saying "Error while 
> retrieving the seed file!". I cannot find any information on what that
> Nodeco thing is. 
> Any help? 

It's NodeConfig.exe, for some reason being shown as a DOS style 8+3 virtual LFN
i.e. NodeCo~1.exe.

Some users have reported problems with the installer recently, because
Sourceforge have started throttling big downloads in what appears to be a poorly
thought out fashion. Also the winstaller currently downloads the uncompressed
seendnodes rather than one of the much smaller compressed versions, which
doesn't help.

Until these issues get fixed your best bet in case of problems is to manually
download compressed seednodes from the snapshots, e.g.
http://www.freenetproject.org/snapshots/seednodes.zip. This can be unzipped into
the main freenet directory (where freenet.jar and various other things are) if
the install is basically complete other than missing seednodes, though they may
need to manually run NodeConfig.exe to set up a freenet.ini. Alternatively I
believe you can put the uncompressed seednodes in the same directory as the
webinstaller exe (there should be other temporary files in there) then re-run
the installer, and it will notice some seednodes are already present and not try
to download them. If the second way works it's probably better.

Bob


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


[freenet-support] Re: couldnt find the main class, program exit

2005-11-03 Thread Bob
LUCAS PERCY <[EMAIL PROTECTED]> writes:
 
> Hello, i wrote from Cartagena de Indias, COLOMBIA
>  
> I need your valuable help with this issue, i have tried to install a lot of
> times the freenet from "freenet-java-webinstall", but at the end of the 
> installation there is a message "couldnt find main class, program exit".

Lucas has replied to me saying my suggestions fixed this, they're replicated
below for the benefit of anyone in the same situation that finds this thread via
google.

"- Uninstall your current half-installed freenet **SAVING YOUR SEEDNODES.REF
SOMEWHERE** if you have one
- Upgrade to the latest java from www.java.com
- Get the normal webinstaller instead
(http://freenetproject.org/snapshots/freenet-webinstall.exe)
- Copy your saved seednodes into the same dir as the
webinstaller, install
(...)
The webinstaller downloads freenet a file at a time,
so hopefully you won't run into the stupid sourceforge
throttling problem we have right now. The exception is
seednodes.ref which is a big file, hence why you save
your existing copy in the above steps."


I've tried this since and can report that a full install can be done via the
normal webinstaller, however sourceforge throttling did manage to stall the
download of freenet.jar so I had to cancel then retry it when prompted.

Also the installer appears to hang after you OK the initial NodeConfig run. It's
actually still doing things like making shortcuts and the uninstaller, and if
you leave it for a minute or two it eventually finishes, but it looks a lot like
it's hung. In the past I have assumed this and end-tasked it. Someone should try
to put some sort of feedback in there really.

Bob


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


[freenet-support] Re: Stable or unstable?

2005-11-18 Thread Bob
Teng Junbin <[EMAIL PROTECTED]> writes:

> I read on some forums that Freenet is actually a lot
> faster on the unstable version.  However, I also read
> that Freenet is supposed to get faster with time.
> 
> I've just started using Freenet, so I'm not sure how
> long is a reasonable amount of time to wait before the
> speed stablizes.  Currently, about 1 in 10 requests I
> make go through and anything is returned at all.  Even
> if anything is returned, it is usually painfully slow
> (the pictures of the directories in the main page took
> about 20-30 minutes to load fully).
> 
> If I switch to the unstable version, would the speed
> be improved?  Also, I read that I need unstable.ref,
> which I am unable to find in the directory of
> 
> http://www.freenetproject.org/snapshots/
> 
> Is it removed or can I just use a normal
> seednodes.ref?
> 
> junbin

This is outdated. Freenet 0.5, which is the current release version, used to
have a stable and unstable branch as described above. However they were merged a
while ago since the current development version is the significantly different
0.7 alpha, where most of the core stuff is being rewritten from scratch.

0.5 unstable was a bit faster in my experience. This was probably due mostly to
the network being smaller, perhaps it also had a higher percentage of dedicated
/ tuned nodes due to its attraction for geekier people.

0.7 is very much in need of alpha testers by the way :
http://article.gmane.org/gmane.network.freenet.devel/16905
and has the potential to be significantly faster / lower latency than 0.5
eventually, as well as offering greater security (darknets.)

Bob


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


[freenet-support] Re: "Outbound message overhead" ?

2005-11-18 Thread Bob
emiel <[EMAIL PROTECTED]> writes:

> 
> I always have a "Outbound message overhead" of 
> about 70% or more.
>  
> What exactly does "Outbound message overhead" 
> mean?
> And how can I get it lower?

You think that's bad, mine is always negative :)
Right now it's "-145% (-31,776,769 Bytes wasted in the last hour)", heh ... it
seems to work anyway though. I put it down to the fact it's Linux on a Sparc so
I have to use the rather less than up to date Blackdown-1.4.1-01.

As for exactly what it means I don't know, I would guess it's a rough measure of
the amount of effort (retries etc) needed to manage to send a message. In which
case you can improve it by generally tuning your node for performance and making
sure you can accept incoming connections.

Bob


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


[freenet-support] Re: Can't access page

2005-11-22 Thread Bob
 <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I'm running the freenet-client on a dedicated and therefor headless server
> (Fedora Core 3, JRE 1.5). But whenever I try to access the page at port 
> I get an empty page and following messages in the freenet.log:
> 
--snip--

I think the stuff you posted is indicative of very high load, such that fred
never manages to reply to you before timing out. Try :

- Decreasing maximumThreads, e.g. to  100  \__ in freenet.conf
- Decreasing maxNodeConnections, e.g. to 150   /
- Increasing maximum heap size (-Xmx parameter at the end of start-freenet.sh),
Java 1.5 is faster but also more memory intensive. Since this is presumably a
dedicated freenet box, you probably want to be quite generous here, especially
if you have a large datastore (the index is kept in RAM.) Java will not 
actually allocate the maximum unless it needs to.

There are more advanced optimisations that can be tried here, such as the
-server flag, which will make freenet take longer to start but in theory run
more efficiently.
See http://www.freenethelp.org/html/MaintainingPermanentNodes.html

Restart freenet, since not everything can be changed on the fly. Wait 10-15
minutes before you try to do anything; load is always very high after 
(re)starting.

General performance tuning like disabling services you don't need can't hurt
either of course.

HTH,
Bob


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


[freenet-support] Re: GrapeWine?

2005-11-23 Thread Bob
m0rtal frei <[EMAIL PROTECTED]> writes:

> 
> Hi there!
> Can anyone tell me what's the real difference between FreeNet and
> GrapeWine (http://www.grapevineproject.org/) ?

The general concept is similar to freenet 0.5, it even uses FEC and borrows CHKs
from it. It's in C++ and is a "from scratch" project with its own routing etc,
which sounds to me like it might use a DHT, so a better comparison might be
Entropy. It appears to still be alpha (front page : "I really believe this
software will work, and I intend to finish it one day.") There are a few other
oddities like using HTTP transports instead of just TCP.

Bob


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


[freenet-support] Re: Freenet Not Listening For Connections After Starting

2005-11-25 Thread Bob
Paul M. <[EMAIL PROTECTED]> writes:

>   A few days ago freenet stopped working on my FC1 machine. From the
> looks of a netstat it never starts listening for connections on
> FNP,FCP, or the distro port. This remains true even after being let
> "run" for a little over a day.
>   I've tried a partial (kept store and config file) and full reinstall
> of freenet without any luck. I would revert to an older version if I
> had a copy of a recent one. In all attempts I ran the update script
> before trying.
> I've attached the output of running it at debug and the config file.
> There are no relevant system logs.

I can't see anything obviously wrong in your config.

The log simply shows it blocking on entropy reads from Yarrow forever. There did
use to be a bug of sorts that caused this on some systems, but it's supposedly
fixed now (forget the details.) You could always try doing things to generate
more entropy, like waving the mouse about (if it's a desktop) and running finds
... it's odd that this has started happening all of a sudden though.
logLevel=debug slows it down too so change that back first.

Bob


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


[freenet-support] Re: Huge logfile (3GB in 1 hour)

2005-11-26 Thread Bob
Julien Cornuwel <[EMAIL PROTECTED]> writes:

> 
> Hi all,
> 
> Someone asked me to help him but I don't know what causes that problem. 
> Is logfile is filled with that message (several per second). Do you know 
> what it means and how to solve the problem ?
> 
>
QUOTE***
> 25 nov. 2005 22:17:28 (freenet.transport.ReadSelectorLoop, Network 
> reading thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
> java.lang.NullPointerException
> java.lang.NullPointerException
> 
> at sun.nio.ch.WindowsSelectorImpl.implDereg(Unknown Source)
--snip--

This is probably due to a bug in Java. There are problems with the NIO selector
loop easily getting overwhelmed in 1.4.x. There's a workaround in Azureus for
this, I think I posted about it a while ago but I don't remember if changes were
made.
Possibly it was this commit in 2.3.0.2 :
"Core | Fix compatibility with JRE 1.4 series under Win32 due to NIO bug"
(http://azureus.sourceforge.net/changelog_v2.php)

Anyway, try telling them to upgrade to 1.5 (aka Java 5) from www.java.com and
that should hopefully fix it.

Bob


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


[freenet-support] Re: can't access

2005-12-05 Thread Bob
Mark Burford <[EMAIL PROTECTED]> writes:

> 
> I just learned about freenet today and downloaded it. I can't access anything.
For intance, when I click on 'freedom', it says to change hops-to-live: 13,
which I did.

Unfortunately it's normal in freenet 0.5 for new nodes to have considerable
difficulty accessing content. Given time, ideally leaving your node up as close
to constantly as possible, it will integrate into the network and perform
better. You should see a noticeable improvement after a day or so.

> It then says to "reseed the node". I don't understand that.

To "reseed" means to download a new seednodes.ref, which contains addresses of
other nodes collected from the network. The easiest way to do this in windows is
to run "Update Snapshot" from the start menu or (iirc) by right-clicking the
systray bunny.

However, unless you only run your node occassionally - in which case you can't
expect it to perform well anyway - reseeding probably isn't neccessary.

> As a last resort it says to contact you.
 
0.5 has acknowledged problems, primarily less than optimal
specialisation/routing and the fact the network is open and therefore
harvestable (possible to build a list of who runs nodes). Development is
currently underway on 0.7 which is pretty much a rewrite, and hopefully will
make progress toward addressing these.

Bob


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


[freenet-support] Re: Setting up Freenet on NetBSD 2.0.2

2005-12-13 Thread Bob
Gan Uesli Starling <[EMAIL PROTECTED]> writes:

> I'm trying to get Freenet going on NetBSD and
> having problems. Am writing a howto as I go, so
> whatever my mistake is you should find it there. 
> 
> http://69.51.152.43/darknets/#GUS-3-4 

--snip--
> Freenet appears to start and run. I can get the
> main list of links. But not a single one of those
> links will display even after letting it run for
> 24 hours. 

Hmm. Well, to get some non-performance related points out of the way there's no
reason to forward  and 8481 (mainport and FCP) unless you want to access
your node remotely over the 'net or make it a public proxy, only your randomly
listenPort is needed. Also the KidOfSpeed Chernobyl biking blog isn't quite what
it appears :)
http://johnford.net/mt/archives/chernobyl_motorcycle_ride_a_hoax.php
http://www.uer.ca/forum_showthread.asp?fid=1&threadid=8951

If the "Web Interface" (usually called fproxy) appears but still doesn't do
anything a full 24 hours later, something is very wrong. Does anything work at
all, e.g. can you open the 'open connections' page? If not, presumably your JVM
has crashed. If you can, how many connections do you have and how many are
incoming? Another factor could be that your node is ridiculously overloaded,
what's system load like? It's generally a good idea to set outputBandwidthLimit
and inputBandwidthLimit. Start with something conservative.

Other things that should help are big datastores and plenty of RAM / large
maximum java heap (-Xmx line in start-freenet.sh.) Note that newbie nodes route
badly at first, and after considerable uptime "learn" the network / cache
content and do better. However, in my experience even a newbie node on default
settings should get some activelinks rendering after a bit and eventually manage
to make it to The Freedom Engine, so I think you have some more serious issue.

Finally, you might want to note that this is Freenet 0.5 and all development
work is currently focused on 0.7, which is considerably different (UDP, optional
large scale darknet routing, later versions will have "low" latency channels /
connections to a particular server etc.)

Bob


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


[freenet-support] Re: Newbie can't connect.

2005-12-18 Thread Bob
Shaun Burnett <[EMAIL PROTECTED]> writes:

> Hello Freenet Guru's,
> 
> I've been trying for the last few weeks to get a Freenet node working
> on Win Xp (SP 2), and although I'm not networking champion, I think
> I've done everything I should.  I've opened up the correct port in my
> ADSL Modem / Router / Firewall and yet I still can't get anywhere. 
> Even when I switch to Dial up, I still have the same trouble, which
> is, when I open the Gateway it says Build 5106 and stops at 5%, unless
> I keep hitting refresh in which I can get it go to 40% before the
> refresh refuses to have any further effect.
> 
> I've got the DNS update service running (non static IP) and have put
> that in the config file.
> I've changed the max number of connections, but have since forgotten
> what I changed it to; it was to a recommendation I read somewhere on
> the Wiki.
> I've also tried to download the latest seednode info from
> http://www.freenetproject.org/snapshots/ and also using the "update
> Snapshot" program, which downloads the Jaw update fine but times-out
> every single attempt on the seednode update part.  Any attempt to
> download the seednode update always times-out.

Did you use a recent installer? If it's an old one, UpdateSnapshot might be
trying to grab seednodes.ref uncompressed and from somewhere it isn't anymore.
If it's a slightly less old installer it might be an issue with coralCDN latency
and short timeouts.

Either way, it should work fine with the latest UpdateSnapshot ... you can get
just that from http://bob.sdf-eu.org/freenet/UpdateSnapshot.exe, or download a
new installer and use that. (I help maintain the official installers though so
if you don't trust me you're screwed either way ;)

-- big performance data snip --

The problem is you have no connections, incoming or outgoing. You appear to only
have 2 node references, both of them presumably uncontactable, so I think your
seednodes.ref file is a tiny truncated one. Try updating with the latest
UpdateSnapshot linked above, or if you'd prefer for the time being manually
download a new one to e.g. c:\Program Files\Freenet\ from one of the zipped
copies at http://downloads.freenetproject.org/seednodes/, and overwrite your
presumably tiny one with it.

Bob


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


[freenet-support] Re: Turning off or shutting down Freenet with the Windows client

2005-12-19 Thread Bob
Anonymous <[EMAIL PROTECTED]> writes:
 
> 
> I believe with *nix and BSD, it is possible to stop Freeent with the shell
script. Is there any way to shut down
> or stop Freenet with the Windows client with the command line? This would be
useful for the task scheduler
> and such!
> 
> Thanks

Right now this isn't directly possible via freenet.exe (the systray app) as far
as I can tell. It does take command line args, but not a shutdown one. It could
probably be added though, I _think_ it just has to invoke ExitFserve().

All the *nix scripts do is kill the parent freenet pid. You *may* be able to
emulate that using a process killer like psKill
(http://www.sysinternals.com/Utilities/PsKill.html) to kill freenet.exe,
depending on how windows handles CreateProcess parent/child relationships. If
that doesn't work you could go scorched earth and just kill all the javaw
instances. Possibly psKill accepts wildcard names, if not you could still do it
with a bit of scripting :)

Bob


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


[freenet-support] Re: getting Freenet to work on FreeBSD

2005-12-19 Thread Bob
Rob Lytle <[EMAIL PROTECTED]> writes:

> 
> Hi,
> 
> Has anyone been able to get Freenet working on FreeBSD?

I don't have any experience of this but a couple of observations follow.

> I have downloaded the latest stable release of Freenet.  I also have a
> number of Java implementations:
> 
> linux-blackdown-jdk1.4.2
> linux-sun-jdk1.4.2
> linux-sun-jdk1.5.0
> jdk1.4.2 (the native FreeBSD version)
> 
> So far, the only one that will do anything is linux-sun-jdk1.4.2.  But
> none of the Java processes communicate on localhost: as revealed by
> sockstat.

It may just be crashing due to JVM issues, in which case you should see no java
processes and probably a collection of hs_err_pid* stack traces. Compatibility
with things other than native Sun java (and thus lack of full FOSS freedom) are
problems at present, which is why freenet 0.7 - the current alpha development
version - is aiming to work under Free Java platforms like Kaffe / GCJ. Actually
"gij works" in a current branch, if the SVN log is to be believed :)

Anyway if ps shows alive/blocked threads you may be seeing the very slow startup
issue fixed on more common platforms some time ago. (Slow entropy generation or
something in Yarrow.) Try waiting ages, and/or give it a huge heap via the -Xmx
line in start-freenet.sh , at least I have to do that on my blackdown 1.4.1
Sparc node for some reason.
 
> The Java versions that do nothing all fail with an error message
> stating that some other process owns the lockfile.  Is it one Java
> process competing against another?

This is probably the lock.lck file freenet creates in its main directory to
prevent multiple instances, if it crashes it won't get deleted ...  do so
manually and retry.

Bob


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


[freenet-support] Re: Turning off or shutting down Freenet with the Windows client

2005-12-19 Thread Bob
Bob <[EMAIL PROTECTED]> writes:

> Right now this isn't directly possible via freenet.exe (the systray app) as 
> far
> as I can tell. It does take command line args, but not a shutdown one. It 
> could

Heh ignore that, I'm an idiot, obviously running freenet.exe -shutdown to call
ExitFServe would spawn a new process then shut it down rather than affecting an
existing one :) It would have to look for another instance of itself, post
stop/exit messages to it and then quit. This is unneccessarily complex though,
process killing should work one way or another.

Bob


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


[freenet-support] Re: Turning off or shutting down Freenet

2005-12-22 Thread Bob
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

-- snip --
> The freenet node runs with the name "javaw.exe". But if you don't know the
exact PID, simply killing by name
> might affect other java programs running as they all have the same process
name (java or javaw).
> "freenet.exe" is just the bunnyapp 

Yeah, but the process tree is freenet.exe -> Flaunch.exe -> javaw. Sysinternals
pskill, at least, has the ability to kill a process and all its "descendants"
(with the -t switch), so provided they are considered descendant processes you
should be able to kill freenet.exe and take the rest of freenet (only) with it.

> (Yes, this confusion arises quite often but nobody cares to give this,
> IMHO totally superfluous (hopefully 0.7 comes without all these stupid
extra-programs), app a proper name).

I don't see how it's superfluous .. it provides an indication of freenet's
status, and easy access to fproxy and logs. It's in straight C so it's not like
its using a significant amount of resources either. The program we should hope
to ultimately retire IMO is NodeConfig, which isn't very user friendly, in
favour of an fproxy web configuration page. IIRC Matthew has said that such a
thing is intended.

Bob


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


[freenet-support] Re: Computer illiterate trying to set up freenet

2005-12-24 Thread Bob
Diddy Bird <[EMAIL PROTECTED]> writes:

> 
> Hi, I know next to nothing about computers but would
> like to check out some files I've been told are on
> freenet.  So, I'm trying to install it but have run
> into some problems.
> 
> Okay, I'm running Mac OSX 10.3.9.  I've downloaded the
> JVM (jre1.5.0_06), figured out that "Terminal" is the
> name of the program to type "java -version" into, and
> got the 
> java version "1.4.2_09"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.4.2_09-233)
> Java HotSpot(TM) Client VM (build 1.4.2-56, mixed
> mode)

Hmm, well as you can see from the above version information you still have the
built-in version of java 1.4.2 as the default, so either you haven't installed
1.5 or haven't made it the preferred version.

Are you using the official Apple OSX installer for 1.5? If not, follow the
instructions here :
http://docs.info.apple.com/article.html?artnum=302412

The built in 1.4.2 should work by the way, *but* there are reports that at least
some versions tend to crash the kernel and thus hang the machine eventually. So
using 1.5 is advisable, I haven't seen reports of that doing the same thing.

> message.  But now I'm lost.  The start guide says to
> check where the java installer has placed the files
> (no idea how to do that)

According to apple, you can find a "new Java Preferences utility" in
/Applications/Utilities/Java/J2SE 5.0/ . Run that and choose to use 1.5 as the
default. I've never seen it (or even seen OSX) so I couldn't tell you how
exactly, but I would imagine you just select Java 1.5 off a list or something.

> and then there's a bunch of
> googlygook about something called ~/.profile. 
> PATH=$PATH:/opt/sun-jre-1.5.0_04/bin did nothing. 

Because that example is for Linux, I doubt OSX even has an /opt :)
This step should not be neccessary on OSX, use the java preferences utility
mentioned above instead.

> The next step made more sense.  I downloaded freenet
> and tried typing the first of the list of commands to
> enter into terminal, but when I try the first one it
> says:tar (child): freenet-latest.tgz: Cannot open:
> (null)
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error exit delayed from previous errors

Are you sure it's called freenet-latest.tgz? The version linked from the main
project download page is called freenet-stable-latest.tgz .
Note the different filename, i.e. you need to do 
"tar -zxvf freenet-stable-latest.tgz" in this case.

Also check it's about 6 MB, if not you may have an incomplete download and need
to download it again.

If the command line still won't work try locating and double clicking it in the
Finder. You ought to get some sort of archive manager that lets you unzip it
wherever you want.

> So, obviously, I need to do something.  When I try to
> open start-freenet.sh it says there's no default
> program.  *sigh*  Help?

Yeah, this is because it failed to unzip in the previous step for whatever
reason so you don't have a start-freenet.sh yet. When it does unzip you will get
a "freenet" directory, and start-freenet.sh is inside there along with the rest
of freenet. Assuming you just unzipped at the command prompt, you should be able
to do :

cd freenet
chmod u+x *.sh
./start-freenet.sh

I realise that all this is not exactly user friendly. Ideally we should have a
proper OSX installer to make this process easier, if there are any Mac
developers out there this would be a worthwhile project :)

> Christina

Bob


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


[freenet-support] Re: Computer illiterate trying to set up freenet

2005-12-24 Thread Bob
Bob <[EMAIL PROTECTED]> writes:

-- snip --
> 
> Are you using the official Apple OSX installer for 1.5? If not, follow the
> instructions here :
> http://docs.info.apple.com/article.html?artnum=302412

Sorry, I just read that page a bit more thoroughly and it needs OSX 10.4.2 .. as
far as I can tell there are no 10.3.9 -> 10.4 upgrade patches either, you'd have
to buy a newer version :/

So you might as well stick with the default 1.4.2 for now and hope you don't get
the crashing issue.

Bob


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


[freenet-support] Re: 0.7 available??

2006-01-03 Thread Bob
Anonymous <[EMAIL PROTECTED]> writes:

> 
> I've currently got build 5106 and it's been working good on my
> (underpowered) win98Se machine for a while now.  I happened to be browsing
> the snapshot downloads and ran across this:
> 
> http://freenetproject.org/snapshots/freenet-0.7-prealpha-20051216-305.jar
> 
> (freenet-0.7-prealpha-20051216-305.jar 16-Dec-2005 07:13   610k)

0.7 has *not* been released yet, like the filename says it's still in alpha, but
testers are very much needed. 

The above isn't the newest build anyway, this one is :
http://downloads.freenetproject.org/alpha/freenet-cvs-snapshot.jar

> What is the procedure for converting from 5106 to the new 0.7 build?  Is it
> just a matter of drop-in replacement of the freenet.jar file?

Nope, it's fundamentally different in many ways and not finished. This means it
needs its own directory and at the moment only has a primitive command line
interface, because FCP and fproxy aren't implemented yet. (It's much faster than
0.5 on the current network, but the 0.7 test net is tiny.)

It's straightforward to set up a 0.7 node in most cases, however you effectively
have to be in #freenet-alphatest on IRC to help test it (because it's a darknet)
and you must keep up to date with the frequently updated snapshot.

See also, IRC logs: http://emu.freenetproject.org/irc/
Install guide: http://wiki.freenetproject.org/FreenetAlphatestNodeInstallation

Bob


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


[freenet-support] Re: No inbound connections - can't see specified port listening?

2006-01-10 Thread Bob
 <[EMAIL PROTECTED]> writes:
-- big snip --
>   But I don't get incoming connections?  Netstat doesn't show anything 
> listening on port 443.  Is this normal for freenet?
> 

No. It sounds like freenet is failing to bind the listenport, probably because
it's already in use, or manages to do so but then crashes during startup (can
happen e.g. with buggy JVMs or big datastores and the default heap size.) Even
with no connections at all freenet should "work" in that you should be able to
open the Web Interface page (right-click the system tray bunny.) If you can't
even do that a full 10 mins after starting it then one of the above has 
happened.

What does the end of freenet.log say? IIRC you can access this via the system
tray bunny, or just find it in the main program directory. Random crashes
probably indicate that your datastore is huge and the heap size needs
increasing, or that you have a buggy Java version (not very likely, anything
1.4.2+ should be OK.)

Bob


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


[freenet-support] Re: Freenet daemon dies

2006-01-15 Thread Bob
> 
> I'm pretty stumped on this one. I installed java and freenet on my
debian
> machine, and when I `sh start-freenet.sh', everything works fine for a
> while, but if I leave the server alone, I come back and freenet is
just
> not running. Neither syslog nor freenet.log indicate anything, and I
don't
> know where jre logs.
> 
> - Harrison [harrisonts(a)illx.org]
> 

Presumably Java is crashing for some reason, you probably have a load of
hs_err_pid_ files in the freenet directory containing random stack
dumps.
What does `java -version` say? You should use Sun (preferably) or
Blackdown at least v1.4.2 (later versions are generally speaking
"better" but use more memory.)

How long does it take it to die? How big is your datastore? Did it use
to work or has it always done this?

AFAIK, the most common reason for random crashes other than hardware
issues is running out of heap with large datastores. Java stupidly
provides no real way for apps to tell they're running out of memory (or
disk space!), so starvation results in slowing to a crawl followed by an
OOM exception. Some versions of Java appear to be worse at this than
others, e.g. on blackdown 1.4.1 (only one I can use, Sparc box) I had to
set the maximum heap to 1GB yes one Gigabyte for it to start
successfully, and it doesn't even have a large store :)
Although that box is temporarily out of commission with RAM ECC errors
on one module now so that may have had something to do with it ...

Anyway find the "java -Xmx128m etc etc" line at the end of
start-freenet.sh that actually runs freenet, and try changing the Xmx
(maximum heap size) to something larger e.g. -Xmx256m. Hopefully this
will help.

Incidentally it's intended to get the current alpha development version,
the pretty much rewritten and significantly different (UDP, mixed
scalable darknet/lightnet etc) 0.7, to work with with Free JVMs like
Kaffe at some point which may help with this sort of issue.

Bob


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


[freenet-support] Re: support request

2006-01-17 Thread Bob
danilo salieri <[EMAIL PROTECTED]> writes:

> 
> 
> Hi there again and thanks to Martin for support.
> Problem update: after all I got all my files in a mess and I decided to 
> uninstall and run everything from the very start (sigh!) but after a few 
> days AGAIN I ran into the same problem: Freenet application is not able to 
> boot, and this time the logfile is:
> freenet.fs.dir.DirectoryException: Clock skew detected, datastore file 
> 'store\95\1-b38bb037f52115373113cee29711652f7a7b41260f0203' has a last 
> modified time which is 868288 seconds into the future
> at freenet.fs.dir.NativeFSDirectory.verifyList(NativeFSDirectory.java:1950)
> at freenet.fs.dir.NativeFSDirectory.(NativeFSDirectory.java:908)
> at freenet.node.Main.main(Main.java:611)
> I tried to do what Martin said lat time but nothing happens. This time I 
> absolutely don't know what it comes from, any hint would be great (I don't 
> want to restart everything again!!) along with some  explication (a bit into 
> technical would be ok), I'm getting kind of angry (with myself oc :'( ). 
> Many thanks!
> 

Somehow the timestamps on one or more files on your datastore have gone screwy,
or your clock has gone back in time a lot, such that they appear to freenet to
exist about 10 days in the future. Freenet cares about file timestamps, for some
reason :) The Node Reference Status page displays stats on file access times,
but I would hope there is a more important reason to do with datastore
specialisation or something given that this is a fatal error. Devs?

Is your clock right? On XP it probably is, more or less, because the default
install runs an NTP service (Network Time Protocol) that synchronises with a
microsoft server once a week. Maybe you turned it off though. This seems
unlikely to be the problem for such a case of apparent large sudden change, but
it's good practice to help avoid it.
Also it's a good idea to make it use a more geographically local time server for
better accuracy. See the XP instructions at :
http://homepage.ntlworld.com/robin.d.h.walker/cmtips/timesync.html
Use a server from here that is in the "IT" ISO domain (well assuming you really
are in Italy and not just posting from an .it :)
http://ntp.isc.org/bin/view/Servers/StratumTwoTimeServers

You should be able to fix the file timestamp by renaming it to something else,
then renaming back to its original name. I *think* the following should work ...

- Open command prompt
- cd "c:\Program Files\Freenet" (or wherever you installed it)
- rename store\95\1-b38bb037f52115373113cee29711652f7a7b41260f0203 tmp
- rename store\95\tmp 1-b38bb037f52115373113cee29711652f7a7b41260f0203

This will change the last modified date to the present and freenet should now be
able to start. Unless there are many files like this :/  On *nix you could do a
recursive touch on the whole store but AFAIK windows has no such functionality
built in.

Hope that helps,
Bob


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


[freenet-support] Re: Freenet daemon dies

2006-01-21 Thread Bob
Harrison Smith <[EMAIL PROTECTED]> writes:

> 
> Harrison Smith  ...> writes:
> 
> > No luck. I fiddled with the -Xmx option; I even downgraded to jre 1.4.2
> > blackdown - but it still randomly crashes without explanation. I didn't any
> > hs_err_pid_ files, either. If you want to see any of my logs, just tell 

-- snip --
> java.io.IOException: Attempt to use a released TempFileBucket: /root/f
> \reenet/store/temp/tbf_11b51af
> at freenet.support.SpyOutputStream.checkValid(SpyOutputStream
> \.java:29)
> at freenet.support.SpyOutputStream.(SpyOutputStream.java
-- snip --

I don't know why this happens, but it has been reported before. If these errors
occur immediately before/during the screwup than they presumably indicate it's
the problem. Unfortunately if it's a bug it's unlikely to get fixed because
development is happening on 0.7 ...

You could try deleting the "index" file in the store/ directory, which will make
freenet rebuild it. Actually it should be better to set "useDSIndex=false" in
freenet.conf, which is a good performance idea for permanent/semi-permanent
nodes anyway because it causes less CPU usage in the long run at the cost of
longer startup times. I don't know if this will solve this problem though :-/

Oh, and Sun's JRE is recommended over Blackdown's generally speaking ... I know
they're sort of derived from the same codebase but Sun's is more up to date and
has bugfixes they don't bother telling the Blackdown people about (it's a pretty
stupid arrangement really.)

Bob


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


[freenet-support] Re: Increasingly harddisk usage?

2006-01-25 Thread Bob
sky <[EMAIL PROTECTED]> writes:

> 
> Matthew Toseland  ...> writes:
> 
> > 
> > Probably freenet. Was the log file very large?
> > 
> > In 0.7 this will happen less because we automatically delete logfiles...
> > 
> That could be...
> For the time being it really is a pain in the ass, while I would like to run 
> freenet as long as possible for making the nodes feel comfortable. This 
> logging keeps me from doing that.
> I guess I could try to stop logging, or reduce it to a minimum. Hopefully 
> this is possible.

It is ... set

logLevel=Error

to reduce logging, and/or

logFile=NO

to disable logging to file altogether (it will log to standard output instead,
i.e. the console.) Remember to remove the "%" comment character at the start of
the lines or the changes won't take effect.

Bob


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


[freenet-support] Re: Where do I download?

2006-02-05 Thread Bob
 <[EMAIL PROTECTED]> writes:

> 
> I click on the download link and get a error message saying the page can't 
> be found. Does this mean The Freenet 
> Project failed?

Umm, no ... http://freenetproject.org/index.php?page=download should work.
If it doesn't it's proabably a temporary glitch, just try again.

Bob


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


[freenet-support] Re: Default JVM in Windows XP, setting JVM options

2006-02-14 Thread Bob
Juiceman <[EMAIL PROTECTED]> writes:

> 
> On 2/6/06, Ashton Vaz <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I recently installed Freenet Build 5106 on a Windows XP SP2 machine
> > via the freenet installer.  After doing so, Freenet worked well with one
> > exception.  It is a resource hog - both in terms of memory as well as
> > processor time.  I found this puzzling as all other large Java
> > applications that I run - Sun J2EE RI, Jboss, Azureus, jEdit, etc. are
> > blazingly fast with the Java 1.5 JRE versus the Java 1.4 JRE.

Freenet 0.5x (current "stable") uses a LOT of threads, and has well known
performance issues. The current development version (pre-alpha 0.7) is mostly a
complete redesign, which there is reason to hope will ultimately perform better
in addition to allowing various important new bits of functionality.

Try increasing the maximum heap via the JavaMem line in Flaunch.ini to e.g.
"JavaMem=256" for 256 MB maximum, this should help somewhat. (Java's default gc
likes to wait till it has almost no heap left before it bothers to collect, at
which point it can thrash and do so very slowly.)

> >  I have
> > both installed on my system and was surprised (after looking at the
> > Environment page under localhost:) that the installer selected the
> > 1.4 JRE by default.  Why is that?  Shouldn't it prefer the 1.5 JRE by
> > default?

Not only should it, it's supposed to :(
Can you please post exactly what versions of 1.4 / 1.5 you have installed?

> > (...)  Of course, in the future this will have to be changed
> > to 1.6 first, then 1.5 & finally 1.4.

Hopefully the wininstaller can be dropped for the proposed amazing java thing
maintained in core by the time 1.6 is mainstream ;)

-- snip --
> > 2)  Is it possible to pass options to the JVM (e.g. AggressiveHeap,
> > DisableExplicitGC, server, etc.) via the system tray icon?  If so, how?
> > By default the 1.5 & 1.4 JREs don't use the -server option or other
> > beneficial options.  Hence Fred doesn't benefit from the aggressive
> > server profiling of the JVM.  A long running application like Fred would
> > definitely benefit from the -server option at least.

Good point, Fred does benefit from -server in my experience but at the cost of
more memory. At the moment I don't believe it's possible to directly pass
arguments to the windows launcher, a workaround would be to put the flags in the
default java control panel options but obviously they'd then apply to any
application using that JRE.

Bob



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


[freenet-support] Re: Re: Default JVM in Windows XP, setting JVM options

2006-02-15 Thread Bob
Ashton Vaz <[EMAIL PROTECTED]> writes:

> 
-- snip --
> That's just the problem.  I have 512MB of RAM and with various 
> applications running concurrently [Palm Desktop, Thunderbird, Mozilla, 
> jEdit, Apache HTTP, Sun J2EE RI, MySQL, I2P, Tor, Gaim, GoogleTalk, 
> Prime95, WorldCommunityGrid, BOINC, electricsheep, etc.] there's no more 
> left to hand over to Freenet.  All the applications were well-behaved 
> until Freenet got installed - now my machine is a *turtle*.  The use of 
> 1.5 however is a huge improvement.

Uh, do you really need stuff like Prime95 running? Most people only use that as
a system stress test ... unfortunately 0.5x does use considerable resources. You
can tune it somewhat though. Things to try :

- Set outputBandwidthLimit and inputBandwidthLimit (freenet.ini) if you haven't
already, if you have you might need to reduce them.
- Reduce maximumThreads, this should have significant impact.
- JRE flags, particularly -server as you note and -XX:+AggressiveHeap. Yes I
know, afaik the launcher can't pass them to the freenet java instance yet :/ 
However there is a crappy workaround I forgot about before, you can launch from
a batch instead of freenet.exe and thereby pass arbitrary JRE arguments. this
means you don't get the systray bunny but other than that it should work.
Something like this :
http://wikiserver.freenethelp.org:14741/MaxDirectMemorySize
Alternatively the Java service wrapper can probably do this (end of post.)

More esoteric things like -XX:-UseTLAB, -XX:+UseBoundThreads and
-XX:+UseThreadPriorities may also help. -XX:MaxDirectMemorySize is set by
default on *nix, I can't remember if the windows launcher does so but apparently
the benefits can be significant so try setting it (to less than -Xmx.)

Finally setting -Xms and -Xmx is advisable. Some like to set them to the same
value to reduce reallocation overhead but this isn't really appropriate for a
desktop situation like yours.
 
-- snip --
> starts up the 1.5 version of the apps.  Could my Windows registry be 
> corrupted?  What keys' existence should I check for?
> 
> The paths are as follows
> Java 1.5 JDK: C:\java\se\sdk\1.5.0_05\
> Java 1.5 JRE: C:\Program Files\Java\jre1.5.0_05\
> Java 1.4 JDK: C:\java\se\sdk\1.4.2_09\
> Java 1.4 JRE: C:\Program Files\Java\j2re1.4.2_09\

The install script basically looks for 1.4 and 1.5 JRE and JDK keys in the
registry. This code is a tad inelegant since NSI only allows for IF/THEN/GOTO
logic. Presumably it doesn't correctly handle the uncommon case of having both
JREs and JDKs for 1.4 and 1.5.

> >Hopefully the wininstaller can be dropped for the proposed amazing java thing
maintained in core by the
> time 1.6 is mainstream ;) 
> >
> I'm curious, what amazing java thing?

The wininstaller and associated programs have suffered from neglect because most
of the serious freenet developers run Linux and don't do windows coding. A while
ago things got bad enough (e.g. sourceforge change made installer apparently
hang for ages) that they even accepted a bunch of patches from me :)

For 0.7 it's proposed to make an installer in Java and move config stuff that
helper programs like NodeConfig currently have to do into fproxy. The effect of
this should be that they're maintained by Real Programmers(tm), changing common
config options for the user is not unlike about:config in firefox, and the
windows exe installer can become a simple wrapper to launch the installer jar /
install Java if neccessary.

-- snip --
> A related question:  Since the windows launcher can't pass options to 
> the JVM, does anyone know if there is a service wrapper (for Windows XP) 
> available for Java applications?  I can  then configure the service 
> wrapper with the necessary JVM options & have freenet run 24/7 as a 
> Windows service on all workstations under my control?

This should be possible, there's a specialised Java service wrapper which seems
to be recommended :
http://wrapper.tanukisoftware.org/doc/english/introduction.html
http://bdn.borland.com/article/0,1410,32068,00.html

Bob


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


[freenet-support] Re: Loopback adapter is in ZoneAlarm's Trusted Zone.

2006-03-15 Thread Bob
Jimmy Betancourt <[EMAIL PROTECTED]> writes:

> 
> 
> Hi!Sorry if my english isn't good.I want to install Freenet and I will have it
running all the time.I use ZoneAlarm and, by default, it puts the IP address
127.0.0.1 in the Trusted Zone. ZA calls that entry "Loopback adapter".Cause
Freenet uses 127.0.0.1 as gateway, Is that setting in ZA a security risk if i
use Freenet?Can that allow a hacker to take control of my PC?Can that compromise
my anonymity?Thanks for your time.

This is normal and not a problem.
127.0.0.1 (in fact any address starting 127.0.0 usually) means "this computer".
So when your web browser connects to 127.0.0.1: it is not actually going
over a network, it is talking directly to the local freenet server on your PC.
This is why ZoneAlarm trusts such 'loopback' connections, a client on your
computer connecting to a server also on your computer should not be anything to
worry about.

Freenet basically works like a local proxy. Programs like web browsers and Frost
/ FUQID etc all connect to it over the loopback (unless you run freenet and
those programs on different computers), then Freenet connects to other freenet
nodes to handle the requests. Something like this, assuming default ports :

+-+
| LOCAL PC, loopback (127.0.0.1)  |INTERNET
|  __ |
|  |Freenet node| |
|  || ||  /
| Browser ---> | port   | |   FNP  | /
|  ||-|--->  Other Freenet
|  ||<| Nodes
| Frost --+--> | port 8481  | | (Freenet   | \
| ||| |  Node  |  \
| FUQID --+`` |  Protocol)
| |   |  Random ports
| etc +   |
|_|

So freenet client programs connecting to your node on 127.0.0.1 is normal. You
should be concerned however if they try to connect directly to a website or
something without asking you, and ZoneAlarm will warn you about this.

Bob


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


[freenet-support] Re: Error in Stable version

2006-03-25 Thread Bob
Sam Przyswa <[EMAIL PROTECTED]> writes:

> 
> Hi,
> 
> I installed the latest Freenet-stable on my Debian (Kubuntu) machine, 
> configure my freenet.conf as:

--snip--

> at freenet.transport.AbstractSelectorLoop.loop() (Unknown Source)
> at freenet.transport.WriteSelectorLoop.run() (Unknown Source)
> at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

--snip--

> What's wrong ?

The use of "libgcj" indicates you're using some free JRE like Kaffe, which
freenet 0.5x does not support. This is particularly likely with Ubuntu because
it's very "pure" Free software only out of the box. The next version (0.7)
should support such JVMs, since the current alpha code does, but at the moment
they perform badly with freenet in comparison to Sun's JRE for reasons not
currently known.

Just to confirm, what does "java -version" output?

You should be able to fix this by installing Sun (preferably) or Blackdown 
Java and making it the system default. Instructions here, multilined for 
gmane filter :
https://wiki.ubuntu.com/RestrictedFormats
  #head-68565ae07a003332e82c9f23706638777396c249

Now freenet should manage to start and operate, although it will need a while
to integrate into the network before it's really usable. Note that you will
still see numerous errors and info messages in the console and/or error log,
this is normal, 0.5 outputs a lot of debugging info.

Bob


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


[freenet-support] Re: Problem starting Freenet

2006-04-05 Thread Bob
Evan Daniel <[EMAIL PROTECTED]> writes:
 
> I ran ./update.sh, and freenet failed to restart (no new version was
> downloaded -- btw, how do I tell when a new version is out?)

Hmm, I don't understand how it ever worked (are you sure it did?)

> jvm 1|at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
> jvm 1| Caused by: java.security.NoSuchAlgorithmException: SHA-256
> jvm 1|at
> java.security.MessageDigest.getInstance(java.lang.String)
> (/usr/lib/libgcj.so.6.0.0)
> jvm 1|at freenet.node.Node.readNodeFile(java.lang.String,
> freenet.crypt.RandomSource) (Unknown Source)
--snip-- 
> What does this mean?  Do I have something misconfigured somehow?

It means you're running a JVM that doesn't include a SHA-256 provider. The
presence of libgcj makes me think you're using a Free Software one like gij or
Kaffe, which is standard e.g. on Ubuntu.

Your options are basically to install Sun Java (proprietary but faster, and
possibly more compatible) or follow these instructions to work around it using
GNU Crypto :
http://wiki.freenetproject.org/Freenet0Point7withFreeVm

> Thanks!
> 
> Evan

Bob


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


[freenet-support] Re: WOW

2006-04-07 Thread Bob
Volodya <[EMAIL PROTECTED]> writes:

> 
> Kenneth Vestergaard wrote:
> > hey just wated to know it world of warcraft i affected by freenet
> 
> This sentence doesn't make sense.
> 

Well, it does in that WoW is i)a network game and ii)fairly resource hungry.
So freenet might affect its performance, just like running any other p2p program
in the background might.

Which version of freenet are you trying to run, 0.5x or the new 0.7 testing 
alpha?

If you have high bandwidth limits then freenet *might* lag your WoW traffic,
if this happens just reduce them. How to do this depends on which version of
freenet you're running.

As for general performance impact, it could be a problem depending on your 
spec, your game settings and what freenet version you're running. 
I hear the 0.7 alpha uses less resources than 0.5x. In particular you will
probably need quite a lot of RAM to run a 0.5x node and WoW smoothly at
the same time.

Bob


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


[freenet-support] Re: Cannot configure

2006-04-10 Thread Bob
Dashkal <[EMAIL PROTECTED]> writes:

> 
> For some reason, when running freenet for the first time, it reguses to 
> accept keyboard input.
> 
> I am running gentoo 2006.0 (updated)
> Sun JDK 1.5.0_06
> freenet-latest as of Sun, April 9th, 2006
> 
> The only strange thing in my setup is sun java is in /opt/jdk1.5.0_06
> however, JAVA_HOME and PATH both point there (I tried JDK_HOME as well 
> to no effect)

Huh, that's weird.

What does "java -version" at a console output? My guess would be that you need
to use Gentoo's java-config tool (http://www.gentoo.org/doc/en/java.xml) to
select this as the user and/or system VM.

> Is there any way to get it to spit out a default configuration file that 
> I can just edit by hand?  It seems to run alright in the background, 
> just appears to have troubles with System.in

Hmm, maybe. A default install on windows makes a freenet.ini something like the
below.
(No this isn't a running node, I was just testing the installer.)
Make sure you change ipAddressOverride / node.name / tempDir / listenPort and
only leave node.testnet.enabled=true if you don't mind Toad et al being able to
inspect your node (i.e. no anonymity) for debugging purposes.

node.ipAddressOverride=me.dyndns.org
node.outputBandwidthLimit=15K
node.swapRequestSendInterval=2000
node.tempDir=./temp-32788
node.storeSize=1G
node.storeDir=.
node.listenPort=1
node.name=MyFirstFreenetNode
node.nodeDir=.
node.downloadsDir=downloads
node.testnet.enabled=true
node.testnet.port=33788
fcp.enabled=true
fcp.port=9481
logger.maxCachedLines=100k
logger.enabled=false
logger.dirname=logs
logger.maxCachedBytes=10M
logger.priority=MINOR
logger.maxZippedLogsSize=1G
logger.interval=5MINUTE
fproxy.enabled=true
fproxy.port=
snmp.enabled=true
End

Bob


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


[freenet-support] Re: Cannot configure (0.5)

2006-04-11 Thread Bob
Dashkal <[EMAIL PROTECTED]> writes:

> 
> Ok, strange thing
> 
> This time I didn't kill freenet when it appeared to hang when asking me 
> to enter the port number.
> 
> When I took the time to start this email, it eventually unhanged itself 
> and started to work.

--snip for over-zealous gmane filter--

> 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from resource
> INFO: Optimized native BigInteger library 
> 'net/i2p/util/libjbigi-linux-athlon.so' loaded from resource
> <<<--- This is where it hung --->>>
> 62734
> listenPort [19934]

Don't disclose your listenPort, since it can be used to identify your node with
some degree of confidence :) I'd change it now if I were you.

--snip for over-zealous gmane filter--

> tail -f freenet.log <<<--- My input to that $ prompt above --->>>
> Apr 10, 2006 4:30:52 PM (freenet.node.Main, main, NORMAL): Starting 
> Freenet (Fred) 0.5 node, build #5106 on JVM Blackdown Java-Linux 
> Team:Java HotSpot(TM) Client VM:Blackdown-1.4.2-03
> <<<--- Hangs here --->>>
> Apr 10, 2006 4:33:35 PM (freenet.node.Main, main, NORMAL): loading node 
> keys: node
> Apr 10, 2006 4:33:35 PM (freenet.node.Main, main, NORMAL): Creating node 
> keys: node
> <<<--- SNIP --->>>
> 
>  From there it appears to work.  I am able to connect to the proxy port 
> as normal.

Yeah, this is actually a known issue with 0.5 but it's supposed to be kind of
fixed. I thought it was only people like with weird setups (blackdown 1.4.1 /
sparc64) who still saw huge pauses. A similar problem seems to be affecting 0.7
judging by recent posts.

What's actually happening is that the Yarrow PRNG is blocking whilst waiting for
enough entropy to be collected, so that it can generate somewhat "strong"
psuedo-random numbers (important to stop attacks on encryption.) If you have a
true hardware RNG e.g. a VIA C7 processor or dedicated crypto card then IIRC it
just reads /dev/hwrandom and off it goes, but most people don't. So it has to
read /dev/urandom or /dev/random (forget which) which generate psuedo-random
numbers based on unpredictable 'entropy' activity like mouse movements,
keypresses, and hard disk activity. Therefore you should be able to speed it up
by opening a text editor and mashing the keyboard randomly, waving the mouse
around, doing disk searches etc.

This is a bit daft but there's no real way around it, short of everyone buying
proper RNGs. Other crypto apps like GPG have the same problem at key generation
time and likewise ask you to type randomly / wave the mouse around.

Bob


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


[freenet-support] Re: Unable to install in China

2006-04-11 Thread Bob
A C <[EMAIL PROTECTED]> writes:

Hi,
 
> I am located in China, where access to Freenet downloads are blocked.  I use a
proxy so am able to download through that, but the installer does not include
all of the files and tries to download those itself.  This does not go through
the proxy, so it is blocked.

Which version of freenet are you trying to use, 0.5x or the 0.7 alpha?

In the words of Matthew Toseland, lead developer, "using 0.5x in china isn't
only a bad idea, it's impossible." It's a bad idea because it's fairly easy for
a powerful adversary to harvest the network (build a list of all freenet nodes),
and of course things like freenet are banned in China. I suppose it's impossible
because they found a way to block it again e.g. by recognising session bytes.

The 0.7 alpha is *NOT* safe yet for dissident-grade activities either. In
darknet operation it should be better than 0.5 generally speaking provided your
peers are trustworthy, BUT there are still considerable risks associated with
using alpha software with various features not implemented yet e.g. MiTM attack
resistance. Also the installer is not yet made with dissidents in mind, e.g. it
automatically opens the project website at the end!

> Is there a package that includes all of the necessary files for a simple
install on windows?  How about posting some instructions to help people like me
install?  How about a torrent seed for this build?Thanks.
> 

At the moment such a thing does not exist. It is possible to make "offline"
installers for 0.7 that include everything, which should happen at some point.
Again though, I have to stress that anyone who uses alpha, unfinished anonymity
software in a freedom-hostile country is taking a considerable risk.

Bob


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


Re: [freenet-support] freenet/jvm priority over linux system?

2008-02-05 Thread Bob
Hi,

On 2008-02-04 13:45, Ermanno Baschiera wrote:
> Hello,
> I'm running my node on a Gentoo Linux machine.
> You know... we gentooers sometimes have to compile updates and new
> packages. Ok, we OFTEN have to compile stuff. :-)
> During those compile sessions, my node pings higher and higher. Up to
> 22sec! Also if there's heavy use of samba, my node gets slower.

You should be able to address slowdown during emerges by setting
PORTAGE_NICENESS to e.g. 15 in make.conf, see
http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS.

You could also edit run.sh(?) so the java-launching line reads
something like "nice -10 java (...)" if it still seems necessary.

Bob



  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

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


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

2005-08-30 Thread Bob
Julien Cornuwel  writes:

> Matthew Toseland a ?crit :
> 
> >Does this happen after you start Freenet up, or had the node already
> >been running for a while? It's quite possible we have a slow FD leak
> >somewhere...

--gmane filter snip--
> The problem is now solved (by flushing the datastore), thank you for
> your answer.

Also it is possible, though not very likely, that open files are being limited
too much at the OS level. What do you see for "Open files" when you run 
"ulimit -a"?
For reference mine is 1024, I assume this is the default Linux/bash value.

Bob





[freenet-support] Re: "Locally optimized BigInteger Library"

2005-08-30 Thread Bob
Matthew Toseland  writes:

> Can you send me a diff -uw on the file?
> 
> On Mon, Aug 29, 2005 at 08:35:56PM -0400, Josh Watzman wrote:
> > Hello-
> > 
> > I wrote a few months ago about how to get jbigi loaded using a
> > locally-compiled library. This would allow people with unsupported
> > systems (such as PPC Linux or even Mac OS X) to get the advantages of
> > the jbigi library. I2P has allowed this by placing the library in the
> > same folder as the jar file; freenet did not, even though I was told
> > that the code was taken mostly verbatim from I2P.
> > 
--snip--

Well this is certainly better, thanks for working it out. For the record you can
run with jbigi on "unsupported" platforms right now by repackaging
freenet-ext.jar and overwriting whatever generic fallback library it tries to
load with your freshly compiled native one, but arguably this isn't very user
friendly :)

Bob





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

2005-08-30 Thread Bob
Bob  writes:

--snip--
Arrgh! He says file ulimit is unlimited in the original post. Sorry list,
that'll teach me to read all of them in future.
(Mods : delete this post and parent if you want)

Bob





[freenet-support] Important new bugfixed release of Frost

2005-08-30 Thread Bob
Sorry if this is judged OT, but I believe Frost is a significant part of the
"freenet experience" (heh) for quite a lot of people, and therefore it not
really working is a serious problem.

http://jtcfrost.sourceforge.net/
"Bugfix: problem computing the first empty index for message uploads was fixed
(IMPORTANT)"

Specificially, Frost has been seriously affected recently by the combination of
a pathetically determined script spammer using rotating IDs and a nasty bug in
Frost's upload handling. The effect, other than wading through spam (unless you
mark everyone rational GOOD then ignore all CHECK messages but obviously this
sucks,) was that posting could take a long time. The latter is fixed, so now you
can theoretically post like before. However Frost still needs a proper web of
trust sort of system to handle spamming.

Bob





[freenet-support] Re: Key

2005-08-31 Thread Bob
Ben  writes:

> I recently installed and started running freenet on Fedora Core 4, 
> everything went smoothly until I tried to start looking up indexes, and 
> it keeps returning the error that I have an invalid key. Just wondering 
> how I might go about taking care of that.
> 
> lb

Errors are normal for new nodes, it takes quite a long time for them to
initially integrate into the network. (I believe there is hope this time can be
reduced by 0.7.)

Errors and their meanings :

Route Not Found (RNF) : Your node doesn't know enough about the network to route
this request at all yet. Solution : leave it up until it does :) You can speed
this up by trying to request things, one way is to set aggressive browser
timeouts (http://wikiserver.freenethelp.org:14741/SpeedingUpFreenet) open The
Freedom Engine and leave it trying to retrieve the masses of activelinks.

Data Not Found (DNF) : Can mean the data really isn't on the network, but for
newbie nodes most probably means it is but it can't be found because routing is
working poorly. Again, the solution is to wait till routing works. Unfortunately
it can require days of total uptime to approach maximal performance :/

"Key not found in manifest" - the freesite author or their tools screwed up and
mis-inserted the site, the key you tried to retrieve isn't where it claims to 
be.

Bob





[freenet-support] Re: can't access

2005-12-05 Thread Bob
Mark Burford  writes:

> 
> I just learned about freenet today and downloaded it. I can't access anything.
For intance, when I click on 'freedom', it says to change hops-to-live: 13,
which I did.

Unfortunately it's normal in freenet 0.5 for new nodes to have considerable
difficulty accessing content. Given time, ideally leaving your node up as close
to constantly as possible, it will integrate into the network and perform
better. You should see a noticeable improvement after a day or so.

> It then says to "reseed the node". I don't understand that.

To "reseed" means to download a new seednodes.ref, which contains addresses of
other nodes collected from the network. The easiest way to do this in windows is
to run "Update Snapshot" from the start menu or (iirc) by right-clicking the
systray bunny.

However, unless you only run your node occassionally - in which case you can't
expect it to perform well anyway - reseeding probably isn't neccessary.

> As a last resort it says to contact you.

0.5 has acknowledged problems, primarily less than optimal
specialisation/routing and the fact the network is open and therefore
harvestable (possible to build a list of who runs nodes). Development is
currently underway on 0.7 which is pretty much a rewrite, and hopefully will
make progress toward addressing these.

Bob





[freenet-support] Re: Setting up Freenet on NetBSD 2.0.2

2005-12-13 Thread Bob
Gan Uesli Starling  writes:

> I'm trying to get Freenet going on NetBSD and
> having problems. Am writing a howto as I go, so
> whatever my mistake is you should find it there. 
> 
> http://69.51.152.43/darknets/#GUS-3-4 

--snip--
> Freenet appears to start and run. I can get the
> main list of links. But not a single one of those
> links will display even after letting it run for
> 24 hours. 

Hmm. Well, to get some non-performance related points out of the way there's no
reason to forward  and 8481 (mainport and FCP) unless you want to access
your node remotely over the 'net or make it a public proxy, only your randomly
listenPort is needed. Also the KidOfSpeed Chernobyl biking blog isn't quite what
it appears :)
http://johnford.net/mt/archives/chernobyl_motorcycle_ride_a_hoax.php
http://www.uer.ca/forum_showthread.asp?fid=1&threadid=8951

If the "Web Interface" (usually called fproxy) appears but still doesn't do
anything a full 24 hours later, something is very wrong. Does anything work at
all, e.g. can you open the 'open connections' page? If not, presumably your JVM
has crashed. If you can, how many connections do you have and how many are
incoming? Another factor could be that your node is ridiculously overloaded,
what's system load like? It's generally a good idea to set outputBandwidthLimit
and inputBandwidthLimit. Start with something conservative.

Other things that should help are big datastores and plenty of RAM / large
maximum java heap (-Xmx line in start-freenet.sh.) Note that newbie nodes route
badly at first, and after considerable uptime "learn" the network / cache
content and do better. However, in my experience even a newbie node on default
settings should get some activelinks rendering after a bit and eventually manage
to make it to The Freedom Engine, so I think you have some more serious issue.

Finally, you might want to note that this is Freenet 0.5 and all development
work is currently focused on 0.7, which is considerably different (UDP, optional
large scale darknet routing, later versions will have "low" latency channels /
connections to a particular server etc.)

Bob





[freenet-support] Re: Newbie can't connect.

2005-12-18 Thread Bob
Shaun Burnett  writes:

> Hello Freenet Guru's,
> 
> I've been trying for the last few weeks to get a Freenet node working
> on Win Xp (SP 2), and although I'm not networking champion, I think
> I've done everything I should.  I've opened up the correct port in my
> ADSL Modem / Router / Firewall and yet I still can't get anywhere. 
> Even when I switch to Dial up, I still have the same trouble, which
> is, when I open the Gateway it says Build 5106 and stops at 5%, unless
> I keep hitting refresh in which I can get it go to 40% before the
> refresh refuses to have any further effect.
> 
> I've got the DNS update service running (non static IP) and have put
> that in the config file.
> I've changed the max number of connections, but have since forgotten
> what I changed it to; it was to a recommendation I read somewhere on
> the Wiki.
> I've also tried to download the latest seednode info from
> http://www.freenetproject.org/snapshots/ and also using the "update
> Snapshot" program, which downloads the Jaw update fine but times-out
> every single attempt on the seednode update part.  Any attempt to
> download the seednode update always times-out.

Did you use a recent installer? If it's an old one, UpdateSnapshot might be
trying to grab seednodes.ref uncompressed and from somewhere it isn't anymore.
If it's a slightly less old installer it might be an issue with coralCDN latency
and short timeouts.

Either way, it should work fine with the latest UpdateSnapshot ... you can get
just that from http://bob.sdf-eu.org/freenet/UpdateSnapshot.exe, or download a
new installer and use that. (I help maintain the official installers though so
if you don't trust me you're screwed either way ;)

-- big performance data snip --

The problem is you have no connections, incoming or outgoing. You appear to only
have 2 node references, both of them presumably uncontactable, so I think your
seednodes.ref file is a tiny truncated one. Try updating with the latest
UpdateSnapshot linked above, or if you'd prefer for the time being manually
download a new one to e.g. c:\Program Files\Freenet\ from one of the zipped
copies at http://downloads.freenetproject.org/seednodes/, and overwrite your
presumably tiny one with it.

Bob





[freenet-support] Re: Turning off or shutting down Freenet with the Windows client

2005-12-19 Thread Bob
Anonymous  writes:

> 
> I believe with *nix and BSD, it is possible to stop Freeent with the shell
script. Is there any way to shut down
> or stop Freenet with the Windows client with the command line? This would be
useful for the task scheduler
> and such!
> 
> Thanks

Right now this isn't directly possible via freenet.exe (the systray app) as far
as I can tell. It does take command line args, but not a shutdown one. It could
probably be added though, I _think_ it just has to invoke ExitFserve().

All the *nix scripts do is kill the parent freenet pid. You *may* be able to
emulate that using a process killer like psKill
(http://www.sysinternals.com/Utilities/PsKill.html) to kill freenet.exe,
depending on how windows handles CreateProcess parent/child relationships. If
that doesn't work you could go scorched earth and just kill all the javaw
instances. Possibly psKill accepts wildcard names, if not you could still do it
with a bit of scripting :)

Bob





[freenet-support] Re: getting Freenet to work on FreeBSD

2005-12-19 Thread Bob
Rob Lytle  writes:

> 
> Hi,
> 
> Has anyone been able to get Freenet working on FreeBSD?

I don't have any experience of this but a couple of observations follow.

> I have downloaded the latest stable release of Freenet.  I also have a
> number of Java implementations:
> 
> linux-blackdown-jdk1.4.2
> linux-sun-jdk1.4.2
> linux-sun-jdk1.5.0
> jdk1.4.2 (the native FreeBSD version)
> 
> So far, the only one that will do anything is linux-sun-jdk1.4.2.  But
> none of the Java processes communicate on localhost: as revealed by
> sockstat.

It may just be crashing due to JVM issues, in which case you should see no java
processes and probably a collection of hs_err_pid* stack traces. Compatibility
with things other than native Sun java (and thus lack of full FOSS freedom) are
problems at present, which is why freenet 0.7 - the current alpha development
version - is aiming to work under Free Java platforms like Kaffe / GCJ. Actually
"gij works" in a current branch, if the SVN log is to be believed :)

Anyway if ps shows alive/blocked threads you may be seeing the very slow startup
issue fixed on more common platforms some time ago. (Slow entropy generation or
something in Yarrow.) Try waiting ages, and/or give it a huge heap via the -Xmx
line in start-freenet.sh , at least I have to do that on my blackdown 1.4.1
Sparc node for some reason.

> The Java versions that do nothing all fail with an error message
> stating that some other process owns the lockfile.  Is it one Java
> process competing against another?

This is probably the lock.lck file freenet creates in its main directory to
prevent multiple instances, if it crashes it won't get deleted ...  do so
manually and retry.

Bob





[freenet-support] Re: Turning off or shutting down Freenet with the Windows client

2005-12-19 Thread Bob
Bob  writes:

> Right now this isn't directly possible via freenet.exe (the systray app) as 
> far
> as I can tell. It does take command line args, but not a shutdown one. It 
> could

Heh ignore that, I'm an idiot, obviously running freenet.exe -shutdown to call
ExitFServe would spawn a new process then shut it down rather than affecting an
existing one :) It would have to look for another instance of itself, post
stop/exit messages to it and then quit. This is unneccessarily complex though,
process killing should work one way or another.

Bob





[freenet-support] Re: Turning off or shutting down Freenet

2005-12-22 Thread Bob
freenetwork at ...  writes:

-- snip --
> The freenet node runs with the name "javaw.exe". But if you don't know the
exact PID, simply killing by name
> might affect other java programs running as they all have the same process
name (java or javaw).
> "freenet.exe" is just the bunnyapp 

Yeah, but the process tree is freenet.exe -> Flaunch.exe -> javaw. Sysinternals
pskill, at least, has the ability to kill a process and all its "descendants"
(with the -t switch), so provided they are considered descendant processes you
should be able to kill freenet.exe and take the rest of freenet (only) with it.

> (Yes, this confusion arises quite often but nobody cares to give this,
> IMHO totally superfluous (hopefully 0.7 comes without all these stupid
extra-programs), app a proper name).

I don't see how it's superfluous .. it provides an indication of freenet's
status, and easy access to fproxy and logs. It's in straight C so it's not like
its using a significant amount of resources either. The program we should hope
to ultimately retire IMO is NodeConfig, which isn't very user friendly, in
favour of an fproxy web configuration page. IIRC Matthew has said that such a
thing is intended.

Bob





[freenet-support] Re: Computer illiterate trying to set up freenet

2005-12-24 Thread Bob
Diddy Bird  writes:

> 
> Hi, I know next to nothing about computers but would
> like to check out some files I've been told are on
> freenet.  So, I'm trying to install it but have run
> into some problems.
> 
> Okay, I'm running Mac OSX 10.3.9.  I've downloaded the
> JVM (jre1.5.0_06), figured out that "Terminal" is the
> name of the program to type "java -version" into, and
> got the 
> java version "1.4.2_09"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.4.2_09-233)
> Java HotSpot(TM) Client VM (build 1.4.2-56, mixed
> mode)

Hmm, well as you can see from the above version information you still have the
built-in version of java 1.4.2 as the default, so either you haven't installed
1.5 or haven't made it the preferred version.

Are you using the official Apple OSX installer for 1.5? If not, follow the
instructions here :
http://docs.info.apple.com/article.html?artnum=302412

The built in 1.4.2 should work by the way, *but* there are reports that at least
some versions tend to crash the kernel and thus hang the machine eventually. So
using 1.5 is advisable, I haven't seen reports of that doing the same thing.

> message.  But now I'm lost.  The start guide says to
> check where the java installer has placed the files
> (no idea how to do that)

According to apple, you can find a "new Java Preferences utility" in
/Applications/Utilities/Java/J2SE 5.0/ . Run that and choose to use 1.5 as the
default. I've never seen it (or even seen OSX) so I couldn't tell you how
exactly, but I would imagine you just select Java 1.5 off a list or something.

> and then there's a bunch of
> googlygook about something called ~/.profile. 
> PATH=$PATH:/opt/sun-jre-1.5.0_04/bin did nothing. 

Because that example is for Linux, I doubt OSX even has an /opt :)
This step should not be neccessary on OSX, use the java preferences utility
mentioned above instead.

> The next step made more sense.  I downloaded freenet
> and tried typing the first of the list of commands to
> enter into terminal, but when I try the first one it
> says:tar (child): freenet-latest.tgz: Cannot open:
> (null)
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error exit delayed from previous errors

Are you sure it's called freenet-latest.tgz? The version linked from the main
project download page is called freenet-stable-latest.tgz .
Note the different filename, i.e. you need to do 
"tar -zxvf freenet-stable-latest.tgz" in this case.

Also check it's about 6 MB, if not you may have an incomplete download and need
to download it again.

If the command line still won't work try locating and double clicking it in the
Finder. You ought to get some sort of archive manager that lets you unzip it
wherever you want.

> So, obviously, I need to do something.  When I try to
> open start-freenet.sh it says there's no default
> program.  *sigh*  Help?

Yeah, this is because it failed to unzip in the previous step for whatever
reason so you don't have a start-freenet.sh yet. When it does unzip you will get
a "freenet" directory, and start-freenet.sh is inside there along with the rest
of freenet. Assuming you just unzipped at the command prompt, you should be able
to do :

cd freenet
chmod u+x *.sh
./start-freenet.sh

I realise that all this is not exactly user friendly. Ideally we should have a
proper OSX installer to make this process easier, if there are any Mac
developers out there this would be a worthwhile project :)

> Christina

Bob





[freenet-support] Re: Computer illiterate trying to set up freenet

2005-12-24 Thread Bob
Bob  writes:

-- snip --
> 
> Are you using the official Apple OSX installer for 1.5? If not, follow the
> instructions here :
> http://docs.info.apple.com/article.html?artnum=302412

Sorry, I just read that page a bit more thoroughly and it needs OSX 10.4.2 .. as
far as I can tell there are no 10.3.9 -> 10.4 upgrade patches either, you'd have
to buy a newer version :/

So you might as well stick with the default 1.4.2 for now and hope you don't get
the crashing issue.

Bob





[freenet-support] Re: couldnt find the main class, program exit

2005-11-03 Thread Bob
LUCAS PERCY  writes:

> Hello, i wrote from Cartagena de Indias, COLOMBIA
>  
> I need your valuable help with this issue, i have tried to install a lot of
> times the freenet from "freenet-java-webinstall", but at the end of the 
> installation there is a message "couldnt find main class, program exit".

Lucas has replied to me saying my suggestions fixed this, they're replicated
below for the benefit of anyone in the same situation that finds this thread via
google.

"- Uninstall your current half-installed freenet **SAVING YOUR SEEDNODES.REF
SOMEWHERE** if you have one
- Upgrade to the latest java from www.java.com
- Get the normal webinstaller instead
(http://freenetproject.org/snapshots/freenet-webinstall.exe)
- Copy your saved seednodes into the same dir as the
webinstaller, install
(...)
The webinstaller downloads freenet a file at a time,
so hopefully you won't run into the stupid sourceforge
throttling problem we have right now. The exception is
seednodes.ref which is a big file, hence why you save
your existing copy in the above steps."


I've tried this since and can report that a full install can be done via the
normal webinstaller, however sourceforge throttling did manage to stall the
download of freenet.jar so I had to cancel then retry it when prompted.

Also the installer appears to hang after you OK the initial NodeConfig run. It's
actually still doing things like making shortcuts and the uninstaller, and if
you leave it for a minute or two it eventually finishes, but it looks a lot like
it's hung. In the past I have assumed this and end-tasked it. Someone should try
to put some sort of feedback in there really.

Bob





[freenet-support] Re: Stable or unstable?

2005-11-18 Thread Bob
Teng Junbin  writes:

> I read on some forums that Freenet is actually a lot
> faster on the unstable version.  However, I also read
> that Freenet is supposed to get faster with time.
> 
> I've just started using Freenet, so I'm not sure how
> long is a reasonable amount of time to wait before the
> speed stablizes.  Currently, about 1 in 10 requests I
> make go through and anything is returned at all.  Even
> if anything is returned, it is usually painfully slow
> (the pictures of the directories in the main page took
> about 20-30 minutes to load fully).
> 
> If I switch to the unstable version, would the speed
> be improved?  Also, I read that I need unstable.ref,
> which I am unable to find in the directory of
> 
> http://www.freenetproject.org/snapshots/
> 
> Is it removed or can I just use a normal
> seednodes.ref?
> 
> junbin

This is outdated. Freenet 0.5, which is the current release version, used to
have a stable and unstable branch as described above. However they were merged a
while ago since the current development version is the significantly different
0.7 alpha, where most of the core stuff is being rewritten from scratch.

0.5 unstable was a bit faster in my experience. This was probably due mostly to
the network being smaller, perhaps it also had a higher percentage of dedicated
/ tuned nodes due to its attraction for geekier people.

0.7 is very much in need of alpha testers by the way :
http://article.gmane.org/gmane.network.freenet.devel/16905
and has the potential to be significantly faster / lower latency than 0.5
eventually, as well as offering greater security (darknets.)

Bob





[freenet-support] Re: "Outbound message overhead" ?

2005-11-18 Thread Bob
emiel  writes:

> 
> I always have a "Outbound message overhead" of 
> about 70% or more.
>  
> What exactly does "Outbound message overhead" 
> mean?
> And how can I get it lower?

You think that's bad, mine is always negative :)
Right now it's "-145% (-31,776,769 Bytes wasted in the last hour)", heh ... it
seems to work anyway though. I put it down to the fact it's Linux on a Sparc so
I have to use the rather less than up to date Blackdown-1.4.1-01.

As for exactly what it means I don't know, I would guess it's a rough measure of
the amount of effort (retries etc) needed to manage to send a message. In which
case you can improve it by generally tuning your node for performance and making
sure you can accept incoming connections.

Bob





[freenet-support] Re: Can't access page

2005-11-22 Thread Bob
  writes:

> Hi,
> 
> I'm running the freenet-client on a dedicated and therefor headless server
> (Fedora Core 3, JRE 1.5). But whenever I try to access the page at port 
> I get an empty page and following messages in the freenet.log:
> 
--snip--

I think the stuff you posted is indicative of very high load, such that fred
never manages to reply to you before timing out. Try :

- Decreasing maximumThreads, e.g. to  100  \__ in freenet.conf
- Decreasing maxNodeConnections, e.g. to 150   /
- Increasing maximum heap size (-Xmx parameter at the end of start-freenet.sh),
Java 1.5 is faster but also more memory intensive. Since this is presumably a
dedicated freenet box, you probably want to be quite generous here, especially
if you have a large datastore (the index is kept in RAM.) Java will not 
actually allocate the maximum unless it needs to.

There are more advanced optimisations that can be tried here, such as the
-server flag, which will make freenet take longer to start but in theory run
more efficiently.
See http://www.freenethelp.org/html/MaintainingPermanentNodes.html

Restart freenet, since not everything can be changed on the fly. Wait 10-15
minutes before you try to do anything; load is always very high after 
(re)starting.

General performance tuning like disabling services you don't need can't hurt
either of course.

HTH,
Bob





[freenet-support] Re: GrapeWine?

2005-11-23 Thread Bob
m0rtal frei  writes:

> 
> Hi there!
> Can anyone tell me what's the real difference between FreeNet and
> GrapeWine (http://www.grapevineproject.org/) ?

The general concept is similar to freenet 0.5, it even uses FEC and borrows CHKs
from it. It's in C++ and is a "from scratch" project with its own routing etc,
which sounds to me like it might use a DHT, so a better comparison might be
Entropy. It appears to still be alpha (front page : "I really believe this
software will work, and I intend to finish it one day.") There are a few other
oddities like using HTTP transports instead of just TCP.

Bob





  1   2   >