| Instance Variable |
logging |
If not None,
the name of the logfile to which connection information will be written. (type: str
or None) |
| Instance Variable |
reactor |
The reactor used to create connections. (type: object providing twisted.internet.interfaces.IReactorTCP) |
| Instance Variable |
buf |
Part of a SOCKSv4 connection request. (type: str) |
| Instance Variable |
otherConn |
Until the connection has been established, otherConn is None.
After that, it is the proxy-to-destination protocol instance along which
the client's connection is being forwarded. (type: SOCKSv4Incoming, SOCKSv4Outgoing or None) |
| Method |
__init__ |
Undocumented |
| Method |
connectionMade |
Called when a connection is made. |
| Method |
dataReceived |
Called whenever data is received. |
| Method |
connectionLost |
Called when the connection is shut down. |
| Method |
authorize |
Undocumented |
| Method |
makeReply |
Undocumented |
| Method |
write |
Undocumented |
| Method |
log |
Undocumented |
| Method |
_dataReceived2 |
The second half of the SOCKS connection setup. For a SOCKSv4 packet this
is after the server address has been extracted from the header. For a
SOCKSv4a packet this is after the host name has been resolved. |