open-license-manager / licensecc

Software licensing, copy protection in C++. It has few dependencies and it's cross-platform.
http://open-license-manager.github.io/licensecc/
BSD 3-Clause "New" or "Revised" License
992 stars 315 forks source link

Using STRATEGY_DEFAULT on a cloud #117

Open mr-j0nes opened 3 years ago

mr-j0nes commented 3 years ago

My application (using the licensecc library) is built on ubuntu 18.04 on a VM machine. There it works fine. When I copy it to an ubuntu 18.04 on the cloud (Amazon AWS) I get following error:

Error occurred in identify_pc: strategy not supported

If I set the following:

export IDENTIFICATION_STRATEGY=STRATEGY_ETHERNET

Then I get no error and it works fine.

Here the output of lccinspector

./lccinspector 
Error occurred in identify_pc: strategy not supported
DEFAULT: NA
eth0     AF_PACKET (17)
0a:2c:4a:0a:a8:24:   eth0
eth0     AF_INET (2)
eth0     AF_INET6 (10)
MAC:AAAK-LEoK-qCQ=
eth0     AF_PACKET (17)
0a:2c:4a:0a:a8:24:   eth0
eth0     AF_INET (2)
eth0     AF_INET6 (10)
IP:ACCs-HyS8-Kio=
Disk:AEwi-4YXm-tBQ=
Virtualiz. class :Virtual machine
Virtualiz. detail:Other type of vm
Cloud provider   :Amazon AWS
eth0     AF_PACKET (17)
0a:2c:4a:0a:a8:24:   eth0
eth0     AF_INET (2)
eth0     AF_INET6 (10)
Network adapter [0]: eth0
   ip address [188-36-31-172]
   mac address [a:2c:4a:a:a8:24]
Cpu Vendor       :GenuineIntel
Cpu Brand        :Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
Cpu hypervisor   :1
Cpu model        :0xc6f2
Bios vendor      :XEN
Bios description :DMI:BVNXEN:BVR4.2.AMAZON:BD08/24/2006:SVNXEN:PNHVMDOMU:PVR4.2.AMAZON:CVNXEN:CT1:CVR:
System vendor    :Xen

Cpu Vendor (dmi) :
Cpu Cores  (dmi) :0
==================