Skip to contentSkip to conversation

using netfilter with mpls

DISCUSSION Muhammad R. Sami 3 participants 4 messages Jun 9, 2004 – Jul 21, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

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. regards

------------

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

#1 lore raw
Quoted 3 lines · Muhammad R. Sami

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

Quoted 14 lines

regards

------------

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

#2 lore raw

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 -----
From: Patrick McHardy
To: Muhammad R. Sami
Cc: [email protected]
Sent: Sunday, June 13, 2004 11:04 PM
Subject: Re: using netfilter with mpls

Quoted 3 lines · Muhammad R. Sami

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

Quoted 14 lines

regards

------------

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

#3 lore raw
Quoted 2 lines · Muhammad R. Sami

Can you please help me on writing this MPLS match/target and if iptables is not a good solution than where should I focus.

First of all, we need to get the new MPLS implementation into the 2.6.x kernel, then we can start adding support for MPLS packet filtering.

Quoted 1 line

regards

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie