home *** CD-ROM | disk | FTP | other *** search
- # Configuration File Description
- #
- # Each line in the socks.cfg file is one of the following :
- #
- # BIND-MODULE expr | *
- # EXCLUDE-MODULE expr
- # PROXY-NAME @=serverlist
- # DENY [*=userlist] dst_addr dst_mask [op dst_port]
- # DIRECT [*=userlist] dst_addr dst_mask [op dst_port]
- # BALANCE
- # SOCKD @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
- # SOCKD4 @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
- # SOCKD5 @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
- # GSS encryption_type
- #
- # Where:
- # expr is the module name of a program to bind for or the
- # asterisk wildcard (ie. * ) to indicate all programs
- # userlist is a comma separated list of usernames (optional)
- # dst_addr is a dotted quad IP network/host address (eg. 192.100.0.0)
- # dst_mask is a dotted quad IP netmask (eg. 255.255.255.0)
- # op is one of :
- # EQ equal to
- # NEQ not equal to
- # LT less than
- # GT greater than
- # LE less than or equal to
- # GE greater than or equal to
- # dst_port is the number of a destination port (eg. 23)
- # serverlist is a comma separated list containing the name or IP addresses
- # of SOCKS servers (use IP addresses for better performance).
- # Each address may be optionally followed by an explicit port
- # number if the server is listening on a non-standard port.
- # (eg. 192.100.0.1:1081) The default port number is 1080.
- # encryption_type is:
- # 0 - Authentication Only
- # 1 - Integrity
- # 2 - Confidentiality (Full Encryption)
- # (Note GSS is only available with the GSSAPI.DLL and KRB5.DLL from MIT)
- #
- #
- # BIND-MODULE means the socks client is to attempt to remotely bind ports
- # for the named module.
- # (eg. the module name for ftp.exe is 'ftp' : BIND-MODULE ftp )
- # EXCLUDE-MODULE means the socks client is to pass all sockets requests from
- # the named module directly to the underlying socket layer
- # without attempting to apply the socks protocol
- # for the named module.
- # (eg. the module name for ftp.exe is 'ftp' : EXCLUDE-MODULE ftp )
- # PROXY-NAME means that if a hostname cannot be resolved, then the name and
- # any resulting connections should be handled by the listed
- # socks servers.
- # BALANCE means to randomly order any following SOCKD serverlists.
- # DENY means to disallow the connect attempt.
- # DIRECT means to attempt the connection as normal.
- # SOCKD means to use the specified SOCKD 4 server.
- # SOCKD4 means to use the specified SOCKD 4 server.
- # SOCKD5 means to use the specified SOCKD 5 server.
- #
- #
- # On connect each line is processed in order and the first line that matches
- # is used. If no line matches the address is assumed to be DIRECT.
- #
- # Matching is done by taking the destination address and ANDing it with the
- # dst_mask. The result is then compared to the dst_addr. If they match, then
- # if the userlist exists, the current username is compared against this list.
- # Also if the [op dst_port] exists, the destination port is compared to
- # dst_port and if the "op" is true, the line is used.
- #
- # If @=serverlist is not present the SOCKD server is specified by the registry
- # value in :
- #
- # LOCAL_MACHINE\SOFTWARE\Hummingbird\Connectivity\7.10\Socks\SOCKS_SERVER
- #
- # (Note : This above registry path is specific to v7.10)
- #
- # Please refer to the INSTALL.BAT and UNINSTAL.BAT files for information
- # on installation and removal, although they should be sufficient for those
- # purposes.
- #
- # The simplest, functional, configuration is a single line as follows :
- #
- # SOCKD4 @=192.75.152.8 130.113.68.1 255.255.255.255
- #
- # or, for the an entire network
- #
- # SOCKD4 @=192.75.152.8 130.113.68.0 255.255.255.0
-