Re: [freenet-support] Hey Everyone, My first Q

2005-06-15 Thread Mika Hirvonen
On 6/16/05, Eric Gentemann <[EMAIL PROTECTED]> wrote:

> Do I need to reset the node to get the new path for the data store to
> drop there or is config file updated to reinitialized during run after
> a set period ?

You will need to restart the node after changing the datastore path.
Also, you can and should re-use the old datastore. Just shut down your
node, move the datastore to the new location and then start the node.

-- 
  Mika Hirvonen <[EMAIL PROTECTED]>
___
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]


Re: [freenet-support] Re: We need your help!

2005-06-13 Thread Mika Hirvonen
On 6/13/05, Matthew Toseland <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 10, 2005 at 07:17:03PM -, Anonymous wrote:
> > In message <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] wrote:
> >
> > >> I haven't watched the lists for some weeks now (I was on a longer
> > >> business related trip). So my question: Do you still plan on switching
> > >> the whole network over to UDP based transfers?
> > >
> > >Yes, although we may implement a TCP based transport as an alternative.
> > >Nextgens seemed to be interested in that (but he had no time to do it).
> > >Would all users who would be compelled to leave the network if they
> > >can't use it over TCP please reply to this message.
> >
> >
> > I'd have a problem with it because while am able to throttle freenet's TCP
> > traffic with reasonable success, I am absolutely ignorant of how to do it
> > with UDP protocols.  Also, I'm not certain, but I believe that my router /
> > firewall and local server will combine to be a problem to passing on and
> > throttling UDP traffic.  Un-Throttled is totally UN-Good.
> 
> Do you need to? We have control over individual packets with UDP; it
> should be pretty easy to throttle. Also I don't see why it shouldn't be
> easy to do it with token bucket filters in iptables, regardless of
> protocol...

How will the node throttle itself when it detects that UDP packets are
not reaching their destination in expected time? Or will it think that
the other node is having problems and redirects traffic to other nodes
(which wouldn't help at all in this case).

> > I have to be able to vary speed from as low as 512bytes / second (when
> > bandwidth is needed temporarily for something else) to 60Kilobytes / second
> > (or higher) when there is no other demand on the local network.
> 
> Well, this is bad for the node as it doesn't know about it and can't
> respond properly to it... but do what you have to do :|.

I'm in the same situation as well. I have 5 HTB traffic classes
(interactive, normal, bulk, p2p and freenet), which get my limited
bandwidth in order (Freenet gets bandwidth only when nothing else uses
it). I have a long packet queue on Freenet's class, so no packet gets
lost.  When available bandwidth suddenly goes down, the extra "burst"
of traffic goes into the queue, causing latency. This causes TCP's
automatic throttling to kick in and slow down. The queue is gradually
flushed, which causes latency to go down and allows TCP to speed back
up.

The obvious problem with traffic shaping and Freenet is that the node
assumes that every node it was connected to suddenly becomes much
worse. This might not be a big issue when the number of connectable
nodes is smaller than the connection limit (and thus every node's
estimators suffer similarly), but it might cause the node to
unnecessarily tear down existing connections and make new ones.

-- 
  Mika Hirvonen <[EMAIL PROTECTED]>
___
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]


Re: [freenet-support] MIRC?

2005-04-25 Thread Mika Hirvonen
On 4/26/05, vinyl1 <[EMAIL PROTECTED]> wrote:
Matthew wrote:"The usual open-source code security checks?Don't we have something?I
never bothered to investigate this, being a trusting sort, but isn't
there some kind of hash total or crc or digital signature?
There's http://www.freenetproject.org/snapshots/MD5SUM, but it hasn't been updated in ages.

If
I were trying to attack Freenet, the best way would probably be a
social engineering one, persuading inexperienced users to download a
rather unsafe freenet.jar, perhaps from a spoof site.  They
wouldn't even notice the kind of thing Maps Baps was looking at, and my
suggestions would be way over their heads.
Well, the standard way of preventing users from downloading trojaned
binaries (or sources) in the open source world is to digitally sign the
packages and/or provide checksums (signed, of course). Currently, this
isn't feasible for the Freenet project, because one way to compromise
even signed code/binaries is to compromise the person doing the
signing. All the attacker needs to do is arrest one of the core
developers and force him to sign compromised code. We need a way to
sign code where the signing process requires several developers to
collaborate in order to sign something, and a way to mark a developer
as "not trusted anymore".

This is also the reason why there isn't an official Freenet freesite.
Is
there any security check to insure that only genuine nodes containing
100% pure Freenet code are able to connect  to the network?
No, unless we start to use "Trusted" computing.
(http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html) Assuming that we want
anyone to be able to join the network, there's no way of preventing a
node from forging any and all authenticity checks.

--   Mika Hirvonen <[EMAIL PROTECTED]>___
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]

Re: [freenet-support] Installing Freenet with Yum

2005-04-03 Thread Mika Hirvonen
On Apr 3, 2005 5:44 PM, Peter J. <[EMAIL PROTECTED]> wrote:Is the problem on my side or on the nightwatch.mine.nu site side?
Local checksums match. Try redownloading the packages. 
--   Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
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]

Re: [freenet-support] Getting started question...

2005-02-27 Thread Mika Hirvonen
On Sun, 27 Feb 2005 13:46:37 -0500, Don Gregory <[EMAIL PROTECTED]> wrote:
> After initially setting up Freenet, (I set it to announce in the config)
> will it only download and cache sites I try to visit, or if I leave it
> running, will it just start to spider stuff automatically up to my
> store's set MB limit?

It will not spider stuff, but the node will cache most of the data
that passes thru it. It does not care whether you or someone else
requested it.

-- 
  Mika Hirvonen <[EMAIL PROTECTED]>
___
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]


Re: [freenet-support] Freenet on a small network

2005-02-17 Thread Mika Hirvonen
On Thu, 17 Feb 2005 21:25:34 -0800, siddharth taneja <[EMAIL PROTECTED]> wrote:

> I was wondering as to how I could get freenet running on a small network of 
> nodes, not connected to the internet. I just want the particular nodes to be 
> part of the freenet network.

First, if you're using a non-public IP address space (10.0.0.0/8,
172.16.0.0/12 or 192.168.0.0/16), set localIsOk=true in each node's
config file.

Then, start up one of the nodes without a seednodes.ref. Once it's
online, go to http://localhost:/servlet/nodestatus/myref.txt and
save it as seednodes.ref. Copy the seednodes.ref to all other nodes
and start them up.

Also, setting maxHopsToLive to something lower than 20 is a good idea
to prevent unnecessary RouteNotFound errors. The ideal value depends
on the number of nodes in your private network.

-- 
  Mika Hirvonen <[EMAIL PROTECTED]>
___
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]


Re: [freenet-support] Modem lines MTU?

2005-01-20 Thread Mika Hirvonen
On Thu, 20 Jan 2005 11:49:12 +0200, Constantine Dokolas
<[EMAIL PROTECTED]> wrote:

> Hmm... I thought there was an easier way... whatever. I must remember old
> PPP connection logs (or was that some other protocol?).

Yes, PPP is used to encapsulate TCP/IP over modem lines. PPP's
derivates (PPPoE and PPPoA) are used on some ADSL networks.

> FYI, I tested this in the company LAN and the largest value that got
> through was 1472.

Ethernet's MTU is 1500. IP uses 28 bytes, so that leaves 1472 bytes
for data. UDP uses additional 8 bytes and TCP 20 bytes.

--
  Mika Hirvonen <[EMAIL PROTECTED]>
___
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]


Re: [freenet-support] Modem lines MTU?

2005-01-20 Thread Mika Hirvonen
On Thu, 20 Jan 2005 11:18:47 +0200, Constantine Dokolas
<[EMAIL PROTECTED]> wrote:
> Ben Golding wrote:
> > I think 576 is the recommendation for best performance whether on ADSL
> > or dial-up, several sites seem to confirm this eg:
> >
> > http://www.jimschrempp.com/features/computer/mtuspeed.htm
> >
> > MTU = 1500 is normal for Ethernet LANs.
> 
> How can I find out the MTU for my dial-up on a W2K machine?
(I'm assuming here you're familiar with the command line)

First, get your gateway's IP address with ipconfig.

Then, start pinging it with the dont-fragment bit set:

ping -f -l 1500 your.gateway.example

If you get this error message: "Packet needs to be fragmented but DF
set.", decrease the packet size (1500 bytes), otherwise increase it.
Start out with large increases/decreases and keep decreasing the
amount you change the packet size. Eventually you'll reach a point
where increasing the packet size by one byte results in the error
message mentioned above. That is your MTU.
___
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]


Re: [freenet-support] jcpuid and jbigi

2005-01-13 Thread Mika Hirvonen
Darren kirjoitti:
On Fri, Jan 07, 2005 at 07:09:52AM +0200, Mika Hirvonen wrote:
Basically, I compiled my own libjbigi-linux-none.so and put it in 
/usr/lib64 (Fedora Core 3's directory for 64-bit libs) and added 
-Djava.library.path=/usr/lib64 to the command line starting Freenet (the 
environment variable JAVA_HOME needs to be set, too).
Hrm, I tried this and the following occurred...
INFO: Non-optimized native BigInteger library 'jbigi-linux-none' loaded
from somewhere in the path
So far so good..
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x002b00341ca2, pid=4111, tid=1086048608
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-b64 mixed mode)
Try the latest JVM (1.5.0_01).

--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
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]


Re: [freenet-support] jcpuid and jbigi

2005-01-06 Thread Mika Hirvonen
Darren wrote:
Well, I cant answer that question, but you may be following a false
trail.   I'm essentially in the same boat, since I run gentoo under
amd64 and cannot get support for those libraries.   
I did some preliminary tests yesterday, and managed to get 
NativeBigInteger and Native FEC loaded, but jcpuid doesn't work yet.

Basically, I compiled my own libjbigi-linux-none.so and put it in 
/usr/lib64 (Fedora Core 3's directory for 64-bit libs) and added 
-Djava.library.path=/usr/lib64 to the command line starting Freenet (the 
environment variable JAVA_HOME needs to be set, too).

On Thu, Jan 06, 2005 at 10:46:13PM +0100, Anders Bruun Olsen wrote:

I can see that both jcpuid and NativeBigInteger is in the Contrib module
in CVS, and at least compiling libjcpuid-x86-linux.so isn't a problem,
but how do I get freenet to actually use that, and how do I get jbigi
compiled and get freenot to use that as well?
Do you have the latest freenet-ext.jar? It contains Linux binaries for 
NativeBigInteger and jcpuid.

And will it actually help with my CPU usage/speed problem?
Yes.
--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
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]


