Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "H.Suzuki" <suzuki@tokyo.eeyo.jp>
To: netfilter@vger.kernel.org
Subject: dscp module on ip6tables
Date: Thu, 28 Aug 2008 08:04:52 +0900	[thread overview]
Message-ID: <F3BE45CBC8EB41568B558470FD291FE2@gillsPC> (raw)

I'm using Ip6tables(v1.4.2-rc-1) on RHEL5 standard kernel-2.6.18-e15.

I'd like to use "dscp" module on "MATCH EXTENSION" but getting error
as follows.

It looks like it's there by looking at help message but "libip6t_*dscp* is
not created. I compiled by executing " make config ; make install".

Please let me know how can I use "dscp" option on ip6tables.


Error Messages:
# /usr/local/sbin/ip6tables  -t mangle -A OUTPUT -p tcp -j DSCP -m 
dscp --dscp-class EF
ip6tables v1.4.2-rc1: DSCP target: Parameter --set-dscp is required
Try `ip6tables -h' or 'ip6tables --help' for more information.
# /usr/local/sbin/ip6tables  -t mangle -A OUTPUT -p tcp -j DSCP -m 
dscp --set-dscp 1
ip6tables v1.4.2-rc1: DSCP match: Parameter --dscp is required
Try `ip6tables -h' or 'ip6tables --help' for more information.


Enviroment::
# /usr/local/sbin/ip6tables -V
iptables v1.4.2-rc1

# /usr/local/sbin/ip6tables -m dscp -h

dscp match options
[!] --dscp value                Match DSCP codepoint with numerical value
                                This value can be in decimal (ex: 32)
                        or in hex (ex: 0x20)
[!] --dscp-class name           Match the DiffServ class. This value may
                                be any of the BE,EF, AFxx or CSx classes

# ls /usr/local/libexec/xtables/libip6t_*dsc*
ls: /usr/local/libexec/xtables/libip6t_*dsc*: No such file or directory


Thank you!

----
H.Suzuki 



                 reply	other threads:[~2008-08-27 23:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=F3BE45CBC8EB41568B558470FD291FE2@gillsPC \
    --to=suzuki@tokyo.eeyo.jp \
    --cc=netfilter@vger.kernel.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