免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2931 | 回复: 7
打印 上一主题 下一主题

[proxy] socks5配置问题吗? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-18 14:36 |只看该作者 |倒序浏览
/etc/socks5.conf内容如下:
set SOCKS5_BINDINTFC 172.16.20.100:1080
auth - - -
permit - - - - - -

使用《影音传送带》下载文件,连接时报错:
Address type not supported

同时服务器显示的信息如下:

./socks5 -debug -f -s -t
02804:000000: Socks5 starting at Fri Sep 14 15:43:14 2001 in threading mode
02804:000000: Warning: Attempt to run server in threaded mode when threads were
not a compile time option
02804:000000: Warning: Running as a normal standalone server
02804:000000: Config: Reading config file: /etc/socks5.conf
02804:000000: Interface Query: if0 addr/mask is 0100007f:000000ff
02804:000000: Interface Query: if0 is lo(1) with 1 IPs
02804:000000: Interface Query: if1 addr/mask is 7fc810ac:00ffffff
02804:000000: Interface Query: if1 is eth0(1) with 1 IPs
02804:000000: Interface Query: if2 addr/mask is 574316da:f0ffffff
02804:000000: Interface Query: if2 is eth1(1) with 1 IPs
02804:000000: Config: Config file read
02804:000000: Socks5 Logging (re)started at Fri Sep 14 15:43:14 2001
02804:000000: Socks5 attempting to run on interface 172.16.200.127:1080
02804:000000: Accept: Waiting on accept or a signal
02812:000000: Child: Starting
02804:000000: Parent: 1 child
02804:000000: Accept: Waiting on accept or a signal
02812:000000: Route: dst on the same subnet
02812:000000: Checking Authentication
02812:000000: Check: Checking port range   (0 <= 2570 <= 65535)?
02812:000000: Auth: Line 8: Matched
02812:000000: Socks5: Told client to do authentication method #0
02812:000000: Socks5: Read initial protocol
02812:000000: Socks5: Read address part of protocol
02812:000000: Proxy: vers:5 cmnd:1 addr:download.fedora.redhat.com port:80 user:02812:000000: Resolve Names: Starting
02812:000000: Resolve names: Unresolved host name: download.fedora.redhat.com
02812:000000: lsSendResponse: reply is (download.fedora.redhat.com:80)
02812:000000: lsSendResponse: response sent
02812:000000: TCP Connection Terminated: Abnormal (172.16.200.56:2570 to for
user : 0 bytes out, 0 bytes in
02812:000000: TCP Setup failed
02812:000000: Proxy: Command setup failed
02812:000000: Proxy: done cleaning up
02804:000000: Accept: Waiting on accept or a signal
02813:000000: Child: Starting
02804:000000: Parent: 1 child
02804:000000: Accept: Waiting on accept or a signal
02813:000000: Route: dst on the same subnet
02813:000000: Checking Authentication
02813:000000: Check: Checking port range   (0 <= 2571 <= 65535)?
02813:000000: Auth: Line 8: Matched
02813:000000: Socks5: Told client to do authentication method #0
02813:000000: Socks5: Read initial protocol
02813:000000: Socks5: Read address part of protocol
02813:000000: Proxy: vers:5 cmnd:1 addr:download.fedora.redhat.com port:80 user:02813:000000: Resolve Names: Starting
02813:000000: Resolve names: Unresolved host name: download.fedora.redhat.com
02813:000000: lsSendResponse: reply is (download.fedora.redhat.com:80)
02813:000000: lsSendResponse: response sent
02813:000000: TCP Connection Terminated: Abnormal (172.16.200.56:2571 to for
user : 0 bytes out, 0 bytes in
02813:000000: TCP Setup failed
02813:000000: Proxy: Command setup failed
02813:000000: Proxy: done cleaning up
02804:000000: Accept: Waiting on accept or a signal
----------------------------------------------------------------------
我的系统redhat10.2,在浏览器中新浪网址可以正常访问。squid代理可以正常工作。请各位帮我看看。谢谢!

论坛徽章:
0
2 [报告]
发表于 2004-08-18 15:11 |只看该作者

socks5配置问题吗?

Address type not supported ?

是不是不支持  mms等网络我就不知道了。

论坛徽章:
0
3 [报告]
发表于 2004-08-18 15:32 |只看该作者

socks5配置问题吗?

关键是QQ也能代理啊,真不知道怎么办?

论坛徽章:
0
4 [报告]
发表于 2004-08-18 15:43 |只看该作者

socks5配置问题吗?

看它的提示好象是说主机地址不能解析,不知道怎么解决。
02813:000000: Resolve names: Unresolved host name: download.fedora.redhat.com

论坛徽章:
0
5 [报告]
发表于 2004-08-18 16:18 |只看该作者

socks5配置问题吗?

有没有设置DNS啊?
设置一下吧.
/etc/resovle.conf
nameserver 202.96.134.133
nameserver 202.96.128.68

论坛徽章:
0
6 [报告]
发表于 2004-08-18 16:27 |只看该作者

socks5配置问题吗?

设置过了。
ping www.sina.com.cn一切正常。

论坛徽章:
0
7 [报告]
发表于 2004-08-18 16:30 |只看该作者

socks5配置问题吗?

那就不能理解啦.

论坛徽章:
0
8 [报告]
发表于 2004-08-19 11:10 |只看该作者

socks5配置问题吗?

原帖由 "w_b_xaaa" 发表:
设置过了。
ping www.sina.com.cn一切正常。

能解析SINA并不代表能解析其他地址比如download.fedora.redhat.com 什么的,你看看你下载链接的IP是否能正确解析

另外你编译SOCKS5时没有用--WITH-THRADS这个选项吧,为什么启用的时候又加-T参数呢?不过应该不是这个问题,不会是SOCKS5不支持这种协议吧???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP