Minor update to script (Re: [freenet-support] log rotation)

2004-04-08 Thread Conrad Sabatier
Just noticed after I had uploaded the log rotate script that the date command
was being used in two locations.  Stoopid.

Updated version attached.

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"



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

Re: [freenet-support] Freenet and gentoo

2004-04-08 Thread Conrad Sabatier

On 08-Apr-2004 Troy Leveille-dit-Truchon wrote:
> 
> So I hit enter taking the default and get:
> 
>  * Press U within 2 seconds to try an unstable snapshot

Two seconds!?!  Whose idea was this, some Linux Uebergeek?  Jeez!  :-)

-- 
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-08 Thread Phillip Hutchings
Is this a bug or just my own error?
Delete the freenet config file, re-run the ebuild config, and after it 
asks you for the port wait a _VERY_ long time. I've seen it take 5 
minutes to prompt me for it, so be patient.

It's actually caused by a bug in the ebuild file. I don't currently 
have freenet on my Gentoo machine, but I'll look at the ebuild to see 
if I can remember where the problem is.
--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/

___
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]


[freenet-support] permanent node Q's

2004-04-08 Thread runya sairon
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 
out how to make my computer a permanent node. either configuration ( 
defualt, router ) hasnt enabled permanent node, so what do i do now to 
become one?

also, does an increased number of splitfile threads mean more efficient 
downloading?

thanks.

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

___
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] outgoing ports

2004-04-08 Thread Toad
On Thu, Apr 08, 2004 at 09:41:20AM -0700, gojyo wrote:
> hi,
> I have installed the freenet web interface on my pc; I've read that the freenet 
> client uses random port numbers for outgoing connections. Now, in my pc, I block any 
> outgoing packet from any port below 30.000 (I use Linux 2.4.22 and every outgoing 
> connection should start from a port number above 30.000, in fact everything works 
> fine). However, when using freenet, it happens sometimes that my request cannot even 
> escape from my own pc.
> Maybe freenet use ports below 30.000 too? Could it be the problem?

Freenet selects a random port for incoming connections. It does not bind
the local side of outgoing connections at all. You will need to be able to:
a) Receive connections on the listenPort from nodes anywhere on the
internet.
b) Send connections to nodes anywhere on the internet, whose listenPorts
may well be below 30,000.
> 
> thanks!
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


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

Re: [freenet-support] Mac

2004-04-08 Thread Howard White
On Mac OS X 10.3.3

1) Only use Apple's JMV 1.4.1. Do not install Apple's JVM 1.4.2 via the
update panel as Freenet will crash.

2) Download the Freenet 5076

3) Fix your Mozilla browser 1.6 about:config to have 200 connections,
100/host, 50 persist/proxy and 10 connections/server

4) Edit the freenet config file to allow 512 connection up from the standard
128.

5) Then set the ulimit -n 1024 in the terminal before launching sh
start-freenet.sh

Running here currently successfully a 4Gig Freenet node off a cable modem
behind an Airport exstreme via a NAT fixed IP from the ISP's fixed IP on a
G3 iBook 800Mhz with 640MB RAM. There are also three virtual domains
severing up three PHP postnuke CMS sites From 4D's WebStar 5.3.1 system
w/Webmail. There are also three active user accounts for Halo games and
such.

Activity monitor shows Freenet using ~150MB of real memory once it gets
fully integrated into the freenet nodes. Freenet may need a restart every
two or three days if lots of other activity from the other accounts has been
happening. I guess because of memory fragmentation.

On 4/7/04 4:47 PM, "Rick" <[EMAIL PROTECTED]> wrote:

> Is there anyone running this on a Mac OS X?
> if so, drop me a line
> 
> Thanks-
> Rick
> 
> 
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> \/\/\/\/\
> No hassles!, No gimmicks!, NO term commitments!, No tricky dial around
> codes!,
> Just 3.9¢ per minute 24/7 for you interstate long distances.
> 
> Prove it: goto http://ld.net/?zpro
> ( Enter your info into the Best Rate Calculator )
> ___
> Support mailing list
> [EMAIL PROTECTED]
> http://news.gmane.org/gmane.network.freenet.support
> Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
> Or mailto:[EMAIL PROTECTED]

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


[freenet-support] outgoing ports

2004-04-08 Thread gojyo
hi,
I have installed the freenet web interface on my pc; I've read that the freenet client 
uses random port numbers for outgoing connections. Now, in my pc, I block any outgoing 
packet from any port below 30.000 (I use Linux 2.4.22 and every outgoing connection 
should start from a port number above 30.000, in fact everything works fine). However, 
when using freenet, it happens sometimes that my request cannot even escape from my 
own pc.
Maybe freenet use ports below 30.000 too? Could it be the problem?

thanks!


