Differences between revisions 1 and 2
Revision 1 as of 2011-01-27 11:27:46
Size: 1362
Editor: abr
Comment:
Revision 2 as of 2011-01-27 11:27:59
Size: 1371
Editor: abr
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
1. Access the doms search interface, that is configured to use the test instance of wowza
1. Attempt to play a video
1. The video should play
1. go into the services/doms_wowza_vhost folder
1. mv applications/lib .
1. restart wowza
1. Access the doms search interface, that is configured to use the test instance of wowza
1. Attempt to play a video
1. You should get "unable to find stream" error or something similar.
 1. Access the doms search interface, that is configured to use the test instance of wowza
 1. Attempt to play a video
 1. The video should play
 1. go into the services/doms_wowza_vhost folder
 1. mv applications/lib .
 1. restart wowza
 1. Access the doms search interface, that is configured to use the test instance of wowza
 1. Attempt to play a video
 1. You should get "unable to find stream" error or something similar.

Radio TV Stage Test Wowza Backdoor

We discovered an unfortunate backdoor in the wowza plugin. The problem goes as follows

When summa requests to play a file, they send to parameters

1. rmtp://iapetus/doms?skldfhskdfhdskjhfgskd 2. flv:filename.flv

Now, the doms plugins decode the right filename from 1, but if the doms plugin is not on the classpath, the execution just contiues onto the flvplayer. The flv player just reads the value of 2, and attempts to play it. If it is configured to request files from the correct folder, it will play. The simple workaround is to have the wowza config point to a wrong folder (so that flvplayer cannot play on it's own) but to have the domsplugin be able to decode the correct location of the video file. Thus, the video should not be played unless the domsplugin is actually run.

To test this, ensure that you have a test environment as identical as possible to stage.

  1. Access the doms search interface, that is configured to use the test instance of wowza
  2. Attempt to play a video
  3. The video should play
  4. go into the services/doms_wowza_vhost folder
  5. mv applications/lib .
  6. restart wowza
  7. Access the doms search interface, that is configured to use the test instance of wowza
  8. Attempt to play a video
  9. You should get "unable to find stream" error or something similar.

RadioTVStageTestWowzaBackdoor (last edited 2011-02-04 12:29:22 by jrg)