All of lore.kernel.org
 help / color / mirror / Atom feed
From: makevuy <makevuy@ehas.org>
To: lartc@vger.kernel.org
Subject: [LARTC] About iptables with set --tos option
Date: Tue, 01 Aug 2006 12:18:39 +0000	[thread overview]
Message-ID: <44CF469F.9080605@ehas.org> (raw)

Hello,

I want to set the TOS of packets that are entering in my network with 
value 0x00 (or other). For this, I'm using iptables with the next comand:

iptables -t mangle -A FORWARD -i eth1 -s 0/0 -j TOS --set-tos 0x00

The problem ocurrs when my packets have a previous TOS of value 
difference from 0x00, because the comand do the next operation:

OLD_TOS + 0x00 = OLD_TOS

I would want to know if is possible with iptables, change the TOS of the 
packets, althought  the TOS of the packets that are arriving to my 
network is difference from 0x00.

Thanks ad Regards.

-- 
Sandra Salmerón Ntutumu    <makevuy@ehas.org>
Tlf. Analog: +34 914888405 / Móvil: 653574298
Tlf. IP desde FWD: 656212. Ext: 10 / Tel. IP desde EHAS: 010010
Fundación EHAS: Enlace Hispanoamericano de Salud - www.ehas.org
Telemedicina rural para zonas aisladas de países en desarrollo


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2006-08-01 12:18 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=44CF469F.9080605@ehas.org \
    --to=makevuy@ehas.org \
    --cc=lartc@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 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.