[freenet-support] NAT & Freenet

2004-04-09 Thread Galen
Hi,

One of the places where I would like to use freenet is behind NAT. I 
know all about port mapping, but this simply isn't available in this 
situation.

What is the hope of running Freenet?

I know virtually every other protocol has implemented support for NAT 
as part of (or before) becoming mainstream... if this doesn't exist in 
freenet as of now, it might be something important if freenet were to 
ever become widely used.

-Galen

___
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] Recognizable headers in Freenet conversation

2004-04-09 Thread Pierre Abbat
I fired up Ethereal and let it capture for a few minutes, then looked for a 
SYN packet. The first 0xc0 bytes of the conversation have what appear to be 
easily recognizable bytes: 00 01 09 04 00 00, and a string of zeros later. 
Shouldn't these be set to random-looking gibberish, so that it's impossible 
to find all Freenet nodes by looking for patterns in packets?

phma
-- 
li fi'u vu'u fi'u fi'u du li pa
___
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: What does a map-file look like?

2004-04-09 Thread Rudolf Krist
Garb schrieb:
Then I heard something about a "MAP"-file, which I am lead to assume 
could be the solution to all my problems - or at least the ones not 
related to girls or money. It appears to be some sort of cross-reference 
between the real-world file-names and the URIs, but I have thus far been 
unable to find out exactly what it looks like or how to make them.

When you use FIW, there you will find a feature called 
"MetaDataBrowser", I'm not sure if that will help you, but there you 
could enter a freesite uri, like 
[EMAIL PROTECTED]/fuqid/10, to see what the mapfile of 
the freesite contains.
You are right - that certainly seems to be exactly what I am looking for (if
we exclude J.Lo's private phone number...). But where is that information
actually located? It is not in the HTML-source of the page. Could it be in a
special file with a name that FIW can somehow deduce from the URI of the
main page?
OK I will try to explain, what I have understood:
Let us take a mapfile, for example 
SSK[-AT-]CKesZYUJWn2GMvoif1R4SDbujIgPAgM/fuqid/10
and look into it. (Using FIW)

FIW outputs:
Time taken: 180
Version
Revision=1
EndPart
Document
Redirect.Target=freenet:CHK[-AT-]HDF~aaiE-kN4esHi7UHlaqb8wa4OAwI,UPPC82Q30Ni-ncWdLtiYBg
Name=index.html
Info.Format=text/html
EndPart
Document
Redirect.Target=freenet:CHK[-AT-]~ZzKVquUvXfnbaI5bR12wvu99-4LAwI,~QYjCzYNT6E~kVIbxF7DoA
Name=activelink.png
Info.Format=image/png
EndPart
Document
Redirect.Target=freenet:CHK[-AT-]avFnLFBKJLvl0MLrDqsLwfAbGwsUAwI,urShiYLrLx2DmIWsVvGtBw
Name=FUQID-1.3.zip
Info.Format=binary/zip-compressed
EndPart
Document
Redirect.Target=freenet:SSK[-AT-]CKesZYUJWn2GMvoif1R4SDbujIgPAgM/fuqid/11
Name=.next
Info.Format=text/html
EndPart
Document
Redirect.Target=freenet:CHK[-AT-]HDF~aaiE-kN4esHi7UHlaqb8wa4OAwI,UPPC82Q30Ni-ncWdLtiYBg
Info.Format=text/html
End
--
RawDataLength=0
Now I copy the content beginning with the line which contains "Version" 
and ending with the empty line after "End", then go to "Upload a file or 
NIM" in FIW enter in the Field "Key" any key (CHK[-AT-], 
SSK[-AT-]/sitename, KSK[-AT-]) then select the 
radio button Raw metadata and paste into the text-area the copied text 
and lets upload. So you will create a freesite that has the same 
contents as the FUQID Freesite. You also can upload some other 
html-files as CHKs and replace the entries in the mapfile. In this way 
you can create a freesite manually.

Then you should look what happens when you enter some other keys in the 
URI line of the MetaDataBrowser. Some text-files, some binary files, 
some small (< 1KB) files, some big files (> 500KB, < 1MB) and some 
splitfiles.

I hope that all the questions will be answered after these small 
experiments.

___
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: What does a map-file look like?

