Code: Select all
add action=mark-packet chain=forward comment="ares layer7" disabled=yes \
layer7-protocol=ares new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="edonkey layer7" disabled=yes \
layer7-protocol=edonkey new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="bittorrent layer7" disabled=yes \
layer7-protocol=bittorrent new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="directconnect layer7" disabled=\
yes layer7-protocol=directconnect new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="fasttrack layer7" disabled=yes \
layer7-protocol=fasttrack new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="gnutella layer7" disabled=yes \
layer7-protocol=gnutella new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="imesh layer7" disabled=yes \
layer7-protocol=imesh new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="napster layer7" disabled=yes \
layer7-protocol=napster new-packet-mark=p2p passthrough=no
add action=mark-packet chain=forward comment="soulseek layer7" disabled=yes \
layer7-protocol=soulseek new-packet-mark=p2p passthrough=no
add action=mark-connection chain=forward comment=p2p disabled=no \
new-connection-mark=p2p_conn p2p=all-p2p passthrough=yes
add action=mark-packet chain=forward comment=\
"[][][][][][][][][][][][] P2P traffic" connection-mark=p2p_conn disabled=\
no new-packet-mark=p2p passthrough=no
i use those marked packet to drop p2p or to give low priority (i know that that doesn't work to shape traffic in encrypted clients).
why do you think ROS hangs.
that behavior was tested in ROS v3.14, v3.15 & 3.16.