Re: [freenet-support] docs for x86_64 ?

2004-12-29 Thread Mika Hirvonen
[EMAIL PROTECTED] wrote:
Wanted to try to get freenet running in Linux x86_64, tried but wouldn't work
and was wondering if there was any info on making it work
What exactly did you do? I had no trouble getting Freenet to run on 
x86_64 with Sun's latest JVM, but getting native FEC and 
NativeBigInteger to work is a bit trickier. I'll post instructions when 
I figure it out myself.

By the way, I tried going to dodo.freenetproject.org and was greeted by
"Placeholder for lawtracker.org website"
What's lawtracker.org ?
I don't know.
--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
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]


Re: [freenet-support] "cannot find the main class" error

2004-12-15 Thread Mika Hirvonen
Konstantin Svist wrote:
java -cp freenet.jar Freenet.node.Node
but that results in
'Exception in thread "main" java.lang.NoClassDefFoundError:
Freenet/node/Node'
I'm using Windows 2000 with LiteStep.
Any suggestions?
Try:
java -cp freenet.jar;freenet-ext.jar freenet.node.Main
--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu//
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Errors

2004-12-12 Thread Mika Hirvonen
Rathga wrote:
Hi there
Since 5100 (I think) I've been getting the following errors in the log 
and freenet has not been connecting.  Anyone know how to fix this?

12-Dec-2004 01:09:32 (freenet.node.Main, main, ERROR): Unexpected 
Exception: java.io.EOFException
java.io.EOFException
at freenet.support.io.ReadInputStream.readUTFChar(ReadInputStream.java:223)
at freenet.support.io.ReadInputStream.readToEOF(ReadInputStream.java:134)
at 
freenet.support.io.CommentedReadInputStream.readToEOF(CommentedReadInputStream.java:45) 

at freenet.support.io.ReadInputStream.readToEOF(ReadInputStream.java:184)
at freenet.FieldSet.privParse(FieldSet.java:521)
at freenet.FieldSet.parseFields(FieldSet.java:454)
at freenet.FieldSet.parseFields(FieldSet.java:390)
at freenet.FieldSet.(FieldSet.java:83)
at freenet.node.Main.loadNodeFile(Main.java:2936)
Looks like the node file is corrupted. Delete it and restart your node. 
Unfortunately, this also means that your node's identity is gone, so the 
network will need to get to know your node again.

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


Re: [freenet-support] Freenet with fedora core 2 ?

2004-11-08 Thread Mika Hirvonen
Eric JANTZEN wrote:
Hello,
I try to use Freenet 5099 with Fedora Core 2 (2.6.8-1.521)
but that seem not work.
Who use this Fedora version? and with what java version,
and what Freenet configuration?
Thank's
___
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]
There's two ways to install Java and Freenet, the Quick and Dirty way, 
and the elegant way.

Elegant way:
I'm using Freenet with Fedora Core 2 and JPackage's Sun 1.5.0 JRE. 
Unfortunately, JPackage can't distribute binary RPMs of Sun's JREs, so 
you'll need to download the nosrc package from JPackage 
(www.jpackage.org/rpm.php?id=3089) and the jdk-1_5_0-linux-i586.bin file 
from Sun and rebuild the package manually. First, you'll need 
jpackage-utils. Insert the following lines to yum.conf:

[jpackage15-generic]
name=JPackage 1.5, generic
baseurl=http://mirrors.sunsite.dk/jpackage/1.5/generic/free/
gpgcheck=0
[jpackage15-fc2]
name=JPackage 1.5 for Fedora Core 2
baseurl=//http://mirrors.sunsite.dk/jpackage/1.5/fedora-2/free/
gpgcheck=0
Then install jpackage-utils with:
yum install jpackage-utils
To rebuild the JRE RPM, install the nosrc package (rpm -ivh 
java-1.5.0-1jpp.nosrc.rpm), put the dk-1_5_0-linux-i586.bin into 
/usr/src/redhat/SOURCES/ and run the following command:
rpmbuild -bb /usr/src/redhat/SPECS/java-1.5.0-sun.spec
After it's finished, install the JRE with:
rpm -Uvh /usr/src/redhat/RPMS/i386/java-1.5.0-sun-1.5.0-2jpp.i386.rpm

After that, it's relatively smooth sailing. Add the following lines to 
/etc/yum.conf:

[freenet]
name=Freenet
baseurl=http://nightwatch.mine.nu/freenet/stable/
gpgcheck=0
Then, install the node with:
yum install fred fred-jbigi fec-native
set it to start automatically on reboot:
chkconfig --level 345 fred on
and start it with:
service fred start
Quick And Dirty:
Or, if you prefer to do things the Sun way, download and install Sun's 
1.5.0 JRE RPM, then add the JRE (the JRE directory should be in 
/usr/java) bin directory to the path (a proper place to do that is 
/etc/profile.d/java.sh). Remember to set the java.sh as executable 
(chmod +x java.sh) and logout and login for the changes to work. Extract 
http://freenetproject.org/snapshots/freenet-latest.tgz to a suitable 
directory and run start-freenet.sh.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/


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

Re: [freenet-support] Can't reach nothing

2004-11-05 Thread Mika Hirvonen
jmlm wrote:
Col.Steve Austin Ret. wrote:
-BEGIN PGP SIGNED MESSAGE-
In message <[EMAIL PROTECTED]>, jmlm <[EMAIL PROTECTED]> wrote:
 

Hi,
I'm running latest freenet on a linux box without firewall
during the first hour, I can reach localhost on port  but 
nothing else... After a time (2-3  hours) I can't reach 
localhost: but a netstat tells me that a java program is 
listening on ports -3891-8891.( The 8891 - Node distribution 
System - is still OK)

  

[snip]
 

