Remote service scan issues over VPN

3 posts · Closed

Rob E Guest
24 Jan 2018

Hello.. I have been using Network Scanner for about a year now and really like it. The latest versions work quite well. I would like to have a feature added if it's not too much trouble.

I find that scanning across a VPN takes a long time, and in some cases not all info is populated. I have trouble with the remote service scan on the VPN. I am looking for the Kaspersky Agent, known as klnagent. If I search for it on the LAN directly, it works fine; but if I search for it over the VPN, no go. If this is not possible, I would like to be able to scan for a particular UDP port; Kaspersky Agent listens on 15000 UDP.

Andrew SoftPerfect
25 Jan 2018

I guess there can be quite a few reasons why certain scans don't work, for example:

  • There is a packet loss in the VPN link.
  • There is a firewall on the VPN server.
  • The VPN connection is slow, which causes time-outs.

We have done a bit of research and unfortunately scanning for 15000 UDP would not work. Even though klnagent listens to this port, it does not send any responses to any packets arriving at it. It looks like the Kaspersky product uses this port as a way to force klnagent to connect to the administration server, but the UDP port itself is used unidirectionally.

Considering this, if WMI is available to you, I would recommend trying to run something like this:

SELECT Caption FROM Win32_Process WHERE NAME = "klnagent.exe"

This can be done under Options - Remote WMI. Other ways may be checking for a registry key, running service, or a file in the file system that is used by the Kaspersky Agent.

Hope this helps.

Rob E Guest
25 Jan 2018

Hi Andrew. Thanks for the quick response. I will give the WMI suggestion a try.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Network Scanner if you have a similar question.