2004-04-09 Thread Michael Schierl
"Garb" <[EMAIL PROTECTED]> writes:

> I have been using FIW for inserting sites, but because I'm a hands-on kinda
> guy and a masochist, I would really like to try doing it a bit more
> manually. Unfortunately I don't seem to be quite smart enough to figure out
> how. My problem is the contruction of clickable links to files that are
> already in freenet. How do I do that?

just link to the key, preceded by a slash, e.g.

Maybe the GPL
What know I
A nice picture
A nice picture with a nice name

> Then I heard something about a "MAP"-file, which I am lead to assume could
> be the solution to all my problems - or at least the ones not related to
> girls or money. It appears to be some sort of cross-reference between the
> real-world file-names and the URIs, but I have thus far been unable to find
> out exactly what it looks like or how to make them. And I'm still not
> certain, how that would solve my problem with telling the browser about
> fred's location.

FIW will build a mapfile when you insert your site so that you can use
"nice" names for files inside it.

You could tweak this file by adding stuff into your .fiw/mapfile.ini
inside the project directory, but I think that is overkill for linking
to foreign sites. It might be useful if you want to give files an
address below your SSK (to prove others that you approve its
contents), but is not needed for linking to foreign files.

To view the "raw mapfile" of a freesite, open FIW's metadata browser
and enter the URI of that site up to the first // in it.

(You might see a DateRedirect first if that site is DBR, but just move
your cursor on that DateRedirect line and hit Return to view the
current mapfile behind it.)

The format for mapfile.ini is a bit more "cooked" than the mapfiles
inside freenet, e.g.

[EMAIL PROTECTED]

Then you can directly link to picture.png from your site and viewers
won't be able to notice that that is a file you didn't insert
yourself. 

> Any of you brains out there have an idea or a pointer as to where I could
> look for info?

If you are more interested about what is happening "behind the
scenes", try to get the "Nubile" or "Freenet Explained"
freesites. AFAIK they are archived somewhere outside Freenet as well,
but I don't remember the URL.

mihi

___
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: Re: What does a map-file look like?

2004-04-09 Thread Garb


>Date: Thu, 08 Apr 2004 15:06:13 +0200
>From: Rudolf Krist <[EMAIL PROTECTED]>
>Subject: [freenet-support] Re: What does a map-file look like?
>To: Z Freenet SupportML <[EMAIL PROTECTED]>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=windows-1252; format=flowed

>Garb schrieb:
>> Then I heard something about a "MAP"-file, which I am lead to assume 
>> could be the solution to all my problems - or at least the ones not 
>> related to girls or money. It appears to be some sort of cross-reference 
>> between the real-world file-names and the URIs, but I have thus far been 
>> unable to find out exactly what it looks like or how to make them.

>When you use FIW, there you will find a feature called 
>"MetaDataBrowser", I'm not sure if that will help you, but there you 
>could enter a freesite uri, like 
>[EMAIL PROTECTED]/fuqid/10, to see what the mapfile of 
>the freesite contains.

You are right - that certainly seems to be exactly what I am looking for (if
we exclude J.Lo's private phone number...). But where is that information
actually located? It is not in the HTML-source of the page. Could it be in a
special file with a name that FIW can somehow deduce from the URI of the
main page?

Regards,
J

___
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] The network is busy, are you even connected to the Internet?

2004-04-09 Thread Pierre Abbat
I keep getting errors like this when browsing Freenet:

The network is busy, please try again later.

Couldn't connect to the network. Are you sure you have configured Freenet 
correctly? Also make sure that you are connected to the internet.

A tcpdump shows that I am indeed connected to the Internet, and there is 
plenty of slack bandwidth. I can get some Freenet sites. What could the 
problem be?

phma 
-- 
li fi'u vu'u fi'u fi'u du li pa
___
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] log rotation

2004-04-09 Thread Conrad Sabatier

