Re: tcng and scheduling ssh

Linux Advanced Routing and Traffic Control

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

 



On 07/09/04 Michael P. Soulier did say:

> #include "fields.tc"
> #include "ports.tc"
> 
> dev "eth0" {
>     egress {
>         // Voice traffic
>         class (<$voice>)
>             if udp_dport >= 20000 && udp_dport <= 23000;
>         // SSH connections
>         class (<$interactive>)
>             if tcp_dport == PORT_SSH;
>         // Everything else
>         class (<$other>)
>             if 1;
> 
>         prio {
>             $voice = class { fifo; }
>             $interactive = class { fifo; }
>             $other = class { fifo; }
>         }
>     }
> }

Scratch that. This configuration seems to work fine on egress. PEBKAC. 

Mike

-- 
Michael P. Soulier <michael_soulier@xxxxxxxxx>, 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux