[LARTC] owner based policy routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



iproute2 will use hex values.. you can use decimal values in iptables
rules, but use the correspondent hex when creating iproute2 rules.

Regards,
--
Forster


Julian Anastasov <ja@ssi.bg>@lists.netfilter.org on 10/11/2002 09:59:55 PM

Sent by:    netfilter-admin@lists.netfilter.org


To:    Arindam Haldar <arindamhaldar@inbox.lv>
cc:    LARTC <lartc@mailman.ds9a.nl>, NETFILTER
       <netfilter@lists.netfilter.org>
Subject:    Re: [LARTC] owner based policy routing




 Hello,

On Fri, 11 Oct 2002, Arindam Haldar wrote:

> 50:     from all fwmark       50 lookup ispA

 fwmark in ip rule is 0x50 (it is defined and printed in hex)

> iptables -I OUTPUT -t mangle -m owner --uid-owner <squid> -d 202.0.0.0/8
>   -j MARK --set-mark 50

 and here 50 is 0x32 (not 0x50). Is that the problem?

Regards

--
Julian Anastasov <ja@ssi.bg>








[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux