本文发表在 rolia.net 枫下论坛just did a test with friend in China, who is vbuzzer user.
vbuzzer doesn't work. aftrer use ping and tracert in china, I found that the vbuzzer client is able to estiblish tcp connection to server but is disconnect by server right away after it found out the connect is from China.
the conclusion is vbuzzer block the ip from the server side but not the ip level. (both client in china and toronto are able to estiblish tcp connect with the vbuzzer server: by ping and telnet vbuzzer.com:5223)
The solution is let vbuzzer server recognize the china vbuzzer client as it is in toronto: use apache2 proxy
the china client is use my apache2 server as proxy:
69.199.166.147:80
the following is my conf of apache2:
===============httpd.conf========
ProxyRequests On
ProxyVia On
<proxy *>
Order Deny,Allow
Deny from all
Allow from 192.168.2.*
Allow from 222.170.3.70
Allow from all
</proxy>
======================
=================loadmodule.conf============
LoadModule proxy_module /usr/lib/apache2-prefork/mod_proxy.so
LoadModule proxy_ftp_module /usr/lib/apache2-prefork/mod_proxy_ftp.so
LoadModule proxy_http_module /usr/lib/apache2-prefork/mod_proxy_http.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
=====================
the log of the web server are
==============
221.221.144.171 - - [11/Jun/2005:17:20:59 -0400] "GET / HTTP/1.1" 200 1018 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.0)"
221.221.144.171 - - [11/Jun/2005:17:21:00 -0400] "GET /apache_pb.gif HTTP/1.1" 200 2326 "http://69.199.166.147/" "
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
221.221.144.171 - - [11/Jun/2005:17:22:26 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:22:31 -0400] "CONNECT vbuzzer.com:5223 HTTP/1.0" 403 1033 "-" "-"
221.221.144.171 - - [11/Jun/2005:17:32:27 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:42:29 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:52:30 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:18:02:31 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
=================NOTE: the 221.221.144.171 are the ip address in china=============
QUESTION:
what should I do to allow the "CONNECT" command to go through my web server as proxy to connect to vbuzzer.com?
Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
vbuzzer doesn't work. aftrer use ping and tracert in china, I found that the vbuzzer client is able to estiblish tcp connection to server but is disconnect by server right away after it found out the connect is from China.
the conclusion is vbuzzer block the ip from the server side but not the ip level. (both client in china and toronto are able to estiblish tcp connect with the vbuzzer server: by ping and telnet vbuzzer.com:5223)
The solution is let vbuzzer server recognize the china vbuzzer client as it is in toronto: use apache2 proxy
the china client is use my apache2 server as proxy:
69.199.166.147:80
the following is my conf of apache2:
===============httpd.conf========
ProxyRequests On
ProxyVia On
<proxy *>
Order Deny,Allow
Deny from all
Allow from 192.168.2.*
Allow from 222.170.3.70
Allow from all
</proxy>
======================
=================loadmodule.conf============
LoadModule proxy_module /usr/lib/apache2-prefork/mod_proxy.so
LoadModule proxy_ftp_module /usr/lib/apache2-prefork/mod_proxy_ftp.so
LoadModule proxy_http_module /usr/lib/apache2-prefork/mod_proxy_http.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
=====================
the log of the web server are
==============
221.221.144.171 - - [11/Jun/2005:17:20:59 -0400] "GET / HTTP/1.1" 200 1018 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.0)"
221.221.144.171 - - [11/Jun/2005:17:21:00 -0400] "GET /apache_pb.gif HTTP/1.1" 200 2326 "http://69.199.166.147/" "
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
221.221.144.171 - - [11/Jun/2005:17:22:26 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:22:31 -0400] "CONNECT vbuzzer.com:5223 HTTP/1.0" 403 1033 "-" "-"
221.221.144.171 - - [11/Jun/2005:17:32:27 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:42:29 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:17:52:30 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
221.221.144.171 - - [11/Jun/2005:18:02:31 -0400] "GET http://miranda-icq.sourceforge.net/getip.php HTTP/1.0" 200 6
9 "-" "Miranda/1.0.1.6"
=================NOTE: the 221.221.144.171 are the ip address in china=============
QUESTION:
what should I do to allow the "CONNECT" command to go through my web server as proxy to connect to vbuzzer.com?
Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net