home *** CD-ROM | disk | FTP | other *** search
/ University of Pittsburgh…tware Toolkit - Fall 2002 / Toolkit.iso / pc / Connectivity / HostEx7.1 / SOCKS / Winsock1 / socks.cfg < prev    next >
Encoding:
Text File  |  2001-06-07  |  3.7 KB  |  88 lines

  1. # Configuration File Description
  2. #
  3. # Each line in the socks.cfg file is one of the following :
  4. #
  5. # BIND-MODULE expr | *
  6. # EXCLUDE-MODULE expr
  7. # PROXY-NAME  @=serverlist
  8. # DENY   [*=userlist] dst_addr dst_mask [op dst_port]
  9. # DIRECT [*=userlist] dst_addr dst_mask [op dst_port]
  10. # BALANCE
  11. # SOCKD  @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
  12. # SOCKD4 @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
  13. # SOCKD5 @=serverlist [*=userlist] dst_addr dst_mask [op dst_port]
  14. # GSS encryption_type
  15. #
  16. # Where:
  17. # expr        is the module name of a program to bind for or the 
  18. #               asterisk wildcard (ie. * ) to indicate all programs
  19. # userlist      is a comma separated list of usernames (optional)
  20. # dst_addr      is a dotted quad IP network/host address (eg. 192.100.0.0)
  21. # dst_mask      is a dotted quad IP netmask (eg. 255.255.255.0)
  22. # op            is one of :
  23. #        EQ     equal to
  24. #        NEQ    not equal to
  25. #        LT     less than
  26. #        GT     greater than
  27. #        LE     less than or equal to
  28. #        GE    greater than or equal to
  29. # dst_port      is the number of a destination port (eg. 23)
  30. # serverlist    is a comma separated list containing the name or IP addresses
  31. #               of SOCKS servers (use IP addresses for better performance).
  32. #        Each address may be optionally followed by an explicit port 
  33. #        number if the server is listening on a non-standard port.
  34. #        (eg. 192.100.0.1:1081) The default port number is 1080.
  35. # encryption_type is:
  36. #                  0 - Authentication Only
  37. #                  1 - Integrity
  38. #                  2 - Confidentiality (Full Encryption)
  39. # (Note GSS is only available with the GSSAPI.DLL and KRB5.DLL from MIT)
  40. #
  41. #
  42. # BIND-MODULE    means the socks client is to attempt to remotely bind ports
  43. #        for the named module. 
  44. #        (eg. the module name for ftp.exe is 'ftp' : BIND-MODULE ftp )
  45. # EXCLUDE-MODULE means the socks client is to pass all sockets requests from
  46. #        the named module directly to the underlying socket layer
  47. #        without attempting to apply the socks protocol
  48. #        for the named module.
  49. #        (eg. the module name for ftp.exe is 'ftp' : EXCLUDE-MODULE ftp )
  50. # PROXY-NAME    means that if a hostname cannot be resolved, then the name and
  51. #        any resulting connections should be handled by the listed
  52. #        socks servers.
  53. # BALANCE    means to randomly order any following SOCKD serverlists.
  54. # DENY          means to disallow the connect attempt.
  55. # DIRECT        means to attempt the connection as normal.
  56. # SOCKD         means to use the specified SOCKD 4 server.
  57. # SOCKD4        means to use the specified SOCKD 4 server.
  58. # SOCKD5        means to use the specified SOCKD 5 server.
  59. #
  60. #
  61. # On connect each line is processed in order and the first line that matches
  62. # is used. If no line matches the address is assumed to be DIRECT.
  63. #
  64. # Matching is done by taking the destination address and ANDing it with the
  65. # dst_mask. The result is then compared to the dst_addr. If they match, then
  66. # if the userlist exists, the current username is compared against this list.
  67. # Also if the [op dst_port] exists, the destination port is compared to
  68. # dst_port and if the "op" is true, the line is used.
  69. #
  70. # If @=serverlist is not present the SOCKD server is specified by the registry
  71. # value in :
  72. #
  73. #   LOCAL_MACHINE\SOFTWARE\Hummingbird\Connectivity\7.10\Socks\SOCKS_SERVER
  74. #
  75. # (Note : This above registry path is specific to v7.10)
  76. #
  77. # Please refer to the INSTALL.BAT and UNINSTAL.BAT files for information
  78. # on installation and removal, although they should be sufficient for those
  79. # purposes.
  80. #
  81. # The simplest, functional, configuration is a single line as follows :
  82. #
  83. #    SOCKD4 @=192.75.152.8 130.113.68.1 255.255.255.255
  84. #
  85. # or, for the an entire network
  86. #
  87. #    SOCKD4 @=192.75.152.8 130.113.68.0 255.255.255.0
  88.