Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raw socket #53

Open
mStirner opened this issue May 17, 2024 · 0 comments
Open

raw socket #53

mStirner opened this issue May 17, 2024 · 0 comments

Comments

@mStirner
Copy link
Member

There are some Stolpersteine to solve, to work with raw sockets.

The biggest problems:

  • nedds special capabilites
  • does not work in worker threads

Due to the inactivity on the module no improvements are awaited.

Instead of using the module in a worker thread spawn a node.js child process, that uses the bridge.js cli tool.

In general it would be better to add a "icmp" socket type to the backend:
Additional to the iface.httpAgent() a iface.ping() method could be added for icmp socket interfaces.

A ping could also implemented without a special socket type "icmp".
When a interface is added, simple create similar to the Bridging request #51 a socket from type "raw" when .ping() is called and send/receive icmp messages. (Implemented under the hood in connector & backend)

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant