Hi all,

I found this RTMP to RTMPT proxy which should help people who
need to go via http proxy to Internet.

rtmp2rtmpt - right now it uses their modified version of
Net::Proxy, so I made a hack in rc script to modify PERL5LIB.

Also another 2 perl ports were needed - p5-HTTP-Parser and p5-Net-Proxy.

Well, before opening a bottle of wine there's need to solve this
problem...

# env PERL5LIB=/usr/local/libdata/perl5/site_perl/rtmp2rtmpt rtmp2rtmpt -l 1935 
-y 3128 -x 192.168.11.1 
Starting rtmp2rtmpt v0.06
Listening for incoming RTMP connections on 0.0.0.0:1935
Outgoing RTMPT connections will be made to IP of incoming connection on port 
number of incoming connection via HTTP proxy 192.168.11.1:3128
2012-04-23 23:57:17 Add listener 0.0.0.0:1935
2012-04-23 23:57:29 New connection on listener 0.0.0.0:1935
2012-04-23 23:57:29 Accepted 192.168.11.3:40855 -> 127.0.0.1:1935
Connecting to host 192.168.11.1
Use of uninitialized value in substr at 
/usr/local/libdata/perl5/site_perl/rtmp2rtmpt/Net/Proxy/Connector/transparent.pm
 line 41.
connect() failed with error 'Bad arg length for Socket::unpack_sockaddr_in, 
length is 0, should be 16'
2012-04-23 23:57:29 Closing 192.168.11.3:40855 -> 127.0.0.1:1935

No idead :(

jirib

Attachment: p5-HTTP-Parser.tar.gz
Description: application/tar-gz

Attachment: p5-Net-Proxy.tar.gz
Description: application/tar-gz

Attachment: rtmp2rtmpt.tar.gz
Description: application/tar-gz

Reply via email to