From: "Muhammad R. Sami" Subject: Re: using netfilter with mpls Date: Mon, 14 Jun 2004 12:14:40 +0300 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <00c101c451f0$0622a070$248610ac@pc.ccse.kfupm.edu.sa> References: <026301c44e59$b892c9a0$248610ac@pc.ccse.kfupm.edu.sa> <1087157097.11287.16.camel@ws> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BE_01C45209.2B2AB920" Cc: Return-path: To: "Patrick McHardy" Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_00BE_01C45209.2B2AB920 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can you please help me on writing this MPLS match/target and if iptables = is not a good solution than where should I focus. regards ----- Original Message -----=20 From: Patrick McHardy=20 To: Muhammad R. Sami=20 Cc: netfilter-devel@lists.netfilter.org=20 Sent: Sunday, June 13, 2004 11:04 PM Subject: Re: using netfilter with mpls On Wed, 2004-06-09 at 21:41, Muhammad R. Sami wrote: > I am a newbee to netfilter. Can I use netfilter along with MPLS to > identify packets with special payload and then set EXP bits to = certain > value in the MPLS header. There is no MPLS match/target yet, but it should be easy to write one. But iptables is not the best place because it would only see = MPLS-tagged IP packets. Regards Patrick > regards > =20 > ------------ > =20 > Muhammad R. Sami > Research Assistant, > Computer Engineering Department > P.O.Box 354 > King Fahd University of Petroleum & Minerals > Dhahran 31261 > Saudi Arabia. > Tel: +96638601423 > Cell: +96657982951 > www.ccse.kfupm.edu.sa/sami ------=_NextPart_000_00BE_01C45209.2B2AB920 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Can you please help me on writing = this MPLS=20 match/target and if iptables is not a good solution than where should I=20 focus.
 
regards
----- Original Message -----
From:=20 Patrick = McHardy=20
Cc: netfilter-devel@lists= .netfilter.org=20
Sent: Sunday, June 13, 2004 = 11:04=20 PM
Subject: Re: using netfilter = with=20 mpls

On Wed, 2004-06-09 at 21:41, Muhammad R. Sami = wrote:
> I=20 am a newbee to netfilter. Can I use netfilter along with MPLS = to
>=20 identify packets with special payload and then set EXP bits to = certain
>=20 value in the MPLS header.

There is no MPLS match/target yet, = but it=20 should be easy to write one.
But iptables is not the best place = because it=20 would only see MPLS-tagged
IP=20 packets.

Regards
Patrick


> = regards
> =20
> ------------
> 
> Muhammad R. Sami
> = Research=20 Assistant,
> Computer Engineering Department
> P.O.Box = 354
>=20 King Fahd University of Petroleum & Minerals
> Dhahran = 31261
>=20 Saudi Arabia.
> Tel: +96638601423
> Cell: = +96657982951
> www.ccse.kfupm.edu.sa/sami=

------=_NextPart_000_00BE_01C45209.2B2AB920--