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

x/net/ipv4: ip header is ignored by payloadHandler.ReadFrom #65126

Closed
amtoor opened this issue Jan 17, 2024 · 2 comments
Closed

x/net/ipv4: ip header is ignored by payloadHandler.ReadFrom #65126

amtoor opened this issue Jan 17, 2024 · 2 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@amtoor
Copy link

amtoor commented Jan 17, 2024

Go version

go version go1.20.7 linux/amd64

Output of go env in your module/workspace:

GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/xxx/go"
GOPRIVATE=""
GOROOT="/home/xxx/.bin/go/1.20.7"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOVCS=""
GOVERSION="go1.20.7"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build172644931=/tmp/go-build -gno-record-gcc-switches"

What did you do?

I want to read tos from response, but I saw payloadHandler.ReadFrom only return icmp packet, there is not ip header.

What did you see happen?

can not read tos from icmp response.

here read header but not return it.
image

What did you expect to see?

I want to read tos of icmp response.

@cagedmantis cagedmantis added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 17, 2024
@cagedmantis
Copy link
Contributor

Please provide a snippet of code that reproduces your issue and a description of the problem.

@seankhliao seankhliao changed the title golang.org/x/net/ipv4: ip header is ignored by payloadHandler.ReadFrom x/net/ipv4: ip header is ignored by payloadHandler.ReadFrom Jan 17, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jan 17, 2024
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants