In reference to KSV's rtmpsuck crush, here it is,
in case somebody would be interested in fixing the patch.
Code:
root@j:/home/j/rtmpdump# rtmpsuck
RTMP Proxy Server v2.4 KSV-2015-12-14
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
app : Decryption/
flashVer : LNX 27,0,0,187
swfUrl : https://imlive.com/swf/genericguestapp1.swf
tcUrl : rtmp://fly4.globalmailer.com/Decryption/
pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
WARNING: Trying different position for client digest!
Processing connect
app : iml
flashVer : LNX 27,0,0,187
swfUrl : https://imlive.com/swf/genericguestapp1.swf
tcUrl : rtmp://world.influxis.net/iml
pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10
WARNING: Trying different position for client digest!
Processing connect
app : coolVideo_v2/1179439
flashVer : LNX 27,0,0,187
swfUrl : https://imlive.com/swf/genericguestapp1.swf
tcUrl : rtmp://fly4.globalmailer.com/coolVideo_v2/1179439
pageUrl : https://imlive.com/flash_sdk/freevideochatguest.aspx?hostnick=sabrinagrey&roomid=10
*** Error in `rtmpsuck': malloc(): memory corruption: 0x00007f6054023070 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f6065c0b08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x84ace)[0x7f6065c16ace]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f6065c18984]
/lib/x86_64-linux-gnu/libc.so.6(+0x6eeed)[0x7f6065c00eed]
/lib/x86_64-linux-gnu/libc.so.6(+0x1293a3)[0x7f6065cbb3a3]
/lib/x86_64-linux-gnu/libc.so.6(__res_maybe_init+0x14d)[0x7f6065cbd08d]
/lib/x86_64-linux-gnu/libc.so.6(__nss_hostname_digits_dots+0x36)[0x7f6065cbf166]
/lib/x86_64-linux-gnu/libc.so.6(gethostbyname+0x98)[0x7f6065cadc68]
/usr/local/lib/librtmp.so.1(+0x6cf0)[0x7f6065f5fcf0]
/usr/local/lib/librtmp.so.1(RTMP_Connect+0x8d)[0x7f6065f6660d]
rtmpsuck(+0x2ec4)[0x5628136fbec4]
rtmpsuck(+0x3ee8)[0x5628136fcee8]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76da)[0x7f60661816da]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x5f)[0x7f6065c9ad7f]
======= Memory map: ========
5628136f9000-5628136ff000 r-xp 00000000 08:21 4333656 /usr/local/sbin/rtmpsuck
5628138fe000-5628138ff000 r--p 00005000 08:21 4333656 /usr/local/sbin/rtmpsuck
5628138ff000-562813900000 rw-p 00006000 08:21 4333656 /usr/local/sbin/rtmpsuck
562813ffe000-56281401f000 rw-p 00000000 00:00 0 [heap]
7f6048000000-7f6048021000 rw-p 00000000 00:00 0
7f6048021000-7f604c000000 ---p 00000000 00:00 0
7f6050000000-7f6050045000 rw-p 00000000 00:00 0
7f6050045000-7f6054000000 ---p 00000000 00:00 0
7f6054000000-7f6054026000 rw-p 00000000 00:00 0
7f6054026000-7f6058000000 ---p 00000000 00:00 0
7f6058000000-7f6058029000 rw-p 00000000 00:00 0
7f6058029000-7f605c000000 ---p 00000000 00:00 0
7f605df43000-7f605df59000 r-xp 00000000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f605df59000-7f605e158000 ---p 00016000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f605e158000-7f605e159000 r--p 00015000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f605e159000-7f605e15a000 rw-p 00016000 08:21 5771846 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f605e15a000-7f605e15b000 ---p 00000000 00:00 0
7f605e15b000-7f605e95b000 rw-p 00000000 00:00 0
7f605e95b000-7f605e9cd000 r-xp 00000000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f605e9cd000-7f605ebcc000 ---p 00072000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f605ebcc000-7f605ebcd000 r--p 00071000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f605ebcd000-7f605ebce000 rw-p 00072000 08:21 5771934 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f605ebce000-7f605ebd5000 r-xp 00000000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so
7f605ebd5000-7f605edd4000 ---p 00007000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so
7f605edd4000-7f605edd5000 r--p 00006000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so
7f605edd5000-7f605edd6000 rw-p 00007000 08:21 5784515 /lib/x86_64-linux-gnu/librt-2.24.so
7f605edd6000-7f605edfb000 r-xp 00000000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1
7f605edfb000-7f605effa000 ---p 00025000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1
7f605effa000-7f605effb000 r--p 00024000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1
7f605effb000-7f605effc000 rw-p 00025000 08:21 5771961 /lib/x86_64-linux-gnu/libselinux.so.1
7f605effc000-7f605effe000 rw-p 00000000 00:00 0
7f605effe000-7f605efff000 ---p 00000000 00:00 0
7f605efff000-7f605f7ff000 rw-p 00000000 00:00 0
7f605f7ff000-7f605f800000 ---p 00000000 00:00 0
7f605f800000-7f6060000000 rw-p 00000000 00:00 0
7f6060000000-7f6060021000 rw-p 00000000 00:00 0
7f6060021000-7f6064000000 ---p 00000000 00:00 0
7f60641a6000-7f60641a8000 r-xp 00000000 08:21 5771909 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f60641a8000-7f60643a7000 ---p 00002000 08:21 5771909
7f60643a7000-7f60643a8000 r--p 00001000 08:21 5771909
7f60643a8000-7f60643a9000 rw-p 00002000 08:21 5771909 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f60643a9000-7f60643b4000 r-xp 00000000 08:21 5784508 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f60643b4000-7f60645b3000 ---p 0000b000 08:21 5784508
7f60645b3000-7f60645b4000 r--p 0000a000 08:21 5784508
7f60645b4000-7f60645b5000 rw-p 0000b000 08:21 5784508 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f60645b5000-7f60645bb000 rw-p 00000000 00:00 0
7f60645bb000-7f60645bc000 ---p 00000000 00:00 0
7f60645bc000-7f6064dbc000 rw-p 00000000 00:00 0
7f6064dbc000-7f6064dbf000 r-xp 00000000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so
7f6064dbf000-7f6064fbe000 ---p 00003000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so
7f6064fbe000-7f6064fbf000 r--p 00002000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so
7f6064fbf000-7f6064fc0000 rw-p 00003000 08:21 5784501 /lib/x86_64-linux-gnu/libdl-2.24.so
7f6064fc0000-7f60650c8000 r-xp 00000000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so
7f60650c8000-7f60652c7000 ---p 00108000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so
7f60652c7000-7f60652c8000 r--p 00107000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so
7f60652c8000-7f60652c9000 rw-p 00108000 08:21 5784502 /lib/x86_64-linux-gnu/libm-2.24.so
7f60652c9000-7f60652e4000 r-xp 00000000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f60652e4000-7f60654e3000 ---p 0001b000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f60654e3000-7f60654e4000 r--p 0001a000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f60654e4000-7f60654e5000 rw-p 0001b000 08:21 5771989 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f60654e5000-7f60656fe000 r-xp 00000000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f60656fe000-7f60658fe000 ---p 00219000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f60658fe000-7f606591a000 r--p 00219000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f606591a000-7f6065926000 rw-p 00235000 08:21 5784455 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f6065926000-7f6065929000 rw-p 00000000 00:00 0
7f6065929000-7f6065987000 r-xp 00000000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f6065987000-7f6065b87000 ---p 0005e000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f6065b87000-7f6065b8b000 r--p 0005e000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f6065b8b000-7f6065b92000 rw-p 00062000 08:21 5784456 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f6065b92000-7f6065d50000 r-xp 00000000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so
7f6065d50000-7f6065f4f000 ---p 001be000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so
7f6065f4f000-7f6065f53000 r--p 001bd000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so
7f6065f53000-7f6065f55000 rw-p 001c1000 08:21 5784498 /lib/x86_64-linux-gnu/libc-2.24.so
7f6065f55000-7f6065f59000 rw-p 00000000 00:00 0
7f6065f59000-7f6065f79000 r-xp 00000000 08:21 4197839 /usr/local/lib/librtmp.so.1
7f6065f79000-7f6066178000 ---p 00020000 08:21 4197839 /usr/local/lib/librtmp.so.1
7f6066178000-7f6066179000 r--p 0001f000 08:21 4197839 /usr/local/lib/librtmp.so.1
7f6066179000-7f606617a000 rw-p 00020000 08:21 4197839 /usr/local/lib/librtmp.so.1
7f606617a000-7f6066192000 r-xp 00000000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f6066192000-7f6066392000 ---p 00018000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f6066392000-7f6066393000 r--p 00018000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f6066393000-7f6066394000 rw-p 00019000 08:21 5784513 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f6066394000-7f6066398000 rw-p 00000000 00:00 0
7f6066398000-7f60663be000 r-xp 00000000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so
7f6066531000-7f6066572000 r-xp 00000000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2
7f6066572000-7f6066575000 r--p 00040000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2
7f6066575000-7f6066576000 rw-p 00043000 08:21 5771970 /lib/x86_64-linux-gnu/libnss_resolve.so.2
7f6066576000-7f6066577000 rw-p 00000000 00:00 0
7f6066598000-7f606659c000 rw-p 00000000 00:00 0
7f60665b9000-7f60665bd000 rw-p 00000000 00:00 0
7f60665bd000-7f60665be000 r--p 00025000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so
7f60665be000-7f60665bf000 rw-p 00026000 08:21 5784494 /lib/x86_64-linux-gnu/ld-2.24.so
7f60665bf000-7f60665c0000 rw-p 00000000 00:00 0
7ffcf63f2000-7ffcf6413000 rw-p 00000000 00:00 0 [stack]
7ffcf64bb000-7ffcf64bd000 r--p 00000000 00:00 0 [vvar]
7ffcf64bd000-7ffcf64bf000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
root@j:/home/j/rtmpdump#