[freenet-support] Bandwidth limiting of outgoing traffic...

2005-08-08 Thread Evert Meulie

Hi all!

Has anyone been able to accurately shape the bandwidth consumption of 
freenet traffic leaving your server? I know there are options in 
freenet.conf, but it seems that these are either ignored totally or at 
the very least not very strictly abided by...


Since Freenet uses random ports for outgoing traffic, I can't really 
shape it on my firewall either. (I do have an option to shape traffic 
based on packet content. Do all Freenet packages have some common, 
unique content perhaps?)


The Freenet site suggested to control the bandwidth usage on the 
OS-level instead. Who can tell me how to do this?



Regards,
Evert

___
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] indefinite exception loop

2005-08-08 Thread cirocco
Hi.
  My node works mostly without problems, it is tha stable build 5104. Now the 
log file grow to 280M and it contained the following exeption. I hope it will 
help you to find and eliminate the problem.
   And by the way thanks for your work freenet works really good now!

   Roman

Aug 7, 2005 9:03:29 PM (freenet.transport.WriteSelectorLoop, Network writing 
thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at 
sun.nio.ch.AbstractPollSelectorImpl.implDereg(AbstractPollSelectorImpl.java:140)
at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:121)
at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:59)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:584)
at 
freenet.transport.WriteSelectorLoop.beforeSelect(WriteSelectorLoop.java:389)
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:763)
at freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:799)
at java.lang.Thread.run(Thread.java:534)
Aug 7, 2005 9:03:29 PM (freenet.transport.WriteSelectorLoop, Network writing 
thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at 
sun.nio.ch.AbstractPollSelectorImpl.implDereg(AbstractPollSelectorImpl.java:140)
at sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:121)
at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:59)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
at 
freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:584)
at 
freenet.transport.WriteSelectorLoop.beforeSelect(WriteSelectorLoop.java:389)
at 
freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:763)
at freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:799)
at java.lang.Thread.run(Thread.java:534)
___
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] Special use of the freenet software...

2005-08-08 Thread Jesper Nielsen

Hi...

I'm looking for software that will make it possible to share data 
between a group of people (up to 20 people) without having to connect 
to the internet.


It would have to be able to run on multible platforms, so your software 
would be perfect.


All computers would connect via TCP/IP through a switch.

Regards,

Jesper Nielsen,
Denmark

[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] Some problems

2005-08-08 Thread Matthew Toseland
On Fri, Aug 05, 2005 at 04:15:43PM +0200, Jarle Aase wrote:
 tor, 04,.08.2005 kl. 21.19 +0100, skrev Matthew Toseland:
  The error you mentioned (Consecutive same winner) does not produce a
  stack trace. Admittedly there may be some overhead in updating the
  console - I suggest you redirect the log to either a file or /dev/null
  (I think logFile=none has this effect?).
 
 logFile=none produces a nice log in the file 'none' ;)
 
 logFile=/dev/null made the system more responsive. It still freezes with
 a high CPU-usage. It seems like the time it freeze increases slowly,
 until I just have to restart it.
 
 There is still one error-message that is logged to the console:
 
   CANNOT RENAME NODE FILE node-tmp TO node

Disk full?
 
 Jarle
-- 
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
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] First time firewall config help

2005-08-08 Thread Matthew Toseland
It is normal to begin with. It should improve rapidly. PS please don't
send HTML mails to freenetproject.org lists.

On Fri, Aug 05, 2005 at 11:23:12AM +0930, John Hart wrote:
 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 html
 head
   meta content=text/html;charset=ISO-8859-1 http-equiv=Content-Type
   title/title
 /head
 body bgcolor=#ff text=#00
 Matthew Toseland wrote:
 blockquote cite=[EMAIL PROTECTED]
  type=cite
   pre wrap=It is normal for it to be slow to start with. If you go to Open
 Connections, do you have incoming connections or are they all outgoing?
 If you have incoming connections, it should improve significantly over
 time.
 
 On Thu, Aug 04, 2005 at 08:09:44PM +0930, John Hart wrote:
   /pre
   blockquote type=cite
 pre wrap=Thanks for the advice, I set the port forwarding and removed 
 the router 
 address from the freenet.conf file. looks like everything is working but 
 VERY slow. Is this normal?
 
 John
 /pre
 pre wrap=
 hr size=4 width=90%
 ___
 Support mailing list
 a class=moz-txt-link-abbreviated 
 href=mailto:Support@freenetproject.org;Support@freenetproject.org/a
 a class=moz-txt-link-freetext 
 href=http://news.gmane.org/gmane.network.freenet.support;http://news.gmane.org/gmane.network.freenet.support/a
 Unsubscribe at a class=moz-txt-link-freetext 
 href=http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support;http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support/a
 Or a class=moz-txt-link-freetext href=mailto:[EMAIL 
 PROTECTED]mailto:[EMAIL PROTECTED]/a
 
 __ NOD32 1.1186 (20050804) Information __
 
 This message was checked by NOD32 antivirus system.
 a class=moz-txt-link-freetext 
 href=http://www.eset.com;http://www.eset.com/a
 
 /pre
   /blockquote
 /blockquote
 Hi,br
 br
 Incoming and Outgoing connections seem to be idle. The log gives this
 list of errors:br
 br
 5/08/2005 11:20:29 (freenet.support.io.NIOInputStream, YThread-11):
 waited more than 3ms in NIOIS.read() tcp/connection:
 1839gt;65.94.175.92:2717,a class=moz-txt-link-abbreviated 
 href=mailto:[EMAIL PROTECTED]:[EMAIL PROTECTED][EMAIL PROTECTED]:[EMAIL 
 PROTECTED]/a-
 closingbr
 java.lang.Exception: debugbr
 br
 nbsp;nbsp;nbsp; at 
 freenet.support.io.NIOInputStream.read(NIOInputStream.java:319)br
 nbsp;nbsp;nbsp; at java.io.FilterInputStream.read(Unknown Source)br
 nbsp;nbsp;nbsp; at 
 freenet.session.FnpLink.negotiateOutbound(FnpLink.java:637)br
 nbsp;nbsp;nbsp; at freenet.session.FnpLink.solicit(FnpLink.java:202)br
 nbsp;nbsp;nbsp; at
 freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:111)br
 nbsp;nbsp;nbsp; at freenet.ConnectionJob.run(ConnectionJob.java:378)br
 nbsp;nbsp;nbsp; at 
 freenet.ConnectionJob.createConnection(ConnectionJob.java:78)br
 nbsp;nbsp;nbsp; at
 freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:95)br
 nbsp;nbsp;nbsp; at
 freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:54)br
 nbsp;nbsp;nbsp; at
 freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:47)br
 nbsp;nbsp;nbsp; at 
 freenet.node.StateChain.received(StateChain.java:177)br
 nbsp;nbsp;nbsp; at freenet.node.StateChain.received(StateChain.java:61)br
 nbsp;nbsp;nbsp; at
 freenet.node.StateChainManagingMessageHandler$ChainContainer.run(StateChainManagingMessageHandler.java:335)br
 nbsp;nbsp;nbsp; at
 freenet.node.StateChainManagingMessageHandler$ChainContainer.received(StateChainManagingMessageHandler.java:288)br
 nbsp;nbsp;nbsp; at
 freenet.node.StateChainManagingMessageHandler$ChainContainer.access$100(StateChainManagingMessageHandler.java:207)br
 nbsp;nbsp;nbsp; at
 freenet.node.StateChainManagingMessageHandler.handle(StateChainManagingMessageHandler.java:99)br
 nbsp;nbsp;nbsp; at freenet.Ticker$Event.run(Ticker.java:325)br
 nbsp;nbsp;nbsp; at
 freenet.thread.YThreadFactory$YThread.run(YThreadFactory.java:285)br
 br
 The connection data is:br
 br
 table border=1 cellspacing=0
   tbody
 tr
   td
   centerimg src=cid:part1.09000309.09030303@prohart.com.au
  alt= height=15 width=25/center
   /td
   td align=right68.125.119.61:8992/td
   td align=right45:54/td
   td align=right-/td
   td align=right10nbsp;KiB/td
   td align=center14 s/td
   td align=center5:29/td
 /tr
 tr
   td
   centerimg src=cid:part1.09000309.09030303@prohart.com.au
  alt= height=15 width=25/center
   /td
   td align=right82.236.88.127:/td
   td align=right37:50/td
   td align=right-/td
   td align=right9nbsp;KiB/td
   td align=center14 s/td
   td align=center4:46/td
 /tr
 tr
   td
   centerimg src=cid:part3.01000507.02030501@prohart.com.au
  alt= height=15 width=25/center
   /td
   td align=right66.218.55.98:10960/td
   td align=right40:41/td
   td align=right-/td
   td align=right11nbsp;KiB/td
   td align=center12 s/td
   td align=center3:39/td

