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

Support usnetd as backend #8

Open
pothos opened this issue Jun 12, 2021 · 0 comments
Open

Support usnetd as backend #8

pothos opened this issue Jun 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@pothos
Copy link

pothos commented Jun 12, 2021

Since the raw backend is quite limiting it would be nice to support usnetd as backend.
This allows to still use the kernel network stack without interference.

The IPC works over Unix Domain Sockets:
https://github.com/ANLAB-KAIST/usnetd#adding-support-for-usnetd-to-other-network-stacks
An example on how to use it is here:
https://github.com/ANLAB-KAIST/usnet_sockets#runtime-configuration-of-nic-access

There you can also find how to use macvtap devices. They also have advantages over RAW sockets and can either be used in bridge mode where they get a different IP address or in passthru mode where they take over the NIC and the kernel network stack can't receive/transmit anymore.

Edit: Here are the smoltcp devices: https://github.com/ANLAB-KAIST/usnet_devices

@spacemeowx2 spacemeowx2 added the enhancement New feature or request label Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants