PDA

View Full Version : How to install rtmpsuck on Linux


macey
02-13-2010, 07:15 AM
Use an OS that doesn't suck.

I use Ubuntu Linux.

Can you post a guide to using rtmpsuck/rtmpsrv please?
I want to stream this site:-

http://atdhe.net/watch-bbc-news.php

Am having difficulty extracting the rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) parameters.
Help would be appreciated.

hyc
03-22-2010, 01:49 AM
I use Ubuntu Linux.

Can you post a guide to using rtmpsuck/rtmpsrv please?


The basic steps, in plain English:

Create a special user account that will be used solely for running rtmpsrv/rtmpsuck
Set an iptables rule that redirects all outbound RTMP connections for every user except the special user
Run rtmpsrv/rtmpsuck using the special user account
Browse to the web page with the media you want to download, using your regular user account


If you don't know how to create user accounts, go read your system docs.

If you haven't read the README file yet, do that.

On BSD/MacOSX, you use ipfw instead of iptables. Examples for both are already in the README file.

Note - do not use an account with special system privileges to run any of this stuff. This code has been pretty carefully checked for security and correctness, but even so, it would be foolish to take unnecessary risks. And since Adobe Flash is full of so many already-known vulnerabilities, it's equally likely that some sites you try to connect to may be serving malicious data. The rtmp account should have a home directory that it can write to, access to the RTMP ports, and not much else.

alex_stv
03-24-2010, 04:43 AM
I have create a special user account names
rtmp
and run the following
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp -j REDIRECT
But rtmpsuck didn't work for me. It says that i can't redirect.
can anybody please tell me what is wrong.
Btw. I'm using Ubuntu 9

Thanks for your help

croques
04-06-2010, 06:46 AM
If you are using Ubuntu part of the problem for me was that Ubuntu does not have a super user account that we can normally access all we can do is 'sudo'.

To overcome this become super user and then change the su password with the following


sudo su
passwd

then this line works on Ubuntu Karmic
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp -j REDIRECT; su -c "/usr/bin/rtmpsuck -z " rtmp


You can leave out the -z if you do not want debug output.