Search the proxy with tcpdump
tcpdump -vvvs 1024 -l -A tcp port 80
test the proxy
$ telnet 10.1.89.130 8000
Trying 10.1.89.130...
Connected to 10.1.89.130.
Escape character is '^]'.
CONNECT teleksel.com HTTP/1.1
Host: mobi.teleksel.com
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
X-Cnection: close
Content-Length: 680
<HTML><HEAD>
<TITLE>Appliance Error</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Appliance Error (internal_error)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
An unrecoverable error was encountered: ""
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This problem is unexpected. Please use the contact information below to obtain assistance.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
Copyright © 2010 PT. Telek Selular.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>
set proxyCommand
set on .ssh/config
TCPKeepAlive no
ServerAliveInterval 20
ServerAliveCountMax 10
ProxyCommand /usr/bin/proxytunnel -v -p 10.1.89.130:8000 -d %h:%p -H "Host: mobi.teleksel.com \n" "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"
create sock tunnel
$ ssh -fN -D 9050 new@freesshtkj04.co.vu
Connected to 10.1.89.130:8000 (local proxy)
Tunneling to freesshtkj04.co.vu:22 (destination)
Communication with local proxy:
-> CONNECT freesshtkj04.co.vu:22 HTTP/1.0
-> Proxy-Connection: Keep-Alive
-> Host: mobi.teleksel.com \n
<- HTTP/1.1 200 Connection established
..show all:.
.
Search the proxy with tcpdump
tcpdump -vvvs 1024 -l -A tcp port 80
test the proxy
$ telnet 10.1.89.130 8000
Trying 10.1.89.130...
Connected to 10.1.89.130.
Escape character is '^]'.
CONNECT teleksel.com HTTP/1.1
Host: mobi.teleksel.com
HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
X-Cnection: close
Content-Length: 680
<HTML><HEAD>
<TITLE>Appliance Error</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Appliance Error (internal_error)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
An unrecoverable error was encountered: ""
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This problem is unexpected. Please use the contact information below to obtain assistance.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
Copyright © 2010 PT. Telek Selular.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>
set proxyCommand
set on .ssh/config
TCPKeepAlive no
ServerAliveInterval 20
ServerAliveCountMax 10
ProxyCommand /usr/bin/proxytunnel -v -p 10.1.89.130:8000 -d %h:%p -H "Host: mobi.teleksel.com \n" "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"
create sock tunnel
$ ssh -fN -D 9050 new@freesshtkj04.co.vu
Connected to 10.1.89.130:8000 (local proxy)
Tunneling to freesshtkj04.co.vu:22 (destination)
Communication with local proxy:
-> CONNECT freesshtkj04.co.vu:22 HTTP/1.0
-> Proxy-Connection: Keep-Alive
-> Host: mobi.teleksel.com \n
<- HTTP/1.1 200 Connection established
(y)
ReplyDelete