Oct 31, 2004 4:17:15 PM (freenet.node.states.announcing.Announcing, 
YThread-7, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 4:32:15 PM (freenet.node.states.announcing.Announcing, 
YThread-3, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 4:47:15 PM (freenet.node.states.announcing.Announcing, 
YThread-14, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 5:02:15 PM (freenet.node.states.announcing.Announcing, 
YThread-30, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 5:17:15 PM (freenet.node.states.announcing.Announcing, 
YThread-32, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 5:32:15 PM (freenet.node.states.announcing.Announcing, 
YThread-35, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 5:47:15 PM (freenet.node.states.announcing.Announcing, 
YThread-42, NORMAL): Found 0 announcement targets for this node.
Oct 31, 2004 6:02:15 PM (freenet.node.states.announcing.Announcing, 
YThread-42, NORMAL): Found 0 announcement targets for this node.

  


The first thing that brings to mind is reseed node:
and run WITH firewall, but poke holes for freenet to allow
outgoing on all ports, and incoming on listenport
- -- my email address is bogus, do NOT use it.
-BEGIN PGP SIGNATURE-
Version: N/A
iQEVAwUBQYVA68/fycBOJ+clAQEXRAf/TysST/lgkaXAPIMcnTdgzNV6RpnkMDdd
DN0IkxcACMKuYYDNjZmMU92Y2kYXGrJf1EScy/0QzgKnX0CcRVe4w4WtljJZSvDW
A9N0k9x8uBXgEze3ag1HWglKc4IfND3nSLIUROyR+dSHcG3wLEo+etMdkd64f+8V
c2I4cfNvFBzRh4fMO70HRFHWF7l4RD7dXwoIuO3Q7E2ia+Ve34kvOLLlEDWBc8Q/
PQOkOL/mJKuJAeX0OnlFIxwelqkCAcSvFy97Xjbzucvrtclv9ZEU+7CF8Hslfh/i
N3HyYuVWWzm0MmRUenGd6iNw595IppDgL5VO6DUblXMzPsQhaLDAng==
=jf9A
-END PGP SIGNATURE-
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at 
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]
 

It works fine after a reinstall 
But is there a way to limit the number of java process : My box is not 
powerfull (PII 233) and it takes all the CPU ?
In the config file: set doCPULoad to true and adjust maximumThreads and 
tfAbsoluteMaxThreads if necessary. If doCPULoad is true, the node will 
try to limit the amount of traffic it handles if CPU usage is high. The 
latter two are soft and hard limits for the number of threads that the 
node will generate. If the node is sluggish even after setting doCPULoad 
to true, adjust maximumThreads and tfAbsoluteMaxThreads downwards 
(defaults are 120 and 500).

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/


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

[freenet-support] Re: Bind external Port to another IP

2004-10-27 Thread Mika Hirvonen
BlueStar88 writes:
It would confuse the freenet routing at the worst case!?
No. Routing uses node identities, which are not bound to a single IP.
I don't know exactly, but if i could bound to a specific ip instead 
to 0.0.0.0 there could be a chance to limit the use of only the same 
ip as source ip too..
Did you try setting ipAddress in the config file?
Is there a way to make the node using only one address!? Or is there 
generally no way to avoid the use of multiple virtual addresses on 
outgoing connections?
Yes.
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: seednodes and update snapshot

2004-09-08 Thread Mika Hirvonen
Newsbyte writes:
I'm not sure. I thought it WAS changed. There has been talk on the devl list
about it, anyway, and I remember vaguely that toad (I think) said the right
solution was to update the seednodes.ref, but set it on an earlier date, or
something like that.
That was before toad improved routing table sorting. Setting the last 
modified date of seednodes.ref to the past prevents the node from reading it 
at all unless absolutely necessary.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: seednodes and update snapshot

2004-09-08 Thread Mika Hirvonen
Björn Westerlund writes:
Ok, here it is...
I'm a comlete newbie, i probably could have found this information 
elsewere, i´v trid Frost, but cant see my on querstion after tree days 
(much less the answer), but if i do anything worng, please feel free to 
be angry!

This is my question:
I use windows and have the very convinent "update snapshot" what i worry 
about is that when i use this, i download a new seednnodes.ref. does 
this mean that i erase everything my node learnt lately? shuold i back 
No. When the node reads the seednodes.ref, it doesn't delete anything from 
the routing table, unless it's full. And even then it only deletes node 
references that are useless (for example: nodes that are can't be contacted 
or nodes whose performance is abysmal). There is a small grace period for 
newbie nodes, but most of the time the node tries to keep the best nodes in 
the routing table.

up my old seedodes.ref before using "update snapshot" or what sould i do 
The routing table is not stored in seednodes.ref, so backing it up is 
useless. Once your node is properly connected to the network, you don't need 
seednodes.ref anymore. Reseeding should be done only during 
non-backwards-compatible upgrades or if your node has trouble connecting to 
the network.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/

___
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: Setting up freenet - no connection to the world outsite

2004-08-31 Thread Mika Hirvonen
René Keller writes:
Hi everybody,
we're trying to set up a performant Freenet-Server. We've downloaded 
Build 5015 (0.5,1.46,5015) and set the "listenPort"-Parameter to 31575 - 
You're using an obsolete version. Download 
http://www.freenetproject.org/snapshots/freenet-latest.jar (and rename it to 
freenet.jar, overwriting the old freenet.jar). Also, download 
http://www.freenetproject.org/snapshots/seednodes.ref (and overwrite the old 
seednodes.ref with it).

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: Freenet causing crashes...

2004-08-18 Thread Mika Hirvonen
Don Gregory writes:
I just recently setup a node, and I'm trying to let it run for a while
to give it a chance to spread its tendrils so to speak.  I'm at the
point now where it's had maybe 4-5 hours to run over my 3Mb cable
connection and I'm STARTING to get a little responsiveness from the
network.
Problem is, I want to leave it running for several hours to fully
propagate itself, whatever, but it seems to be gobbling up a LOT of CPU
power.  Well, not the Freenet executable, but the java engine running
The freenet.exe is just the system tray application, not Freenet itself.
it.  That by itself wouldn't be a problem, but it seems to be making my
computer crash.  After leaving it running for 15 minutes or so, my
computer will spontaneously crash/shut-down.
Sounds like that your CPU is overheating.
I tried setting the CPU priority in the config tool to be below normal,
I tried setting the process priority in Task Manager to be below normal
for both the javaw.exe and freenet.exe processes, but it's still
devouring over 90% of my CPU on average, and it's still crashing my
Programs with low priorities still can consume most of the CPU time, if 
there are no other CPU-intensive programs running.

Sun Java 2 Runtime Environment, SE v1.4.2_04
Try upgrading to 1.4.2_05
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: node on a server, and at home?

2004-08-10 Thread Mika Hirvonen
S writes:
On Tue, 10 Aug 2004 10:31:01 +0300
"Markus" <[EMAIL PROTECTED]> wrote:
Ouch, typo in Fuqids configuration (wrong port). Now it doesn't say that
node is overloaded or down, but I still can't get it to download anything
through stunnel, logs say "Fatal error in download thread: EFCPError: recv
failed: 10054".
10054 is the Winsock error code for "Connection Reset," which is likely
indicative of a bad setup on the remote side. As Mika mentioned, first
ensure that the remote node is allowing your IP address to connect to
whichever service you're looking for - mainport or FCP. (For FUQID, it's
FCP, and note that you lose anonymity making FCP requests to a node you
aren't operating locally.) These are set via freenet.conf options on the
server running the node.
One gotcha is that when you're using a tunnel, is that the node sees the IP 
address of the _endpoint_ of the tunnel, not the real source IP. So if 
you're tunneling straight to the computer running the node, access from 
localhost is enough.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: node on a server, and at home?

2004-08-09 Thread Mika Hirvonen
[EMAIL PROTECTED] writes:
I control a unix (linux enterprise) server for my web sites.
Can I run a node on this and access it from home?  Obviously typing
As long as you can install a decent JVM (Sun 1.4.2_05 seems to work 
reasonably well), yes.

http://127.0.0.1: will not pull it up since it is at a server farm in
another state. (USA).
You need to set fcpHosts (for client programs like FIW, Fuqid, Frost etc) 
and mainport.allowedHosts (the web interface) to allow access from other 
computers. Also, using a tunnel (SSH, SSL or VPN) to access the node would 
be wise. And even then you should refrain from inserting big files via FCP, 
because it's somewhat bandwidth-intensive.

Also, if I have a router at home and 2 comps (XP machines) can I have each computer running a node?
Yes, but the limiting factor might be your bandwidth, and your two home 
nodes will probably end up competing for it. It's better to run a single 
node and give it more bandwidth.

With the above resources how do I get the most out of it? (configuration).  My BIGGEST 
thing is speed.  I hate not finding what I am looking for and I hate file not founds.
What would be better, unstable or stable?
Stable. The network is bigger, and most of the recent performance tweaks are 
in stable, too. You should run unstable only if you don't mind occassional 
network meltdowns, updating daily and/or want to help with Freenet 
development.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: anonymity(NOT)

2004-08-04 Thread Mika Hirvonen
Paul Derbyshire writes:
On 4 Aug 2004 at 15:38, Mika Hirvonen wrote:
Yes, it's trivial for Them to know whether someone runs a Freenet node or 
not, but knowing what the user was doing with that node is an another 
matter (assuming that the node is physically secure, has encrypted drives 
and the user is invulnerable to rubber-hose cryptography).
Erm ... "rubber-hose cryptography"? WTH is that?
Spraying the user with water until he/she tells you the decryption keys. In 
other words, any means of intimidation/coercion/torture to make the user 
tell you the correct decryption key(s),

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: anonymity(NOT)

2004-08-04 Thread Mika Hirvonen
miguel writes:
Just wondering... with all this encryption permeating Freenet 
there remains a gaping hole through which the nazi's could saunter through
with their spy tools and legal bypasses to incriminate any and all Freenetters
they choose to incriminate...  the ip address/port# of all.  Even using a third party
dns service wouldn't help.  Maybe not this day, but in light of current trends in
government policies, in the not-too-distant future they will be slipping in and snagging
whomever they choose by the ip address and will thus render useless all Freenet anonymity measures.
Is there not a way to spoof the ip addresses, or mask the ip addresses so that our uncles 
and big brothers can't come in and bring down the house(s)?  
Yes, it's trivial for Them to know whether someone runs a Freenet node or 
not, but knowing what the user was doing with that node is an another 
matter (assuming that the node is physically secure, has encrypted drives 
and the user is invulnerable to rubber-hose cryptography).

It is possible to write alternate transports for Freenet, though. For 
example, nodes could use email disguised as spam, Usenet messages or other 
non-obvious ways of communicating with each other. However, for this to work 
at all, routing needs to be much more accurate, because the latency is 
several orders of magnitude greater.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] Route Not Found

2004-08-01 Thread Mika Hirvonen
Heine Laursen wrote:
Couldn't retrieve key: [EMAIL PROTECTED]/TFE//
Hops To Live: 15
Error: Route Not Found
Attempts were made to contact 0 nodes.
0 were totally unreachable.
0 restarted.
0 cleanly rejected.
0 backed off.
These lines tell you that your node couldn't send the request to any 
node. This is usually caused by having no node references or connection 
problems.

The log also says somthing about bad node references. Maby that's the 
problem?
Try downloading http://freenetproject.org/snapshots/seednodes.ref.bz2, 
decompress it and put it into Freenet's directory.
Also, check the bandwidth limit from your config file. It should be in 
bytes/second, not kilobytes/second.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: Stunnel & Freenet

2004-07-16 Thread Mika Hirvonen
David Masover writes:
I am leaving Freenet running on my router, in the hopes that FProxy will
eventually start responding, and that when it does, it will eventually
run faster.
Would it be worthwhile to also run a transient node on my local machine,
instead of using FProxy on the router?  (There's only one switch between
No. The nodes would end up fighting for bandwidth. If your local machine is 
vastly superior to your router, you should set up port forwarding (if you 
need it) and run your node on your local machine instead of running it on 
your router.

them, and if I can't trust my own network hardware, what can I trust?)
How certain can I be that it will find the router as a (very close) peer
node?
In theory (and practice, according to Kenman's tests), NGRouting favors fast 
nodes, but due to request intervals, the local node will also contact other 
nodes.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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: Stunnel & Freenet

2004-07-16 Thread Mika Hirvonen
Phil writes:
Dear Toad et al,
I am a fan of freenet and its ideals, but the vulnerability to local
evesdropping now seems to me to be a BIG flaw, given the Orwellian environment.
Local eavesdropping? Do you mean wiretapping your Internet connection or 
installing a trojan to your computer?

If it's the former, your favourite Three-Letter-Agency can see that you're 
running a Freenet node, but breaking the encryption isn't probably worth the 
cost.

If it's the latter, you're screwed.
I read somewhere that Toad said it is an aim to eventually encrypt all traffic
between nodes.
I'm sure this has been thought of before, but is there any reason at all why
nodes or a growing subset of nodes can't simply each point their traffic through
Stunnel or something similar so that internode traffic is SSL-encrypted with
Open SSL?  It's free and the Stunnel developer may even like the idea.
Node-to-node traffic _is_ encrypted. FCP and mainport are not. You can use 
stunnel or ssh to access your node remotely, but FCP isn't that efficient, 
if your client software doesn't do native FEC. If this is the case, you'll 
be better off running an another node locally.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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] NPE in http://localhost:8888/servlet/nodestatus/inboundRequests.txt with build 60158

2004-07-15 Thread Mika Hirvonen
15.7.2004 12:46:37 (freenet.thread.YThreadFactory$YThread, YThread-29, ERROR): 
Unhandled exception java.lang.NullPointerException in job [EMAIL PROTECTED]
java.lang.NullPointerException
   at 
freenet.client.http.NodeStatusServlet.sendPerHostStats(NodeStatusServlet.java:2074)
   at freenet.client.http.NodeStatusServlet.doGet(NodeStatusServlet.java:193)
   at javax.servlet.http.HttpServlet.service(Unknown Source)
   at javax.servlet.http.HttpServlet.service(Unknown Source)
   at freenet.interfaces.servlet.ServletContainer.handle(ServletContainer.java:82)
   at 
freenet.interfaces.LocalNIOInterface$ConnectionShell.run(LocalNIOInterface.java:268)
   at freenet.thread.YThreadFactory$YThread.run(YThreadFactory.java:285)
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/J0~0J7ajDJE/
___
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] build 60149: request/insert histograms broken?

2004-07-14 Thread Mika Hirvonen
My build 60149 node has been up for about 2 hours now, and according to 
http://localhost:/servlet/nodestatus/inbound_request_histogram.txt, it 
hasn't handled a single inbound request yet. OCM shows lots of inbound 
requests, though. Also, I'm seeing a fair number of these in the logs:

14.7.2004 10:53:53 (freenet.PeerHandler, Network reading thread, NORMAL): Executing 
request before NodeRef set on [EMAIL PROTECTED] (DSA(006e 9d01 9aa1 75d2 ae35  0a05 
72b2 1a53 5be8 c50c),null): outbound attempts=0:0/0 for [EMAIL PROTECTED] (DSA(006e 
9d01 9aa1 75d2 ae35  0a05 72b2 1a53 5be8 c50c),null): outbound attempts=0:0/0
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/4Vtxakmi-fI/
___
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: Freenet autonomy

2004-07-14 Thread Mika Hirvonen
miguel writes:
Just curious.  Does Freenet depend on one or a few specific machines to
continue?  In other words, is there any server(say Matthew's or Ian's)
that is running code or maintaining data without which Freenet would
die, or is Freenet truly living a life of it's own out in the nodelands?
Freenet itself is completely decentralized. Most new users do download 
Freenet and seednodes from a single 
location (http://freenetproject.org/snapshots/), but it's not a single 
point of failure. New users can ask any node operator to allow them to 
download Freenet and seednodes via the distribution servlet. Of course, the 
node operator has to be trustworthy.

BTW, don't quote the whole digest when writing a message to the mailing 
list.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
 Get Freenet from: http://cs181027153.pp.htv.fi:8891/4Vtxakmi-fI/

___
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] build 60148 looks for Source fields in _all_ messages?

2004-07-13 Thread Mika Hirvonen
I'm getting loads of these:
13.7.2004 15:10:48 (freenet.HighLevelMessageFactory, Network reading thread, ERROR): 
Caught freenet.InvalidMessageException: Can't find Source field on [EMAIL PROTECTED] 
MuxConnectionHandler[conn=[tcp/connection: 220.213.17.254:27154>local,[EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], identity=[DSA(b9e8 a6dc 61ce 69ea e0b9  
dece 27fd 3492 c2ca e8a7)], 
sock=[Socket[addr=/220.213.17.254,port=27154,localport=13462]], 
chan=[java.nio.channels.SocketChannel[connected local=/82.181.27.153:13462 
remote=/220.213.17.254:27154]], peer=[Peer [DSA(b9e8 a6dc 61ce 69ea e0b9  dece 27fd 3492 
c2ca e8a7) @ 220.213.17.254:27154 (1/3)]], utbound=[false]] trying to parse FNP message:
DataRequest
RequestInterval=32560.675246668114
HopsToLive=4
UniqueID=1b45916c74789aa1
SearchKey=830c27445ac9a47544d1c889505dfea4a412a27b140302
EndMessage
freenet.InvalidMessageException: Can't find Source field on [EMAIL PROTECTED] 
MuxConnectionHandler[conn=[tcp/connection: 220.213.17.254:27154>local,[EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], identity=[DSA(b9e8 a6dc 61ce 69ea e0b9  
dece 27fd 3492 c2ca e8a7)], 
sock=[Socket[addr=/220.213.17.254,port=27154,localport=13462]], 
chan=[java.nio.channels.SocketChannel[connected local=/82.181.27.153:13462 
remote=/220.213.17.254:27154]], peer=[Peer [DSA(b9e8 a6dc 61ce 69ea e0b9  dece 27fd 3492 
c2ca e8a7) @ 220.213.17.254:27154 (1/3)]], utbound=[false]]
at freenet.message.Request.(Request.java:57)
at freenet.message.DataRequest.(DataRequest.java:36)
at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at freenet.MessageHandler.getMessageFor(MessageHandler.java:110)
at freenet.HighLevelMessageFactory.create(HighLevelMessageFactory.java:52)
at freenet.PeerPacketMessageParser.parse(PeerPacketMessageParser.java:48)
at freenet.PeerPacketParser.processMessage(PeerPacketParser.java:268)
at freenet.PeerPacketParser.process(PeerPacketParser.java:201)
at freenet.MuxConnectionHandler.process(MuxConnectionHandler.java:462)
at 
freenet.transport.ReadSelectorLoop.processConnections(ReadSelectorLoop.java:491)
at freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:836)
at freenet.transport.ReadSelectorLoop.run(ReadSelectorLoop.java:544)
at java.lang.Thread.run(Thread.java:566)
13.7.2004 15:10:48 (freenet.PeerPacketMessageParser, Network reading thread, NORMAL): 
Recognized type 1 but parse returned null for message from [EMAIL PROTECTED] 
MuxConnectionHandler[conn=[tcp/connection: 220.213.17.254:27154>local,[EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], identity=[DSA(b9e8 a6dc 61ce 69ea e0b9  
dece 27fd 3492 c2ca e8a7)], 
sock=[Socket[addr=/220.213.17.254,port=27154,localport=13462]], 
chan=[java.nio.channels.SocketChannel[connected local=/82.181.27.153:13462 
remote=/220.213.17.254:27154]], peer=[Peer [DSA(b9e8 a6dc 61ce 69ea e0b9  dece 27fd 3492 
c2ca e8a7) @ 220.213.17.254:27154 (1/3)]], utbound=[false]] of length 154
--
  Mika Hirvonen <[EMAIL PROTECTED]>   
  http://nightwatch.mine.nu/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] How to give out node reference?

2004-07-11 Thread Mika Hirvonen
Weiliang Zhang wrote:
I want to run a few nodes on my local machine and let them 
communication within the circle. The problem is how do I generated 
seednodes.ref files for these nodes? I tried using the 'node' file 
created by freenet, giving it to another node as the seednodes.ref, 
but that didn't seem to be working, maybe it's because of the missing 
fields for the estimator. Any ideas?
there's two ways:
http://localhost:/servlet/nodestatus/myref.txt
java -cp freenet.jar freenet.node.Main --export myref.ref
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


Re: [freenet-support] What are distribution servlets used for?

2004-07-11 Thread Mika Hirvonen
Weiliang Zhang wrote:
Saw the port 8891 in freenet.conf only today What are distribution 
servlets used for? My nodes seems to be running ok with this port 
firewalled.
The distribution servlet allows other people to download Freenet from 
your node, along with some node references. Most new users use 
http://freenetproject.org/snapshots/seednodes.ref as their initial node 
references, so those nodes are getting swamped with requests from newbie 
nodes. Also, freenetproject.org a single point of failure to new users. 
If they can't access freenetproject.org due to censorship, they still 
download Freenet and seednodes from a friendly node's distribution servlet.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: HOWTO start up FREENET automaticly with Runlevel Scripts - The DIRTY solution...

2004-06-29 Thread Mika Hirvonen
Axel Werner writes:
ok i got it now! Was a darn birth but at least it works "quick n dirty". You 
Been there, done that. :)
1st Line will extent the PATH enviroment Variable to inclusde the JAVA 
executables. This is why ever, NOT default in the SuSE 9.0 distribution!
Blame Sun, their RPMs are pretty awful. That's why I use jpackage.org's JRE/SDK 
RPMs. You'll need to rebuild them due to licensing issues, but they're much 
more refined that Sun's own. They also work well with with my 
own Freenet RPMs (available at http://nightwatch.mine.nu/freenet/)

2nd Line just changes PWD to freenet home. seems freenet and java needs that 
to find anything.
Java doesn't mind being in a different directory as long as freenet.jar
and freenet-ext.jar are somewhere in the classpath. Freenet's default
config files and startup scripts do assume that everything is in the
current working directory. Of course, you can override the default paths
in the configuration file and use java freenet.node.Main -p
/path/to/freenet.conf to start the node.
--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: local host

2004-06-23 Thread Mika Hirvonen
Robert Greenage writes:
This never happened prior to installation and running of freenet. Are you
saying that 127.0.0.1 is actually a virtual machine ip address and does not
exist in real time?
Yes. Every computer that supports TCP/IP has the same localhost address 
(127.0.0.1), and even if you don't have a network card (or a modem), you can 
still use 127.0.0.1.

By default, Freenet uses localhost for ports  (web interface) and 8481 
(FCP, or Freenet Client Protocol) to prevent other computers from accessing 
them.

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: local host

2004-06-23 Thread Mika Hirvonen
Robert Greenage writes:
All my programs are trying to access the internet through 127.0.0.1. This
127.0.0.1 is the address for localhost, so there's no need to worry.
127.0.0.1 is a special address which always refers to your computer, so no 
data is going to any of the three-letter agencies. Localhost is usually used 
for testing and connecting to local proxies and tunnels.

occurs even though freenet is not running,I have removed all proxy 
configurations from my browsers..mozilla,firefox,netscape and even ie( 
which I use for windows updates). I am using 98SE,192 RAM, PIII 500MZ, 10 
gig hdd(master) and a 30 gig hdd(slave). Modem connection. How can I stop 
this from occuring? Anyone have any thoughts? This does lend itself to 
Traffic to and from localhost is normal. 

--
 Mika Hirvonen <[EMAIL PROTECTED]>
 http://nightwatch.mine.nu/
___
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: Stable build 5083

2004-05-30 Thread Mika Hirvonen
Jonathan Towle writes:
Well, I did reseed.
But it seems to me that reseeding just adds new seed nodes to your file,
without getting rid of the old ones.  Is that the case?  If so, how could I
Yes, but the old references shouldn't cause any trouble.
get a completely new seednode file?
If you really want to, you can delete these files to erase your routing 
table: ngrt* lsnodes* and rt*. Then reseed your node.

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


Re: [freenet-support] freenet store compromised?? netbus

2004-05-28 Thread Mika Hirvonen
tripolar wrote:
Hello
I am running freenet on a linux system. All seemed well until I checked 
out firestarter ( GUI firewall program).
When I noticed requests from my machine 192.168.*.*:12345 to 81.53.*.* . 
Under service it says "netbus" . Thinking this was not a "good thing" I 

Ok any ideas?
IMHO, this is a false alarm. Netbus is a windows trojan that by default 
uses port 12345. Your node just randomly chose port 12345 to use as a 
source port for an outgoing connection.

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


Re: [freenet-support] Re: Traffic usage?

2004-05-24 Thread Mika Hirvonen
Toad wrote:
On Mon, May 24, 2004 at 09:05:42AM +, Wayne McDougall wrote:

So I've been working towards a Linux traffic shaper that gives sets no limits 
on traffic with domestic IP addresses and limits international traffic so the
total monthly limit hits 5 Gb (my cap).

HOW do you determine what is local? Freenet could maybe support this.
Isn't NGRouting supposed to detect this? If international traffic is 
capped and domestic traffic is not, shouldn't domestic nodes appear to 
be much faster and thus favored over nodes which are located abroad?

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


Re: [freenet-support] freenet can't find Java

2004-05-01 Thread Mika Hirvonen
Daniel Lewis wrote:
I downloaded and installed Java in /usr/java, but when I run freenet it says
"starting freenet now: Done" then "nice: java: no such file or directory".  I'm
running Fedora Core 1, and am somewhat new to Linux so I'm not sure how to fix
this problem.  Thanks
It seems that the java bin directory isn't in your path, so the startup 
scripts can't find it.

To fix this, go to /etc/profile.d and create a file called java.sh with 
the following contents:

--clip--
export JAVA_HOME="/usr/java/j2sdk1.4.2_03"
export JAVA_PATH="$JAVA_HOME"
export PATH="$PATH:$JAVA_HOME/bin"
--clip--
Remember to substitute /usr/java/j2sdk1.4.2_03 with the actual directory 
that you installed Java in.

After you've created the file and set it as executable (chmod +x 
java.sh), logout and login. freenet startup scripts should work now.

--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
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: permanent node Q's

2004-04-08 Thread Mika Hirvonen
runya sairon writes:

i run my T1 ( win xp ) behind a DI-604 router/firewall.  intially freenet 
works fine in a transient node, getting me speed up to 500kb's, 125 kb's on 
average. im not complaining but then i began to think, what if my firewall 
is keeping me from unprecedented speeds? so i did the configuration within 
my firewall settings, and the freenet.ini file , being sure to remove the 
"%" sign before the IP address. after doing so, freenet connected fine, but 
my connection speed dropped down to 100kb's. obviously not better if no 
change at all. so then i hear that if  i run a permanent node i can get 
better speeds ( and better anonymitity? ). to get to my point, i cant figure 
Permanent nodes handle other users' traffic as well, so they "learn" the 
network faster than transient ones. Also, if the data you're requesting is 
popular, it's possible that some other user requested that same data thru 
your node and thus the data can be retrieved quickly.

On the other hand, if you run a permanent node for some time, your node will 
probably consume any and all bandwidth you give it.

out how to make my computer a permanent node. either configuration ( 
In addition to the IP address you've already set, you also need to set 
transient=false (which is the default) and allow incoming traffic to the 
node's listenPort. If you're using a NAT (Network Address Translation) 
router, you'll also need to set up port forwarding from your router to your 
node.

also, does an increased number of splitfile threads mean more efficient 
downloading?
Yes and no. If the splitfile chunks are out there, increasing threads will 
increase the throughput. If you use too many, the allowed request interval 
to other nodes will increase, so your node's performance will suffer because 
it isn't allowed to query the best nodes that often.

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


Re: [freenet-support] node goes offline or changes IP address

2004-04-08 Thread Mika Hirvonen
Pierre Abbat wrote:

What happens to requests for information stored on my node if it goes offline 
for several hours and then comes back? What happens if the IP address 
changes?
 

Node downtime will affect the estimates for your node, so it will get 
fewer requests for some time.

If the IP address changes, the nodes in your RT will get informed of the 
change when you connect to them. Other nodes will get your node's new IP 
address from the ARK (Address Resolution Key) your node inserts when it 
detects that its IP address has changed.

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


Re: [freenet-support] DFI: New container version just inserted today

2004-04-04 Thread Mika Hirvonen
Conrad Sabatier wrote:

On 04-Apr-2004 Troed Sångberg wrote:
 

For Freenet to attract new user - TFE would need to be replaced with DFI.  
Displaying TFE to new users is equivalent with putting up a big sign that  
says "Freenet is dead - no new content is produced here".
   

Hmmm.  Good point.  Let me go hack my node back to talk to stable again.  :-)
 

Bad idea. If you do that, stable users will start to complain about 
inaccessible unstable sites and vice versa. You could release the 
sources and let someone else maintain the spider/index site for stable.

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


Re: [freenet-support] seednodes.ref abnormally large?

2004-03-21 Thread Mika Hirvonen
Max Moritz Sievers wrote:

On Sunday 21 March 2004 13:28, Niklas Bergh wrote:
 

You mean like we do with
http://freenetproject.org/snapshots/seednodes.ref.bz2
   

That's nice to know but update.sh doesn't use it. So I guess most 
Freenet-users download the big uncompressed file.
 

Yes, it does. The code to download and uncompress the bzipped seednodes 
has been there since January. Try downloading 
http://www.freenetproject.org/snapshots/freenet-latest.tgz, it should 
contain the latest version of update.sh.

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


Re: [freenet-support] seednodes.ref abnormally large?

2004-03-21 Thread Mika Hirvonen
Max Moritz Sievers wrote:

This bings me to mind why don't we compress the 
http://freenetproject.org/snapshots/seednodes.ref with gzip or bzip2?
 

We do.

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


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-17 Thread Mika Hirvonen
Paul Derbyshire wrote:

Other http:// URLs are automatically converted by fproxy to point to a 
warning page, so inline images are not displayed.
   

So freesites can't have images? Or can, if the image URLs point back 
 

They can, if you don't use absolute paths and thus stay within Freenet. 
You can have image URLs point to other freesites, too. Just use the 
following format:

Other keytypes (CHK and KSK) can be used, too.

to fproxy rather than a regular web server?
 

Not just image URLs, but any URLs pointing outside Freenet are changed 
to point to a warning page within fproxy.

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


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-16 Thread Mika Hirvonen
Paul Derbyshire wrote:

What about inline images?
 

Other http:// URLs are automatically converted by fproxy to point to a 
warning page, so inline images are not displayed.

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


Re: [freenet-support] doctype and other html tags through fproxy

2004-03-15 Thread Mika Hirvonen
Michal Charemza wrote:

, instead of

Is this due to fproxy's anonymity filter? If so, why does it 
remove/shorten them? Also, I've noticed that the default gateway page 
does have a full doctype tag, why, if
Yes, because you could harvest the visitors' IP addresses by putting the 
DTD to your own WWW server and waiting for the visitors' browsers to 
automatically retrieve it.

is fproxy that removes the tags from freesites, does it let this one 
through?
Fproxy doesn't filter it's own pages, just the freesites.

2.  I have noticed on some pages they have this sort of section in the 
header:


What are all the tags for? Is there a list of all the tags you can put 
in this section somewhere?
These tags were used with TFEE, an index site with an automatic spider. 
DFI's spider might still use them, though.

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


Re: [freenet-support] Freenet woes

2003-12-17 Thread Mika Hirvonen
Jan wrote:

My ISP caps my upstream to 16 KBs, which a single connection indeed
could be. Two downloaders get 6 K if they're lucky and four leechers go
at 2 tops, something like that. When I allowed 8 or more lurkers, they
usually never got their files.
Yeah, I suffer from a low upstream bandwidth cap too.

Yesterday I looked at the web interface of Freenet and saw there were no
less than 400 connections! Speeds were of course mere bits per second...
This is being worked on. One of the developers (toad) is working on 
multiplexing (aka muxing), which would allow the node transmit several 
messages thru one connection simultaneously. After it's implemented, the 
node would need to keep only one connection open per node.

--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
___
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support


Re: [freenet-support] How big is freenet, right now, you think?

2002-11-02 Thread Mika Hirvonen
On Fri, 1 Nov 2002, Vitenka - Zen wrote:

> I mean, how many nodes?  Because I see a big problem.

My node sees about 145 nodes right now.

> If I upload a file with an HTL of 5 (10 being the 'max sensible' the client 
> recommends)
> 
> And you download with an HTL of 15
> 
> Then if there are at least 16 sites it becomes posisble for you to fail to 
> find my insert - and once there are 50 node it becomes likely.

True, but this would be the case only if nodes couldn't rely on their
routing tables to efficiently decide which node to forward the request to.

In the early days of version 0.4 development this was the case, because 
the developers were making changes to the FNP(Freenet Node Protocol, used 
by the nodes to talk to each other) and the routing code. To test the 
changes, they had to make the new versions incompatible with the older 
versions. In essence, they forced the new versions to create a new 
network, making most of their routing tables useless.

> If peoples routing tables are full, and there are a few thousand nodes... how 
> will new content ever be found?  The existing stuff is ok, because it's 
> already mirrored.

A key does not have to be in any node's routing table to be found. Freenet
routing works by forwarding a request for a key to the node having similar
keys. It compares the requested key to all the keys in the routing table
and sends the request to the node with the key closest to the requested
key.

> Do you have to rely upon having five or six logically distant people 
> requesting your file and going away unsatisfied each day so that everyone else 
> can see it?  Or have I misunderstood the white paper?

In an optimal situation (infinite storage space and good routing tables),
all you have to do to publish your content and have it retrievable for
everyone is to insert it once. The routing code forwards your insert to
the node most likely to be queried for the data. All subsequent requests
with a high enough HTL for that data will be forwarded to that node,
allowing anyone to retrieve it.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/



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



Re: [freenet-support] Latest version of FreeNet

2002-10-29 Thread Mika Hirvonen
On Mon, 28 Oct 2002, R Allen wrote:

> I have installed and attempted to use the latest version of FreeNet, and
> have a few questions.
> 
> First, the Readme file states there is presently no search function for the
> system. What good is the system without a search function ?

It still provides anonymity, security and load-sharing.

> If I have the system figured out correctly, it appears that I have to upload
> any material I want to share so that it can be split up and dispersed among
> the available storage of the system users ? How can others retrieve this

Yes.

> material if there is no search function ?

The old fashioned way, hearing about them from other users or finding them 
yourself.

> When will you have a system that functions as simply and as easily as other
> P2P systems ?

Perhaps you should try Frost (http://jtcfrost.scourceforge.net). It is a 
message board/filesharing application that uses Freenet and has a search 
function to find files other Frost users have uploaded.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



Re: [freenet-support] How to get PHP to work with Fproxy?

2002-10-29 Thread Mika Hirvonen
On Mon, 28 Oct 2002, Mike wrote:

> so php scripting will not work for me then ??

No.

> guess that means i am gonna have to just make static pages here... lol

If you don't have any complex php scripts (like bulletin boards), you can
run your pages thru the php parser, fix the links and upload the static
files.

--
  Mika Hirvonen <[EMAIL PROTECTED]
  http://nightwatch.mine.nu/


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



Re: [freenet-support] My node is getting hammered too, I'm shuttingit down

2002-09-22 Thread Mika Hirvonen

On Sun, 22 Sep 2002, Roderik Muit wrote:

> (sorry for starting new thread instead of replying to Tyler Riddle's
> original one)
> 
> I am seeing the same results, running build 504. The node is totally
> overloaded. My computer is totally overloaded - even when running it
> 'nice 19', load is constantly at 20 and it happens too often that
> performance is so slow I can't even normally type text in an application
> I'm using. (Load rises to 50 sometimes, when freenet is not the only
> thing doing something.)
> 
> Sorry to overload the network even more - but I'm shutting down my node.
> It's not worth it, for the once in 2 days that I'm surfing freenet. That
> is, until someone can give me the right config options to decrease the
> load on my machine a bit. (See

I have a build 504 node with a 5GB datastore running on a Celeron 660MHz 
with 384MB ram, Redhat 7.3, kernel 2.4.18-3, Sun JVM 1.4.0-beta3, 
connected to the Net via a cable modem.

I'm using maximumThreads=0 and maxNodeConnections=60.

The node is running on nice 19 and the load fluctuates from 3 to 8 
(there's lots of other stuff running too)

Both the computer and Freenet responsiveness is good (when I'm not hit by
DSB, that is..) and with 5k average and 10k max outbound bandwidth limits
it doesn't even hog all the bandwidth.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/



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



[freenet-support] JVM memory usage at 89MB?

2002-09-20 Thread Mika Hirvonen

I recently noticed that my JVM is using 89MB of memory, but the
Environment infolet shows that the JVM is using only 21MB. Why the huge
difference? Is this normal?

I'm using Sun J2SE 1.4.0-beta3 on a Redhat Linux 7.3 with 384MB of memory.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



Re: [freenet-support] Accessing data in local node

2002-08-22 Thread Mika Hirvonen

On 22 Aug 2002, Chris Dennis wrote:

> Yesterday I was able to use FProxy to view The Freedom Engine's main
> page, so that page ought now to be in my node's datastore.

The page itself is probably in your datastore, but the manifest isn't. 
(see below for explanation)

> But today when I try to return to the same page, FProxy says the request
> can't even make it off my node.  Why does it have to?  Why can't it just
> retrieve the page from my datastore?

Because The Freedom Engine is a so-called DBR (Date-Based Redirect) site, 
which needs to be re-inserted (and re-fetched) every day.

The advantage of DBR sites is that they allow the freesite author to
update the site without changing the key of the site. The downside 
is that even if the author doesn't change anything, he/she has to
re-insert the site daily and other Freenet users need to at least retrieve 
the daily manifest (the file which lists all the files in a freesite) in 
order to view the site.

Usually it's not necessary to re-insert and re-fetch all the files in a 
freesite, just the changed files and the manifest file.

Another type of a freesite is an edition freesite, which doesn't need to 
be re-inserted and re-fetched every day, but the author needs to change 
the site key every time he/she updates the site.

For example:
SSK@qe3ZRJg1Nv1XErADrz7ZYjhDidUPAgM/nubile/10//
Is a key to an edition site. It's common practice to number different 
editions like this and to include links in the main page to next and 
previous editions. The links usually include an image from the 
next/previous edition, so users who see the images know that the 
next/previous editions are retrievable.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



Re: [freenet-support] services does not start: "No class given"

2002-08-11 Thread Mika Hirvonen

On Sun, 11 Aug 2002, Thomas Goebel wrote:

> Hello,
> 
> now i have test it on a clean SuSE7.3 release with IBMJava2-JRE-1.3-127.
> 
> I have linked the /usr/lib/jdk1.3/ to /usr/lib/java.
> 
> Same Problem:
> 
> 11.08.2002 12:34:35 (freenet.node.Main, main): loading service: fproxy
> 11.08.2002 12:34:35 (freenet.node.Main, main): Failed to load service:
> fproxy
> freenet.interfaces.ServiceException: No class given
> at freenet.node.Main.loadService(Main.java:761)
> at freenet.node.Main.startNode(Main.java:725)
> at freenet.node.Main.main(Main.java:436)
> 11.08.2002 12:34:35 (freenet.node.Main, main): loading service:
> nodestatus
> 11.08.2002 12:34:35 (freenet.node.Main, main): Failed to load service:
> nodestatus
> freenet.interfaces.ServiceException: No class given
> at freenet.node.Main.loadService(Main.java:761)
> at freenet.node.Main.startNode(Main.java:725)
> at freenet.node.Main.main(Main.java:436)
> 11.08.2002 12:34:35 (freenet.node.Main, main): loading service: console
> 11.08.2002 12:34:35 (freenet.node.Main, main): Failed to load service:
> console
> freenet.interfaces.ServiceException: No class given
> at freenet.node.Main.loadService(Main.java:761)
> at freenet.node.Main.startNode(Main.java:725)
> at freenet.node.Main.main(Main.java:436)
> 11.08.2002 12:34:36 (freenet.node.Node, main): Starting ticker..
> 11.08.2002 12:34:36 (freenet.node.Node, main): Starting interfaces..
> 
> Whats wrong?

Check your freenet.conf. There should be lines that tell the node which 
classes to use when starting services. For example:

nodestatus.class=freenet.client.http.NodeStatusServlet
fproxy.class=freenet.client.http.FproxyServlet
nodeinfo.class=freenet.node.http.NodeInfoServlet

Those three lines define the classes to use for those services. You 
should also specify the ports to use. For example:

nodestatus.port=8890
fproxy.port=
nodeinfo.port=8889

You can also specify the hosts allowed to connect to a service. By 
default, only localhost is allowed. For example:

nodestatus.allowedHosts=10.1.2.3
fproxy.allowedHosts=*
nodeinfo.port=host.domain.example

Those three lines allow only host 10.1.2.3 to use nodestatus, 
allow everyone to use fproxy and allow host host.domain.example to use the 
nodeinfo service.

The console service is a bit more complicated, because it's actually three 
services in one: datastore console, filesystem console and routing table 
console. To set it up, you'll need the following lines:

console.class=freenet.interfaces.servlet.MultipleHttpServletContainer
console.port=8891
console.params.servlet.1.uri=/ds
console.params.servlet.1.class=freenet.node.ds.DSConsole
console.params.servlet.1.name=DataStore Console
console.params.servlet.2.uri=/fs
console.params.servlet.2.class=freenet.fs.dir.FSConsole
console.params.servlet.2.name=FileSystem Console
console.params.servlet.3.uri=/rt
console.params.servlet.3.class=freenet.node.rt.RTConsole
console.params.servlet.3.name=Routing Table Console

To use it, point your browser to http://localhost:8891/ds, 
http://localhost:8891/fs or http://localhost:8891/rt, respectively.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



[freenet-support] Latest fcpputsite not doing anything?

2002-07-16 Thread Mika Hirvonen

Yesterday, I got the latest fcptools from CVS and tried to insert some 
stuff with fcpputsite. It starts, allocates threads for the inserts, but 
that's it. It doesn't insert anything. Running it with -v 3 shows that 
all insert threads are running, but they're not actually doing anything. I 
had it insert a small edition-based freesite, but it didn't insert a 
single file in the 9 hours I allowed fcpputsite to run.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/




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



[freenet-support] Build 475+ node refs @ http://nightwatch.mine.nu/nightwatch.ref

2002-07-03 Thread Mika Hirvonen



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



[freenet-support] node prints Bandwidth configuration lines when using freenet.node.Main?

2002-07-02 Thread Mika Hirvonen

I'm using build 476, and every time I use freenet.node.Main it prints the 
following lines on the screen:
--clip--
bandwidthLimit=0
inputBandwidthLimit=0
outputBandwidthLimit=1
averageBandwidthLimit=0
averageInputBandwidthLimit=0
averageOutputBandwidthLimit=0
new Bandwidth(0,0,RECEIVED)
new Bandwidth(1,0,SENT)
--clip--

It's probably not supposed to do that.
-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



Re: [freenet-support] build 474 node references?

2002-07-02 Thread Mika Hirvonen

On Tue, 2 Jul 2002, Greg Wooledge wrote:

> Mika Hirvonen ([EMAIL PROTECTED]) wrote:
> 
> > Now that there's the new mandatory upgrade out,
> 
> Oh, there is?  Thank you for pointing it out.  (But according to
> the web site, it looks like you should be collecting 475 refs, not
> 474.  Maybe there were two back-to-back mandatory upgrades?  It
> certainly wouldn't be the first time.)
Actually, there's build 476 as well, but it's not a mandatory upgrade.
> 
> It's nice to see the developers continue their policy of announcing
> important changes on the mailing lists.  This really helps to keep
> Freenet running smoothly. 
Yes, especifically changes that will tear the network apart. Some 
backward-compability would be nice.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



[freenet-support] Build 474 node references @ http://nightwatch.mine.nu/build_474.ref

2002-07-02 Thread Mika Hirvonen


-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



[freenet-support] build 474 node references?

2002-07-02 Thread Mika Hirvonen

Now that there's the new mandatory upgrade out, is someone collecting 
build 474 node refs to help weave the new network together? If not, I'm 
willing to keep a list of them.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



[freenet-support] AccountingException just won't go away

2002-07-01 Thread Mika Hirvonen

--clip--
freenet.fs.acct.AccountingException: duplicate block: 0x401 / 4
at 
freenet.fs.acct.sys.AccountingTree.found(AccountingTree.java:82)
at 
freenet.fs.acct.sys.AccountingTree.found(AccountingTree.java:63)
at 
freenet.fs.acct.SharedAccountingInitializer.found(SharedAccountingInitializer.java:69)
at 
freenet.fs.acct.AccountingInitializer.initialize(AccountingInitializer.java:216)
at freenet.fs.dir.FSDirectory.(FSDirectory.java:174)
at freenet.node.Main.main(Main.java:348)
--clip--

Sigh. This thing just keeps appearing at node startup, even after I've 
checked, repaired and resetted my all store_x files using FSTool. Do I 
have to wipe my whole node and install from scratch again?


-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



[freenet-support] Somebody locking the cvs?

2002-06-16 Thread Mika Hirvonen

I tried retrieving the latest snapshot after Ian's message, but I get the 
following message:

cvs server: [02:06:11] waiting for joliveri's lock in 
/cvsroot/freenet/Contrib/fcptools/debian

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/


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



Re: [freenet-support] backup

2002-06-14 Thread Mika Hirvonen

On Fri, 14 Jun 2002, macchina wrote:

> hello all,
> I'm installing e permantent node on a server
> (we'd like to create a public gateway as well)
>
> we are dedicating one hard disk to the freenet and
> we are wondering about the backup of the datastore.

Remember that currently Freenet needs more bandwidth than disk space.
I've been running a node for a quite some time now (two months since I
reinstalled the node), and my node currently uses 1 GB of the 12 GB I've
reserved for it.

The situation will probably change when the message routing code improves
and the number of redundant queries goes down.

> Is it enough to do periodic backup of the hard disk in order to save the
> data stored in our freenet node in case of crashes?

Yes, the datastore is just an ordinary file (or several files, if you need
the datastore to be larger than the maximum allowed file size on your
system). You might want to shut down the node when you do the backups.

--
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/



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



[freenet-support] Watchme node announcing to itself?

2002-06-10 Thread Mika Hirvonen

Check out 
http://hawk.freenetproject.org/~watchme/cache/dd8670a3b39a7776.png

It seems that my node (213.243.188.14 aka nightwatch.dyn.dhs.org) is 
sending node annoucements to itself, because it's also listed in 
http://hawk.freenetproject.org/~watchme/seednodes.ref

Is it supposed to do that?
-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.dyn.dhs.org/


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



[freenet-support] Watchme network retrievable key list online

2002-05-29 Thread Mika Hirvonen

at http://nightwatch.dyn.dhs.org/watchme_keys.html
and SSK@eKUgfrUzcYD3mrNgx0CkOWx3rVQPAgM/watchme_test//

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.dyn.dhs.org/


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



Re: [freenet-support] watchme network

2002-05-29 Thread Mika Hirvonen

On Tue, 28 May 2002, Tiernan Hubble wrote:

> Is it just me, or is the watchme network not working? I realize that there 
> aren't many nodes, but every node seems to be rejecting every 
> NodeAnnouncement! I looked at some of the logs, and it seems some nodes are 
That's because there's too few nodes available at the moment for the 
announcement at the default htl(15) to succeed. For example, my node 
(nightwatch.dyn.dhs.org:13463) sees only 6 working nodes in the network, 
so any request with htl over 6 is doomed to fail. (I'm assuming here that 
all working watchme nodes can connect to each other)

> getting a response to a DataRequest. I'm getting QueryRejected to every 
> single message my node sends.
Try lowering your htl.

> Anyway, I have inserted (successfully, I think) versions of [EMAIL PROTECTED] and 
> [EMAIL PROTECTED], so could people on watchme try retrieving those? 
Nope, I can't get them. I just inserted [EMAIL PROTECTED],
[EMAIL PROTECTED] and [EMAIL PROTECTED]
myself with htl of 6, and they seemed to be a success.

> Also, is there any place where people can post keys they have inserted into 
> the network, so others can retrieve them? It is difficult to use this test 
> network when there is nothing to test ;)
I can start collecting links and keep a list of them both on the watchme 
freenet network and on the 'web. I'll post an url when I have inserted the 
site.

-- 
Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.dyn.dhs.org/






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



Re: [freenet-support] Configuration and Usage

2001-06-10 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: Shannon Phillips 
To: [EMAIL PROTECTED] 
Sent: Monday, June 11, 2001 8:36 AM
Subject: [freenet-support] Configuration and Usage

>I just d/l and installed Freenet. I'm using Sun Java 2 (?) and Freenet
>0.3.9 My question is, how do I know it's working other than the icon being
>shown in the tray?  I'm running Win98 SE. What can I do >to test it and
>see if everything is working properly? TIA for your help.  

Start the Freenet gateway either by double-clicking on the tray icon or
open the address http://localhost:8081 with your browser.
The gateway window should come up.

Now try requesting some files from Freenet by typing the keys on the top
text field and hitting "Request". You can find some keys to try by visiting
www.freegle.com, the Freenet search engine or one of the Freenet sites
(like Snarfoo, the link should be on the gateway page)

You can also try adding content to Freenet. All data on Freenet is accessed
using keys. There are several types of key, but we'll use just one type
here, the KSK key. You should invent descriptive key for your data. For
example, if you had written a story, a good key would be
text/shannon_phillips/your_story.txt. Now type in the key name to the Key
text field (the lower one, not the one you used when requesting keys) and
then select the file you want to add by clicking Browse. Now click Add.
Your Freenet node should now send your file to the other nodes it knows
about. When it's done, try requesting the file you added using the key you
invented.
- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/

iQA/AwUBOyRC6aSfrEHp33TBEQIUXgCfeCz060NQfOpCeDLrsJatOlJJXAkAn0oe
jGkVClKLGnofP2HXJKiBTH9M
=wcrg
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Probleme

2001-05-06 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: "LL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 9:57 PM
Subject: [freenet-support] Probleme


> En cliquant sur le logitiel d'istallation:
> "Freenet-nojava-setup0.3.9.1.exe" il apparait: "Nullsoft Instal System
> v1.4 beta 2 ERROR: Istaller too small" Can you help mi?
It sounds like that the Nullsoft installer has some self-integrity checks,
and noticied that the installer file is not complete. Try downloading it
again.
- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/

iQA/AwUBOvX90aSfrEHp33TBEQIxdgCfVQlC+O8C06UHr/hYveTNSbnx6q0AoJft
ZMZD+ujgIJvE7KksxLNORSIG
=q9b+
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] Disk usage limit not working (Was:Bug? Bandwidth limiting not working)

2001-04-24 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: "Michael D. Carey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 6:02 AM
Subject: [freenet-support] RE: Bug? Bandwidth limiting not working


> Bandwidth limitation has not been working for me either.  My node has
> been eating up 150k up and 150k down even when set to 50k...  I have
> to shut it down to play Unreal Tournament.

For some reason, limiting the hard disk usage doesn't work either on a Red
Hat 7.0 w/ Sun jdk1.3.0. The node works for a day or two, then starts to
fill up the hard drive and spews out NullPointerExceptions and Broken
pipes. This would be an annoyance at best, but the node runs on a same
partition where log files for my Squid web proxy are. Squid can't write to
its log files because the drive is full, so it terminates itself, blocking
http connections.

The problem might be related to the fact that when the hard drive gets
filled, my firewall logs start displaying blocked forwarding attempts from
Freenet nodes around the world, directed to one of my internal computers.
This is odd, because my internal network uses class C internal IPs
(192.168.0.x), so the packets should get blocked (ICMP net unreachable) at
one of the Internet backbone routers. Unless, of course, my masquerading
firewall tampers with the packets, thinking that they are supposed to
belong to a masqueraded connection. Maybe Freenet has some issues with a
masquerading iptables firewall?
- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/

iQA/AwUBOuUqX6SfrEHp33TBEQIz5wCg4z5Z6toBQOQ2W9jKrYasZZTRsBAAoKVs
/CfnfqXRovYZqBdntS9ERyvL
=BPsY
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Freenet as proxy?

2001-04-22 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: "Rick F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 7:00 AM
Subject: [freenet-support] Freenet as proxy?


> 1 Debian box (w/ 2 net cards, running ipchains)
> connected directly to the internet (dsl) with a static
> IP address.  Freenet is running on this computer. 
> (and it works...checked it with lynx)
Mine is Redhat 7.0 with 2.4.3 kernel, iptables, 2 net cards, connected to a
cable modem and to my internal network.
> Is there any way to get my home network systems to use
> the freenet proxy running on the debian box?  I
> attempted to just type "http://192.168.1.1:8081"; (the
> IP of debian) into my windows browser (from
> 192.168.1.3) and it didn't work.
> 
> Also note: I adjusted the .freenetrc file to allow the
> IPs of my internal computers (by modifying both
> services.fproxy.allowedhost and
> services.fcp.allowedhost)

What exactly did you type in services.fproxy.allowedhosts and
services.fcp.allowedhosts?
Here's my working config. Note that I specifically allowed each host on my
network to use the Freenet node, because Freenet can't (yet) allow entires
subnets to use it.

- --clip--
# Set to Freenet.contrib.fcp.FCPHandler to start FCP automatically with the
node.
services.fcp.class=Freenet.contrib.fcp.FCPHandler
services.fcp.allowedhosts=127.0.0.1,192.168.0.103,192.168.0.112
services.fcp.port=8082
services.fcp.config=.fproxyrc

# Set to Freenet.contrib.fproxy.HttpHandlerServlet to start FProxy
automatically with the node
services.fproxy.class=Freenet.contrib.fproxy.HttpHandlerServlet
services.fproxy.allowedhosts=127.0.0.1,192.168.0.103,192.168.0.112
services.fproxy.port=8081
- --clip--

- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: KeyID: 0xA49FAC41E9DF74C1

iQA/AwUBOuJxWKSfrEHp33TBEQI6HwCg3HhHYchllDZqoNse0QE9xoj+dyUAoNH6
wavgPnSpkuKZRmALpRaG4A8A
=HoSo
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Freenet as proxy?

2001-04-22 Thread Mika Hirvonen


- Original Message - 
From: "Rick F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 7:00 AM
Subject: [freenet-support] Freenet as proxy?


> Here is my setup.
> 
> 1 Debian box (w/ 2 net cards, running ipchains)
> connected directly to the internet (dsl) with a static
> IP address.  Freenet is running on this computer. 
> (and it works...checked it with lynx)
> 
> Also, several windows and linux computers connected to
> my network on a 192.168.1.x subnet
> 
> Is there any way to get my home network systems to use
> the freenet proxy running on the debian box?  I
> attempted to just type "http://192.168.1.1:8081"; (the
> IP of debian) into my windows browser (from
> 192.168.1.3) and it didn't work.
> 
> Also note: I adjusted the .freenetrc file to allow the
> IPs of my internal computers (by modifying both
> services.fproxy.allowedhost and
> services.fcp.allowedhost)
> 
> Can I do this?  Do I lack some fundamental
> understanding?  Help!  Thanks in advance...
> 
> 
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 
> ___
> Support mailing list
> [EMAIL PROTECTED]
> http://lists.freenetproject.org/mailman/listinfo/support


___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Operating behind MY OWN Firewall

2001-04-17 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 2:58 PM
Subject: [freenet-support] Operating behind MY OWN Firewall


> I am sorry, to ask this question again, but i still didn't get, why
> Freenet should not be able to work behind a Firewall that is under my
> control ??
> I can open the required ports.
> And i can't believe, that (as someone on this list said some time
> ago) Freenet needs EVERY Port for incoming Connections ... then the
> server should listen on ALL Ports, which is definately no the case as a
> nmap-scan showed.

If I understood correctly, Freenet uses random ports for data transfer,
opening them as needed. However, I think it's not necessary to set your
firewall wide open to allow Freenet to function. I think that when a
Freenet node is connected, the initial connection uses the hostname and
port set in the Freenet config, but subsequent connections (usually data
transfer) will use random ports. If this is the case, it shouldn't be too
hard to set up a fully working Freenet node, even behind a masquerading
firewall (like I have). However, I think that it requires a firewall with
connection tracking (like iptables).

For example, we have three computers. A hosts the Freenet node and is
inside the firewall, B is the firewall itself, and C is the another Freenet
node trying to connect to A.

A has the Freenet node running on port 9322 and B is set to allow traffic
to and from A:9322. C connects to A:9322 and requests a piece of data,
telling that it's source address is C:20292. A opens port 12909 for the
data transfer and connects to C:20292. B is set to generally allow outbound
traffic from A and can track incoming connections, denying everything that
isn't part of an existing connection. A transfers the requested data to C
successfully. The connection is closed, and everyone is happy.

However, if A is on an internal network and is required to access the
Internet via a masquerading firewall B, things can get tricky. A doesn't
have a public IP address, so the source address it sends in Freenet message
headers is all wrong, because no-one can reach it by using its private IP.
If it's set to transient mode, it can request data, but we want a full
working Freenet node, not a transient one. However, B does have both public
and private IP addresses, so we set the nodeAddress in A's Freenet config
to B's IP address (or hostname). Then we set a DNAT rule, redirecting all
packets going to B:9322 to go to A:9322.

If node C tries to connect A, it will connect to B:9322, because that's the
address A advertised to the Freenet network. The packets are redirected,
and A opens a data connection from A:12909 to C:20292. The packets are
masqueraded, so C sees that the data it requested is arriving from
B:. C successfully retrieves the information.

In theory, this is how it's should work. I haven't tried it yet.

- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: KeyID: 0xA49FAC41E9DF74C1

iQA/AwUBOtyB1KSfrEHp33TBEQKdEwCg/e91r+pftuoVmxY3kmEhRgYU98kAoK4G
39MskIZrMtf3MW4EXelsyEbo
=LqYv
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Freenet 0.3.8.1 Win with Sun JDK 1.3.0-C on Win2kSP1 not accepting inserts? (solved)

2001-04-15 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: "Pieter Kirkham" <[EMAIL PROTECTED]>
To: "Mika Hirvonen" <[EMAIL PROTECTED]>; "Freenet support"
<[EMAIL PROTECTED]>; "james rogers" <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 9:01 PM
Subject: Re: [freenet-support] Freenet 0.3.8.1 Win with Sun JDK 1.3.0-C on
Win2kSP1 not accepting inserts?


> That's what I said.  Octayne is down.  Well, infact it's up, but one of
> the routers to it was failing.  I could access it from one server but not
> another.
> 
> I know the php system is tmporary, but there needs to be a little
> repitition in it, a few mirror php sites that it will go to if the first
> fails to
> respond.

I noticed that the router got fixed and www.octayne.com is reachable again,
so I decided to try again, this time setting the freenet node up on the
firewall computer. Surprise surprise, that worked like a charm.
tcp/nightwatch.dyn.dhs.org:19114 is now up, and a test file
(freenet:KSK@games/half-life/counterstrike/maps/cs_mine.zip) should be
available. I also reinstalled freenet on my win2k machine, and it also
works now.

I may have misunderstood, but shouldn't a freenet node function, even when
it doesn't know any other nodes? Or is the default behaviour to inform all
other nodes of the keys inserted in order to retain the integrity of the
keyspace? If the latter is the case, I would understand why it failed to
insert the test file.

Anyway, thanks for your help.
- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: KeyID: 0xA49FAC41E9DF74C1

iQA/AwUBOtnxX6SfrEHp33TBEQJRmQCg6eKv+KPtK5yFcbtyUfJaTj+lOx0An1Kg
hPd7i89NPyh/v9U0EYHGZ96z
=1f9Y
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Freenet 0.3.8.1 Win with Sun JDK 1.3.0-C on Win2kSP1 not accepting inserts?

2001-04-15 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

- - Original Message - 
From: "james rogers" <[EMAIL PROTECTED]>
To: "Freenet Support" <[EMAIL PROTECTED]>; "Mika Hirvonen"
<[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 3:19 AM
Subject: Re: [freenet-support] Freenet 0.3.8.1 Win with Sun JDK 1.3.0-C on
Win2kSP1 not accepting inserts?


> This is your problem.  Unless you've got a nodes.config file with the
> addresses of a few other nodes, you must have this line in your
> Freenet.ini:  
> 
> informRead=yes
> 
> Otherwise, your node will not know about any other nodes.  Essentially,
> it'd be like trying to talk to the Internet without any sort of network
> connection.

Yes, I know. I cleared the setting initally to prevent me from polluting
the Freenet network with my test files. Although those test files wouldn't
have spread too far from my node, because I'm the only one who would have
requested them.

I downloaded the zip package as McNab suggested, copied the .ini files from
the windows installer version, corrected the informRead setting and tried
again. Same response. This time my node tried to request the file it failed
to insert from the other nodes too.

I also noticed that www.octayne.com is down, or at least I can't access it.
Trying to traceroute to www.octayne.com resulted in
if-5-0.core2.Paris2.Teleglobe.net replying that the destination is
unreachable. http://freenet.sourceforge.net/inform.php gives a 404 error,
but http://freenet.sourceforge.net/devinform.php seems to work, showing
three nodes.

- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: KeyID: 0xA49FAC41E9DF74C1

iQA/AwUBOtk3zKSfrEHp33TBEQJO+gCfaUzCD1Cild77Q8di1Mmvnm5q6jQAnRoE
+bW7/zuugkwO/7wtzyUjFp8S
=sKFW
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] Freenet 0.3.8.1 Win with Sun JDK 1.3.0-C on Win2kSP1 not accepting inserts?

2001-04-14 Thread Mika Hirvonen

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I downloaded & installed Freenet 0.3.8.1 from www.freenetproject.org.
Because I wanted to get to know Freenet first before connecting my computer
to the Freenet network, I cleared the "read from inform" setting and
started the server. I tried then to submit a piece of information (the
freenet readme) to my server using the http gateway, but I came up with the
following error message: (don't worry about the strange hostname, I'm on an
internal network with its own DNS server and masquerading router/firewall)

- --clip--
Content-type: multipart/form-data (3 parts)
0 content-type: application/unspecified
1 content-type: text/plain
2 content-type: application/unspecified
User specified content-type: text/plain
Inserting with content-type: text/plain

Inserting key: freenet:KSK@stormshadow/freenet/readme.txt
Got content type: text/plain
State "PREPARED" reached.
A message was sent to tcp/stormshadow.storm:63057.
State "REQUESTING" reached.
A message was received from tcp/stormshadow.storm:63057.
The request was unsuccessful. Src:tcp/192.168.0.103:63057 htl:9 depth:0
id:45c4ce0e98ffe2cd type:Freenet.message.RequestFailed was received
State "FAILED" reached.
Insert failed gracefully.
Client object signalled: java.io.IOException: Graceful failure.
- --clip--

Because the message wasn't exactly helpful, I turned on debug logging and
tried again. Same response. I then waded thru the logs and found some
strange things:

- --clip--
14.4.2001 21:14:32:java.lang.String:-1719449700:Normal:Reading 4613 bytes
14.4.2001 21:14:32:java.lang.String:-1719449700:Debug:4613 bytes read
14.4.2001 21:14:33:Freenet.support.FileBucket:605950:Debug:Deleting bucket
t4234fb42
14.4.2001 21:14:33:Freenet.support.FileBucket:605950:Minor:Delete failed on
bucket t4234fb42
14.4.2001 21:14:33:Freenet.support.FileBucket:444082:Debug:Deleting bucket
t7379676d
14.4.2001 21:14:33:Freenet.support.FileBucket:6219377:Debug:Deleting bucket
t4f114163
- --clip--
Those lines above say that the server recieved the file, but encountered
some kind of an error while handling it.
- --clip--
14.4.2001 21:14:33:Freenet.ConnectionHandler:6262622:Debug:Rawmessage:
InsertRequest
{Source=tcp/192.168.0.103:1937,KeepAlive=true,DataLength=0,{Depth=4,HopsToLi
ve=a,SearchKey=45a2bb047c4a0ce889c67b9eab81cada36afaa270d0301,UniqueID=45c4c
e0e98ffe2cd,}}
- --clip--
That line was the strange one. If I read the parameters correctly, it
reports the file length (DataLength) to be zero, which is incorrect.

The rest of the logs showed that the gateway then tried to request the file
it just tried to insert, obviously failing, giving up on the insert and
displaying the error message.

Configuration files and complete logs are available upon request.

- --
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://www.saunalahti.fi/hirvox/
  PGP key @ http://www.saunalahti.fi/hirvox/stormshadow.asc

-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/
Comment: KeyID: 0xA49FAC41E9DF74C1

iQA/AwUBOth9t6SfrEHp33TBEQJ1AQCg7vBJlY3XePO/eB1FV7LnwSVNWsoAoJc3
4T+5R+VZ5gNOybbG4pQmN5gx
=tERl
-END PGP SIGNATURE-



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support