Does anybody know how to you use tcng with packet marking. I''m masquerading my connection so to shape outbound traffic I need to mark packets with iptables. But how to you make tcng to recognize marked packets? Thanks for your help.
Hello,
you can try:
.
.
.
// ip header type of service
        class ( <$adsl_high> ) if ip_tos == 0x80;
// metadata packet mark
        class ( <$adsl_medium> ) if meta_nfmark == 0x30;
.
.
.
Cheers
Charles
On Mon, 2004-08-02 at 18:02, mjoachimiak@poczta.onet.pl
wrote:>  
> Does anybody know how to you use tcng with packet marking. I''m
> masquerading my connection so to shape outbound traffic I need to mark
> packets with iptables. But how to you make tcng to recognize marked
> packets?
>  
> Thanks for your help.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
class ( <$adsl_medium> ) if meta_nfmark == 0x30; It works great. Thanks for help :D.> Hello, > > you can try: > > > . > . > . > > // ip header type of service > class ( <$adsl_high> ) if ip_tos == 0x80; > // metadata packet mark > class ( <$adsl_medium> ) if meta_nfmark == 0x30; > . > . > . > Cheers > > Charles > > > > > On Mon, 2004-08-02 at 18:02, mjoachimiak@poczta.onet.pl wrote: > > > > Does anybody know how to you use tcng with packet marking. I''m > > masquerading my connection so to shape outbound traffic I need to mark > > packets with iptables. But how to you make tcng to recognize marked > > packets? > > > > Thanks for your help. > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/