Re: [freenet-support] Bandwidth limiting of outgoing traffic...

2005-08-08 Thread Matthew Toseland
On Thu, Aug 04, 2005 at 10:06:04PM +0200, Evert Meulie wrote:
 Hi all!
 
 Has anyone been able to accurately shape the bandwidth consumption of 
 freenet traffic leaving your server? I know there are options in 
 freenet.conf, but it seems that these are either ignored totally or at 
 the very least not very strictly abided by...

Really? Last time I tested it, outputBytes seemed to work okay. You
_did_ set it in bytes per second, correct? And to what level are you
trying to limit it?
 
 Since Freenet uses random ports for outgoing traffic, I can't really 
 shape it on my firewall either. (I do have an option to shape traffic 
 based on packet content. Do all Freenet packages have some common, 
 unique content perhaps?)

They shouldn't. Sadly they do at the moment (well not individual
packets, but connections), but they won't in future.
 
 The Freenet site suggested to control the bandwidth usage on the 
 OS-level instead. Who can tell me how to do this?
 
 
 Regards,
   Evert
-- 
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
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: Freenet won't start on my new computer

2005-08-08 Thread Matthew Toseland
If it happens again, kill -QUIT the process to get a stack dump, and
send me it.

On Mon, Aug 08, 2005 at 11:27:21AM +0200, Bergman, Karl J wrote:
 It started to work after about 25 mins. And now it starts immediatly
 as usual, stange.
 
 I've got to learn to have patience 
 
 //Karl
 
 On 8/6/05, Bob [EMAIL PROTECTED] wrote:
  Bergman, Karl J [EMAIL PROTECTED] writes:
  
  
   Due to a computer crash I had to switch to a new one.
  
   When I try to start up freenet all I get is:
  
   Loading native...
   Attempting to load freenet/support/CPUInformation/libjcpuid-x86-linux.so
   Written to /tmp/jcpuid45173lib.tmp: 55692
   INFO: Native CPUID library
   'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from
   resource
   INFO: Optimized native BigInteger library
   'net/i2p/util/libjbigi-linux-athlon.so' loaded from resource
  
   and then nothing.
  
   Thankful for any help.
  
   //Greven
  
  Well, it looks normal up to that point.
  Are you sure it doesn't start even if left for a long time? On my node at 
  least
  5104 takes a *long* time to start up for some reason, like 30-45 minutes.
  
  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]
 
 ___
 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]

-- 
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
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] indefinite exception loop

2005-08-08 Thread Matthew Toseland
The below is not our fault. Try updating your JVM.

On Sun, Aug 07, 2005 at 09:27:37PM +0200, [EMAIL PROTECTED] wrote:
 Hi.
   My node works mostly without problems, it is tha stable build 5104. Now the 
 log file grow to 280M and it contained the following exeption. I hope it will 
 help you to find and eliminate the problem.
And by the way thanks for your work freenet works really good now!
 
Roman
 
 Aug 7, 2005 9:03:29 PM (freenet.transport.WriteSelectorLoop, Network writing 
 thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
 java.lang.ArrayIndexOutOfBoundsException: -1
 java.lang.ArrayIndexOutOfBoundsException: -1
 at 
 sun.nio.ch.AbstractPollSelectorImpl.implDereg(AbstractPollSelectorImpl.java:140)
 at 
 sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:121)
 at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:59)
 at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
 at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
 at 
 freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:584)
 at 
 freenet.transport.WriteSelectorLoop.beforeSelect(WriteSelectorLoop.java:389)
 at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:763)
 at freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:799)
 at java.lang.Thread.run(Thread.java:534)
 Aug 7, 2005 9:03:29 PM (freenet.transport.WriteSelectorLoop, Network writing 
 thread, ERROR): Caught throwable in AbstractSelectorLoop!: 
 java.lang.ArrayIndexOutOfBoundsException: -1
 java.lang.ArrayIndexOutOfBoundsException: -1
 at 
 sun.nio.ch.AbstractPollSelectorImpl.implDereg(AbstractPollSelectorImpl.java:140)
 at 
 sun.nio.ch.SelectorImpl.processDeregisterQueue(SelectorImpl.java:121)
 at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:59)
 at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
 at sun.nio.ch.SelectorImpl.selectNow(SelectorImpl.java:78)
 at 
 freenet.transport.AbstractSelectorLoop.mySelect(AbstractSelectorLoop.java:584)
 at 
 freenet.transport.WriteSelectorLoop.beforeSelect(WriteSelectorLoop.java:389)
 at 
 freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLoop.java:763)
 at freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:799)
 at java.lang.Thread.run(Thread.java:534)
 ___
 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]

