Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.9 KiB

  1. # Each line is one of:
  2. #
  3. # DENY [*=userlist] dst_addr dst_mask [op dst_port]
  4. # DIRECT [*=userlist] dst_addr dst_mask [op dst_port]
  5. # SOCKD [@=serverlist] [*=userlist] dst_addr dst_mask [op dst_port]
  6. #
  7. # Where userlist is a comma separated list of users (optional)
  8. # dst_addr is a dotted quad IP address
  9. # dst_mask is a dotted quad IP address
  10. # op is one of EQ NEQ LT GT LE GE
  11. # dst_port is the number or name of a destination port
  12. # serverlist is a comma separated list of the name or IP address of
  13. # SOCKS V4 servers (use IP address for speed)
  14. #
  15. # On connect each line is processed in order and the first line that matches
  16. # is used. If no line matches the address is assumed to be Direct.
  17. #
  18. # Matching is done by taking the destination address and ANDing it with the
  19. # dst_mask. The result is then compared to the dst_addr. If they match, then
  20. # if the userlist exists the current username is compared against this list.
  21. # Also if the [op dst_port] exists, the destination port is compared to
  22. # dst_port and if the "op" is true, the line is used.
  23. #
  24. # DENY means to disallow the connect attemp.
  25. # DIRECT means to attempt the connection as normal.
  26. # SOCKD means to go the specified SOCKD server.
  27. #
  28. # If @=serverlist is not present the SOCKD server specified by the registry value:
  29. # LOCAL_MACHINE\SOFTWARE\HummingBird\SOCKS_SERVER is used.
  30. #
  31. # To install under Windows 95:
  32. #
  33. # Restart Windows 95 in DOS mode. Rename the file \Windows\System\WSOCK32.DLL
  34. # to WSOCK32O.DLL and copy the new WSOCK32.DLL into \Windows\System. Place
  35. # this file (socks.cnf) in the \Windows\System directory. Restart Windows 95.
  36. #
  37. # To install under Windows NT:
  38. #
  39. # Rename the file \Winnt\System32\WSOCK32.DLL to WSOCK32O.DLL and copy the
  40. # new WSOCK32.DLL into the \Winnt\System32 directory. Place this file
  41. # (socks.cnf) in the \Winnt\System32 directory. It is now installed.
  42. #
  43. #SOCKD @=192.75.152.8 130.113.68.1 255.255.255.255
  44. #