this post was submitted on 10 Jun 2024
14 points (88.9% liked)

Selfhosted

39980 readers
677 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I remember reading somewhere about a self hosted application that would work like a proxy. But not http/https like NPM but all the network traffic.

I may be misremembering but what caught my attention at the time was the possibility to log communication packets. It was months ago and I ended up forgetting about it.

My use case would be monitoring communication with a device I’m developing an app for.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 5 months ago* (last edited 5 months ago) (1 children)

tcpdump, wireshark can capture packets.

haproxy can be a proxy of many networking protocols

mitmproxy can help see encrypted traffic by acting as a literal man in the middle.

ssh with certain parameters can become a SOCKS5 proxy to encrypt and tunnel traffic out of a hostile network

[–] [email protected] 4 points 5 months ago

Yeah. I think tcpdump/wireshark is the way to go.

[–] [email protected] 2 points 5 months ago

If your use-case is monitoring packets, why not go for an app made for that, such as Wireshark?

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Nginx can do that itself with TCP and UDP streams: https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

But if you want to analyze traffic, use Wireshark.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Lots of them, if you want something large and powerful you could set up security onion, mirror a port and it'll capture everything plus graph and slice up things all over. Needs a fairly hefty box not to choke if it gets fed a lot though.

[–] [email protected] 0 points 5 months ago

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
TCP Transmission Control Protocol, most often over IP
UDP User Datagram Protocol, for real-time communications
nginx Popular HTTP server

[Thread #796 for this sub, first seen 10th Jun 2024, 20:45] [FAQ] [Full list] [Contact] [Source code]