TMG Server 偵測到 Proxy 伺服器迴圈

Microsoft.Forefront.TMG.ISA_Server_detected_a_proxy_server_loop.Rule (Rule)

當 TMG Server 偵測到 Proxy 伺服器迴圈時,此規則會產生警示

Knowledge Base article:

摘要

TMG Server 偵測到 Proxy 伺服器迴圈。

原因

可能是 TMG Server 網頁鏈結原則的設定有問題。 或者,在 Enterprise Edition 中,當 CARP 啟用,且陣列內部的連線間歇中斷時,兩個陣列成員之間對於哪些陣列成員可以使用的認知可能會不同。 於是,陣列成員 A 可將要求轉送給陣列成員 B (根據 CARP 演算法),且陣列成員 B 可將要求轉送給陣列成員 A,形成無限迴圈。

解決方式

驗證網頁鏈結設定中每一部 Proxy 伺服器的設定並未因為參照回已在鏈結中的 Proxy 伺服器而形成迴圈。 在 Enterprise Edition 中,也請驗證沒有陣列內部連線的問題。

Element properties:

TargetMicrosoft.Forefront.TMG.WebProxy.ServerComponent
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.ISA_Server_detected_a_proxy_server_loop.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.WebProxy.ServerComponent" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(14141)$</EventsPattern>
<EventType>2</EventType>
<SourcePattern>Microsoft Forefront TMG Web Proxy</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.ISA_Server_detected_a_proxy_server_loop.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>1</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>