LARTC
[Top] [All Lists]

RE: [LARTC] Marking and remarking of incoming traffic

To: <LARTC@mailman.ds9a.nl>
Subject: RE: [LARTC] Marking and remarking of incoming traffic
From: "Tim Enos" <tenos@ll.mit.edu>
Date: Mon, 6 Aug 2007 19:42:10 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <0E24ED2A7F9AA349A8633E6A56A64BE0027A8409@XCH-SW-2V1.sw.nos.boeing.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Thread-index: AcfYfpXTHrR7YKh6TQ6TjRo20E/L1QABAzyw
Hi Jon,

You can use iptables to mark/change the DSCP value of an incoming packet on
the ingress side. An example is below (where $in_dev can be whatever your
input interface is):

ip tables -t mangle -A FORWARD -i $in_dev -p tcp --ports 80 -j DSCP
--set-dscp-class BE

Basically the above example (re)marks all www traffic (meant to be forwarded
through this node) entering via $in_dev to BE.

There is a decent (IMO) manpage for iptables (there are too many
permutations/combinations of options to list here). 

> -----Original Message-----
> From: lartc-bounces@mailman.ds9a.nl [mailto:lartc-bounces@mailman.ds9a.nl]
> On Behalf Of Flechsenhaar, Jon J
> Sent: Monday, August 06, 2007 7:08 PM
> To: LARTC@mailman.ds9a.nl
> Subject: [LARTC] Marking and remarking of incoming traffic
> 
> I can use DSMARK to mark on the Egress side.  Is there a way to
> mark/change the DSCP value of an incoming packet on the ingress side?
> Thanks.
> 
> 
> Jon Flechsenhaar
> Boeing WNW Team
> Network Services
> (714)-762-1231
> 202-E7
> 
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

<Prev in Thread] Current Thread [Next in Thread>