nqminds / edgesec

Secure router - reference implementation
https://edgesec.info
MIT License
6 stars 1 forks source link

executed commands provided in doc but not able to proceed #559

Open vidyasagarcnlabs opened 1 month ago

vidyasagarcnlabs commented 1 month ago

Describe the bug I am getting the below error while following steps. Some steps I am not able to understand so please provide me right steps to run edgesec. Edgesec does not emit the required packet. If you have any documentation that has clear info please share me

root@mud-ISR:/home/cnlabs/edgesec# cmake -S . -B build CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:130 (message): Could not find toolchain file: ./CMakeModules/CMakeToolchains/openwrt-ath79-generic.cmake Call Stack (most recent call first): CMakeLists.txt:4 (project) -- Configuring incomplete, errors occurred!

mereacre commented 1 month ago

Which CMake preset are you trying to use?

Could you please post all your steps so I can reproduce them?

Below is the example commands for the preset linux

cmake --preset linux # configure edgesec for Linux
cmake --build --preset linux -j4 # build edgesec for Linux using 4 threads
ctest --preset linux # test edgesec for Linux

To list all the presets use cmake --list-presets

vidyasagarcnlabs commented 1 month ago

We are working on a research project in which we need to validate the RFC8520 (MUD). And we found this opensource package(edgesec). Can you please confirm whether the package has the capability to emit the MUD url information in DHCP options field or LLDP or Security certificate. As per the clause 10.1 (https://datatracker.ietf.org/doc/html/rfc8520#section-10.1).

mereacre commented 1 month ago

The edgesec tool does not implement the client side of the DHCP. It uses dnsmasq as the server.