Results 1 to 2 of 2

Thread: SecureToken 2 with MediaCache and RTMP protocol

  1. #1

    Default SecureToken 2 with RTMPS protocol

    I found a bug in SecureToken 2 when using the RTMPS protocol. RTMP works normally.

    I define string vod/mp4:sample.mp4?65a4f04573112610 and Wowza read string host.com/vod/mp4:sample.mp4?65a4f04573112610 calculating wrong hash.

    RTMPS logs:
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:creating RTMP token for ClientId:500173584 uri:rtmps://host.com/vod/mp4:sample.mp4 - - - 589.526 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:client IP: 200.196.49.194 - - - 589.526 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:hashCalculated: RtTZusSa9mGgpHjvbPV6kWuebO6MSxi2z0IM-8jFKyE= - - - 589.527 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:string hashed: host.com/vod/mp4:sample.mp4?65a4f04573112610 - - - 589.527 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:token start time stamp: 0 - - - 589.527 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:token end time stamp: 0 - - - 589.528 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment server INFO 200 - [vod/_definst_]SecureTokenDef:Hash RxAUFctm4Tldt41A1uDEIOUAnmnM4KvQGon1Z4YLx7o=, doesn't match hash calculated, RtTZusSa9mGgpHjvbPV6kWuebO6MSxi2z0IM-8jFKyE= - - - 589.528 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:45:05 BRST comment session INFO 403 500173584 ModuleCoreSecurity.play[vod/_definst_/sample.mp4]: SecureToken failed.

    RTMP logs:
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:creating RTMP token for ClientId:1825866841 uri:rtmp://host.com/vod/mp4:sample.mp4 - - - 1124.894 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:client IP: 200.196.49.194 - - - 1124.894 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:hashCalculated: RxAUFctm4Tldt41A1uDEIOUAnmnM4KvQGon1Z4YLx7o= - - - 1124.895 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:string hashed: vod/mp4:sample.mp4?65a4f04573112610 - - - 1124.895 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:token start time stamp: 0 - - - 1124.896 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - [vod/_definst_]ModuleCoreSecurity:token end time stamp: 0 - - - 1124.896 - - - - - - - - - - - - - - - - - - - - - - - - -
    2015-02-06 14:54:01 BRST comment server INFO 200 - ModuleCoreSecurity.play[vod/_definst_/sample.mp4]: All security checks passed.

    Regards,
    Last edited by carlosjpr; 02-06-2015 at 10:51 AM.

  2. #2
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hi,

    This is being looked at in support ticket #117440.
    A fix for this issue will be included in a future patch, but there is no time frame set when this will become available.

    Regards,
    Zoran

Similar Threads

  1. Change protocol from rtmp to http.
    By parky15 in forum General Forum
    Replies: 2
    Last Post: 10-28-2014, 12:00 AM
  2. how is wowz protocol deffirrent rtmp
    By hehe37 in forum General Forum
    Replies: 3
    Last Post: 07-28-2014, 10:22 AM
  3. Sending parameters to rtmp protocol
    By ds5010101 in forum General Forum
    Replies: 3
    Last Post: 12-02-2011, 09:27 AM

Posting Permissions

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