Public Domain
Run as root
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner ! --uid-owner root -j REDIRECT
then capture with
rtmpsrv
or
LD_PRELOAD=/lib/libtsocks.so rtmpsuck
tcpdump -w show.cap -s 0 -i ppp0 "not icmp"
tcpick -C -h -td -v5 -yX --separator -r show.cap | less -r
justniffer -i ppp0 -u -l '%request %response'
BY: Pejman Moghadam
TAG: rtmp, rtmpdump, rtmpsrv, rtmpsuck, justniffer, tcpick
DATE: 2011-11-25 22:49:52