Results 1 to 4 of 4

Thread: Hotlink Denial Module denies anyway

  1. #1
    Join Date
    Aug 2012
    Posts
    2

    Default [SOLVED] Hotlink Denial Module denies anyway

    Hello, I'm trying to use "Hotlink Denial Module", to limit the access from other domains, except the domain that I'm using on my site, which is playing RTMP from Wowza server via flowplayer, but the "Hotlink Denial Module" denies access from anywhere. Wowza and www-site are working on the same server.
    Application.xml:
    ...
    <Property>
        <Name>AllowEncoder</Name>
        <Value>FMLE,FM,Wirecast</Value>
    </Property>
    <Property>
        <Name>domainLock</Name>
        <Value>127.0.0.1,1.1.1.1,*my-domain.com</Value>
    </Property>
    <Property>
        <Name>AllowIP</Name>
        <Value>127.0.0.1,1.1.1.1,2.2.2.2</Value>
    </Property>
    ...
    <Module>
        <Name>Hotlink Denial</Name>
        <Description>Hotlink Denial Module</Description>
        <Class>com.wowza.wms.plugin.collection.module.ModuleHotlinkDenial</Class>
    </Module>
    ...
    1.1.1.1 - ip of the server
    www.my-domain.com - domain of my site
    2.2.2.2 - ip of the machine, from which I'm trying to play video, via flowplayer from my site

    wowzamediaserver_access.log:

    2012-08-24      10:07:08        UTC     connect-pending session INFO    100     2.2.2.2    -       _defaultVHost_  live    _definst_       0.018   [any]   1935    rtmp://1.1.1.1/live/_definst_/      2.2.2.2    rtmp    http://releases.flowplayer.org/swf/f...yer-3.2.14.swf        LNX 11,2,202,236        407154125       3454      3073    -       -       -       -       -       -       -       -       -       -       -       -       -       rtmp://1.1.1.1/live/_definst_/    -
    2012-08-24      10:07:08        UTC     comment server  INFO    200     -       ModuleHotlinkDenial onConnect: 407154125        _defaultVHost_  live    _definst_       17.741    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       ---       -       -
    2012-08-24      10:07:08        UTC     comment server  INFO    200     -       ModuleHotlinkDenial Client Flashver: lnx 11,2,202,236   _defaultVHost_  live    _definst_17.741   -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       ---       -       -
    2012-08-24      10:07:08        UTC     comment server  INFO    200     -       Client Rejected. IP: 2.2.2.2       _defaultVHost_  live    _definst_       17.742  ---       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       --
    Does anybody knows why is this happens ? Thank you for any suggestions !!!
    Last edited by namesys_; 08-24-2012 at 03:13 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Are those Property settings at the bottom of the Application.xml? You have them above the Module, indicating that they are not placed properly. They should be below, in the Properties list at the bottom of that file

    Richard

  3. #3
    Join Date
    Aug 2012
    Posts
    2

    Default

    Quote Originally Posted by rrlanham View Post
    Are those Property settings at the bottom of the Application.xml? You have them above the Module, indicating that they are not placed properly. They should be below, in the Properties list at the bottom of that file

    Richard
    You're right Richard, after placing Property settings in the bottom of the Application.xml in the Properties section all works fine! Thank you for your reply!
    Last edited by namesys_; 08-24-2012 at 03:07 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Cool! Glad it's working. Thanks for the update

    Richard

Similar Threads

  1. Hotlink Denial Module and loadbalancer
    By Offspring in forum General Forum
    Replies: 1
    Last Post: 05-23-2014, 03:47 PM

Posting Permissions

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