Lansweeper includes several scanning methods to scan the assets in your network. You can scan the Linux, Unix, Mac and Windows computers, VMware servers and other devices in your network without installing any Lansweeper software on the machines you're scanning. Optionally, an agent called LsAgent can be installed on Windows, Linux and Mac computers to scan the machines locally instead. LsAgent is a cross-platform scanning agent that can scan computers both inside and outside of your network. The video and article below provide more information on what LsAgent is, how it works and why it's so powerful.
What LsAgent is
In short, LsAgent is:
- A scanning agent introduced in Lansweeper 7.0.
- A cross-platform, lightweight program that you can install on Windows, Linux and Mac computers.
- A program that automatically collects an inventory from the computer it's installed on and sends the data back to your Lansweeper installation, either directly or through our relay server in the cloud. Data is securely sent to the relay server over HTTPS (TLS 1.2), stored in an encrypted format and deleted once a scanning server has retrieved it.
- A program that can scan computers outside of your network and over the Internet thanks to the relay server connectivity.
- A configurable agent whose scanning schedule can be adjusted through the Lansweeper web console.
Where to find LsAgent
There is a separate LsAgent installer for Windows, Linux and Mac. You can retrieve:
- The LsAgent installer for Windows through this download page or from the following folder on your Lansweeper server: Program Files (x86)\Lansweeper\Client
- The LsAgent installer for Linux through this download page.
- The LsAgent installer for Mac through this download page.
How to scan computers with LsAgent
Installing LsAgent on computers to be scanned is quick and easy. Once the installation is completed, LsAgent automatically starts scanning the machine once per day. The scanning schedule can be customized further through the Lansweeper web console, where scanned data is also displayed. You can find:
- An LsAgent installation guide for Windows in this knowledge base article.
- An LsAgent installation guide for Linux in this knowledge base article.
- An LsAgent installation guide for Mac in this knowledge base article.
- A guide for silently installing LsAgent on Windows, Linux or Mac in this knowledge base article.
Why use LsAgent for scanning
LsAgent largely scans the same data as agentless scanning methods. Because it scans locally and can access our cloud relay server, LsAgent has several advantages over agentless scanning, however:
- LsAgent can scan computers of your remote employees over the Internet, wherever they are.
- LsAgent does not require you to submit scanning credentials in Lansweeper.
- LsAgent does not require administrative privileges to be able to scan.
- LsAgent does not require you to reconfigure your computers' firewalls for scanning. It does require an outbound connection to your Lansweeper installation or our relay server, but outbound traffic is not usually blocked by firewalls. Windows Firewall for instance allows outbound traffic by default.
- LsAgent is immune to almost all scanning errors, including access denied and firewall errors.
How data scanned by LsAgent reaches your Lansweeper installation
Data scanned by LsAgent can reach your Lansweeper installation in one of two ways:
- Direct server connection
If the computers you're scanning are in the same network as your Lansweeper installation or have a connection to the installation through for instance a VPN, scanned LsAgent data can be sent directly to your Lansweeper scanning server. For this, you must submit your scanning server name and listen port during LsAgent installation.
- Relay server connection
If the computers you're scanning do not have a direct connection to your Lansweeper installation, scanned LsAgent data can be sent to our relay server in the cloud. For this, you must submit your relay authentication key during LsAgent installation. The data is sent securely over HTTPS (TLS 1.2) to the relay server in Microsoft Azure, where it is encrypted as well. Your Lansweeper scanning server can retrieve the scanned data from the relay server, after which it is deleted from the relay. In order to use the relay server, make sure outbound traffic is allowed on your Lansweeper scanning server. Specifically, the scanning server must be able to make an outbound connection to port 443 of relay.lansweeper.com, the cloud relay server.
How data scanned by LsAgent and sent to the relay server is processed
LsAgent can scan machines over the Internet by sending scanned data to the relay server, where it is retrieved by your Lansweeper installation's scanning server.
- Use of the relay server must explicitly be enabled in the Lansweeper web console and when installing LsAgent on client machines. It is not enabled by default.
- The relay server is hosted on a Microsoft Azure machine located in the U.S.
- Data is securely sent by LsAgent to the relay server using HTTPS and TLS 1.2.
- Data is stored in an encrypted format on the relay server. AES encryption is used, with a block size of 128 and a key size of 256.
- Your scanning server checks for new data on the relay server every 10 minutes. A connection is made to port 443 of relay.lansweeper.com.
- Your scanning server can only access new data on the relay server that is specific to your company. A unique key is used to identify your company on the relay server.
- Once a scanning server has retrieved new data from the relay server, that data is deleted from the relay.