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

Responding to pings other messages #94

Closed
amlwwalker opened this issue Dec 6, 2022 · 0 comments
Closed

Responding to pings other messages #94

amlwwalker opened this issue Dec 6, 2022 · 0 comments

Comments

@amlwwalker
Copy link

Hi,
This is really cool - i've been trying to learn about VPNs and tunnels/network level Go coding. One very simple thing I can't seem to find out how to do is to intercept ping messages.
Would you be able to help me with a simple example whereby the tunnel intercepts the ping, adds delay before responding to it? I want to artificially control the latency when a device is pinged. I realise this is specifically code for a VPN but my understanding is VPNs use the same virtual network interface (tunnel), so when a device pings a device, by rights I should be able to wait a second before responding, but I cannot for the life of me find a good reference point to start and due to your work here, I thought you might be able to potentially help me?
Thanks

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