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

PCAP-NG Export #4326

Open
grampelberg opened this issue May 1, 2020 · 5 comments
Open

PCAP-NG Export #4326

grampelberg opened this issue May 1, 2020 · 5 comments

Comments

@grampelberg
Copy link
Contributor

What problem are you trying to solve?

It is difficult to debug what is happening to the network traffic for workloads on Kubernetes. Linkerd provides tap and stat to provide some glimpses into what's happening. Many times, this is enough. Unfortunately, when low level problems and protocol issues crop up, the existing tools are not enough. This causes users to inject the debug container and tcpdump traffic on a pod by pod basis.

How should the problem be solved?

Add PCAP-NG as an export format for tap. This can then be dumped locally or forwarded to Wireshark for analysis and debugging.

@tobad357
Copy link

Got linked here by @grampelberg.
We think it would be great to have pcap-ng files when having serious problems.
For more mundane problems it would be nice to have -format=HTTP
This would just dump headers, request body, response body, response codes etc in plain text

@grampelberg
Copy link
Contributor Author

@tobad357 I assume we'd use tap for that. The reason we're thinking pcap-ng isn't for the files, but to pipe it into other tools. Imagine taking a stream from linkerd and piping it into tshark. Then you'd be able to get all the text output you want and slice and dice it as you see fit. There's just so much UI around doing analysis, it feels like we should lean on the tools that do an awesome job with it.

@tobad357
Copy link

tobad357 commented May 15, 2020

Sounds like a good way of doing it. I didn't know about tshark and was more envisioning needing wireshark at some complete inopportune moment :)

@adnxn
Copy link

adnxn commented Dec 24, 2020

is anyone working on this?

@olix0r
Copy link
Member

olix0r commented Dec 26, 2020

@adnxn We haven't been working on this. Tools like ksniff do this pretty well without us having to add overhead to the proxy. At this point I'd be somewhat reticent to add this feature directly to Linkerd...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants