tc command to enqueue TCP packets but randomly drop UDP packets

340 views Asked by At

On my CentOS 7.3 system, I would like to configure the ethernet interface so that it immediately enqueues outgoing TCP packets but randomly drops outgoing UDP packets at a configurable rate. The tc(8) command appears capable of doing this using a basic filter attached to the root qdisc, an ematch expression, and a single subclass with a default pfifo leaf qdisc. After reading much documentation, however, I'm still not certain what root qdisc to use.

What is the tc(8) command to accomplish this?

0

There are 0 answers