Re: Question about TC functionality

Grant Taylor <[email protected]> Mon, 17 Aug 2020 18:59:19 +0000
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
On 8/16/20 10:01 PM, Tomasz W wrote:
> Good morning,

Hi,

> I am writing software that implements DPI to shape traffic flow. I 
> have already done packet sniffing and recognition (e.g. ICMP, Skype, 
> HTTP, etc). However I would like to implement HTB for just those 
> packets that I select, so I can "slow" or "speed" them up. I know 
> that tc can do that, but I can't find how to do that basing on packets.

In addition to what Erik suggested, you might be able to apply routes 
via iptables such that traffic goes out different (virtual) interfaces 
and then apply generic tc QoS as desired on the different (virtual) 
interfaces.



-- 
Grant. . . .
unix || die
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed