如何为指定软件设置代理?

上网、浏览、聊天、下载等
回复
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

如何为指定软件设置代理?

#1

帖子 yescookie » 2010-06-10 19:29

某些软件本身没有代理设置,那么怎么才能为他们设置代理呢?
Bill Lee
帖子: 598
注册时间: 2009-09-19 20:50

Re: 如何为指定软件设置代理?

#2

帖子 Bill Lee » 2010-06-10 20:24

代码: 全选

sudo aptitude install 囗囗囗囗囗囗
aMule 2.3.1 is coming...
真正动态的 amule-dlp is coming...
本人帐号在2011年1月被盗,在2011年1月3日17:19到2010年1月6日13:34之间本帐号发的一切帖子、短信等与本人无关!
amule-dlp 开发动态
amule-dlp on Google Code
WebArchiver - 基于 wget 的网页归档工具(PyQt4 GUI 前端)
Linux 2.6.34 编译笔记
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 如何为指定软件设置代理?

#3

帖子 eexpress » 2010-06-10 21:27

chainproxy 吧。
● 鸣学
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: 如何为指定软件设置代理?

#4

帖子 yescookie » 2010-06-10 23:19

Bill Lee 写了:

代码: 全选

sudo aptitude install 囗囗囗囗囗囗
大哥,这个框框我理解不能啊。。。 :em06
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: 如何为指定软件设置代理?

#5

帖子 yescookie » 2010-06-10 23:20

eexpress 写了:chainproxy 吧。
:em20 兄台能否细说?这个chainproxy是一个软件?一条命令?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 如何为指定软件设置代理?

#6

帖子 BigSnake.NET » 2010-06-10 23:28

搜索 proxychains
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: 如何为指定软件设置代理?

#7

帖子 yescookie » 2010-06-11 0:37

BigSnake.NET 写了:搜索 proxychains
可以了! :em11 谢谢各位!
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: 如何为指定软件设置代理?

#8

帖子 yescookie » 2010-06-11 0:46

= =不过有些程序还是不行...

比如Gwibber...= =
错误~

代码: 全选

meck@meck-laptop:/$ proxychains gwibber
ProxyChains-3.1 (http://proxychains.sf.net)

** (gwibber:12890): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (gwibber:12890): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (gwibber:12890): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'

!!!need more proxies!!!
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 67, in <module>
    client.Client()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 447, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 29, in __init__
    self.model = gwui.Model()
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 42, in __init__
    self.settings = util.SettingsMonitor()
  File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 91, in __init__
    DEFAULT_SETTINGS)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 66, in __init__
    self.database = CouchDatabase(dbname, create=True)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 57, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 152, in __init__
    self._reconnect()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 176, in _reconnect
    if self._database_name not in self._server:
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1014, in _request
    resp, data = _make_request()
  File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1009, in _make_request
    body=body, headers=headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 1129, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 901, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/pymodules/python2.6/httplib2/__init__.py", line 871, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 984, in getresponse
    method=self._method)
  File "/usr/lib/python2.6/httplib.py", line 330, in __init__
    self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'
回复