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.

160 lines
5.8 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // IPSEC Policy Storage Component
  4. // Contract Category: Directory Schema
  5. // Copyright (C) 1997 Cisco Systems, Inc. All rights reserved.
  6. //
  7. // File: polguids.h
  8. //
  9. // Contents: Global GUIDS for Policy Storage
  10. //
  11. // Notes:
  12. /////////////////////////////////////////////////////////////////////////////
  13. #ifndef __POLICY_STORAGE_GUIDS_H__
  14. #define __POLICY_STORAGE_GUIDS_H__
  15. //////////////////////////////
  16. //
  17. // Globals
  18. //
  19. //////////////////////////////
  20. // {6A1F5C6F-72B7-11d2-ACF0-0060B0ECCA17}
  21. static const GUID GUID_POLSTORE_VERSION_INFO =
  22. { 0x6a1f5c6f, 0x72b7, 0x11d2, { 0xac, 0xf0, 0x0, 0x60, 0xb0, 0xec, 0xca, 0x17 } };
  23. // {72385230-70FA-11d1-864C-14A300000000}
  24. static const GUID GUID_BUILTIN_SECURE_INITIATOR_POLICY =
  25. { 0x72385230, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  26. // {72385231-70FA-11d1-864C-14A300000000}
  27. static const GUID GUID_BUILTIN_SECURE_INITIATOR_ISAKMP =
  28. { 0x72385231, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  29. // {72385232-70FA-11d1-864C-14A300000000}
  30. static const GUID GUID_BUILTIN_SECURE_INITIATOR_NFA =
  31. { 0x72385232, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  32. // {72385233-70FA-11d1-864C-14A300000000}
  33. static const GUID GUID_BUILTIN_SECURE_INITIATOR_NEGPOL =
  34. { 0x72385233, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  35. // {72385236-70FA-11d1-864C-14A300000000}
  36. static const GUID GUID_BUILTIN_RESPONDER_POLICY =
  37. { 0x72385236, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  38. // {72385237-70FA-11d1-864C-14A300000000}
  39. static const GUID GUID_BUILTIN_RESPONDER_ISAKMP =
  40. { 0x72385237, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  41. // {72385238-70FA-11d1-864C-14A300000000}
  42. static const GUID GUID_BUILTIN_L2TP_POLICY =
  43. { 0x72385238, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  44. // {72385239-70FA-11d1-864C-14A300000000}
  45. static const GUID GUID_BUILTIN_L2TP_ISAKMP =
  46. { 0x72385239, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  47. // {7238523a-70FA-11d1-864C-14A300000000}
  48. static const GUID GUID_BUILTIN_ME_TO_FROM_ANYONE_FILTER=
  49. { 0x7238523a, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  50. // {72385235-70FA-11d1-864C-14A300000000}
  51. static const GUID GUID_BUILTIN_ICMP_FILTER =
  52. { 0x72385235, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  53. // {7238523c-70FA-11d1-864C-14A300000000}
  54. static const GUID GUID_BUILTIN_LOCKDOWN_POLICY =
  55. { 0x7238523c, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  56. // {7238523d-70FA-11d1-864C-14A300000000}
  57. static const GUID GUID_BUILTIN_LOCKDOWN_ISAKMP =
  58. { 0x7238523d, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  59. // {7238523e-70FA-11d1-864C-14A300000000}
  60. static const GUID GUID_BUILTIN_LOCKDOWN_NFA =
  61. { 0x7238523e, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  62. // {7238523f-70FA-11d1-864C-14A300000000}
  63. static const GUID GUID_BUILTIN_LOCKDOWN_NEGPOL =
  64. { 0x7238523f, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  65. static const GUID GUID_BUILTIN_PERMIT_NEGPOL =
  66. { 0x7238523b, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  67. //////////////////////////////
  68. //////////////////////////////
  69. // Negotiation Policy Types
  70. //////////////////////////////
  71. //////////////////////////////
  72. // {62F49E10-6C37-11d1-864C-14A300000000}
  73. static const GUID GUID_NEGOTIATION_TYPE_STANDARD =
  74. { 0x62f49e10, 0x6c37, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  75. // {62F49E11-6C37-11d1-864C-14A300000000}
  76. static const GUID GUID_NEGOTIATION_TYPE_L2TP_BASE =
  77. { 0x62f49e11, 0x6c37, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  78. // {62F49E12-6C37-11d1-864C-14A300000000}
  79. static const GUID GUID_NEGOTIATION_TYPE_L2TP_EXTENDED =
  80. { 0x62f49e12, 0x6c37, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  81. // {62F49E13-6C37-11d1-864C-14A300000000}
  82. static const GUID GUID_NEGOTIATION_TYPE_DEFAULT =
  83. { 0x62f49e13, 0x6c37, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  84. //////////////////////////////
  85. //////////////////////////////
  86. // Negotiation Policy Actions
  87. //////////////////////////////
  88. //////////////////////////////
  89. // {3F91A819-7647-11d1-864D-D46A00000000}
  90. static const GUID GUID_NEGOTIATION_ACTION_BLOCK =
  91. { 0x3f91a819, 0x7647, 0x11d1, { 0x86, 0x4d, 0xd4, 0x6a, 0x0, 0x0, 0x0, 0x0 } };
  92. // {3F91A81A-7647-11d1-864D-D46A00000000}
  93. static const GUID GUID_NEGOTIATION_ACTION_INBOUND_PASSTHRU =
  94. { 0x3f91a81a, 0x7647, 0x11d1, { 0x86, 0x4d, 0xd4, 0x6a, 0x0, 0x0, 0x0, 0x0 } };
  95. // {8A171DD2-77E3-11d1-8659-A04F00000000}
  96. static const GUID GUID_NEGOTIATION_ACTION_NO_IPSEC =
  97. { 0x8a171dd2, 0x77e3, 0x11d1, { 0x86, 0x59, 0xa0, 0x4f, 0x0, 0x0, 0x0, 0x0 } };
  98. // {8A171DD3-77E3-11d1-8659-A04F00000000}
  99. static const GUID GUID_NEGOTIATION_ACTION_NORMAL_IPSEC =
  100. { 0x8a171dd3, 0x77e3, 0x11d1, { 0x86, 0x59, 0xa0, 0x4f, 0x0, 0x0, 0x0, 0x0 } };
  101. //////////////////////////////
  102. //////////////////////////////
  103. // GUID identifying the default IKE settings to use
  104. // in case no policy is assigned.
  105. //////////////////////////////
  106. //////////////////////////////
  107. // {72385234-70FA-11d1-864C-14A300000000}
  108. static const GUID GUID_BUILTIN_DEFAULT_ISAKMP_POLICY=
  109. { 0x72385234, 0x70fa, 0x11d1, { 0x86, 0x4c, 0x14, 0xa3, 0x0, 0x0, 0x0, 0x0 } };
  110. ///////////////////////
  111. // GUIDS reserved for future use... These are handy mostly because they
  112. // are easily recognizable because of the trailing zeros. This helps out in
  113. // debugging and in manual manipulation of policies by GUID -- such as removing
  114. // built-in policies from the DS using adsvw etc.
  115. //////////////////////
  116. #endif
  117.