Skip to content

feat: add support for unprivileged ICMP sockets#26

Open
kfn-d0 wants to merge 2 commits intodigineo:masterfrom
kfn-d0:feat/unprivileged-icmp-support
Open

feat: add support for unprivileged ICMP sockets#26
kfn-d0 wants to merge 2 commits intodigineo:masterfrom
kfn-d0:feat/unprivileged-icmp-support

Conversation

@kfn-d0
Copy link
Copy Markdown

@kfn-d0 kfn-d0 commented Mar 6, 2026

Docker Test:
TestPinger_Privileged
pinger_test.go:16: Skipping privileged test.
SKIP: TestPinger_Privileged (0.00s)

TestPinger_Unprivileged
Pinging (unprivileged) 8.8.8.8...
PASS: TestPinger_Unprivileged (0.04s)

Fixes #12

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.

Pinger.New() can only create privileged icmp.PacketConn

1 participant