Sample Header Ad - 728x90

Restrict access to SocketCAN to a certain user group

1 vote
1 answer
311 views
I have a PC to which a robot is connected via CAN (using SocketCAN). I'd like to control who can send commands to the robot, ideally through a group (i.e. only users who are in the "use_robot" group have permission to send/receive anything via CAN). How can I achieve this? To my understanding, SocketCAN uses network interfaces so, probably somehow with iptables?
Asked by luator (302 rep)
Jul 10, 2023, 03:02 PM
Last activity: Jul 11, 2023, 05:16 PM