Daniel W. Connolly, HaL Software Systems <email@example.com>
Id: socksForPython.html,v 1.1 1994/09/19 16:54:46 connolly Exp
This is a python module that works just like the socket module, but uses the SOCKS protocol to make connections through a firewall machine. See README.socks for more info on SOCKS.
This has been tested with
try: import SOCKS; socket = SOCKS except ImportError: import socket
Note that SOCKS makes some assumptions about the way the socket library is used. See What_SOCKS_expects.
XXX socksmodule.c should be tweaked to raise exceptions for things that SOCKS doesn't support.
Technically speaking, this is copyright (c) 1994 by HaL Computer Systems, since I developed it using their resources. There's so little novel work here that I don't see the point in reserving any copyrights. Anyway...
Copyright 1994 by HaL Computer Systems.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of HaL Computer Systems not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.
HAL COMPUTER SYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HAL COMPUTER SYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.