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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tun): use libtun #456

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

refactor(tun): use libtun #456

wants to merge 1 commit into from

Conversation

Itsusinn
Copy link
Member

馃 This is a ...

  • Refactoring

馃敆 Related links

#208

#362
#228

Contents

  • Replace netstack-lwip with netstack-smoltcp
  • Auto route

@Itsusinn Itsusinn changed the title WIP refactor(tun): use libtun Jun 12, 2024
@ibigbug
Copy link
Member

ibigbug commented Jun 12, 2024

@cavivie
Copy link

cavivie commented Jun 13, 2024

I think we should migrate to tun2. Is the reason why we continue to use tun too much incompatible? We can abstract tun and netstack-lwip to libtun, and clash_lib does not directly depend on tun crate.

@VendettaReborn
Copy link
Contributor

I think we should migrate to tun2. Is the reason why we continue to use tun too much incompatible? We can abstract tun and netstack-lwip to libtun, and clash_lib does not directly depend on tun crate.

agreed

@ibigbug
Copy link
Member

ibigbug commented Jun 13, 2024

Yeah sounds good to me

@xmh0511
Copy link

xmh0511 commented Jun 27, 2024

We can use tun2, ipstack, and net-route to achieve the target, which three are cross-platform.

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

Successfully merging this pull request may close these issues.

None yet

5 participants