In ny application I would like implement the "hardware authentication" with mac address for increase the safety. I was thinking of filing out a table with a list of mac address of authorized devices. From the webvisu server is possible get the mach address of the clinent connected? If no, are there other options to do it?
Thanks for support,
Luca
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After that you can execute ARP request with SysProcess library (search info about appropriate Linux commands) or ARP library (unfortunately, there is no example for it).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi to All,
In ny application I would like implement the "hardware authentication" with mac address for increase the safety. I was thinking of filing out a table with a list of mac address of authorized devices. From the webvisu server is possible get the mach address of the clinent connected? If no, are there other options to do it?
Thanks for support,
Luca
You can get IP address of web-visu client:
https://faq.codesys.com/display/CDSFAQ/ ... the+Client
After that you can execute ARP request with SysProcess library (search info about appropriate Linux commands) or ARP library (unfortunately, there is no example for it).
Thanks for your answer,
How can I refuse the client connection if the IP dosn't match in my private table?
Thanks
Luca
Well, i think it's not CODESYS side.
Check examples how to use iptables in Raspbian...
Something like that:
https://www.cyberciti.biz/tips/iptables ... ering.html m