Monitoring network ports

Traffic monitoring components, Mail Monitor and Web Monitor, scan data streams that are transmitted using certain protocols and pass through certain open ports on the end user’s computer. Thus, for example, Mail Monitor analyzes information transferred via SMTP protocol, and Web Monitor analyzes information transferred via HTTP and HTTPS protocols.

Analysis is performed for certain supported protocols only. Web Monitor parses traffic that passes through the monitored ports and analyzes the structure of the traffic. This parsed data flow is then redirected to one of the scanning engines. These engines check the received traffic against the signatures contained in their components within the malware definition database.

The default Kaspersky SDK settings support monitoring only of the traffic that passes through certain local ports on the end user's computer. These ports are specified in the list of monitored ports. The table below lists the default port settings. To protect data transferred through the ports not included on this list, you have to add these ports to the monitor settings. You can also disable monitoring for a certain port, thus turing off scanning of traffic passing through the removed port.

Port management can be implemented through the built-in API as listed later in this section.

List of monitored ports

Protocol

Port number

SMTP

25

SMTP/SSL

465

POP3

110

POP3/SSL

995

NNTP

119

NNTP/SSL

563

IMAP

143

IMAP/SSL

993

HTTP/SSL (https://)

443

HTTP

80

HTTP

81

HTTP

82

HTTP

83

HTTP

8888

HTTP

8000

HTTP

1080

HTTP

7900

HTTP

8080

HTTP

8088

HTTP

3128

HTTP

11523

Managing monitored ports

You can alter the list of the monitored ports by using the following functions:

Both Web Monitor and Mail Monitor components support monitoring of closed network ports. Ports that are specified in operating system as closed can be added to the list of monitored ports.

You can get the current list of the monitored ports by using the kaveGetMonitorPorts function.

Any ports can be added or removed at any time before or after initialization of Web Monitor and Mail Monitor components; you can obtain port information whenever you need after initializing KAV SDK independent of initialization state of any of the protocol monitors.

Handling monitoring errors

Any errors occurred to protocol monitoring components can be diagnosed later. KAV SDK outputs such error messages to the log file specified in kave.ini configuration file.

See also

kaveSetMonitorPorts

kaveAddMonitorPorts

kaveRemoveMonitorPorts

kaveGetMonitorPorts

kaveGetMonitorSettings

kaveSetMonitorSettings

Page top