-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
panic when setting dont_fragment #685
Comments
3007522 changed the type of the argument that is passed to Setting the capability is not necessary, you can run BBE as root and you get the same result. The capability (or root) is necessary for being able to set IP header level options. |
A recent change modified the way an IPv4 raw socket is created and BBE is panicing when ICMPv4 is used with DontFragment set. golang.org/x/net doesn't seem to have a way to create the necessary socket, so fall back to the previous method for that case in particular (ICMP, IPv4, DontFragment=true). Fixes prometheus#685 Signed-off-by: Marcelo E. Magallon <[email protected]>
A recent change modified the way an IPv4 raw socket is created and BBE is panicing when ICMPv4 is used with DontFragment set. golang.org/x/net doesn't seem to have a way to create the necessary socket, so fall back to the previous method for that case in particular (ICMP, IPv4, DontFragment=true). Fixes prometheus#685 Signed-off-by: Marcelo E. Magallon <[email protected]>
A recent change modified the way an IPv4 raw socket is created and BBE is panicing when ICMPv4 is used with DontFragment set. golang.org/x/net doesn't seem to have a way to create the necessary socket, so fall back to the previous method for that case in particular (ICMP, IPv4, DontFragment=true). Fixes #685 Signed-off-by: Marcelo E. Magallon <[email protected]>
Hi, Im not sure of your release cycle but any ideas when this is likely to get released ? Thanks |
There's another PR currently open, once that's in I'll probably release. |
Host operating system: output of
uname -a
blackbox_exporter version: output of
blackbox_exporter -version
What is the blackbox.yml module config.
What is the prometheus.yml scrape config.
none
What logging output did you get from adding
&debug=true
to the probe URL?none, BBE crashes.
What did you do that produced an error?
What did you expect to see?
not crash
What did you see instead?
crash
The text was updated successfully, but these errors were encountered: