Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Hotlink Denial module + Liverepeater-edge client denied

  1. #1
    Join Date
    Jan 2010
    Posts
    12

    Default Hotlink Denial module + Liverepeater-edge client denied

    I have the following problem;
    The liverepeater-origin is configured with hotlink denial module and it works great, the only problem is when the liverepeater-edge is trying to connect I get a
    onConnect HotlinkDenial Module.... Client Rejected. IP: <EDGE IP>
    I have added the ip and dns name of the edge to the domainlock value but still I get the same client rejected error.

    When I disable the module everything works fine. Is there something else to try?

    The origin server is a dev version 2.0 while the repeater is a licenced wowza 2.0 server
    (this is a setup for testing purposed)

  2. #2
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    Use instead Application.xml /Connections /AllowDomains in the origin application to list allowed IPs or domains of edge servers.

    Richard

  3. #3
    Join Date
    Jan 2010
    Posts
    12

    Default

    I added the edge ip the site and the encoder both to the allowdomains and to the domain lock fields but i still get a client ip rejected for the edge server. What is the difference between those two? In which field should the encoder be in which the edge serrver and in which the player url?

  4. #4
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    You should remove the HotLinkDenial package, which is for preventing others from embedding your SWF in the html served from another website. You shouldn't or need not have any swf files connecting to the origin, so you don't need it.

    So just use AllowDomains on the origin to control which edge servers can connect. Remove HotLinkDenial from the origin.

    Richard

  5. #5

    Default

    i am on kind of same situation, but i use both edge(use liverepeater) and origin server to broadcast (people use both servers to watch livestreams), and only use origin to publish live streams (people only stream to origin server).

    is there is a way to keep HotLinkDenial running on both servers?

  6. #6

    Default

    this should be very simple to write a module for , or even perhaps for Wowza to change the one they provide.

    I can knock one up in a very short period of time, but will be the end of the week unless there is a simpler solution.

    Shamrock

  7. #7
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    HotlinkDenial is a configured for an application. So, in this case, don't use it in origin application. Right? Let me know if that solves the problem.

    Richard

  8. #8

    Default

    did this get resolved or would anyone like a module to resolve it ? I could not get it working with a configuration, but given the above seems possible ?

    I have a module which should work.

    Shamrock

  9. #9

    Default

    To "skip verification" on the origin server for my edges, I just check the querystring the edge servers sends when they connect to the origin.

    You find that property in the Application.xml on each edge.

    Example code:

    Code:
    queryString = client.getQueryStr();
    if(queryString.contentEquals("8hg9hujHJDHxFJDADFAxxxAOxjs")){
         // live-repeater connection - Skip Hot Link Denial Code
    }
    else {
         // Hot link denial code
         if(ok){} else { client.shutdownclient(); }
    }

  10. #10

    Default

    Quote Originally Posted by hranum View Post
    To "skip verification" on the origin server for my edges, I just check the querystring the edge servers sends when they connect to the origin.

    You find that property in the Application.xml on each edge.

    Example code:

    Code:
    queryString = client.getQueryStr();
    if(queryString.contentEquals("8hg9hujHJDHxFJDADFAxxxAOxjs")){
         // live-repeater connection - Skip Hot Link Denial Code
    }
    else {
         // Hot link denial code
         if(ok){} else { client.shutdownclient(); }
    }
    I want to do this, but Where do you put such code?
    Last edited by Intrusion; 05-14-2011 at 03:40 PM.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •