IFPCAttackDetection::PortScanDetectionAllPortsThreshold property

Applies to: desktop apps only

The PortScanDetectionAllPortsThreshold property gets or sets the total number of ports that may be scanned before Forefront TMG generates an event when a port scan attack is detected.

This property is read/write.

Syntax

HRESULT put_PortScanDetectionAllPortsThreshold(
  long lPortThreshold
);

HRESULT get_PortScanDetectionAllPortsThreshold(
  long *plPortThreshold
);
' Data type: Long

Property PortScanDetectionAllPortsThreshold( _
  ByVal lPortThreshold As long, _
  ByVal plPortThreshold As long _
) As Long

Property value

A 32-bit integer that specifies the total number of ports that may be scanned before Forefront TMG generates an event when a port scan attack is detected.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is 20, and its range of permissible values is from 1 to 65,535.

Port scan attacks can be detected only if the IntrusionDetectionEnabled property is set to True (VARIANT_TRUE in C++), and an event can be generated only if the PortScanDetectionEnabled property is set to True (VARIANT_TRUE in C++).

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCAttackDetection

 

 

Build date: 7/12/2010