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

2004-05-26 Thread Toad
On Tue, May 25, 2004 at 11:34:18AM +, Wayne McDougall wrote:
 Toad [EMAIL PROTECTED] writes:
 
  On Tue, May 25, 2004 at 05:04:53AM +, Wayne McDougall wrote:
 
  Not terribly well, because of high level bandwidth limiting. The node
  needs to know how much bandwidth is available to estimate how much is
  being used and therefore how many queries to allow.
 
 With respect this seems insufficiently good enough for the real world
 nature in which a node will run. People will want (I want) Freenet to
 notice that its share of bandwidth has been dropped and to react accordingly.

How, exactly? We need to know what our target is in order to manage
bandwidth usage effectively and especially in order to manage the number
of trailer transfers and requests.
 
 Current messageSendTimeRequest seems a good measure of that.

That is taken into account by rate limiting, and hence affects the
number of queries accepted, and thus the bandwidth usage (in a similar
way to high level bandwidth limiting).
 
 So I naively ask can't we mroe dynamically adjust bandwidth caps down when we
 see messageSendTimeRequest shoot up? Probably not...I suspect that would create
 a vicious circle. Ok but isn';t there some measure Freenet can use to notice
 it's getting choked and not to try and hog the connection?

We already do, effectively.
 
 Ok I am for all intents and purposes and innocent newbie whose just been
 quitely running a node for two years, trying to share what bandwidth I can
 because I think the project is worthwhile and bandwidth (so I've read)
 is the greatest need. 

Hehe. Working software is probably the greatest need :).
 
 And certainly I've seen Freenet (when on a good enough build, which is usually
 the case) sucks up every last byte of my bandwidth and I like to think that
 that is being useful to someone somehow. I've assumed that if my 80 Gb
 datastore fills up at 1 Gb per day, and Freenet still routes to and through
 my meager 128/128 kbps line (even when I cap it lower) that, hey, maybe my 
 node is useful or needed or something.

Ouch. Dual ISDN is the cheapest broadband available in your area? That's
horrible. :).
 
 And when I see something new on COFE and follow the link and find 10% of the
 data is already in my meagre 1.5 Gb store I think hey, it got there somehow.
 I'm impressed with how well it works. Much better lately, thank you Toad.
 And I'm amazed so many connections are to Sweden or Germany or such like. In
 fact I've ever only noticed one (brief) connection to a New Zealand node. 
 I'm not sure what that all means, except that even on a (by world standards)
 a relatively low bandwidth node, Freenet is highly functional to me.

Ah, you're in NZ. Hence the cr*p bandwidth.
 
 I'm rambling...my point is that I read and try to understand but I'm a 
 newbie and may blather in my innocence...forgive my questionsand
 comments. I don't expect agreement. But I throw them out anyway.
 
   I watch (with envy) discussions on bandwidth and pricing and (sadly) I
   think the world is moving more to caps (monthly limits) rather than open.
  
  It certainly is in Oz and NZ.
 
 Indeed. And I notice the whining of people in the US when their providers move
 them on to similar capped plans. Maybe the competition is strong enough to
 mitigate that, but bandwidth ain't cheap and simple economics seems the way
 to stop the leeches. I see it as a growing trend. But that's just my view.
 Wish it would trend the other way.

Bandwidth isn't THAT expensive. People who want bandwidth will switch
ISPs in a healthy market. I have been tempted by some DSL deals but
unless Cable starts imposing and enforcing bandwidth limitations, I'm
sticking to my cable modem for now. If they do, I'll take my business
elsewhere, even if it means a different phone telco.
 
  There is sadly no priority in it ATM. To help one user run a node in a
  wierd situation... hmm. I'll think about it.
 
 Absolutely. You set the priorities. I have no expectations that anything 
 would be done about it. Mostly I have a questions, which I think is still
 unanswered:
 
 How will a node respond if one set of connections has a high bandwidth cap
 and another set of connections has a low bandwidth cap (assuming these caps
 are applied externally). Does the node give its average recommendation on
 retry intervals and load to ALL the connections? Will the high bandwidth
 connections figure out this is a good node to deal with, even if I'm sending
 out a retry interval based on averages.