On 09-Apr-2004 Steven wrote:
> On Thursday 08 April 2004 08:23 am, Toad wrote:
>> On Thu, Apr 08, 2004 at 06:28:06AM -0400, Pierre Abbat wrote:
>> > I told Freenet to rotate logs, but instead it writes an apparently
>> > unending string of logfiles. How do I tell it the number of logfiles to
>> > keep?
>>
>> Freenet doesn't really support log rotation in the sense that at present
>> it does not delete old logfiles. If anyone wants to add this feature,
>> that would be great. Otherwise it goes on the never-ending TODO list.
>>
>> > phma
>> > --
>> > li fi'u vu'u fi'u fi'u du li pa
> 
> There are two more options regarding log keeping in that section of 
> freenet.conf.  One of them is something like maxLinesCached, the other is 
> maxBytesCached.  I set these values to a low size, expecting fred to 
> automatically discard older log information, and keep it all in one logfile 
> (rather than generating dozens of logs).  It didn't work.  I went without 
> checking the logfile for a while, and it ended up being close to 400MB!  Just
> for fun, I attempted to open this file in several different editors.  Most 
> crashed, but one worked, and it took over 30 minutes for it to load!
> 
> Am I misunderstanding what these options are for?  I'm not interested in 
> keeping very old log information, so I'd like to just discard it, and that's 
> what I expected these settings to do.

The max*Cached options are (if I understand correctly) intended to control the
amount of log data cached in memory at any given time.  The idea, I think, is
to set them both to a suitable value that will avoid excessive writes to disk. 
They have no influence, however, on the actual size of the log file.

Someone needs to take a look at the log rotation code and fix it to work as
most people intuitively expect, or at least document that it doesn't.  :-)
 
-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"

___
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 and gentoo

2004-04-09 Thread Steven
I don't remember the config script pausing like that.  Do you have an older 
version of the ebuild in the portage directory?  Maybe you can run that 
script to generate freenet.conf.  There must be something wrong with your 
config file.  

I never use the ebuild to edit my freenet.conf anyway, I just do it by hand 
because the ebuild doesn't configure everything.

Before Fred starts up completely, if I try to use konqueror to access fproxy, 
i get that exact same error, so that probably means that Fproxy isn't 
starting.  It usually takes about a minute for fproxy to start for me (1.1ghz 
athlon).

are you getting lots of tcp connections? run netstat, you should see dozens of 
connections after a few minutes. 

Sorry, I can't help you more.
___
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 does a map-file look like?

2004-04-09 Thread Steven
On Thursday 08 April 2004 05:56 am, Garb wrote:
> or at least the ones not related to girls or money

Damn!  You had my hopes up.
___
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] log rotation

2004-04-09 Thread Steven
On Thursday 08 April 2004 08:23 am, Toad wrote:
> On Thu, Apr 08, 2004 at 06:28:06AM -0400, Pierre Abbat wrote:
> > I told Freenet to rotate logs, but instead it writes an apparently
> > unending string of logfiles. How do I tell it the number of logfiles to
> > keep?
>
> Freenet doesn't really support log rotation in the sense that at present
> it does not delete old logfiles. If anyone wants to add this feature,
> that would be great. Otherwise it goes on the never-ending TODO list.
>
> > phma
> > --
> > li fi'u vu'u fi'u fi'u du li pa

There are two more options regarding log keeping in that section of 
freenet.conf.  One of them is something like maxLinesCached, the other is 
maxBytesCached.  I set these values to a low size, expecting fred to 
automatically discard older log information, and keep it all in one logfile 
(rather than generating dozens of logs).  It didn't work.  I went without 
checking the logfile for a while, and it ended up being close to 400MB!  Just 
for fun, I attempted to open this file in several different editors.  Most 
crashed, but one worked, and it took over 30 minutes for it to load!

Am I misunderstanding what these options are for?  I'm not interested in 
keeping very old log information, so I'd like to just discard it, and that's 
what I expected these settings to do.
___
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] newbie - Error: Route not Found

2004-04-09 Thread sdretu
Le Thu, 8 Apr 2004 16:20:26 +0100, Toad <[EMAIL PROTECTED]> a écrit :

> On Thu, Apr 08, 2004 at 02:27:22AM +0200, sdretu wrote:
> > Hello !
> > 
> > I just installed freenet.
> > I used the debian "stable" archive of freenet-unstable.ps aux
>  
> > 
> > Now I jump to the interface, browse http://localhost:/ and try to download 
> > gpl.txt.
> 
> What build number does it say? Most likely your problems are caused by
> the debian package being way out of date. The debian package uses a
> really old version of Freenet that doesn't work with the modern network.

That was the problem. I use the latest build and it's runnig well. Thank you !
___
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]