How to limit the encrypted bittorrent bandwidth

Hello,
According to the wiki, the p2p chain properties doesn’t work on encrypted bittorrent.
Which is the best approach for implementing a bandwidth management in that case ?

  • define a input port for the download traffic
  • define a output port for the upload traffic
  • define mangle rules (connection + packets) for these ports
  • define queue(s)