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.

182 lines
5.6 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name :
  4. inetreg.h
  5. Abstract:
  6. This file consists of the registry entries used by Internet Services
  7. common dll.
  8. Author:
  9. Murali R. Krishnan ( MuraliK ) 31-July-1995
  10. Environment:
  11. Win32 - User Mode
  12. Project:
  13. Internet Services Common DLL
  14. Revision History:
  15. --*/
  16. #ifndef _INETREG_H_
  17. #define _INETREG_H_
  18. /************************************************************
  19. * Symbolic Constants
  20. ************************************************************/
  21. //
  22. // Common service configuration value names.
  23. //
  24. // common for all objects
  25. #define INETA_BANDWIDTH_LEVEL TEXT("BandwidthLevel")
  26. #define INETA_OBJECT_CACHE_TTL TEXT("ObjectCacheTTL")
  27. //
  28. // per instance
  29. //
  30. //#define INETA_ADMIN_NAME TEXT("AdminName")
  31. //#define INETA_ADMIN_NAME_W L"AdminName"
  32. //#define INETA_ADMIN_EMAIL TEXT("AdminEmail")
  33. //#define INETA_ADMIN_EMAIL_W L"AdminEmail"
  34. #define INETA_SERVER_COMMENT TEXT("ServerComment")
  35. #define INETA_SERVER_COMMENT_W L"ServerComment"
  36. #define INETA_AUTHENTICATION TEXT("Authorization")
  37. #define INETA_LOG_ANONYMOUS TEXT("LogAnonymous")
  38. #define INETA_LOG_NONANONYMOUS TEXT("LogNonAnonymous")
  39. #define INETA_ANON_USER_NAME TEXT("AnonymousUserName")
  40. #define INETA_ANON_USER_NAME_W L"AnonymousUserName"
  41. //#define INETA_MAX_CONNECTIONS TEXT("MaxConnections")
  42. //#define INETA_CONNECTION_TIMEOUT TEXT("ConnectionTimeout")
  43. #define INETA_DEBUG_FLAGS TEXT("DebugFlags")
  44. //#define INETA_PORT TEXT("Port")
  45. //#define INETA_PORT_SECURE TEXT("SecurePort")
  46. #define INETA_DEFAULT_LOGON_DOMAIN TEXT("DefaultLogonDomain")
  47. #define INETA_DEFAULT_LOGON_DOMAIN_W L"DefaultLogonDomain"
  48. #define INETA_LOGON_METHOD TEXT("LogonMethod")
  49. //#define INETA_SERVER_NAME TEXT("ServerName")
  50. //#define INETA_SERVER_NAME_W L"ServerName"
  51. //#define INETA_IP_ADDRESS TEXT("IPAddress")
  52. //#define INETA_HOST_NAME TEXT("HostName")
  53. //#define INETA_HOST_NAME_W L"HostName"
  54. #define INETA_LOGON_ANON_SUBAUTH TEXT("LogonAnonymousUsingSubAuth")
  55. #define INETA_DEF_LEVELS_TO_SCAN 2
  56. //
  57. // per service
  58. //
  59. #define INETA_ENABLE_SVC_LOCATION TEXT("EnableSvcLoc")
  60. //
  61. // The registry parameter key names for the grant list and deny
  62. // list. We use the kludgemultisz thing for Chicago
  63. //
  64. #define IPSEC_DENY_LIST "Deny IP List"
  65. #define IPSEC_GRANT_LIST "Grant IP List"
  66. //
  67. // Size of the server. 0 - small, 1 - medium, 2 - big
  68. //
  69. #define INETA_SERVER_SIZE TEXT("ServerSize")
  70. //
  71. // Determines the number of outstanding AcceptEx sockets that should always
  72. // be available
  73. //
  74. #define INETA_ACCEPTEX_OUTSTANDING TEXT("AcceptExOutstanding")
  75. //
  76. // Determines the time (in seconds) we'll allow an AcceptEx socket to be
  77. // in the initial "Receive" state before timing it out
  78. //
  79. #define INETA_ACCEPTEX_TIMEOUT TEXT("AcceptExTimeout")
  80. //
  81. // Default values for the above parameters
  82. //
  83. #define INETA_DEF_BANDWIDTH_LEVEL (INFINITE)
  84. #define INETA_DEF_OBJECT_CACHE_TTL (30) // 30 seconds
  85. //
  86. // Timeouts are high to prevent async ios from being cancelled if a thread
  87. // goes away.
  88. //
  89. #define INETA_DEF_THREAD_TIMEOUT (24*60*60) // 24 hours
  90. #define INETA_DEF_THREAD_TIMEOUT_PWS (30*60) // 30 mins
  91. #define INETA_DEF_ENABLE_SVC_LOCATION (TRUE)
  92. //
  93. // fake xmit file buffer size
  94. //
  95. #define INETA_DEF_NONTF_BUFFER_SIZE (4096)
  96. #define INETA_MIN_NONTF_BUFFER_SIZE (512)
  97. #define INETA_MAX_NONTF_BUFFER_SIZE (64 * 1024)
  98. #define INETA_DEF_ADMIN_NAME ""
  99. #define INETA_DEF_ADMIN_EMAIL ""
  100. #define INETA_DEF_SERVER_COMMENT ""
  101. #define INETA_LOGM_INTERACTIVE 0
  102. #define INETA_LOGM_BATCH 1
  103. #define INETA_LOGM_NETWORK 2
  104. #define INETA_DEF_AUTHENTICATION INET_INFO_AUTH_ANONYMOUS
  105. #define INETA_DEF_LOG_ANONYMOUS FALSE
  106. #define INETA_DEF_LOG_NONANONYMOUS FALSE
  107. #define INETA_DEF_ANON_USER_NAME "Guest"
  108. #define INETA_DEF_MAX_CONNECTIONS (DWORD)(0x77359400)
  109. #define INETA_DEF_MAX_ENDPOINT_CONNECTIONS (DWORD)(0x77359400)
  110. #define INETA_DEF_CONNECTION_TIMEOUT 600
  111. #define INETA_DEF_DEBUG_FLAGS 0
  112. #define INETA_DEF_PORT 0
  113. #define INETA_DEF_ACCEPTEX_OUTSTANDING 40
  114. #define INETA_DEF_ACCEPTEX_TIMEOUT 120
  115. #define INETA_DEF_SERVER_SIZE MD_SERVER_SIZE_MEDIUM
  116. #define INETA_DEF_MIN_KB_SEC 1000
  117. #define INETA_DEF_DEFAULT_LOGON_DOMAIN ""
  118. #define INETA_DEF_LOGON_METHOD INETA_LOGM_INTERACTIVE
  119. #define INETA_DEF_SERVER_NAME ""
  120. #define INETA_DEF_AUTO_START TRUE
  121. #define INETA_DEF_IP_ADDRESS INADDR_ANY
  122. #define INETA_DEF_HOST_NAME ""
  123. #define INETA_DEF_LOGON_ANON_SUBAUTH FALSE
  124. //
  125. // PWS connection limit
  126. //
  127. #define INETA_DEF_MAX_CONNECTIONS_PWS 10
  128. #define INETA_MAX_MAX_CONNECTIONS_PWS 40
  129. #define INETA_DEF_MAX_ENDPOINT_CONNECTIONS_PWS 10
  130. #define INETA_MAX_MAX_ENDPOINT_CONNECTIONS_PWS 40
  131. //
  132. // The key name the list of virtual roots is stored under
  133. //
  134. #define VIRTUAL_ROOTS_SEC_KEY L"Virtual Roots\\Security"
  135. #define VIRTUAL_ROOTS_KEY_A "Virtual Roots"
  136. #define HTTP_EXT_MAPS "Script Map"
  137. #endif // _INETREG_H_
  138.