_
Open a Private 6MB Email account today, for Free!
- http://www.killamail.com -
___
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] Freenet and gentoo

2004-04-08 Thread Troy Leveille-dit-Truchon
I'm trying to get freenet running on my gentoo box. After running 'emerge 
freenet' I try to start it with '/etc/init.d/freenet start' I receive the 
following message:

 * To configure freenet, please run:
 * # ebuild /usr/portage/net-p2p/freenet/freenet-[version].ebuild

After looking around I found out that I should actually be:

ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild config

I then get the following output:

 * Would you like to update freenet files now? [Y/n]

So I hit enter taking the default and get:

 * Press U within 2 seconds to try an unstable snapshot
--22:04:25--  http://freenetproject.org/snapshots/freenet-latest.jar
   => `/usr/lib/freenet/freenet.jar'
Resolving freenetproject.org... 66.35.250.210
Connecting to freenetproject.org[66.35.250.210]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,259,035 [application/x-java-archive]

100%[===>] 
2,259,035389.56K/sETA 00:00

22:04:31 (437.19 KB/s) - `/usr/lib/freenet/freenet.jar' saved 
[2259035/2259035]

--22:04:31--  http://freenetproject.org/snapshots/seednodes.ref
   => `/var/freenet/seednodes.ref'
Resolving freenetproject.org... 66.35.250.210
Connecting to freenetproject.org[66.35.250.210]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,592,089 [text/plain]

100%[===>] 
2,592,089370.61K/sETA 00:00

22:04:37 (378.45 KB/s) - `/var/freenet/seednodes.ref' saved [2592089/2592089]

 * Preparing to configure freenet...
hostname: Unknown host
Freenet Configuration
Running in simple mode. Some preferences will be skipped.
You can choose the default preferences by just hitting 

Setting: listenPort
The port to listen for incoming FNP (Freenet Node Protocol) connections on.

I gave it some random port number and pressed enter. It did nothing but go to 
the next line. After waiting a while I hit ctrl-c. When I reran it I got to 
this point and just waited seeing if this was just a notice and not a prompt. 
But after a few moments I pressed ctrl-c and received:

(interrupted by user -- ctrl-C?)
 * Congratulations, freenet is configured and up to date
 * use '/etc/init.d/freenet start' to start it
 * You can always re-update/reconfigure  your freenet with:
 * # ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild config

My /etc/freenet.conf looks like:

ipAddress=
listenPort=11252
seedFile=/var/freenet/seednodes.ref
logFile=/var/freenet/freenet.log
storeFile=/var/freenet/store
diagnosticsPath=/var/freenet/stats
routingDir=/var/freenet
nodeFile=/var/freenet/node

After puting in my routers external IP address and forwarding the port I ran 
'/etc/init.d/freenet start. It seems to have started freenet but when I point 
my browser to 127.0.0.1: I just get an error. It doesn't seem to matter 
how long I wait I still get  no response. I use Konqueror and the error 
message is:

An error occurred while loading http://127.0.0.1:/:

Could not connect to host 127.0.0.1 (port )

Is this a bug or just my own error?
___
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-08 Thread sdretu
Le Wed, 7 Apr 2004 21:05:04 -0400, Pierre Abbat <[EMAIL PROTECTED]> a écrit :

> > I do not announce -at least for now- because I'm behind a firewall (wich i
> > opened the right TCP port (-; ) and my IP is dynamic and I don't know if my
> > DynDNS name would work (moreover, it did not changed anything when tried).
> 
> By the right port, do you mean the one in freenet.conf?

Yes.

> That's the port Freenet is expecting connections on; in the firewall you should 
> forward it to your node.

That's what I did.

> Freenet nodes run on lots of different ports, so if your node is on port 14159, it 
> may ask another node that's on 27182, and connect from port 26535 to port 27182. You 
> have to allow those connections as well.

So I should open and forward all these nodes too ?

> Run "tcpdump port 14159", and then just "tcpdump" (use "-n" to stop nameserver 
> lookups), and you'll see what's happening.

Nothing is happening :c(

Perhaps a Java problem ?

When I installed the debian package, apt-get choose "kaffe" for me.

It didn't worked at all. So I tried "Blackdown Java jre1.1" (not free and it's bad, I 
know)
So I could get the HTML frontend but nothing happend except :
> 08-Apr-04 5:08:19 AM (freenet.OpenConnectionManager, PThread-119): Unknown exception 
> while connecting to: tcp/zeppox.ath.cx:5343
> java.lang.UnknownError: Connexion refuse
>   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:282)
>   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:124)
>   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:111)
>   at java.net.Socket.(Socket.java:221)
>   at java.net.Socket.(Socket.java:109)
>   at freenet.transport.TCP$privSocketFactory.createSocket(TCP.java:49)
>   at freenet.transport.tcpConnection.(tcpConnection.java:30)
>   at freenet.transport.tcpAddress.connect(tcpAddress.java:94)
>   at 
> freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:387)
>   at freenet.thread.PThreadFactory$PThread.run(PThreadFactory.java:138)
It happened when I aborted a try but I can't reproduce it...

