[Firewall] Bandwidth limitation for upload?

Lonnie Abelbeck lists at lonnie.abelbeck.com
Wed Mar 10 19:09:06 CET 2010


On Mar 10, 2010, at 11:42 AM, Roland Haeder wrote:

> Hello,
> 
> oh, pardon me. So very simple... :-/
> 
> I sometimes run I2P (http://www.i2p2.de). In which configuration should
> I add those ports (UDP and TCP enabled/allowed)?
> 
> This is what I currently have: (nothing touched there)
> ------------------------------------
> SHAPER_STREAMINGMEDIA_PORTS="u4569 u1720 u1731"
> SHAPER_INTERACTIVE_PORTS="u53 t22 u1194 t3389 u5060:5064 t5900"
> SHAPER_BULKDATA_PORTS="t20 t21 t25 t80 t110 t137:139 u137:139 t143 t443
> t465 t515 t993 t8080"
> ------------------------------------
> 
> But now POP3 (TCP 110) and SMTP (TCP 25) is very slow. Can I somehow give it a higher priority?
> 
> Regards,
> Roland

Sure, removing t110 and t25 from SHAPER_BULKDATA_PORTS will give them the default queue with is a little higher priority.  SHAPER_STREAMINGMEDIA_PORTS is the highest priority, SHAPER_INTERACTIVE_PORTS is the next highest.

You might try increasing UPLINK closer to your 64 limit.

Also, you might try setting SHAPER_TYPE=hfsc (stop the firewall before, make that change, start the firewall)

As far as I2P, I would treat that like VPN traffic, which would be SHAPER_INTERACTIVE_PORTS, but default (not specified) or SHAPER_BULKDATA_PORTS would be options as well.

Lonnie

PS: Arno recently included (1.9.2k-DEVEL) a traffic shaper update with two more queues and complete DSCP mapping, amount other things.



More information about the Firewall mailing list