[freenet-support] Re: Standalone freenet network in lan
Stephen Mollett [EMAIL PROTECTED] writes: Hi, On Saturday 06 Aug 2005 21:10, Gautham Anil wrote: We are trying to set up a freenet (I have no previous experience with it) network in a lan not connected to the internet. How does one go about doing that? Try the suggestions in Toad's message of 10th Nov 2004: http://permalink.gmane.org/gmane.network.freenet.support/5669 Stephen Umm yes, do that. I suppose I should have searched the archives rather than trying to guess :) Bob ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
Re: [freenet-support] Re: Standalone freenet network in lan
Bob wrote: Gautham Anil [EMAIL PROTECTED] writes: Hi, We are trying to set up a freenet (I have no previous experience with it) network in a lan not connected to the internet. How does one go about doing that? Gautham I haven't done this, but I'm pretty sure the procedure would be as follows : - Install freenet but don't download a seednodes.ref, or delete it - Start it so a node identity is generated (a file named node in the freenet directory) then stop it again - Make a new local refs file for the nodes on your LAN. This is simply all the contents of the various node files concatenated together, without blank lines (the last line of an identity is End which acts as a delimiter.) - Name it seednodes.ref and put in each nodes freenet directory, start them up and check after a while in open connections that they are in fact only connecting to each other. Depending on deployment issues you may find it more convenient to access the noderefs over the LAN : http://IP-ADDRESS-HERE/servlet/nodestatus/myref.txt However, to do this you will need to (temporarily) have mainport.allowedHosts in each node's freenet.conf set to allow access from all LAN hosts, e.g. mainport.allowedHosts=127.0.0.0/8,192.168.1.0/24. Bob ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED] I am now getting these errors. Please help. 16:21:47Setting default initTransferRate to 400.0 - 16:21:47Created new NGRT- 16:21:47Loaded stats- 16:21:47loading temp bucket factory - 16:21:47loaded temp bucket factory - 16:21:47Loaded bucket factory - 16:21:48 Skipped bad NodeReference while reading seed nodes freenet.node.BadReferenceException: Malformed ref: No session fieldFieldset: {ARK.revisionInserted=0,ARK.encryption=47e0701cea6fb6a8cfd848db292a5d50cbbd6922069fbbf5c5769bca4aa7d0b2,ARK.revision=0,ARK.format=1,authentity.p=00cb0a782c7abff492023d662854a10e52de49da383d9ee21d7a337213d24ed096f95a5d37b8537bbaa58a2a6b26bd328f6a32cec77180f78d5be43d80e813e4018d09da38bd58fd615c01fbab492ec203c69e3da9fd682ce8aa98f15ad8057970edb44fe1ed08e0462e5b8d97,authentity.g=00930168de21e7fb66c0375e08e964255a0f7f0ad54507a51864afdc686f36be8bb8b7865408116060c5f34f94b5146cbef9e4adb70324fba01d34c1c60817cbadf6854d654176cb391de0d41e0f0fbbc8ceea5546c09a676b0d9a9988c7a1ce36ce31596037a18b4d540374bdf2ad071a3f8dd1015a9d8ba0f0d51cde212db6da,authentity.q=00ef1f7a7a73362e526515f348075aee265e9eff45,authentity.x=00c73fa4c6c3e3f21ed39e89ec4f5a8d80866b2e45,} 16:21:48Skipped reference - truncated: java.io.EOFException:- 16:21:48 Skipped bad NodeReference while reading seed nodes freenet.node.BadReferenceException: Malformed ref: No session fieldFieldset: {ARK.revisionInserted=0,ARK.encryption=8194514f485a1d0d2a93cad0252ab1d7d14229b959b62979d6e6d1959bb1b381,ARK.revision=0,ARK.format=1,authentity.p=00cb0a782c7abff492023d662854a10e52de49da383d9ee21d7a337213d24ed096f95a5d37b8537bbaa58a2a6b26bd328f6a32cec77180f78d5be43d80e813e4018d09da38bd58fd615c01fbab492ec203c69e3da9fd682ce8aa98f15ad8057970edb44fe1ed08e0462e5b8d97,authentity.g=00930168de21e7fb66c0375e08e964255a0f7f0ad54507a51864afdc686f36be8bb8b7865408116060c5f34f94b5146cbef9e4adb70324fba01d34c1c60817cbadf6854d654176cb391de0d41e0f0fbbc8ceea5546c09a676b0d9a9988c7a1ce36ce31596037a18b4d540374bdf2ad071a3f8dd1015a9d8ba0f0d51cde212db6da,authentity.q=00ef1f7a7a73362e526515f348075aee265e9eff45,authentity.x=60acd57ec6c738e7fcf7ac3ffb0f4282a5d800e4,} 16:21:48 Skipped bad NodeReference while reading seed nodes freenet.node.BadReferenceException: Malformed ref: No session fieldFieldset: {ARK.revisionInserted=0,ARK.encryption=8db917846608f387655eac39be181fc497d21d9c000c8d79c2884d3fb54493ce,ARK.revision=0,ARK.format=1,authentity.p=00cb0a782c7abff492023d662854a10e52de49da383d9ee21d7a337213d24ed096f95a5d37b8537bbaa58a2a6b26bd328f6a32cec77180f78d5be43d80e813e4018d09da38bd58fd615c01fbab492ec203c69e3da9fd682ce8aa98f15ad8057970edb44fe1ed08e0462e5b8d97,authentity.g=00930168de21e7fb66c0375e08e964255a0f7f0ad54507a51864afdc686f36be8bb8b7865408116060c5f34f94b5146cbef9e4adb70324fba01d34c1c60817cbadf6854d654176cb391de0d41e0f0fbbc8ceea5546c09a676b0d9a9988c7a1ce36ce31596037a18b4d540374bdf2ad071a3f8dd1015a9d8ba0f0d51cde212db6da,authentity.q=00ef1f7a7a73362e526515f348075aee265e9eff45,authentity.x=00e4605eaa1d6338fddb8a9b61a2719c5c109270f6,} 16:21:48seeded routing table- 16:21:48starting node - 16:21:49loading service: mainport - 16:21:49loading service: distribution - 16:21:49Loading the single servlet distribution.params.servlet - 16:21:49Starting ticker.. -
[freenet-support] Re: Standalone freenet network in lan
Gautham Anil [EMAIL PROTECTED] writes: Bob wrote: Gautham Anil gautham_anil at ... writes: Hi, We are trying to set up a freenet (I have no previous experience with it) network in a lan not connected to the internet. How does one go about doing that? --snip-- I am now getting these errors. Please help. -- snip for stupid gmane filter -- 16:21:48 Skipped bad NodeReference while reading seed nodes freenet.node.BadReferenceException: Malformed ref: No session fieldFieldset: --snip-- 16:21:48 Skipped reference - truncated: java.io.EOFException:- 16:21:48 Skipped bad NodeReference while reading seed nodes freenet.node.BadReferenceException: Malformed ref: No session fieldFieldset: --snip-- 16:21:48 seeded routing table- 16:21:48 starting node - 16:21:49 loading service: mainport - 16:21:49 loading service: distribution - 16:21:49 Loading the single servlet distribution.params.servlet - 16:21:49 Starting ticker.. - 16:21:49 Starting interfaces.. - 16:21:49 Bookmarks updated on request- 16:21:50 starting ListenSelector.. - 16:21:50 Found 0 announcement targets for this node. - --another snip-- Hmm crap, sorry. It looks like it's not quite that simple :( There is quite a lot of extra info stored in seednodes.ref node references which isn't in the node files, but it's mostly estimator data which is generated dynamically as the network learns which therefore should not be needed. It appears from this however that mainport does expect a sessions line e.g. sessions=1, and possibly other things. The only other way I can think of is to use the distribution servlet. Again though I have no actual experience of doing this so it's a bit of a guess :/ - Start node locally on one computer, with no seednodes - Click the Spread freenet link on the first page of the web interface, i.e. http://127.0.0.1:8891/. This will start the distribution servlet. - Go to next PC and navigate to the URL the distribtion servlet gave you, download your freenet distribution from there (NOT freenetproject.org). Start it and *hopefully* it will know that the first computer is a node. - Repeat for all PCs in the network. AFAIK you should be able to download from the first computer in all cases, since the nodes will eventually all find each other via the first one. This is a very clunky way of doing it for a big LAN though. If that doesn't work either, really you want a response from someone who actually understands how this stuff works ;) If nobody replies here you might try emailing one of the core developers like Matthew (toad at amphibian dot dyndns dot org). Regards, Bob ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]
[freenet-support] Re: Standalone freenet network in lan
Gautham Anil [EMAIL PROTECTED] writes: Hi, We are trying to set up a freenet (I have no previous experience with it) network in a lan not connected to the internet. How does one go about doing that? Gautham I haven't done this, but I'm pretty sure the procedure would be as follows : - Install freenet but don't download a seednodes.ref, or delete it - Start it so a node identity is generated (a file named node in the freenet directory) then stop it again - Make a new local refs file for the nodes on your LAN. This is simply all the contents of the various node files concatenated together, without blank lines (the last line of an identity is End which acts as a delimiter.) - Name it seednodes.ref and put in each nodes freenet directory, start them up and check after a while in open connections that they are in fact only connecting to each other. Depending on deployment issues you may find it more convenient to access the noderefs over the LAN : http://IP-ADDRESS-HERE/servlet/nodestatus/myref.txt However, to do this you will need to (temporarily) have mainport.allowedHosts in each node's freenet.conf set to allow access from all LAN hosts, e.g. mainport.allowedHosts=127.0.0.0/8,192.168.1.0/24. Bob ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]