【问题标题】:priorities upload priority to give high priority to slingbox using htb qdiscs使用 htb qdiscs 上传优先级以给予 slingbox 高优先级
【发布时间】:2009-09-23 10:01:12
【问题描述】:

我正在尝试使用以下命令将 slingbox 连接设置为 1:20 类:

iptables -t mangle -A to-cable -p tcp --dport 5001 -j CLASSIFY --set-class 1:20 iptables -t mangle -A to-cable -p tcp --sport 5001 -j CLASSIFY --set-class 1:20

我还有其他用于 ssh、http 和新闻的类相关命令。

我使用命令“tc -s class ls dev eth0”查看发生了什么,即使我连接到 slingbox,也没有通过 1:20 类的数据传输。 其余端口(ssh、http、news)通过类正确转发。

有没有更好的方法来捕获 slingbox 数据传输?

【问题讨论】:

    标签: linux firewall iptables


    【解决方案1】:

    我使用了 iptables 内置模块 iprange。 所以我将类设置为配置为来自 slingbox 的 ip 地址而不是特定端口的任何数据。

    【讨论】:

      猜你喜欢
      • 2022-07-12
      • 2013-02-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多