Socket
Socket
Sign inDemoInstall

rfb-can-sniffer

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rfb-can-sniffer

Sniffer to send and receive can messages running in an independant thread.


Maintainers
1

Readme

Drv Can

Repository that storages classes and functions used create a thread that can send, and receive can messages. The node class will create a thread with a shared object that receives the commands both for the can module and also the messages to send through can bus. The commands that can be send to can are create and remove filter, and also send messages.

The version 0.1.X forward is using posix ipc queues, if there is any problem with posix it will possibly be due to the max messages in queue and the max message size limited by the system. For more information check system-shared-tool github To see which is the max messages and the max message size in system run:

cat /proc/sys/fs/mqueue/msg_max
cat /proc/sys/fs/mqueue/msgsize_max

In order to change the max message or message size in queues run:

sudo sh -c 'echo 500 > /proc/sys/fs/mqueue/msg_max'
sudo sh -c 'echo 500 > /proc/sys/fs/mqueue/msgsize_max'

Co-authors: Roberto Aldea, Javier Sanz, Marius Crisan

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc