Displaying 3 results from an estimated 3 matches for "meta_nfmark".
2004 Aug 02
2
tcng + NAT
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.
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
...> # ingress {
> > > # $policer = SLB( cir LAN_INGRESS kbps );
> > > # class ( <> ) if SLB_ok( $policer );
> > > # drop if 1;
> > > # }
> > >
> > > egress {
> > > class ( <$ppp> ) if meta_nfmark == 0x7;
> > >
> > > class ( <$high> ) if ip_proto == IPPROTO_ICMP ||
> > > ip_tos == 0x10 ||
> > > tcp_sport == 80 ||
> > > tcp_sport == 110 ||
> > >...