Comments (3)
Yeah, that was the initial plan, then I saw how much stuff you needed to set IPv6 addresses on Linux, and I don't even want to know how much churn there would be to support more than that.
It may actually be more feasible to wrap the various route
/ip
/whatever
commands than going the native way to be honest.
from rust-tun.
It's not planned, it's wanted, the problem is you need to go through a netlink socket to set up IPv6 addresses and I really do not want to implement that.
Also keep in mind this is only for TUN interfaces, the plan was to also make a TAP crate.
from rust-tun.
So, if I understand you correctly, if someone wrote a crate that could manipulate arbitrary interface's addresses (and maybe other things), you could then use that as dependency of both this and the yet unwritten TAP crate to provide that functionality? I guess setting the addresses on TUN would be exactly the same as setting it on other interfaces.
from rust-tun.
Related Issues (20)
- Socket operation on non-socket HOT 1
- macos HOT 1
- Framed send fails with "Socket operation on non-socket" HOT 3
- Drop Fd crash in Android 11 HOT 1
- Nothing happening on macOS HOT 2
- Use library with default gateway
- Could you elaborate on what routing needs to be done for MacOs? HOT 14
- Where is the tun tap frame? HOT 1
- Build error on windows HOT 1
- GRO/GSO on Linux HOT 1
- macOS tun ip cannot be listened by the application
- The synchronous `write` does not work HOT 1
- when change ip addr to new ip addr, but subnet broadcast address no change, in macos m1 HOT 1
- Windows support can be achieved in this fork
- Add serde pls HOT 1
- Help with multithreading, read and write. HOT 2
- Add support to construct `TunPacket` from `Bytes` directly. HOT 1
- Enable TCP Segmentation Offload (TSO)
- Memory leak on windows HOT 11
- add split api?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-tun.