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.5 KiB

  1. ; NETIP6.INF -- TCP/IP version 6 Protocol
  2. ;
  3. ; IPv6 Installation file for Windows 2000
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = NetTrans
  9. ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. [Manufacturer]
  12. %Msft% = Msft
  13. [Msft]
  14. %MS_TCPIP6.DisplayName% = MS_TCPIP6.Install, MS_TCPIP6
  15. [MS_TCPIP6.Install]
  16. Characteristics = 0
  17. AddReg = Registry.MS_TCPIP6.Install
  18. [Registry.MS_TCPIP6.Install]
  19. ; Class Information
  20. HKR, Ndi, HelpText, 0, %MS_TCPIP6.HelpText%
  21. HKR, Ndi, Service, 0, "Tcpip6"
  22. HKR, Ndi, CoServices, 0x10000, "Tcpip6", "6to4", "smb"
  23. HKR, Ndi, RequiredAll,0, "MS_SMB"
  24. ;
  25. ; Note: The following line is required for Teredo to work.
  26. ; HKR, Ndi, RequiredAll,0, "MS_SMB, *TUNMP"
  27. ;
  28. ; Interfaces
  29. ;
  30. ; An ndis5_ip6 UpperRange allows components (such as tunmp) to only bind IPv6.
  31. ;
  32. HKR, Ndi\Interfaces, UpperRange, 0, "tdi"
  33. HKR, Ndi\Interfaces, LowerRange, 0, "ndis5,ndis5_ip6"
  34. ;=====================================
  35. ; Microsoft IPv6 Interface and Service Install
  36. ;=====================================
  37. ; Service install
  38. [MS_TCPIP6.Install.Services]
  39. AddService = Tcpip6, 0, Install.AddService.TCPIP6, NetEventLog
  40. AddService = 6to4, 0, Svc-6to4
  41. ; Install Tcpip6 service
  42. ;
  43. ; The Tcpip6 driver can be loaded without the Tcpip (IPv4) driver,
  44. ; but we don't test that configuration.
  45. ; So we create a dependency on Tcpip.
  46. [Install.AddService.TCPIP6]
  47. DisplayName = %MS_TCPIP6.TCPIP6.ServiceDescription%
  48. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  49. StartType = 1 ;SERVICE_SYSTEM_START
  50. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  51. ServiceBinary = %12%\tcpip6.sys
  52. LoadOrderGroup = PNP_TDI
  53. Dependencies = Tcpip
  54. AddReg = Registry.Service.TCPIP6.Secure,Registry.Service.TCPIP6,Registry.Service.TCPIP6.Winsock
  55. Description = %MS_TCPIP6.TCPIP6.ServiceDescription%
  56. [Svc-6to4]
  57. DisplayName = %MS_TCPIP6.6to4.DisplayName%
  58. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  59. StartType = 2 ;SERVICE_AUTO_START
  60. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  61. ServiceBinary = %11%\svchost.exe -k NetworkService
  62. StartName = "NT AUTHORITY"\NetworkService
  63. Security = "D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;0x40;;;LS)(A;;0x40;;;NS)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;NO)"
  64. ;
  65. ; The dependency on RpcSs is because this service may be set to auto-start
  66. ; and it runs in an instance of Svchost that needs to call
  67. ; CoInitailizeSecurity on behalf of the entire process.
  68. ; This call (made by svchost) will not succeed unless RpcSs is running.
  69. ;
  70. ; The dependency on WinMgmt is because the 6to4 service needs to query ICS
  71. ; configuration information, and the API for this information requires
  72. ; WinMgmt to be running.
  73. ;
  74. Dependencies = RpcSS,tcpip6,winmgmt
  75. AddReg = Registry.Service.6to4.AddReg,Registry.Service.6to4.AddReg.Secure
  76. Description = %MS_TCPIP6.6to4.ServiceDescription%
  77. ; Install Winsock dependency
  78. [MS_TCPIP6.Install.Winsock]
  79. AddSock = Install.Tcpip6Winsock
  80. [Install.Tcpip6Winsock]
  81. TransportService = Tcpip6
  82. HelperDllName = "%SystemRoot%\System32\wship6.dll"
  83. MaxSockAddrLength = 0x1c
  84. MinSockAddrLength = 0x1c
  85. [Registry.Service.TCPIP6]
  86. HKR, , "TextModeFlags", 0x10001, 0x0001
  87. HKLM,System\CurrentControlSet\Services\NetBT\Parameters,UseNewSmb,0x10001,1
  88. [Registry.Service.TCPIP6.Secure]
  89. HKR,Parameters,,0x10 ;FLG_ADDREG_KEYONLY
  90. [Registry.Service.TCPIP6.Secure.Security]
  91. "D:P(A;CI;GR;;;AU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GR;;;NS)(A;CI;GR;;;LS)(A;CI;CCDCLCSWRPSDRC;;;NO)"
  92. [Registry.Service.TCPIP6.Winsock]
  93. HKR,Parameters\Winsock,"UseDelayedAcceptance",0x10001,0x0000
  94. [Registry.Service.TCPIP6.Winsock.Security]
  95. "D:P(A;CI;GR;;;AU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)"
  96. [Registry.Service.TCPIP6.DelReg]
  97. HKLM,System\CurrentControlSet\Services\NetBT\Parameters,UseNewSmb
  98. [Registry.Service.6to4.AddReg]
  99. HKR, Parameters, ServiceDll, 0x00020000, "%%SystemRoot%%\System32\6to4svc.dll"
  100. [Registry.Service.6to4.DelReg]
  101. HKR, Parameters, ServiceDll
  102. [Registry.Service.6to4.AddReg.Secure]
  103. HKR,Config,,0x10 ;FLG_ADDREG_KEYONLY
  104. HKR,Interfaces,,0x10 ;FLG_ADDREG_KEYONLY
  105. HKLM,System\CurrentControlSet\Services\PortProxy,,0x10 ;FLG_ADDREG_KEYONLY
  106. [Registry.Service.6to4.AddReg.Secure.Security]
  107. "D:P(A;CI;GR;;;AU)(A;CI;GA;;;BA)(A;CI;GA;;;SY)(A;CI;GA;;;NS)(A;CI;GA;;;LS)(A;CI;CCDCLCSWRPSDRC;;;NO)"
  108. ;====================================
  109. ; TCP/IP6 Interface and Service Remove
  110. ;====================================
  111. [MS_TCPIP6.Install.Remove]
  112. DelReg = Registry.Service.6to4.DelReg
  113. DelReg = Registry.Service.TCPIP6.DelReg
  114. ;nothing
  115. [MS_TCPIP6.Install.Remove.Services]
  116. DelService = Tcpip6
  117. DelService = 6to4
  118. [MS_TCPIP6.Install.Remove.Winsock]
  119. DelSock = Remove.Tcpip6Winsock
  120. [Remove.Tcpip6Winsock]
  121. TransportService=Tcpip6
  122. ;****************************************************************************
  123. ; [Event Log] sections.
  124. ;****************************************************************************
  125. [NetEventLog]
  126. AddReg = NetEventLog.AddReg
  127. [NetEventLog.AddReg]
  128. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll"
  129. HKR,,TypesSupported,0x00010001,7