Gatekeeper

[Debug] Vagrant vm setup – 3

Problem The following lines are not fatal error but still needed to be solved

    Approach 1. The network adapter is incorrectly assigned and I will match the device accordingly in the provision.sh Since we are able to ssh into the vagrant, we can check the interface mapping by

The content of interface mapping file

Which…

Continue Reading

Gatekeeper

[Debug] Vagrant vm setup – 2

Problem The memory allocation failed during the vagrant up –provision

    Approach 1. As we are using the cloud image from vagrant, the kernel contains the minimal dependencies, therefore, some modules required are missing.  I will append the linux-generic to the provision.sh to ensure the modules uio and uio_pci_generic are corrected configured. Result: The following two lines are…

Continue Reading

Gatekeeper

[Debug] Vagrant vm setup – 1

Problem I’m trying to create the virtual machine using vagrant for the dpdk, however, the screen was freezing at this period of vagrant up

  Approach 1. Making sure the conflicts is not caused by the conflicts of version between vagrant and virtual box. Result: I have downloaded the archive of both software and do a mix and match. However, the…

Continue Reading

C, Linux

[libressl] Generate RSA key

In the latest version of libressl, RSA_generate_key is deprecated, RSA_generate_key_ex should be implemented instead. Implementation (updated) Source file (test.c)

  To compile and run the program, the library libcrypto should be imported

  Expected output

    Implementation (deprecated) Source file (test.c)