I tried "Blackdown Java j2re1.4" (vrms is complaining too)
No error but same problem.

I could try "sablevm" (Free), "gij-3.3" (GNU) or "jdk1.1" (IBM) too.

Now I downloaded j2re1.4.2 (Sun) and still nothing happens...
Here the log :
> 08-avr.-2004 17:53:10 (freenet.node.Main, main): loading node keys: 
> /var/lib/freenet-unstable/node
> 08-avr.-2004 17:53:11 (freenet.node.Main, main): starting filesystem
> 08-avr.-2004 17:53:13 (freenet.node.Main, main): loading data store
> 08-avr.-2004 17:53:13 (freenet.node.Main, main): loading routing table
> 08-avr.-2004 17:53:20 (freenet.node.Main, main): loading temp bucket factory
> 08-avr.-2004 17:53:26 (freenet.node.Main, main): starting node
> 08-avr.-2004 17:53:26 (freenet.node.Main, main): loading service: fproxy
And no "ticker" nor "interfaces" ?
___
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-08 Thread Toad
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
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


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

Re: [freenet-support] What does a map-file look like?

2004-04-08 Thread Conrad Sabatier

On 08-Apr-2004 Garb wrote:
> 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?

Simple, just use the key preceded by "/".

Example:

The Amazing Foo Site

-- 
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] newbie - Error: Route not Found

2004-04-08 Thread Toad
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.
If they maintained their own seednodes and a separate network it might
still have been usable. Unfortunately recent versions of freenet don't
work with the free JVMs (this is being worked on). When the free JVMs
are fixed, we will hopefully provide new packages. You can get a recent
version of freenet from:
http://freenetproject.org/index.php?page=download . You will need to get
the unix tarball and then run the update.sh script.

> I get :
> 
> > Network Error
> > 
> > Couldn't retrieve key: [EMAIL PROTECTED]
> > Hops To Live: 15
> > Error: Route not Found
> > 
> > Attempts were made to contact 49 nodes.
> > 
> > * 49 were totally unreachable.
> > * 0 restarted.
> > * 0 cleanly rejected. 
> > 
> > The request couldn't even make it off of your node. Try again, perhaps with 
> > gpl.txt to help your node learn about others. The publicly available seed nodes 
> > have been very busy lately. If possible try to get a friend to give you a 
> > reference to their node instead. 
> > 
> > Change Hops To Live [15] 
> 
> Of course, I retried many times with many different hops value.
> Now I'm drunk... :cP ;c)
> 
> I looked in the logs (/var/log/freenet-unstable/freenet.log) and did not found 
> anything interesting :
> 
> > 07-Apr-04 6:13:47 PM (freenet.node.Main, main): loading node keys: 
> > /var/lib/freenet-unstable/node
> > 07-Apr-04 6:13:48 PM (freenet.node.Main, main): starting filesystem
> > 07-Apr-04 6:13:53 PM (freenet.node.Main, main): loading data store
> > 07-Apr-04 6:13:53 PM (freenet.node.Main, main): loading routing table
> > 07-Apr-04 6:14:00 PM (freenet.node.Main, main): loading temp bucket factory
> > 07-Apr-04 6:14:08 PM (freenet.node.Main, main): starting node
> > 07-Apr-04 6:14:08 PM (freenet.node.Main, main): loading service: fproxy
> > 07-Apr-04 6:14:08 PM (freenet.node.Node, main): Starting ticker..
> > 07-Apr-04 6:14:08 PM (freenet.node.Node, main): Starting interfaces..
> > 07-Apr-04 6:14:08 PM (freenet.node.Main, main): Not announcing because I am 
> > transient.
> 
> I do not announce -at least for now- because I'm behind a firewall (wich i opened 
> the right TCP port (-; ) and my IP is dynamic and I don't know if my DynDNS name 
> would work (moreover, it did not changed anything when tried).
> 
> 
> What can I do ?
> 
> Thanks for your help !
> ___
> Support mailing list
> [EMAIL PROTECTED]
> http://news.gmane.org/gmane.network.freenet.support
> Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
> Or mailto:[EMAIL PROTECTED]

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


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

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

2004-04-08 Thread Toad
On Thu, Apr 08, 2004 at 10:33:41AM +0300, Mika Hirvonen wrote:
> 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.

Actually I never reimplemented ARKs for NGRouting. I'm not sure they're
appropriate. Anyone got any opinions on this?
> 
> --
>  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]

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.


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

Re: [freenet-support] log rotation

2004-04-08 Thread Conrad Sabatier

