Internet Information Services (IIS) ISAPI(Internet 服务器应用程序编程接口)扩展功能和筛选器可扩展和修改 IIS 的请求处理功能。ISAPI 筛选器写入耗时长、不提供会话处理的本机支持且维护过程繁琐。IIS 6.0 和 IIS 10 隔离运行 ISAPI 应用程序可增强服务器稳定性。同时仍然可以在 IIS 10 中使用 ISAPI 筛选器,这样开发人员便可以轻松添加被管理模块或本机模块以集成到 IIS 10 的新模块体系结构。
IIS 10 不支持 SF_NOTIFY_READ_RAW_DATA
IIS 10 不再支持 ISAPI 筛选器的 SF_NOTIFY_READ_RAW_DATA 通知。如果必须使用具有此通知的 ISAPI 筛选器,则必须在 IIS 5.0 隔离模式中的 IIS 6.0 上运行筛选器(但是请注意,这不是推荐的做法)。有关详细信息,请参阅 有关在 Internet Information Services 版本 6.0 中注册 SF_NOTIFY_READ_RAW_DATA 事件的 ISAPI 筛选器的信息一文。
Target | Microsoft.Windows.InternetInformationServices.10.0.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 2261 |
Event Source | Microsoft-Windows-IIS-W3SVC-WP |
Alert Generate | False |
Remotable | True |
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.10" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2261</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.10.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>