Linux Netfilter discussions
 help / color / mirror / Atom feed
From: George Alexandru Dragoi <waruiinu@gmail.com>
To: "Попов Игорь Николаевич" <igorpopov@newmail.ru>
Cc: netfilter@lists.netfilter.org
Subject: Re: simple method to set tos
Date: Thu, 31 Mar 2005 17:25:02 +0300	[thread overview]
Message-ID: <3063e5050331062544143a2d@mail.gmail.com> (raw)
In-Reply-To: <20050331133823.6562.qmail@flock1.newmail.ru>

Try using DSCP or TOS target with netfilter, like:

iptables -t mangle -A POSTROUTING -d <ip address> -j TOS --set-tos <tos>
or
iptables -t mangle -A POSTROUTING -d <ip address> -j DSCP --set-dscp <dscp>

DSCP is a combination of unused tos bits and some other unused bits
from ip header, looking for that on google should show exactly wich.


On Thu, 31 Mar 2005 17:38:23 +0400, Попов Игорь Николаевич
<igorpopov@newmail.ru> wrote:
>   Hi, all!
> I'm interesting is there a simple method to set tos on ip packets, that
> destinated to specific ip address?
> --
> Arbitrary systems, pl.n.:
> ════════Systems about which nothing general can be said, save "nothing
> general can be said."
> __________
> www.newmail.ru -- бесплатная почта, бесплатный хостинг.
> 
> 


-- 
Bla bla


  reply	other threads:[~2005-03-31 14:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 13:38 simple method to set tos Попов Игорь Николаевич 
2005-03-31 14:25 ` George Alexandru Dragoi [this message]
2005-03-31 16:37 ` Multiple gateways problem Rubén Cardenal
2005-03-31 23:52 ` Alexander Samad

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=3063e5050331062544143a2d@mail.gmail.com \
    --to=waruiinu@gmail.com \
    --cc=igorpopov@newmail.ru \
    --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