Some people try to scrape your playlists, download your movies, guess line passwords or watch from a datacenter to restream your channels. The protection rules stop them at the door, and the unblock tools let you help a real client who was stopped by mistake.

Protection lives in a few places:

  • Settings → Security: the protection rules.
  • Servers → Block IP's and Block User Agents: block by hand.
  • Servers → Whitelist IP's: IPs and ranges you trust, which skip every block.
  • Dashboard notifications, the client page and Servers → Logs → Protection tab: see who was blocked and unblock them.

Only administrators can change protection.

Step 1: Choose your rules

Open Settings → Security.

VPN Policy (Users) and VPN Policy (Restreamers)

Decide how VPN connections are handled, separately for normal users and for restreamers. Click Edit and pick a Policy:

  • Allow All: VPNs are allowed.
  • Block All: all VPNs are blocked.
  • Whitelist: only the VPN providers you select are allowed.
  • Blacklist: the VPN providers you select are blocked.

For Whitelist and Blacklist, pick the providers in VPN Providers (Select All and Deselect All help).

Block Unauthorized Restreamers

Blocks users who are not restreamers when they connect from datacenter IP ranges. Restreamers are never blocked for using a datacenter.

Block Bots (DMCA)

Blocks known DMCA bots and automated scanning tools.

VOD Download Protection

Stops movies and series from being scraped or downloaded. Click Edit:

  • Users can download VOD: off means your users can stream movies but not download them.
  • Restreamers can download VOD: lets restreamers download even when users cannot.

Block playlist downloads in browser for non-restreamers

Clients who are not restreamers cannot download their playlist directly in a browser. They can still use it in VLC or in apps, and API login in apps is not affected.

Missing Line Auto Blocking

Blocks IPs that keep asking for lines that do not exist, a sign of someone guessing usernames and passwords. Click Edit:

  • Enable automatic blocking: turn the rule on.
  • Ban type: Temporary ban (it expires on its own) or Permanent ban.
  • Temporary ban duration: 1 hour, 6 hours, 12 hours or 24 hours.
  • Attempts before blocking: how many failed requests an IP can make before it is blocked. A higher number avoids blocking real clients who mistype.

A change to the protection rules can take up to 5 minutes to reach your servers.

More options that limit how clients connect, such as Block Empty User-Agents and Block any second different IP in Non-Restreamers, are in Settings → Streaming (Channels & Vod) → Access & Restrictions. See General settings.

How a block works

When the VPN, datacenter, bot or VOD rules stop someone, the block applies to their IP for 5 minutes.

  • A movie or series download from a browser blocks movies and series in every app on that IP for 5 minutes. Live channels keep working.
  • Blocks show up as notifications on the Dashboard and in Servers → Logs → Protection tab, where you can search by IP, user, reason or rule.

On-demand channel scans (engine 2.5.1)

Scripts and checkers go through your whole channel list and turn on every on-demand channel, which uses up your provider connections. With engine 2.5.1 on your main server, the system stops anyone who starts too many on-demand channels in a short time. There is nothing to turn on.

  • Who is stopped: a line, or an IP, that starts far more on-demand channels than a person can. Normal zapping never gets stopped.
  • What counts: only starting on-demand channels that are off.
  • What happens: the player gets Too many channels started in a short time. Your provider can unblock this line. The line, or the IP, cannot start on-demand channels for 10 minutes, and the time starts again with every new try. What the client is already watching and 24/7 channels keep working.

The block shows up as On-demand channel scan on the Dashboard and on the client page:

  • If the line was stopped, it applies from any IP and Lift block now is not offered. Use Unblock…, which comes with This client from any IP selected.
  • If the IP was stopped, Unblock… comes with Whole IP selected, and Lift block now is available.

If it is a script, ban the line or block the IP instead of unblocking it.

See who starts on-demand channels

  • On the client page, administrators see On-demand channels started in the last 24 hours: how many on-demand channels the line started, the ones it started most and from which IPs.
  • Servers → Logs → Protection tab → On-demand channel starts ranks lines or IPs for the last hour, 6 hours or 24 hours.

Step 2: Unblock a client (engine 2.4.0 or newer)

If a real client is blocked, for example someone at an office or on a mobile network, you can let them through.

From the dashboard

The notification shows the IP, the rule and the app. Choose:

  • Lift block now: ends the current 5-minute block right away. It does not create an exception: if the rule is broken again, the client is blocked again.
  • Unblock…: creates an exception. Choose:
    • Who can get through: This client from that IP, This client from any IP (for a client who travels or changes networks), or Whole IP (every client on that IP, for offices or a restreamer with several lines). The recommended option is marked.
    • For how long: 1 hour, 24 hours, 7 days or Permanent.
    • Note (optional): why you unblock this client.

Whole IP and Permanent ask you to confirm with a check box.

From the client page

Open the client. The Protection block shows whether protection is blocking that client right now, and the exceptions that apply to it. From there you can Lift block now, Unblock…, Revoke an exception, or click Add exemption to let the client through from any IP. Resellers see this block in read-only mode.

Review active exceptions

Open Servers → Logs → Protection tab. Active unblocks lists every exception. Click Revoke to remove one; protection applies again right away.

An exception for a whole IP lets every line on that IP skip the protection rules, including lines of other resellers. Use the shortest time that solves the problem.

Block IPs and user-agents by hand

  • Servers → Block IP's: click Block IP, enter the IP (IPv4 or IPv6) and a Reason for blocking. Delete a row to unblock it, or click Clear all to remove every blocked IP.
  • Servers → Block User Agents: click Block User-Agent, enter the User-Agent, and choose Exact Match if only that exact text must be blocked.

Whitelist trusted IPs and ranges (engine 2.5.1)

In Servers → Whitelist IP's you add IPs you trust, such as your office, your own servers or a known restreamer. With engine 2.5.1, a whitelisted IP or range skips every block of the system: the Block IP's list, the blocking for invalid logins, the protection rules (VPN, DMCA, datacenter, VOD) and the limit of on-demand starts. With older engines the list has no effect.

  1. Click Whitelist IP.
  2. In IP or CIDR range (IPv4 or IPv6), enter an IP (203.0.113.10) or a CIDR range (203.0.113.0/24, 2001:db8::/32). Ranges with a dash, wildcards such as 203.0.113.* and domain names are not accepted.
  3. Optionally add a Note, then click Save. It applies on every server within a minute.
  • The panel saves the range in its clean form: 203.0.113.77/24 is saved as 203.0.113.0/24.
  • A very wide range, larger than /16 for IPv4 or /32 for IPv6, asks you to confirm and tells you how many addresses it covers.
  • In Block IP's, an entry covered by the whitelist shows No effect: whitelisted. It is not deleted: if you remove the IP from the whitelist, it blocks again.
  • To remove an entry, delete its row. The blacklist applies again within a minute. The protection rules can take up to 5 minutes to apply again to a range.

The whitelist does not skip the rules of each line: credentials, expiration, ban, max connections, and the allowed IPs, countries or apps of the line.

To add ranges, every server (main, load balancers and proxies) must be on engine 2.5.1. If one is not, the page shows where the whitelist does not apply yet and only accepts single IPs.

Common problems

  • A client says movies stopped working but live channels work. Their IP was probably blocked for a VOD download from a browser. Check the Dashboard notification, then use Lift block now or Unblock….
  • I changed a rule and nothing changed. Rules can take up to 5 minutes to apply on your servers.
  • I do not see Unblock… or Active unblocks. Unblocking needs engine 2.4.0 or newer on your main server, and an administrator account. See Update the engine.
  • Lift block now did not help. The client broke the rule again. Use Unblock… to create an exception.
  • A client says channels stopped opening with "Too many channels started in a short time". The line or its IP started too many on-demand channels in a short time. If it is a real client, use Unblock…; if it is a script, ban the line or block the IP.
  • A whitelisted IP is still blocked. Check that all your servers are on engine 2.5.1, and check the line itself: the whitelist does not skip expiration, ban, max connections or the restrictions of the line.