shownotes-w3m-rice/rtmpsrv_functions.txt

8 lines
330 B
Plaintext
Raw Normal View History

2013-05-24 22:14:09 +00:00
# this is notes for video: http://www.youtube.com/watch?v=u1dQ81HT4AU
2013-02-15 23:59:11 +00:00
sniff-begin() { sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;}
sniff-capture-rtmpsrv() { rtmpsrv ;}
sniff-end() { sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT ;}