On Wed, 27 Feb 2002 [EMAIL PROTECTED] wrote:

>
> When I use the FTOS target to set the TOS field in a packet header, I get a
> real slow down in performance.

Being the original author - I must say I am not suprised ;-} . Are you
using it on a kernel > 2.4.4 ? I do know that before 2.4.4 it was fairly
fast but I have not updated or even touched the code for about a year. It
is on my "when I get some free time" list.

> There is only ever one rule for these tests.
>
> iptables -A PREROUTING --table mangle --protocol tcp -j TOS --set-tos 0x10
> leads to throughput of 94Mbits.
>
> iptables -A PREROUTING --table mangle --protocol tcp -j FTOS --set-ftos 0x10
>
> gives me a throughput of 4Mbits!

Yep - I suspect that the checksum code in FTOS is seriously hosed.
Especially given the original impetus for working around the limited set
space of TOS.

> Repeat above on OUTPUT table gives no such problems - throughputs of 94Mbits

Which is how I used it in all my original work.

> I would really like to be able to use FTOS as I want to set TOS fields to
> all sorts of values.

OK - Well let me take a quick look and see if there are some printks I can
define and get to you to see if there is some info. FIrst off if you could
tell me what versions of Kernel and IPTables (with Distro if possible) you
are running I will try and test the above command strings on those.
Thanks!

> Thanks for any help
>
> Louise Burness
> IP Mobility
> BTexact Technologies
>
> e-mail: [EMAIL PROTECTED]
> tel: (+44) (0)1473 646504
> fax: (+44) (0)1473 646885
>
> Rigel House, B28/pp2b, Adastral Park,
> Martlesham, Ipswich IP5 3RE, UK

--------------------------------------------------
Matthew G. Marsh,  President
Paktronix Systems LLC
1506 North 59th Street
Omaha  NE  68104
Phone: (402) 932-7250 x101
Email: [EMAIL PROTECTED]
WWW:  http://www.paktronix.com
--------------------------------------------------


Reply via email to