Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables and FTOS syntax error
@ 2005-10-14  2:29 Thomas Kuiper
  2005-10-14 12:32 ` Jorge I. Davila L.
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Kuiper @ 2005-10-14  2:29 UTC (permalink / raw)
  To: netfilter

Hello,

I have a bizarre problem with iptables when I'm trying to use FTOS:

First, the following works fine using MARK:

iptables -j MARK -A POSTROUTING -t mangle -p udp --dport 123 --set-mark 4

But this one doesn't:

iptables -j FTOS -A POSTROUTING -t mangle -p udp --dport 123 --set-ftos 4

And gives the error message:

iptables: No chain/target/match by that name

A "iptables -j FTOS --help" shows that the FTOS extension was compiled in so 
I'm very confused about the error message.

-------------snip-----------&<----------------
FTOS target options
   --set-ftos value              Set TOS field in packet header to value
                                 This value can be in decimal (ex: 32)
                         or in hex (ex: 0x20)
-------------snap----------->&----------------

Any help greatly appreciated,

Thomas


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iptables and FTOS syntax error
  2005-10-14  2:29 iptables and FTOS syntax error Thomas Kuiper
@ 2005-10-14 12:32 ` Jorge I. Davila L.
  0 siblings, 0 replies; 2+ messages in thread
From: Jorge I. Davila L. @ 2005-10-14 12:32 UTC (permalink / raw)
  To: Thomas Kuiper; +Cc: netfilter

The past days I have a similar problem with iprange .. I was able to see
in the help the reference to iprange (like you are able to see the help
related to FTOS)

Well, the kernel *must* support FTOS.

I suggest see in your kernel to know if FTOS is supported.

This implies download the kernel source, then in the kernel source code
directory.

make menuconfig

go to Network Options -> Netfilter configuration 

and search for that option in the kernel.

Hope this help.

Jorge.

El vie, 14-10-2005 a las 10:29 +0800, Thomas Kuiper escribió:
> Hello,
> 
> I have a bizarre problem with iptables when I'm trying to use FTOS:
> 
> First, the following works fine using MARK:
> 
> iptables -j MARK -A POSTROUTING -t mangle -p udp --dport 123 --set-mark 4
> 
> But this one doesn't:
> 
> iptables -j FTOS -A POSTROUTING -t mangle -p udp --dport 123 --set-ftos 4
> 
> And gives the error message:
> 
> iptables: No chain/target/match by that name
> 
> A "iptables -j FTOS --help" shows that the FTOS extension was compiled in so 
> I'm very confused about the error message.
> 
> -------------snip-----------&<----------------
> FTOS target options
>    --set-ftos value              Set TOS field in packet header to value
>                                  This value can be in decimal (ex: 32)
>                          or in hex (ex: 0x20)
> -------------snap----------->&----------------
> 
> Any help greatly appreciated,
> 
> Thomas
-- 
Jorge Isaac Davila Lopez



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-14 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-14  2:29 iptables and FTOS syntax error Thomas Kuiper
2005-10-14 12:32 ` Jorge I. Davila L.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox