分页: 1 / 1

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

发表于 : 2010-06-10 19:29
yescookie
某些软件本身没有代理设置,那么怎么才能为他们设置代理呢?

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

发表于 : 2010-06-10 20:24
Bill Lee

代码: 全选

sudo aptitude install 囗囗囗囗囗囗

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

发表于 : 2010-06-10 21:27
eexpress
chainproxy 吧。

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

发表于 : 2010-06-10 23:19
yescookie
Bill Lee 写了:

代码: 全选

sudo aptitude install 囗囗囗囗囗囗
大哥,这个框框我理解不能啊。。。 :em06

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

发表于 : 2010-06-10 23:20
yescookie
eexpress 写了:chainproxy 吧。
:em20 兄台能否细说?这个chainproxy是一个软件?一条命令?

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

发表于 : 2010-06-10 23:28
BigSnake.NET
搜索 proxychains

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

发表于 : 2010-06-11 0:37
yescookie
BigSnake.NET 写了:搜索 proxychains
可以了! :em11 谢谢各位!

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

发表于 : 2010-06-11 0:46
yescookie
= =不过有些程序还是不行...

比如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'