shownotes-w3m-rice/rtmpsrv_functions.txt
2013-05-24 15:14:09 -07:00

8 lines
330 B
Plaintext

# this is notes for video: http://www.youtube.com/watch?v=u1dQ81HT4AU
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 ;}