Opened 3 years ago

Closed 10 months ago

#1581 closed (invalid)

bt3 l7 filter

Reported by: phuzi0n Owned by:
Keywords: Cc:

Description

In r14218 the bt3 l7 iptables rules for AR/QoS were commented out in the source code so they don't automatically get created when you select bittorrent, but you can still add them by selecting bt3. If for some reason bt3 is no good then why not remove the l7 filter completely, or if it is good then make it so that it is added when bittorrent is selected.

Change History (6)

comment:1 Changed 3 years ago by SpyrosB

You can't use the proper bt3 filter at all because datalen extension is missing from iptables. Even if you try manually with

iptables -t mangle -A SVQOS_IN 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40
iptables -t mangle -A SVQOS_OUT 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40

the rule will not be added

comment:2 Changed 3 years ago by SpyrosB

Sorry made a typo

iptables -t mangle -I 3 SVQOS_IN 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40
iptables -t mangle -I 3 SVQOS_OUT 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40

is the correct command

comment:3 Changed 3 years ago by SpyrosB

Typo :p

iptables -t mangle -I SVQOS_IN 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40
iptables -t mangle -I SVQOS_OUT 3 -p tcp -m mark --mark 0 -m length ! --length 50:51 -m datalen --offset 4 --byte 4 --add 10 -m layer7 --l7proto bt3 -j MARK --set-mark 40

comment:4 Changed 3 years ago by Eko

  • Resolution set to fixed
  • Status changed from new to closed

fixed

comment:5 Changed 10 months ago by tatsuya46

  • Resolution fixed deleted
  • Status changed from closed to reopened

r19519 selecting "bittorrent" only adds bt1 & bt2, bt3 has to be added manually. This is not fixed.

Last edited 10 months ago by tatsuya46 (previous) (diff)

comment:6 Changed 10 months ago by Sash

  • Resolution set to invalid
  • Status changed from reopened to closed

its because bt3 has some side affects on other traffic. thats why its noth there

Note: See TracTickets for help on using tickets.