- they require additional hardware and software to use in a virtual environment
- the additional software is sometimes flaky
- physical elements add a single point of failure and prevent us from using SRM
- they’re difficult to test because our customers need them to use their products, and we need them to test our solutions
- we dislike physical things.
- HASP
- HASP4
- HASP Hard Lock (HL)
- NetHASP
- TimeHASP
As shown above, the form factor cannot be used to accurately identify the type of dongle. HASP4 dongles typically have stickers containing the letters H4. HASP HL dongles typically have an engraving in the reading HASP HL.
Dongles are only half of the problem. The problem is the license software used to drive them. For HASP4 dongles, it’s often FlexNet. For HASP HL dongles, it’s the HASP HL server.
Applications protected with FlexNet and Aladdin HASP4
FlexNet is a licensing framework published by Flexera Software. Vendors license and customize the FlexNet framework to meet their entitlement management requirements. In the majority of FlexNet implementations, machine-specific license files are used to protect applications.
The non-dongle FlexNet license check-out process is illustrated below.
- Client contacts FlexNet license server and requests vendor daemon port: The FLEXenabled application contacts the license server and asks for the port of the vendor daemon. The FLEXenabled application knows the hostname and FlexNet license server port number from the client license file.
- Server responds with vendor daemon port: The FlexNet license manager replies with the port of the vendor daemon
- Client responds with license check-out request: The FLEXenabled application sends a license check-out request to the vendor daemon
- Vendor daemon reads license file to determine entitlement
- Server sends accept or reject: The vendor daemon determines whether any valid licenses are available and sends an accept/reject to the FLEXenabled application.
4A. Contact HASP4 server: the vendor daemon contacts the HASP4 server and requests the HASP_ID of all connected HASP dongles.Applications protected with HASP HL
4B. Dongle check: The HASP4 server contacts all connected HASP dongles and retrieves the HASP_ID. It passes these to the vendor daemon which checks for an authorized dongle.
Aladdin HASP HL is a standalone licensing framework. The license check-out process is illustrated below.
- Client contacts HASP HL Server: The protected application sends a request for a license check-out to the HASP HL Server.
- Entitlement check: The HASP HL Server asks the Aladdin HASP HL dongle whether the license check=out is permitted. The dongle determines whether this is allowed and replies with an answer.
- Response: The HASP HL Server replies to the application.
To do it, you’ll need a USB-over-Ethernet device. A USB-over-Ethernet device is a network attached USB hub that connect USB peripheral devices to a server over a network. They were typically used as range extenders for USB devices (such as receipt printers, point of sale barcode scanners, biometric readers, manufacturing line control systems) where having a local PC was not practical or secure. Recently, they have been used to connect USB devices to virtual machines.
The following illustration (taken from VMware's AnywhereUSB guide) shows how an AnywhereUSB USB-over-Ethernet device can be used to connect USB devices to a virtual machine.
The advantages of USB-over-Ethernet devices are
- Dongles with potentially high replacement costs can be secured in datacentre (I worked with a dongle that costed $45,000 to replace. The vendor had a clause in the EULA stating the replacement cost of a dongle was equal to the cost of the license. No joke.)
- VMs with license servers can be protected with VMware HA and VMware FT – license servers previously didn’t have any HA mechanism.
- They allows you to virtualize those “final few” servers in datacentre.
- They are easy to centrally manage and monitor
- No major architectural changes required.
- There is the possibility of potential incompatibility between dongles and USB-over-Ethernet device. These devices aren’t perfect.
- They introduce another point of failure
- No USB-over-Ethernet devices on market have redundant power supplies – if you have to do power testing, get ready to lose the device.
- The cheapest USB-over-Ethernet devices aren’t rack mountable.
- They require additional drivers in virtual machine.
- They are difficult to source in Australia: It is important to have hot spare ready or you could potentially be waiting weeks for a replacement. That’s a week of your licensed software being unavailable to users. If you need them, please contact me!
USB-over-Ethernet devices
There are a few USB-over-Ethernet devices on the market.
- Digi AnywhereUSB: these are the most popular device on the market. Use these and your problems will be minimized. If you can’t source the AnywhereUSB…
- Lantronix UBox: was previously popular. Although discontinued, the UBox is more compatible with certain families of security devices. The device drivers for this software are a little less stable.
- Belkin Network USB hub: don’t even bother. Support for HASP dongles are hit and miss.
The Digi AnywhereUSB/5. Plug the USB dongle in the front, the network cable in the back, and you’re set.
Thank you.
ReplyDeleteYou very well explained. I found a book about it with over 300 pages. basically that's it.
Thanks again
Thank you. I work with HASP HL dongle these days and your post really helps to enhance my understanding of how hasp dongle works.
ReplyDeleteWell explained the working of HASP HL dongle. If you are still searching for Parallel Port Dongle then visit SafeKey International, Inc
ReplyDeleteAt the moment, there is already software that can provide remote access to the Dongles and clone them. https://www.donglify.net/ With multiple access support.
ReplyDelete