It will not understand it. Therefore it will not deal with it
particularly well..
 
 Put another way: does freenet assume all my outgoing and incoming connections
 have equal bandwidth throughput? Does that affect routing in a suboptimal
 way?

Unless they are LAN or local or reserved IPs, they are throttled in a
similar manner and accounted for as one unit for high level bandwidth
limiting. We COULD have multiple low level limiters, but it'd be a PITA
to implement, 

Re: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread Toad
On Wed, May 26, 2004 at 05:08:25PM +0400, [EMAIL PROTECTED] wrote:
 version 0.5.2.8 on win2k server and I install it by just clicking on freenet-
 webinstall.exe .
 
 I am on a Nat so I have modify freenet.ini file with ipAddress=192.168.0.1 and 
 a redirector to this ip with the random freenet open port.

Well, that's a mistake. It needs to be your EXTERNAL IP address - the
address at the other side of the router. If the other side is dynamic,
at present your only option is dyndns.
 
 The errors list messages doesn't indicate a connection problem.

Hmmm.
 
 If I delete freenet conf file so freenet doesn't connect.
 
  
  How did you install Freenet, what version did you install, and what is
  your operating system?  Can't explain what's wrong until you tell us what
  you did.  Also did you edit the freenet.conf file manually by hand?
  
  At first glance it looks like freenet.conf is corrupted so maybe try
  deleting it and rerunning freenet.

Could you send me your freenet.conf?
-- 
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] Re: [freenet-dev] Retiring from the project

2004-05-26 Thread Toad
On Tue, May 25, 2004 at 05:39:34PM +0200, Troed S?ngberg wrote:
 On Tue, 25 May 2004 10:51:20 -0400, Jay Oliveri [EMAIL PROTECTED] wrote:
 
 1) Fred takes too much CPU and RAM because it's written in Java.
 
 I hate this depate.
 
 It's true that object orienting uses up (a few) more bytes than non-OO  
 programming, but that's trivial compared to the structuring you (can) get  
 with OO vs non-OO.

Absolutely, virtual pointers are well worth the cost.
 
 JIT Java (which we're all running) is also very speedy, there's only a few  
 rare instances where it's worth the trouble to replace code with something  
 natively instead.

Debatable. But most of the problems with Java come from the fact that it
is non-free IMHO. If and when freenet works on GCJ, we benefit from:
1. Reduced CPU usage due to better optimization and no compilation at
run time.
2. Reduced memory usage for the same reason.
3. Increased performance for BigInteger operations such as crypto; 5-10x
faster using the free GMP library than Sun's proprietary implementation.
 
 On the other hand, it's quite easy to lose control with object creation,  
 and to forget how to help the GC do the work most efficiently. That has  
 nothing to do with Java in itself though.

Well, Java does tend to produce a lot of object churn. But even if I was
doing a project the size of Freenet in C++ I would find a GC very
useful. Explicit deallocation support would *occasionally* be useful.
 
 /me - professional Software Engineer, well trained in C, C++ and Java  
 (although mostly J2ME)
-- 
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] Re: [freenet-dev] Retiring from the project

2004-05-26 Thread Ian Clarke
Toad wrote:
JIT Java (which we're all running) is also very speedy, there's only a few  
rare instances where it's worth the trouble to replace code with something  
natively instead.

Debatable. But most of the problems with Java come from the fact that it
is non-free IMHO. If and when freenet works on GCJ, we benefit from:
1. Reduced CPU usage due to better optimization and no compilation at
run time.
There are optimisations that can be performed at runtime by a JIT which 
cannot be performed by a native compiler, so it can't be taken for 
granted that avoiding runtime compilation is an advantage.

Ian.
___
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: Re[2]: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread Edward J. Huff
On Wed, 2004-05-26 at 09:08, [EMAIL PROTECTED] wrote:
 version 0.5.2.8 on win2k server and I install it by just clicking on freenet-
 webinstall.exe .

What build number?  That sounds like a very old version.  You need to
upgrade it to build number 5082.  See instructions for upgrading on the
website.  Basically, replace freenet.jar with the new version.

 
 I am on a Nat so I have modify freenet.ini file with ipAddress=192.168.0.1 and 
 a redirector to this ip with the random freenet open port.
 
 The errors list messages doesn't indicate a connection problem.
 
 If I delete freenet conf file so freenet doesn't connect.
 
  
  How did you install Freenet, what version did you install, and what is
  your operating system?  Can't explain what's wrong until you tell us what
  you did.  Also did you edit the freenet.conf file manually by hand?
  
  At first glance it looks like freenet.conf is corrupted so maybe try
  deleting it and rerunning freenet.
  
 
 ___
 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]


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]

Re: Re[2]: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread Dave
  version 0.5.2.8 on win2k server and I install it by just clicking on
freenet-
  webinstall.exe .

 What build number?  That sounds like a very old version.  You need to
 upgrade it to build number 5082.  See instructions for upgrading on the
 website.  Basically, replace freenet.jar with the new version.

Please don't add to the confusion Edward.  Version 0.5.2.8 is the version of
freenet.exe (on Windows - as reported by looking at the About dialog), which
is NOT the same as the version of the freenet.jar.   When freenet is
installed on Windows, freenet-webinstall.exe automatically downloads and
installs the latest jar.

[EMAIL PROTECTED]:  you have the latest version, you don't need to upgrade
anything.  It sounds like perhaps your NAT box is not correctly forwarding
the port to freenet on your machine?   Alternatively, you can ignore the
could not insert ARK error for now, and keep trying to access content on
freenet (e.g. gpl.txt) and see if this is possible.   The ARK error might go
away as your node adapts to the network.

d

___
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] FCPTools and FCPLib Update

2004-05-26 Thread Jay Oliveri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would like to announce new tarballs and complete documentation for 
FCPTools and FCPLib, the C library used internally by FCPTools.

Ironically this is just after Greg's announcement for FT; It's taken me some 
time to get the code right, and create the updated, reformatted 
documentation both for the fcptools and fcplib.

To download the latest source tarball:
- - http://freenetproject.org/snapshots/fcptools-unstable.tgz

To download the latest Win32 binaries (MSVC 6):
- - http://freenetproject.org/snapshots/fcptools-unstable-bin.tgz

For the updated documentation on FCPTools:
- - http://freenetproject.org/index.php?page=fcptools

For the *NEW* documentation on FCPLib:
- - http://freenetproject.org/index.php?page=FCPlib

/***/
Some major improvements have been made to the tools, namely:

*) All memory leaks have been found and fixed (using dmalloc).
*) Win32 specific file-handling problems have all been addressed.
*) Source code has been successfully compiled on Win32, Linux, BSD, Solaris 
and OS X.
*) A new utility 'fcpx' has been added to serve as a general-purpose node 
utility.
*) Get and Put code has been factored into separate routines that are 
re-used throughout FCPLib.
*) The FCPLib API has been settled on and will remain 95% the same for the 
upcoming 0.9  1.0 release.

Some limitations:
*) Splitfile support only for Insert (ClientPut only).
*) Metadata support incomplete.
*) fcpget can only handle 1 metadata chunk (needs to be tweaked to accept 
more than one on ClientGet).

Perhaps some other things are missing as well.  However since the memory 
leaks are gone the programs are running more predictable than ever (this 
isn't to say it was *easy* closing up all those leaks, but it's done).

If something doesn't work as advertised please let me know via email.  It 
should compile and run right out of the box, so anything less than this 
is an issue.  In the near future I'll announce a bugfix tarball.

Happy client writing :)

- -- 
Jay Oliveri
GnuPG ID: 0x5AA5DD54
FCPTools Maintainer
www.sf.net/users/joliveri
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAtPLV5JyaE1ql3VQRAixIAJ9UjhrDAvACR1rba9m966z1GVqbmwCfQpTA
pac0Pi0XzoFLVBgBTEiEEPM=
=S+fY
-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]


Re: [freenet-support] Re: [freenet-dev] Retiring from the project

2004-05-26 Thread Dave
Just for an update on this, bouncing the thread appropriately for devl:
What are the current outstanding issues with GCJ compatibility (or, for that
matter, Kaffe/Blackdown/IBM java compatibility)

___
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[4]: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread cryptic_org
I try to get http://127.0.0.1:/[EMAIL PROTECTED] but always same error Couldn't 
retrieve key and it's the same error for others URL on the gateway page.

the ipaddress is set to my external IP and the Tcp port of the node is open and I can 
connect with telnet on it for verify so I don't know what is the new bug but it's 
really boring especially with program develop in java... 



 [EMAIL PROTECTED]:  you have the latest version, you don't need to upgrade
 anything.  It sounds like perhaps your NAT box is not correctly forwarding
 the port to freenet on your machine?   Alternatively, you can ignore the
 could not insert ARK error for now, and keep trying to access content on
 freenet (e.g. gpl.txt) and see if this is possible.   The ARK error might go
 away as your node adapts to the network.
 
 d
 
 ___
 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]


Re: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread Toad
Go to Advanced mode on the Web Interface. Then tell us exactly what the
error message says when you try to get the page(s).

On Thu, May 27, 2004 at 02:26:07AM +0400, [EMAIL PROTECTED] wrote:
 I try to get http://127.0.0.1:/[EMAIL PROTECTED] but always same error Couldn't 
 retrieve key and it's the same error for others URL on the gateway page.
 
 the ipaddress is set to my external IP and the Tcp port of the node is open and I 
 can connect with telnet on it for verify so I don't know what is the new bug but 
 it's really boring especially with program develop in java... 
 
 
 
  [EMAIL PROTECTED]:  you have the latest version, you don't need to upgrade
  anything.  It sounds like perhaps your NAT box is not correctly forwarding
  the port to freenet on your machine?   Alternatively, you can ignore the
  could not insert ARK error for now, and keep trying to access content on
  freenet (e.g. gpl.txt) and see if this is possible.   The ARK error might go
  away as your node adapts to the network.
  
  d
  
  ___
  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]

-- 
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[5]: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread cryptic_org
I have re download the seednode after thinking freenet was frozen for 5 minutes 
because no progress bar working (another bug).

I have access to freenet web page now. Thanks for the help.

But if I understand, Freenet can't work on a network without fixed IP or dns server ?
Freenet can't work with an internal IP and port redirection from the external IP so no 
way to go throw a firewall ? 
Lot of constraint for trying to make a free network with everyone.

I am force to make a little program who will modify the freenet.ini for changing the 
IP and unloading and reloading Freenet? I wonder why so basic things are not implement 
in Freenet.
___
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: Re[5]: [freenet-support] First freenet start, first freenet bugs

2004-05-26 Thread Phillip Hutchings
But if I understand, Freenet can't work on a network without fixed IP 
or dns server ?
Freenet can't work with an internal IP and port redirection from the 
external IP so no way to go throw a firewall ?
Lot of constraint for trying to make a free network with everyone.
Freenet works fine with ports forwarded from the firewall, but it 
doesn't use uPNP or anything, so you need to manually forward the port. 
You do need to keep the port number the same between the firewall and 
host. I know, I've done it. These days I run it on my firewall machine 
- small network, only that machine stays on 24/7 :P

I am force to make a little program who will modify the freenet.ini 
for changing the IP and unloading and reloading Freenet? I wonder why 
so basic things are not implement in Freenet.
Or use a service such as dyndns.org and put your hostname in your 
freenet.ini. Freenet has routines to check for IP changes (I've 
disabled them - static IP), so it should work pretty well once it's 
established, but before that it needs to announce an IP and port to 
connect to over the network so people start connecting to it.

--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/


smime.p7s
Description: S/MIME cryptographic 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]