当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 关于tsocks的设置使用问题
帖子发表于 : 2007-10-28 10:38 

注册: 2007-10-25 19:54
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
我的ubuntu7想通过别人的winxp机器上网(ip为172.26.21.3,其上装有ccproxy代理,端口为http 88,socks 1080)。我在ubuntu下装了tsocks。
/etc/囗囗囗囗囗囗.conf内容如下:
# assistance from a socks server
# - Paths - Paths are basically lists of networks and a socks server
# which can be used to reach these networks
# - Default server - A socks server which should be used to access
# networks for which no path is available
# Much more documentation than provided in these comments can be found in
# the man pages, 囗囗囗囗囗囗(8) and 囗囗囗囗囗囗.conf(8)

# Local networks
# For this example this machine can directly access 192.168.0.0/255.255.255.0
# (192.168.0.*) and 10.0.0.0/255.0.0.0 (10.*)

local = 172.26.21.3/255.255.255.255
#local = 10.0.0.0/255.0.0.0

# Paths
# For this example this machine needs to access 150.0.0.0/255.255.0.0 as
# well as port 80 on the network 150.1.0.0/255.255.0.0 through
# the socks 5 server at 10.1.7.25 (if this machines hostname was
# "socks.hello.com" we could also specify that, unless --disable-hostnames
# was specified to ./configure).

#path {
# reaches = 150.0.0.0/255.255.0.0
# reaches = 150.1.0.0:80/255.255.0.0
# server = 10.1.7.25
# server_type = 5
# default_user = delius
# default_pass = hello
#}

# Default server
# For connections that aren't to the local subnets or to 150.0.0.0/255.255.0.0
# the server at 192.168.0.1 should be used (again, hostnames could be used
# too, see note above)
server =172.26.21.3
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity
server_port = 1080

我运行tsocks firefox 后出现如下提示:
10:33:59 libtsocks(5949): Malformed configuration pair on line 41 in configuration file, "server =172.26.21.3 "
10:33:59 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified

请问各位高手这是怎么回事啊?


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-10-28 10:44 

注册: 2007-10-25 19:54
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
自己顶一下,热切期望回复


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-10-28 10:52 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
高手不来,菜鸟来看下:

很早以前我用过,记不太清了,没感觉tsocks设定上有什么麻烦,但我以为你的41行格式貌似有问题,我想是这样的:

把server =172.26.21.3

改为:

server = 172.26.21.3

也就是=后加一个空格试下


请楼下高手补充:


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-10-28 14:06 

注册: 2007-10-25 19:54
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
正如三楼所言,问题已经解决。感谢楼主指点。对楼言的景仰如涛涛江水。不过bouncer仍不能用。楼主能否再指点一二?


页首
 用户资料  
 
5 楼 
 文章标题 : tsocks的用户用密码使用
帖子发表于 : 2008-03-06 13:17 

注册: 2008-02-06 21:47
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
path {
# reaches = 150.0.0.0/255.255.0.0
# reaches = 150.1.0.0:80/255.255.0.0
server = 10.1.7.25
server_type = 5
default_user = delius
default_pass = hello
}
default_user = delius
default_pass = hello


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 关于tsocks的设置使用问题
帖子发表于 : 2009-03-02 1:45 

注册: 2009-03-02 1:12
帖子: 11
地址: http://www.ugoes.cn
送出感谢: 0 次
接收感谢: 0 次
终于找到这个帖子了
tsocks在哪里下载啊 ?
可否直接install 囗囗囗囗囗囗
我的是Ubuntu 8.10


_________________
http://www.ugoes.cn


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译