Teredo 服务器发现

Teredo_Server_Discovery (Discovery)

Teredo (RFC 4380) 是一种 IPv6 转换技术,可在 IPv4 Internet 中为位于 IPv4 网络地址转换 (NAT) 设备后面且分配了专用 IPv4 地址的主机提供 IPv6 连接。

Knowledge Base article:

摘要

Teredo (RFC 4380) 是一种 IPv6 转换技术,可在 IPv4 Internet 中为位于 IPv4 网络地址转换 (NAT) 设备后面且分配了专用 IPv4 地址的主机提供 IPv6 连接。

配置

仅当发现计算机是 DirectAccess 服务器时,才会发现 Teredo 服务器。检查以下注册表项:HKLM\SYSTEM\CurrentControlSet\Services\iphlpsvc\Teredo\Type,值 = 3。配置 DA 服务器时并不总是默认创建此注册表项,因此,应验证此注册表项是否已启用。

其他

有关详细信息,请参阅 http://www.microsoft.com/technet/network/ipv6/teredo.mspx

Element properties:

TargetDirectAccess_Server_Class
EnabledTrue
Frequency43200
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Teredo_Server_Discovery" Enabled="true" Target="DirectAccess_Server_Class" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Teredo_Server_Class"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Type</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\iphlpsvc\Teredo\Type</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>43200</Frequency>
<ClassId>$MPElement[Name="Teredo_Server_Class"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/Type</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>