noob2001204
03-18-2010, 11:41 AM
I have been searching a tool that can let you redirect the traffic from rtmp server to rtmpsuck or rtmpsrv,so you can dump the stream much easier with both tools
Since windows host file cannot map ip address and another,it's needed to find another tool that can do the job
And I have found some tcp/udp redirection tools,but they simply do not work or maybe I just don't know what I should do to make them working
Fpipe - source port forwarder/redirector (http://www.foundstone.com/us/resources/proddesc/fpipe.htm)
Winrelay - TCP/UDP forwarder/redirector (http://www.ntsecurity.nu/toolbox/winrelay/)
Windows version of ipfw,which s supposed to work with rtmpsuck on Mac OS,but the windows version does not work (http://wipfw.sourceforge.net/)
Can they be used with rtmpsuck/rtmpsrv?
According to their documentation, the wipfw code currently does not support port forwarding / redirection.
fpipe - nope, doesn't do what's needed.
winrelay - nope.
noob2001204
03-18-2010, 12:36 PM
Thanks for the reply
I read on somewhere that you mentioned you have made a tool that can work on XP,but not on vista and 7
What is that tool?
I am currently using Windows XP,so it might be useful for the XP users
Stavr0
04-05-2010, 12:11 PM
I have been searching a tool that can let you redirect the traffic from rtmp server to rtmpsuck or rtmpsrv,so you can dump the stream much easier with both tools
Since windows host file cannot map ip address and another,it's needed to find another tool that can do the job
And I have found some tcp/udp redirection tools,but they simply do not work or maybe I just don't know what I should do to make them working.
I've found a way to intercept rtmp traffic under Windows. You need:
Virtualizing software (VMware, Virtualbox or QEmu)
A working guest OS running inside the VM
the latest RTMPSUCK (rtmpdump 2.2b)
This requires you know what the rtmp URL is being called. Use something like TamperData extension to monitor URLs as they go by
In the VM's guest OS, make sure you can connect to the stream with the browser, ie have Flash installed etc..
Once you can SEE the stream, open the guest's VM HOSTS file (system32\drivers\etc\hosts) and create an IP address for the RTMP hostname, this must be the local IP address of your HOST OS (not VM)IPCONFIG
Windows IP Configuration
Ethernet adapter virtualnet:
Connection-specific DNS Suffix . : local
IP Address. . . . . . . . . . . . : 192.168.1.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
NOTEPAD C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS
hostpc 192.168.1.100 # this is my host pc
guestvm 192.168.1.200 # this is my VM guest
rtmpsrv.example.com 192.168.1.100 # rtmp://rtmpsrv.example.com/foo/bar/myfavoriteshow/?etc=&blahblah
On the HOST os, run IPCONFIG
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : local
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
RTMPSUCK -z 2> suck.log
this will create a huge file (several MBs)
back on the guest VM OS, restart the stream.
once you see the first seconds of video, kill everything, including rtmpsuck.
you should now have everyting you're looking for in SUCK.LOG.
noob2001204
04-05-2010, 01:19 PM
I've found a way to intercept rtmp traffic under Windows. You need:
Sure,it works for mapping hostname to ip
But the problem is that you can't do it if the hostname is a ip address because hosts file cannot handle mapping ip to ip
eg: rtmpe://76.76.24.57/canaldosconcursos/_definst_/doConnect=conexaoremota/doPlay=fastplay
I think, if you're going to go to the trouble of setting up a VM, you can configure it with NAT'd networking, so all of its traffic goes through the host. Then you can configure the host to intercept with rtmpsuck... (Haven't tried it. Don't know what other configuration would be needed.)
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.