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

pingtunnel/server.go:136 icmp.ListenPacket does not work on Windows! #4

Open
teamshmot opened this issue Jan 26, 2022 · 2 comments
Open

Comments

@teamshmot
Copy link

please fix server.go to use RAW_SOCKETS (at least for the windows release) instead, and by that enable the functionality of setting up the server end on a windows machine.
image
image

@esrrhs
Copy link
Owner

esrrhs commented Jan 27, 2022

maybe you can try this golang/go#38427 (comment)
and if you test ok, you can create a pull request

@teamshmot
Copy link
Author

Yea I'm already testing with it but encountered a few problems with the processDataPacket function that localConn.conn is equal to nil and the program crashes, if you have time because you have a much deeper understanding of the code I would like you to deal with the problem <3

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