Introduction
LLDP provides an alternative to proprietary protocol from Cisco CDP with the big advantage to be standardized on a large number of devices. Like CDP, LLDP allows network equipment to communicate with each other by indicating, as example, their position on a switch or IP address. The use and functioning of LLDP is close to that of CDP, I don’t want to go into detail. Information is available on this previous post.
Basically ClamXav is just a macOS GUI frontend for the open source antivirus engine ClamAV. ClamXav has been free software for many years until the developer decided to get some income. ClamAV ® is the open source standard for mail gateway scanning software. High Performance ClamAV includes a multi-threaded scanner daemon, command line utilities for on demand file scanning and automatic signature updates. ClamXav also installs a Service that lets you scan a file or folder at any time. Simply right click on the file or folder you want to scan, pull down to Services, and choose Scan with ClamXav. The application will run and show you the results of the scan. Log out and back into your account for the contextual menus to be available under Services. How to install clamav on your Mac? The easiest way to get the ClamAV package is using Homebrew.
In summary you can recover information to identify the location of a computer station on a switch without having to follow the wiring and even use this information in tools like Absolute Manage.
Compile openlldp for Mac OSX
As often, there are several tools to integrate the LLDP. The solution recommended in this post is to compile OpenLLDP with Mac OS X and use the application to retrieve information about the network location.
Before you begin this step, it is necessary to install Xcode from the Mac App Store and the “Command Line Tools”. These are in the Xcode preferences in the “Downloads”.
– Download the last version of openlldp from the website of the project and uncompress the files
– Go with the Terminal to the openlldp folder where are the sources of the application
– Prepare the compilation with the configuration command
– Start the compilation with the command “make”
– It is possible (but not required) to automatically install openlldp files
Usage
The OpenLDAP project is composed to two distinct applications :
lldp is a daemon to start at boot who will capture LLDP frames arriving on the client workstation.
lldpneighbors is the tool to find the network equipment that is connected to the client.
Since the software is in Alpha version, it’s best to create a script that will handle lldp launch, display the result with lldpneighbors and then exit the process lldp. The precautionary principle.
It should not forget that the frames are sent every 30 seconds by default, so it’s necessary to leave lldp launched long enough to capture packets. If your devices are configured to send lldp network information with more time, it’s needed to adapt your scripts.
Installing
ClamAV can be found for Ubuntu in the apt repository. Run this command to install ClamAV:
apt-get install clamav
If you need clamd, you may also want to run:
apt-get install clamav-daemon
If you require support for scanning compressed RAR files you first need to enable the non-free archive, and then you can install the RAR-plugin using:
apt-get install libclamunrar6
There are two classes of clamav packages available for Ubuntu users:
Released Set
Clamav Mac Os
The released set (release, *-updates, and *-security) are patched for security updates. Following extensive testing of clamav and the packages that use it in the backports repository, they may be updated to a newer version. These are official Ubuntu packages and supported by community developers.
Compile Clamav For Mac Os
Backports
Compile Clamav For Mac Windows 10
The Ubuntu backports repository will contain the newest clamav version that has been at least lightly tested to work with that version. These packages can be installed by enabling the backports repository on your system.
Ubuntu packages are maintained by Ubuntu MOTU Developers.