Skip to content

raw socket #53

@mStirner

Description

@mStirner

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions