Automatically exported from code.google.com/p/socksipy-branch da
weieast / socksipy-branch Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/socksipy-branch
Automatically exported from code.google.com/p/socksipy-branch
$ easy_install SocksiPy-branch
Searching for SocksiPy-branch
Reading http://pypi.python.org/simple/SocksiPy-branch/
Reading http://code.google.com/p/socksipy-branch/
Best match: SocksiPy-branch 1.02
Downloading
http://socksipy-branch.googlecode.com/files/SocksiPy-branch-1.02.tar.gz
Processing SocksiPy-branch-1.02.tar.gz
error: Permission denied <built-in function listdir>
/var/folders/tQ/tQt39yC8EKS4083j2vvtRU+++TI/-Tmp-/easy_install-mkq8gT/SocksiPy-b
ranch-1.02
"ls -ld
/var/folders/tQ/tQt39yC8EKS4083j2vvtRU+++TI/-Tmp-/easy_install-mkq8gT/SocksiPy-b
ranch-1.02" displays the permissions as d---------.
Installing with pip succeeds, though.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2010 at 11:45
Was trying to use wrapmodule with the "requests" module, got an interesting
error.
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socks
>>> import requests
>>> socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, 'localhost', 9050)
>>> socks.wrapmodule(requests)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "socks.py", line 107, in wrapmodule
module.socket.socket = socksocket
AttributeError: 'module' object has no attribute 'socket'
>>>
Is there a fix for this? Not sure if it was a requests bug or a socks bug, so
reported to both.
Original issue reported on code.google.com by [email protected]
on 27 Jan 2013 at 2:43
Is this project dead? I have patches waiting, and if it is not being developed
nor I being able to get access to the project, I will be forced to branch it
yet again :(
Original issue reported on code.google.com by [email protected]
on 9 Apr 2011 at 4:33
What steps will reproduce the problem?
1. socks block thread
it was false in 5 thread fist :
ip: 67.240.128.141:35417#### whatismyip.com: 67.240.128.141
ip: 98.15.184.74:41829#### whatismyip.com: 67.240.128.141
ip: 69.120.210.254:22619#### whatismyip.com: 67.240.128.141
ip: 70.189.8.63:7981#### whatismyip.com: 67.240.128.141
ip: 71.194.91.161:4475#### whatismyip.com: 67.240.128.141
http://pastebin.com/ndvhrrJa
i can't solve it
thanks
[email protected]
Original issue reported on code.google.com by [email protected]
on 10 Feb 2011 at 10:02
between socksipy-branch and pagekite / PySocksipyChain ?
Original issue reported on code.google.com by [email protected]
on 14 Feb 2013 at 12:46
What steps will reproduce the problem?
1. setdefaultproxy(PROXY_TYPE_HTTP,"IP",12345,True,"USERNAME","PASSWD
What is the expected output? What do you see instead?
Can you support HTTP Proxy Authentication? I understand the original version is
not supported, but it would be really nice if your version support it. Right
now, I got:
File "socks.py", line 378, in connect
self.__negotiatehttp(destpair[0], destpair[1])
File "socks.py", line 344, in __negotiatehttp
raise HTTPError((statuscode, statusline[2]))
socks.HTTPError: (407, 'Proxy Authentication Required').
Thanks so much.
What version of the product are you using? On what operating system?
svn read only branch
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Oct 2010 at 2:41
Hi! Thanks for keeping SocksiPy alive!
I wanted to let you know that I have added proxy chaining and TLS/SSL to a
local fork of Socksipy. It's a pretty large change, so I was wondering if you
guys are interested in merging my work into this project or whether I should
keep it as a fork and give it a new name?
See: http://pagekite.net/wiki/Floss/PySocksipyChain/
It's still in active development, but I'm working on packaging code that
depends on it so I am trying to make up my mind on naming relatively soonish.
Thanks!
Original issue reported on code.google.com by [email protected]
on 24 Jul 2011 at 8:18
In _negotiatehttp, the following loop may run indefinetly:
# We read the response until we get the string "\r\n\r\n"
resp = self.recv(1)
while resp.find("\r\n\r\n".encode()) == -1:
resp = resp + self.recv(1)
If the server doesn't send the expected data or the connection breaks, this
loop will never end. A possible solution may be the following:
# We read the response until we get the string "\r\n\r\n"
resp = self.recv(1)
if not resp:
raise GeneralProxyError((0, "connection closed unexpectedly"))
while resp.find("\r\n\r\n".encode()) == -1:
chunk = self.recv(1)
if not chunk:
raise GeneralProxyError((0, "connection closed unexpectedly"))
resp = resp + chunk
Original issue reported on code.google.com by [email protected]
on 11 Nov 2011 at 11:35
Attached is a patch which adds support for proxies which do not allow tunneling
for standard HTTP traffic. It adds a "PROXY_TYPE_HTTP_NO_TUNNEL" type and fails
back to "PROXY_TYPE_HTTP" for SSL requests.
Thanks for carrying on with the SocksiPy torch!
Original issue reported on code.google.com by [email protected]
on 11 Aug 2010 at 4:53
Attachments:
Uses code like "chr(0xFF).encode()" that then fails to encode as ascii and
raises unicode exceptions. Ascii is 0x00-0x7f.
Original issue reported on code.google.com by [email protected]
on 26 Apr 2015 at 12:11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.