Problem blocking bittorrent using Tomato

Discussion in 'Tomato Firmware' started by Duffman19, Aug 11, 2008.

  1. Duffman19

    Duffman19 Addicted to LI Member

    Hi There,

    I'm having an issue with blocking bittorrent. THe block works great if the user starts to download between the hours that I have blocked usage, but if the user started the download before this time it does not stop the current download because the connections are already active.

    Is there a way to get round this?

  2. ethereal

    ethereal LI Guru Member

    I put these in the init script.

    sleep 5
    mkdir /etc/l7-extra
    echo -e "bit-a\n^get.+announce.+info_hash=" > /etc/l7-extra/bit-a.pat
    echo -e "bit-p\n^get.+announce.+peer" > /etc/l7-extra/bit-p.pat
    echo -e "bit-s\n^get.+scrape.+hash" > /etc/l7-extra/bit-s.pat
    and then i set this rule in Access Restriction (see picture)

    i also put some tracker domain in HTTP REQUEST

    this way tomato will bit client to requesting peer from tracker but user still possible to add peers manual so i use qos too

    Attached Files:

    • pic.jpg
      File size:
      15.4 KB
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice