Live data from Hacker News

Show HN: Subtrace – Wireshark for Docker Containers

github.com

71–75 of 75 posts

Re: Show HN: Subtrace – Wireshark for Docker Containers

#71

Cool product, I can imagine my engineers using it. Out of curiosity, how would you monitize that?

Flat pricing with unlimited requests hosted in the cloud (https://subtrace.dev/pricing).

We also have an on-prem version of Subtrace for enterprises. It runs in their own AWS account without ever talking to subtrace.dev so that companies in regulated industries like healthcare can use Subtrace.

Re: Show HN: Subtrace – Wireshark for Docker Containers

#72
post #65

Any Windows Server support coming?

Not in the very short term, but we've talked about it internally and we might do it in the future!

If you'd like to use Subtrace on Windows, it would be super helpful to understand your use-case deeply so that we build the right things in the right order. Please reach out to me at adtac@subtrace.dev, I'd love to chat!

Re: Show HN: Subtrace – Wireshark for Docker Containers

#73
post #68
post #23

Earlier quoted context omitted.

Yep, certificate pinning is the one scenario Subtrace can't handle in my experience, but thankfully, it's fairly rare like you said. And IMO there is no general solution to the problem [1], but it's one of those very interesting problems to daydream thinking about when you're stuck in traffic or whatever :) We still try our best by handling as much of the long tail of environments with some library/framework specific…

kubeshark [0] is using ebpf to catch calls to openssl/go's tls lib and thus no need to juggle certs. Has pros and cons compared to your method, but an interesting comparison. [0] https://www.kubeshark.co/

The approach you describe above is common for similar projects:

- Pixie (https://px.dev) -- which I contribute to

- Beyla (https://github.com/grafana/beyla)

- Coroot (https://github.com/coroot/coroot)

If you are interested in the details and how the strategy for this tracing has evolved, you can learn more in this blog (https://blog.px.dev/ebpf-tls-tracing-past-present-future/).

Re: Show HN: Subtrace – Wireshark for Docker Containers

#75
post #67
post #60

Looks great! Reading through the docs it seems the subtrace process sends all data to your server. I'm reluctant to do that on a production environment, where API keys and personal data are being handled. Is there any way to run it completely self hosted? If not, are there plans? And how will you monitize self hosted options (if it's possible)?

re self-hosting: yep! Use the -devtools flag to get a stripped down version of Subtrace running entirely locally: subtrace run -devtools=/subtrace -- python3 -m http.server This starts a Python server on localhost:8000 but with Subtrace. Everything except /subtrace is forwarded to the Python server like usual, but if you go to http://localhost:8000/subtrace you should see the Chrome DevTools network tab running in th…

That would work for a single instance, but when running multiple (e.g., you are horizontally scaled) it would not be ideal.

Is it possible to mimic "subtrace.dev"? There's the 'SUBTRACE_ENDPOINT' environment variable which can be used to set the target endpoint, but is the server side open source too? And does the license grant permission for self hosting the full stack?

Post reply on HN