Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: problems using FTOS extension
Date: Thu, 05 Feb 2004 09:30:21 +0200	[thread overview]
Message-ID: <1075966221.5360.2.camel@raylinux.internal> (raw)
In-Reply-To: <598558C21D078804AB348529E476E840@markcs.wildmail.com>

[-- Attachment #1: Type: text/plain, Size: 1913 bytes --]

On Thu, 2004-02-05 at 03:42, mark smith wrote:
> Hi all,
> 
> I need to use the FTOS target. Took me quite a
> while to figure out how to get it 'available' for
> use. (I added 'FTOS' to the PF_EXT_SLI field of
> the Makefile in the extensions directory of the
> 1.2.9 distro and that seems to have done the
> trick. After running make and make install the
> libipt_FTOS.so file gets copied into
> /usr/local/lib/iptables).
> 
> I'm having trouble using the correct syntax for a
> rule though. This rule,using TOS, works fine:
> iptables -I OUTPUT -t mangle -j TOS --set-tos 0x02
> 
> Trying the same thing with FTOS:
> iptables -I OUTPUT -t mangle -j FTOS --set-ftos 0x02
> Produces the error message:
> iptables: No chain/target/match by that name
> 
> Looks weird. Interestingly, if I don't provide
> the --set-ftos argument I get a logical error
> message:
> iptables v1.2.9: FTOS target: Parameter
> --set-ftos is required
> So it looks like FTOS can be used but I'm doing
> something wrong with the --set-ftos argument.
> 
> I'm running a 2.4.20-8 kernel on RH9.
> 
Don't you need to recompile your kernel, selecting the FTOS stuff?

> Thanks,
> 
> Mark.
> 
> 
> &#8216;The ideals which have lighted my way, 
> and time after time given me new 
> courage 
> to face life cheerfully, have 
> been kindness, beauty, and truth. The 
> trite subjects of life &#8211; possessions, 
> outward success, luxury &#8211; have always 
> seemed contemptible.&#8217; 
> 
> Albert Einstein
> ------------------
> 
> Protect your right to breathe clean, smoke-free air:
> http://www.care2.com/go/z/11238/1043
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-02-05  7:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05  1:42 problems using FTOS extension mark smith
2004-02-05  7:30 ` Ray Leach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1075966221.5360.2.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox