mangle table question
Brad Chapman
kakadu@earthlink.net
Wed, 18 Jul 2001 12:08:10 -0400
Mr. Van Opstal,
Other than the number of chains the mangle table holds and the
priority of the mangle table's hooks, the filter table and the mangle
table are the same.
As for your rules, all TCP packets with a source address of $PUB_IP
and a destination port of 25 will hit the first mark rule, then continue
to the second mark rule. All other TCP packets with a source address of
$PUB_IP will only hit the second rule.
Brad
Joachim Van Opstal wrote:
> Hi,
>
>
>
>
>
>
>
> Basic question.
>
>
>
> In the filter table packets stop travelling after the first match,
> what about the mangle table ?
>
>
>
> If I have the following :
>
>
>
> $IPTABLES -A OUTPUT -t mangle -p tcp -s $PUB_IP --dport 25 -j MARK
> --set-mark 1
>
> $IPTABLES -A OUTPUT -t mangle -p tcp -s $PUB_IP -j MARK --set-mark 1
>
>
>
>
>
> Will all matching packets for the first line stop travelling the
> mangle table, or will they also match the second one ?
>
>
>
>
>
> Joachim Van Opstal
> url : http://www.gojukai.be/
> e-mail : joachim@gojukai.be <mailto:joachim@gojukai.be>
> Tel : +3216821321
> _________________________________________________________________
> The information contained in this communication is confidential and
> may be legally privileged. It is intended solely for the use of the
> individual or entity to whom it is addressed and others authorized to
> receive it. If you are not the intended recipient you are hereby
> notified that any disclosure, copying, distribution or taking any
> action in reliance on the contents of this information is strictly
> prohibited and may be unlawful. the sender is neither liable for the
> proper nor complete transmission of the information contained in this
> communication nor for any delay in its receipt. We can't take any
> responsibility if your system would be infected by a virus.
>