1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cccam blocker

Discussion in 'Digital TV - UK & Europe' started by samben, Dec 8, 2011.

  1. samben

    samben Member

    Nov 30, 2005
    Likes Received:
    Trophy Points:
    We know we use a program to block bad p2p host but is there any program can block bad cccam sharing host? THANKS
  2. pudzyryan

    pudzyryan Regular member

    Sep 13, 2008
    Likes Received:
    Trophy Points:
    its ther ip you would be blocking..

    Another little tip as regards the defaults ports and always changing them ( pc server)

    use iptables to block default ports

    iptables -A INPUT -p tcp --dport 21 -j DROP
    iptables -A INPUT -p tcp --dport 22 -j DROP
    iptables -A INPUT -p tcp --dport 23 -j DROP
    iptables -A INPUT -p tcp --dport 25 -j DROP
    iptables -A INPUT -p tcp --dport 4567 -j DROP
    iptables -A INPUT -p tcp --dport 12000 -j DROP
    iptables -A INPUT -p tcp --dport 16000 -j DROP
    iptables -A INPUT -p tcp --dport 16001 -j DROP


    Lets say you checked your /var/log/auth.log

    Now here is the login file for your server (ssh), lets say someone decided to try and access it or more than one person.

    failed login from lets say and

    iptables -A INPUT -s -j DROP
    iptables -A INPUT -s -j DROP

    Again each time you add any rule to iptables you finish with


    Also advisable to change the default login port in SSH which is 22.

    Now there is a few ways to get the iptable rules to load on startup (reboot and they are gone), I find a very simple method is to simply

    iptables-save >/var/etc/iptables.conf

    You can save them to whatever path you like, just don't save them to /tmp for obvious reasons.

    After a reboot to put iptables back

    iptables-restore </var/etc/iptables.conf

    I find this way if you need to block any user/ports then by adding more users/ports simply


    Then back iptables up again to your folder.

    You can simply list what ports and ip addys you have banned with

    iptables -L -n

    Yes there is the fail2ban and more than likely other scripts for banning users, hopefully those that want to learn some linux will actually do it manually.

    Your cccam log will also show you any illegal/dodgy login attempts, simply add them, make a mistake, very easy to remove that users IP.
  3. fintannl

    fintannl Regular member

    Feb 11, 2009
    Likes Received:
    Trophy Points:
    lost on both question and response!!!!

Share This Page