so i have this on my mangle
# oct/07/2019 16:07:49 by RouterOS 6.44.5
# software id = 4L42-C3TX
#
# model = RB941-2nD
# serial number = A1C30A560349
/ip firewall mangle
add action=mark-connection chain=forward comment=other-con \
new-connection-mark=other-con passthrough=yes
add action=accept chain=prerouting comment=router dst-address-list=router
add action=accept chain=forward comment=DNS port=53 protocol=tcp
add action=accept chain=forward comment=DNS port=53 protocol=udp
add action=mark-packet chain=forward comment=p2p-dw-pk disabled=yes \
new-packet-mark=p2p-dw-pk p2p=all-p2p packet-mark=client-dw-pk \
passthrough=no
add action=mark-packet chain=forward comment=p2p-download-pkt \
layer7-protocol=layer7-bittorrent-exp new-packet-mark=p2p-download-pkt \
packet-mark=client-download-pk passthrough=no
add action=mark-packet chain=forward comment=p2p-up-pk disabled=yes \
new-packet-mark=p2p-up-pk p2p=all-p2p packet-mark=client-up-pk \
passthrough=no
add action=mark-packet chain=forward comment=p2p-upload-pkt new-packet-mark=\
p2p-upload-pkt packet-mark=client-upload-pk passthrough=no
add action=mark-connection chain=forward comment="client download connection" \
in-interface=ether1 new-connection-mark="client-Download connection" \
passthrough=yes
add action=mark-packet chain=forward comment="download clietn pk" \
connection-mark="client-Download connection" new-packet-mark=\
client-download-pk passthrough=yes
add action=mark-connection chain=prerouting comment=client-upload-connection \
in-interface=bridge1 new-connection-mark=client-upload-connection \
passthrough=yes
add action=mark-packet chain=prerouting comment=client-upload-pk \
connection-mark=client-upload-connection new-packet-mark=client-upload-pk \
passthrough=yes
add action=mark-packet chain=forward comment=http-download-pk \
new-packet-mark=http-download-pk packet-mark=client-download-pk \
passthrough=no port=80,443 protocol=tcp
add action=mark-packet chain=forward comment=http-upload-pkt new-packet-mark=\
http-upload-pkt packet-mark=client-upload-pk passthrough=no port=80,443 \
protocol=tcp
add action=mark-packet chain=forward comment=other-download-pkt \
new-packet-mark=other-download-pkt packet-mark=client-download-pk \
passthrough=no
add action=mark-packet chain=forward comment=other-upload-pkt \
new-packet-mark=other-upload-pkt packet-mark=client-upload-pk \
passthrough=no
and this on my tree
# oct/07/2019 16:07:21 by RouterOS 6.44.5
# software id = 4L42-C3TX
#
# model = RB941-2nD
# serial number = A1C30A560349
/queue tree
add max-limit=50M name="All Bandwidth" parent=global
add max-limit=50M name=Download packet-mark=client-download-pk parent=\
"All Bandwidth" priority=2 queue=pcq-download-default
add max-limit=15M name=Http-Download packet-mark=http-download-pk parent=\
Download priority=1 queue=pcq-download-default
add max-limit=5M name=Other-Download packet-mark=other-download-pkt parent=\
Download priority=6 queue=pcq-download-default
add max-limit=3M name=Upload packet-mark=client-upload-pk parent=\
"All Bandwidth" queue=pcq-upload-default
add max-limit=2M name=Http-Upload packet-mark=http-upload-pkt parent=Upload \
priority=1 queue=pcq-upload-default
add max-limit=1M name=Other-Upload packet-mark=other-upload-pkt parent=Upload \
priority=6 queue=pcq-upload-default
add max-limit=15M name=p2p-Download packet-mark=p2p-download-pkt parent=\
Download queue=pcq-download-default
add max-limit=1M name=p2p-upload packet-mark=p2p-upload-pkt parent=Upload \
queue=pcq-upload-default
and im using this regexp “^(\x13bittorrent protocol|azver\x01$|get /scrape?info_hash=get /announce?info_hash=|get /client/bitcomet/|GET /data?fid=)|d1:ad2:id20:|\x08’7P)[RP]”
for some reason i cannot track the p2p and http download and upload, it all passes through the other queue
UPDATE: I can track http and https just fine, but p2p is using the other queue, and not the L7 that i gave to him
also what entry should i put in mangle and in the queue so i can track indepentently traffic from youtube as well ??