All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Alexandru Dragoi <waruiinu@gmail.com>
To: Alaios <alaios@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: how to change the tos
Date: Tue, 8 Feb 2005 15:06:32 +0200	[thread overview]
Message-ID: <3063e505020805066f0cd28d@mail.gmail.com> (raw)
In-Reply-To: <20050208124623.60439.qmail@web54701.mail.yahoo.com>

I think you can set only a few values as TOS, 0x0, 0x2, 0x4 and 0x8 .
If you want more, you can use the DSCP target.


On Tue, 8 Feb 2005 04:46:23 -0800 (PST), Alaios <alaios@yahoo.com> wrote:
> Hi i want to apply the patch ftos in order to change
> the tos field in ip packets...
> The problem is that i don't know how to do that
> One guy suggest me the
> http://www.paksecured.com/patches/
> but the patch is for the 2.4 kernel  but i use the
> 2.6.10 kernel.
> In addition to this i have noticed that the 2.6 kernel
> has the following option
> CONFIG_IP_NF_MATCH_TOS
> I don't know if i need to compile it as module or i
> should insert them directly to the kernel...
> Afte recompiling the kernel i have run the make
> KERNEL_DIR=/usr/src/linux-2.6.10 but still the command
> 
> iptables -t mangle -A PREROUTING -i eth0 -p tcp
> --dport 22 -j TOS --set-tos 15
> iptables v1.2.11: Bad TOS Value
> Any suggestion?
> 
> 
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page – Try My Yahoo!
> http://my.yahoo.com
> 
> 


-- 
Bla bla


  reply	other threads:[~2005-02-08 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08 12:46 how to change the tos Alaios
2005-02-08 13:06 ` George Alexandru Dragoi [this message]
2005-02-08 13:10 ` John A. Sullivan III
2005-02-08 13:54   ` Alaios

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=3063e505020805066f0cd28d@mail.gmail.com \
    --to=waruiinu@gmail.com \
    --cc=alaios@yahoo.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.