-- 
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
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] Special use of the freenet software...

2005-08-08 Thread Matthew Toseland
Why would you want to use freenet to do this?

On Mon, Aug 08, 2005 at 11:06:22AM +0200, Jesper Nielsen wrote:
 Hi...
 
 I'm looking for software that will make it possible to share data 
 between a group of people (up to 20 people) without having to connect 
 to the internet.
 
 It would have to be able to run on multible platforms, so your software 
 would be perfect.
 
 All computers would connect via TCP/IP through a switch.
 
 Regards,
 
 Jesper Nielsen,
 Denmark
 
 [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
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] Special use of the freenet software...

2005-08-08 Thread Frank Arnold
You might want to look at Darknet.
Do a Google search for it.
Frank


On Monday 08 August 2005 02:06, Jesper Nielsen wrote:
 Hi...

 I'm looking for software that will make it possible to share data
 between a group of people (up to 20 people) without having to connect
 to the internet.

 It would have to be able to run on multible platforms, so your software
 would be perfect.

 All computers would connect via TCP/IP through a switch.

 Regards,

 Jesper Nielsen,
 Denmark

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

2005-08-08 Thread Bob
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]


[freenet-support] Re: Bandwidth limiting of outgoing traffic...

2005-08-08 Thread Bob
Matthew Toseland [EMAIL PROTECTED] writes:
 
 On Thu, Aug 04, 2005 at 10:06:04PM +0200, Evert Meulie wrote:
  Hi all!
  
  Has anyone been able to accurately shape the bandwidth consumption of 
  freenet traffic leaving your server? I know there are options in 
  freenet.conf, but it seems that these are either ignored totally or at 
  the very least not very strictly abided by...
 
 Really? Last time I tested it, outputBytes seemed to work okay. You
 _did_ set it in bytes per second, correct? And to what level are you
 trying to limit it?

In my experience on various computers outputBandwidthLimit does work, but tends
to consistently overshoot by a few KiB. This could cause problems if you've been
generous expecting it to be a hard ceiling limit ... try reducing it a bit.

  Since Freenet uses random ports for outgoing traffic, I can't really 
  shape it on my firewall either. (I do have an option to shape traffic 
  based on packet content. Do all Freenet packages have some common, 
  unique content perhaps?)
 
 They shouldn't. Sadly they do at the moment (well not individual
 packets, but connections), but they won't in future.
  
  The Freenet site suggested to control the bandwidth usage on the 
  OS-level instead. Who can tell me how to do this?

The freenethelp Wiki is very useful, but isn't official project documentation :)
It should be possible to traffic-shape incoming traffic at least with a blanket
all incoming tcp to port whatever-your-listenPort-is rule if you really want
to, but any gains are likely to be minimal IMO (possibly slightly less CPU usage
due to the kernel doing some of the limiting.)

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] Bandwidth limiting of outgoing traffic...

2005-08-08 Thread Frank v Waveren
On Thu, Aug 04, 2005 at 10:06:04PM +0200, Evert Meulie wrote:
 Since Freenet uses random ports for outgoing traffic, I can't really 
 shape it on my firewall either. (I do have an option to shape traffic 
 based on packet content. Do all Freenet packages have some common, 
 unique content perhaps?)
 
 The Freenet site suggested to control the bandwidth usage on the 
 OS-level instead. Who can tell me how to do this?

On linux you can tag packets with the iptables MARK target based on
uid or pid, and then use tc (from iproute2) filters to select only the
marked packets. No icky looking inside packets required. 

If you're shaping traffic on a different machine than the one running
freenet it's slightly more complicated, as the iptables MARKs don't go
out on the network, they're just there while the local machine is
juggling the packet. What I do is encode the appropriate policy in the
TOS header with --set-tos in the mangle table based on a MARK I set
based on the uid. Then, on the machine that does the traffic shaping
you just prioritise or drop based on the tos field, optionally
resetting it before pushing it out on the wire.

Similar facilities are available on many other OSes.

-- 
Frank v Waveren  Key fingerprint: BDD7 D61E
[EMAIL PROTECTED]  5D39 CF05 4BFC 
F57A
Public key: hkp://wwwkeys.pgp.net/468D62C8  FA00 7D51 468D 62C8


signature.asc
Description: Digital signature
___
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]