On 08-Apr-2004 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?

I use an external script (see attachment) to do this myself, running as a cron
job every two hours.  The script creates bzipped log archives named for the time
the script was run, e.g.:

freenet.log-02:00-AM.bz2
freenet.log-02:00-PM.bz2
freenet.log-04:00-AM.bz2
freenet.log-04:00-PM.bz2
freenet.log-06:00-AM.bz2
freenet.log-06:00-PM.bz2
freenet.log-08:00-AM.bz2
freenet.log-08:00-PM.bz2
freenet.log-10:00-AM.bz2
freenet.log-10:00-PM.bz2
freenet.log-12:00-AM.bz2
freenet.log-12:00-PM.bz2

These are automatically overwritten each day.

HTH

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"

#!/bin/sh
#
# rotate_freenet_logs

PATH=/bin:/usr/bin:/usr/sbin

# Get current time as HH:MM-{AM|PM}

d=$(date "+%I:%M-%p")

# Make sure these are set properly!

FREENET_HOME=/home/freenet
FREENET_LOGDIR=$FREENET_HOME/logs
FREENET_LOG=freenet.log

cd $FREENET_HOME

if [ -f freenet.pid ]
then
pid=$(cat freenet.pid)
else
echo "freenet.pid file not found" >&2
exit 1
fi

if ! ps ax | grep -qw "^ *$pid"
then
echo "Freenet doesn't seem to be running" >&2
rm -f freenet.pid
exit 1
fi

if [ ! -d $FREENET_LOGDIR ]
then
echo Directory $FREENET_LOGDIR does not exist >&2
exit 1
fi

if ! [ -r $FREENET_LOGDIR -a -w $FREENET_LOGDIR -a -x $FREENET_LOGDIR ]
then
echo "Need full read/write/exec access to $FREENET_LOGDIR" >&2
exit 1
fi

cd $FREENET_LOGDIR

if [ ! -f $FREENET_LOG ]
then
echo $FREENET_LOGDIR/$FREENET_LOG does not exist >&2
exit 1
fi

if ! [ -r $FREENET_LOG -a -w $FREENET_LOG ]
then
echo Need read/write access to $FREENET_LOGDIR/$FREENET_LOG >&2
exit 1
fi

cp $FREENET_LOG "freenet.log-$d"

echo Log rotated at $(date "+%I:%M %p") > $FREENET_LOG

bzip2 -fq "freenet.log-$d"

chown freenet:freenet "freenet.log-$d.bz2"

exit 0
___
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-08 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.

___
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] Current proportion of requests being accepted: 0, 660

2004-04-08 Thread Rudolf Krist
Using unstable build 60058

Since I set the the number of download threads from 50 to 70 in FUQID
the proportion value began to decrease. Now ~ 2 hours running with 70
threads it is at 0,660 and seems to stay at this level.
here are some settings of my node:
outputBandwidthLimit=13001
maxNodeConnections=300
inputBandwidthLimit=7
I set the thread number to 70 because of the 7 KB/second input
Bandwidth limit in average only 40% are used, rarely there were some
peaks up to ~ 60% of the limit, even after I set the thread number to 70.
Why did the proportion of requests, being accepted, decrease?

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

2004-04-08 Thread Garb








Greetings freenetters.

 

 

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?

 

Initially I thought that I could just copy the keys from FUQID
and put them in a hyperlink, but that doesn’t work because the part of
the address telling the browser where FRED is, is missing. And not everybody
has him on 127.0.0.1, so I cant just put that in as part of the link.

 

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.

 

Any of you brains out there have an idea or a pointer as to
where I could look for info?  If so, I’ll declare you all saints,
when I become the pope… :-)

 

 

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]

Re: [freenet-support] Mac

2004-04-08 Thread Ian Clarke
Getting Freenet working on OSX is pretty straight-forward provided you
are comfortable using a command line.  Basically you just need to follow
the instructions for Linux.

We could certainly use someone willing to package Freenet up nicely such
that it can be installed and used on OSX without resort to the
command-line - but unfortunately none of the core devs use OSX :-(

Ian.

On Wed, 2004-04-07 at 21:47, Rick wrote:
> Is there anyone running this on a Mac OS X?
> if so, drop me a line
> 
> Thanks-
> Rick
> 
> 
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ 
> \/\/\/\/\
> No hassles!, No gimmicks!, NO term commitments!, No tricky dial around  
> codes!,
> Just 3.9Â per minute 24/7 for you interstate long distances.
> 
>   Prove it: goto http://ld.net/?zpro
> ( Enter your info into the Best Rate Calculator )
> ___
> 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]
-- 
Coordinator, the Freenet Project
CEO, Cematics Ltd


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

[freenet-support] log rotation

2004-04-08 Thread Pierre Abbat
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?

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] 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]