Giter VIP home page Giter VIP logo

phpsocks5's People

Contributors

shwangdev avatar

Watchers

 avatar  avatar

phpsocks5's Issues

能不能不用数据库啊?

如果可以不用数据库的话会更方便一点吧~

Original issue reported on code.google.com by zhulipresent on 7 Jun 2011 at 4:00

浏览器无法打开网页

服务器客户端版本是:0.2.5
服务器端按照要求配置好,也成功显示Create tables successfully.
客户端按照要求配置好了将服务器的地址填入
然后运行run.bat
浏览器:ie9RC 改成套接层的代理


无法打开网页

socke5log:
java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.DataOutputStream.write(Unknown Source)
    at phpsocks5.PhpSocks5.socksResult(PhpSocks5.java:377)
    at phpsocks5.PhpSocks5.run(PhpSocks5.java:410)
    at java.lang.Thread.run(Unknown Source)
java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.DataOutputStream.write(Unknown Source)
    at phpsocks5.PhpSocks5.socksResult(PhpSocks5.java:377)
    at phpsocks5.PhpSocks5.run(PhpSocks5.java:410)
    at java.lang.Thread.run(Unknown Source)




Original issue reported on code.google.com by [email protected] on 4 Mar 2011 at 4:03

一切都很好,我是来感谢作者的:)

godaddy的空间前阵子突然取消了ssh的tcp转发导致ssh代理失效了�
��…苦寻很多php和gae替代方案都不甚理想,尤其是对https的网�
��代理效果很不理想~

这是近阶段找到的使用体验最好并且配置也并不复杂的方案��
�只要有一个支持php和数据库的空间即可~唯一的遗憾是感觉�
��慢……但是其他都很好

最后的建议是,对于新手来说也许配置数据库能更图形化一��
�会更易懂,可以在以后考虑加入~灰常感激作者……必须推�
��:)

mac和win都使用正常,ubuntu还没试但我相信应该不会有问题

Original issue reported on code.google.com by [email protected] on 6 Oct 2011 at 10:51

试用成功!

但是用的是免费主机,用了一会儿就把IP屏蔽掉了呵呵……
非常感谢作者的辛苦工作,谢谢!


Original issue reported on code.google.com by [email protected] on 12 Jul 2011 at 3:55

你好,不知道问题出在哪里

按您所说,前5步都顺利完成。
第6步时,不知道您所说的phpsocks5.PhpSocks5是什么文件,也不知
道编译PhpSocks5.java是什么意思。
我按自己的理解,在phpsocks5_0.4.2p\java目录下建了一个run.bat文�
��,内容为
java phpsocks5.PhpSocks5
运行后只有一个窗口,没有其它反应。用127.0.0.1:10080 
socks5试连接,电脑的蜂鸣器响个不停。
我想还是编译PhpSocks5.java这一步骤没有做好,但不知怎么做才
对。
请指教。

Original issue reported on code.google.com by [email protected] on 13 Mar 2011 at 3:49

程序不能正常工作

我已经部署好了该程序,但是使用firefox 
用socks5代理会显示空页.我根据其他人的反馈以为是firefox超时
.我换用了polipo firefox显示502 Server dropped connection 
.请帮忙看一下是什么问题

Original issue reported on code.google.com by [email protected] on 4 Apr 2011 at 5:05

java.io.IOException: Server returned HTTP response code: 500 for URL:......

按照6个步骤做完了,表也创建成功了。
但我试了两个站点:zoka.cc和0fees.net,都出现了:“java.io.IOExc
eption: Server returned HTTP response code: 500 for 
URL:xxxxxx”这样的错误。不知道是怎么回事,服务器端要满足�
��么条件么?

具体错误是:
java.io.IOException: Server returned HTTP response code: 500 for URL: 
http://xxxxxx
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at phpsocks5.Utils.background(PhpSocks5.java:72)
        at phpsocks5.PhpSocks5.run(PhpSocks5.java:366)
        at java.lang.Thread.run(Unknown Source)
java.net.SocketException: socket closed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.DataInputStream.read(Unknown Source)
        at phpsocks5.Utils.send(PhpSocks5.java:79)
        at phpsocks5.PeerSender.run(PhpSocks5.java:209)
        at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by [email protected] on 14 Feb 2011 at 12:39

无法使用服务……

建立数据表成功,但启用时显示以下提示,服务器无法使用��
�不知道是什么原因?

DNS: couldn't open /etc/resolv.conf: No such file or directory
Disabling disk cache: No such file or directory
Disabling local tree: No such file or directory
Established listening socket on port 10088

Original issue reported on code.google.com by [email protected] on 14 Mar 2011 at 5:16

set_time_limit

创建的时候能看到Create tables successfully,
但是提示有set_time_limit错误,是否可用?

Original issue reported on code.google.com by [email protected] on 1 Oct 2011 at 2:00

socks5err.log

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Mar 2011 at 2:30

Attachments:

无法访问某些网站

可以访问facebook
无法访问twitter
(The following error occurred while trying to access http://twitter.com/:502 
Server dropped connection)

无法访问sina.cn
(The following error occurred while trying to access http://sina.cn/:
504 Connect to sina.cn:80 failed: SOCKS protocol error)

访问amazon.com时部分广告显示错误
(504 Connect to www.amazon.com:80 failed: SOCKS protocol error
The following error occurred while trying to access 
http://www.amazon.com/aan/2009-09-09/static/amazon/iframeproxy-7.ht.....)

Original issue reported on code.google.com by [email protected] on 11 Aug 2011 at 4:33

Attachments:

FreeWebHostingArea测试成功,期待代理连接功能

感谢写出支持socks5的好程序。
FreeWebHostingArea这个免费空间上测试成功。
phpsocks5确实给力,
其他用作代理的程序对PHP空间的要求很高一般。
就是少了通过代理服务器连接php空间的功能,期待中。。
因为能申请的PHP空间很多都被墙了,不支持代理难找到合适��
�,一般用户试了一个空间不成功估计就放弃了。
这样phpsocks5的通用性大打折扣。sockscap好像又不支持java程序��
�。
看到源码里有.cpp和.h,不知是否是有C的版本?那个应该支持s
ockscap。
个人认为项目里先加上个直接走socks代理的版本,就可以满足
绝大部分人的需求,口令,NTLM认证可以放到下一步。类似这�
��:

proxyHostName="127.0.0.1";

proxyPort="9050";

System.getProperty("socksProxySet",true);

System.getProperty("socksProxyHost",proxyHostName);

System.getProperty("socksProxyPort",proxyPort);

Original issue reported on code.google.com by [email protected] on 18 Aug 2011 at 1:25

能否用PHP SESSION代替数据库?

能否用PHP SESSION代替数据库?

如果用数据库的话,数据库读写量很大,而且很多虚拟主机��
�负载不了这么高密度的数据库操作。这也就突显不出PHP到SOCK
S的优势了。
希望能考虑一下,谢谢!

Original issue reported on code.google.com by [email protected] on 4 Mar 2011 at 11:39

socks5 无法使用

版本 : 0.6 sp 1
系统 : Apache/2.2.12 (Ubuntu)

测试运行 run_with_polipo.bat 后 HTTP代理开启能正常使用 
速度比较不错

运行 run_without_polipo.bat 后, socks5代理端口开启, 
使用socks5客户端代理软件测试提示失败, 使用 qq 网络测试 
选择 类型socks5代理, IP 127.0.0.1, 端口 10080
提示 "无法连接到代理服务器"

netstat -an 命令查看端口
发现 10080端口已经处于监听状态  这个是什么情况..

Original issue reported on code.google.com by [email protected] on 17 Oct 2011 at 7:33

502 连接被重置.附log.

创建表成功.....
服务器是自己的vps.通过phpsocks5访问是因为服务器本身线路不�
��不过http加了cdn....
不过就算通过ip直连不走cdn也是这样....
apache2.2.19 php 5.2.17 mysql 5.5.13

502 Server dropped connection

The following error occurred while trying to access http://cirno.biz/index.php:

502 Server dropped connection
Generated Sun, 04 Dec 2011 19:31:47 **标准时间 by Polipo on 
zths-PC:10088. 

log如下...

Sun, 04 Dec 2011 19:31:44 +0800 process 1
Sun, 04 Dec 2011 19:31:44 +0800 process 2 
Sun, 04 Dec 2011 19:31:44 +0800 process 3 
Sun, 04 Dec 2011 19:31:44 +0800 process 4 
Sun, 04 Dec 2011 19:31:44 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:44 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:44 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:46 +0800 process 1
Sun, 04 Dec 2011 19:31:46 +0800 process 2 
Sun, 04 Dec 2011 19:31:46 +0800 process 3 
Sun, 04 Dec 2011 19:31:46 +0800 process 4 
Sun, 04 Dec 2011 19:31:46 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:46 +0800 create table process
Sun, 04 Dec 2011 19:31:48 +0800 process 1
Sun, 04 Dec 2011 19:31:48 +0800 process 2 
Sun, 04 Dec 2011 19:31:48 +0800 process 3 
Sun, 04 Dec 2011 19:31:48 +0800 process 4 
Sun, 04 Dec 2011 19:31:48 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:48 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:48 +0800 create table process
Sun, 04 Dec 2011 19:31:49 +0800 process 1
Sun, 04 Dec 2011 19:31:49 +0800 process 2 
Sun, 04 Dec 2011 19:31:49 +0800 process 3 
Sun, 04 Dec 2011 19:31:49 +0800 process 4 
Sun, 04 Dec 2011 19:31:49 +0800 process 5  before decrypt postdata: ()
Sun, 04 Dec 2011 19:31:49 +0800 process 6  after decrypt postdata: ()
Sun, 04 Dec 2011 19:31:49 +0800 create table process

Original issue reported on code.google.com by [email protected] on 4 Dec 2011 at 11:39

怎么不能用?

您好,我是菜鸟,下了0.5版,装了java,运行deploy,出现
找不到指定路径,phpsock5.deploy,java未安装
请问是什么原因?


Original issue reported on code.google.com by [email protected] on 29 Mar 2011 at 1:39

Attachments:

请问“修改为PHP虚拟主机提供的数据库配置”是什么

您好,
请问使用方法中 
1、修改socks5.php前5行代码的数据库配置,修改为PHP虚拟主机��
�供的数据库配置。这里的“PHP虚拟主机提供的数据库配置”�
��指什么,怎么得到这些数据,是自己新建一个MySQL数据库供p
hpsocks5代理使用吗?
谢谢

Original issue reported on code.google.com by [email protected] on 27 Feb 2011 at 12:19

新版仍然无法使用

您好,作者辛苦了,希望该代理程序不断完善。
至今使用了各个版本,都无法使用。
Create tables successfully 这一步是正确的
phpsocks5.properties也修改了
之后运行客户端run.bat,就出错,出错文件出现了,但都是0字
节的。
不知道是不是我的操作问题,请作者写一个更详细的操作步��
�。

Original issue reported on code.google.com by [email protected] on 5 Mar 2011 at 4:34

为什么不能s5,只能http?

配置好后运行run_with_polipo.bat,http可以用但速度超级慢,运行
run_without_polipo.bat,s5代理用不了,netstat命令,本地根本没开1
0088侦听,为什么呢,难道哪里没搞好?

Original issue reported on code.google.com by [email protected] on 19 Sep 2011 at 11:25

不知道问题出在哪儿

每次上传文件后都显示同样的错误

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in 
safe mode in /home/masker/public_html/one/one.php on line 94

Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 
'masker_110'@'s1.freehosting.md' (using password: YES) in 
/home/masker/public_html/one/one.php on line 98

Warning: Cannot modify header information - headers already sent by (output 
started at /home/masker/public_html/one/one.php:94) in 
/home/masker/public_html/one/one.php on line 62
3�[IAM�uRF�U��WDC^I��TRSMCV��o[NKC�5��������X�����
Warning: mysql_close(): no MySQL-Link resource supplied in 
/home/masker/public_html/one/one.php on line 64

Original issue reported on code.google.com by [email protected] on 24 Mar 2011 at 6:23

创建数据表失败?

用的空间是“freewebhostingarea”,我申请的空间地址是“http://z
hangbodhr.ueuo.com/”,创建了数据库

php文件里的内容如下:
=====================================================================
$dbhost = 'http://ueuo.freewebhostingarea.com/pma/';
$dbport = '3306';
$dbuser = '417595';
$dbpass = '********';
$dbname = '417595';
=====================================================================
然后点击php文件的地址,显示的是类似“K0Jqh@C�(�ZQ�CbfYz@cw���{d
O�}H+?�3.��7V��U�d�7�Y+”这种莫名其妙的文字。

请问我的错误出在哪里?

Original issue reported on code.google.com by [email protected] on 25 Mar 2011 at 1:46

SQL配置问题

我的PHP空间是Apache(Linux),但是不提供SQL。我没有办法配置我�
��服务端。
希望能够提供不依赖于SQL的版本。

P.S. 一个代 理服务器需要SQL数据库么?奇怪……

Original issue reported on code.google.com by [email protected] on 27 Jul 2011 at 3:32

能否详细说一下原理

能否详细介绍一下实现原理。我想用 c# 
实现一个客户端。更希望可以用 asp.net 实现服务器端。

Original issue reported on code.google.com by [email protected] on 28 Feb 2011 at 12:55

不能访问https://www.google.com的log

您好,谢谢留言,开发软件辛苦了。
下面是访问google的log,http://www.google.com可以打开,https://www.go
ogle.com 不能访问。log文件如下。

以前测试时,访问其他网站的情况是感觉是不太稳定,同一��
�网站有时能够打开有时打不开。https基本上不能访问,准确��
�记不清了。
谢谢

Original issue reported on code.google.com by [email protected] on 11 Mar 2011 at 12:30

无法访问某些网站

架设成功,但无法访问某些网站,如无法访问hk.yahoo.com。换��
�外一个免费空间也是一样

Original issue reported on code.google.com by [email protected] on 17 Jul 2011 at 5:37

访问速度很慢

已经配置成功,但是打开google.com居然要5秒
youtube什么的根本进不去
问下是不是那里配置问题?

Original issue reported on code.google.com by [email protected] on 16 Sep 2011 at 2:36

mac 下运行不了

java应该在mac下也可以吧?


localhost:phpsocks5 qu$ java PhpSocks5.class 
Exception in thread "main" java.lang.NoClassDefFoundError: PhpSocks5/class
Caused by: java.lang.ClassNotFoundException: PhpSocks5.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

Original issue reported on code.google.com by [email protected] on 23 Mar 2011 at 2:42

出错的log

What steps will reproduce the problem?
1. awardspace.com 空间,用部署工具配置
2. 访问sock5.php地址,第一次正常,第二次creat table error
3. 用run_with_polipo.bat,设置代理访问Twitter.com

What is the expected output? What do you see instead?
未能得到页面,显示空白页

What version of the product are you using? On what operating system?
V0.5,Windows XP with SUNJAVA

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Mar 2011 at 8:21

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.