<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fabian Keil wrote:
<blockquote cite="mid20061013130352.0943a5a2@localhost" type="cite">
  <pre wrap="">gabrix <a class="moz-txt-link-rfc2396E" href="mailto:gabrix@gabrix.ath.cx">&lt;gabrix@gabrix.ath.cx&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm sorry if recently my tor node argo666tor wasn't always up ... but 
i'm sort of experimenting how much bandwith i have to allocate to the 
tor network.My will is to give as much band as possible without slowing 
down my connection.I'm trying with this 4 rules:
    </pre>
    <blockquote type="cite">
      <pre wrap="">AccountingStart day 12:00
AccountingMax 600MB
#BandwidthRate 100 KB    
#BandwidthBurst 200 KB
      </pre>
    </blockquote>
    <pre wrap="">But i seriously don't know witch one is best considering i have a TIM 
adsl flat!
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Maybe using queues for prioritising empty ACKs would already
be good enough: <a class="moz-txt-link-freetext" href="http://www.benzedrine.cx/ackpri.html">http://www.benzedrine.cx/ackpri.html</a>

It's PF and ALTQ specific, but the same can be done with other
packet filters.

Additionally you could give all Tor traffic a lower priority,
I think it would be a better solution than to set a hard bandwidth
limit in Tor, which most of the time would limit your server more
than necessary.

Fabian
  </pre>
</blockquote>
<br>
I have this in my iptables script:<br>
<blockquote type="cite"># TOR <br>
iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 9090 -j MARK
--set-mark 2<br>
iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 9090 -j RETURN<br>
iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 9091 -j MARK
--set-mark 2<br>
iptables -t mangle -A PREROUTING -p tcp -m tcp --dport 9091 -j RETURN</blockquote>
as 2 tor has a high priority,now is on 5 .<br>
An another question is :if&nbsp; i announce port 110&nbsp; and redirect traffic
to 9090 which port shall i consider as priority in the above iptables&nbsp;
? <br>
<br>
Silly question isn't ?<br>
<br>
</body>
</html>