1

I'm seeking advice about which technology to use to classify packets for shaping in traffic control (tc). I've found at least 3 that could be used:

  • iptables MARK
  • iptables CLASSIFY
  • tc filter

Which one should I use? Is there one that is better than others?

facha
  • 1,298
  • 2
  • 16
  • 26

1 Answers1

1

All of those are OK to do the marking but I recommend "tc filter" because:

  • You have the rules in one place.
  • By using hashes, you can obtain a very fast classification.