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

we can re-consider supporting freebsd now #24

Closed
xmh0511 opened this issue Mar 5, 2024 · 4 comments
Closed

we can re-consider supporting freebsd now #24

xmh0511 opened this issue Mar 5, 2024 · 4 comments

Comments

@xmh0511
Copy link
Contributor

xmh0511 commented Mar 5, 2024

Since these defined packet information structures prevent ipstack from supporting FreeBSD, which is caused by tun, however, ipstack can support FreeBSD together with tun2 since tun2 supports FreeBSD now, we can re-consider supporting the platform by reverting 04b7ac7.

@SajjadPourali
Copy link
Collaborator

SajjadPourali commented Mar 5, 2024

Could you please verify the correct values for TUN_PROTO_IP6 and TUN_PROTO_IP4 in FreeBSD? Are they the same as those in Linux or Darwin?

@SajjadPourali
Copy link
Collaborator

b29ace0

@xmh0511
Copy link
Contributor Author

xmh0511 commented Mar 6, 2024

FreeBSD always does not have packet information, in my test. see https://github.com/ssrlive/rust-tun/blob/v2/src/platform/freebsd/device.rs#L454

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

2 participants