Skip to contentSkip to conversation

IPTABLES problem

DISCUSSION Alexandre Carlos 2 participants 2 messages Nov 18, 2002 – Dec 9, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

My experimental backbone is the following:

                                         B
                                    3.4/|\2.4
                                       /5.4\
                                      /   |    \
   (A1)                     1.3/     |     \2.2
10.1.1.2--10.1.1.1 -- A     |      C----192.168.67.91---192.168.67.90 (C1)
                                1.1\    |     /4.2
                                      \   |    /
                                       \5.3/
                                    1.3\|/4.3
                                         D

I´m using IPTABLES version 1.2.4-dscp do set up the tos value of the packets. I´m creating the following rule on A and C

iptables -A PREROUTING -t mangle -p icmp -j FTOS --set-ftos 0x28 or iptables -A FORWARD -t mangle -p icmp -j FTOS --set-ftos 0x28

But when i try do ping from A1 to C1 or from C1 to A1

The chechshum of the ip on the reply message is incorrect, so the packet is droped on (B) or (D)

I would like to know, how can i avoid dropping the packet and still using the same version of iptables and rules

Alex

#1 lore raw
Quoted 2 lines · Alexandre Carlos

I´m using IPTABLES version 1.2.4-dscp do set up the tos value of the packets. I´m creating the following rule on A and C

Unfortunately this is a very old version of iptables (about one year) and the FTOS target is not officially supported by the project.

If there were any issues, I wouldn't even remember, sorry.

Please try a more recent version of iptables

Quoted 1 line

Alex

Signature · 4 lines
- Harald Welte / [email protected]               http://www.gnumonks.org/
============================================================================
"If this were a dictatorship, it'd be a heck of a lot easier, just so long
 as I'm the dictator."  --  George W. Bush Dec 18, 2000