Sergei Trofimovich · @trofi
67 followers · 116 posts · Server fosstodon.org

Needed a simple way to tunnel SSH connection over HTTPS recently.

It should be trivial, but internets somehow mostly care about sharing SSH and HTTPS on the same port. Or do $ANY over SSH.

I wanted to completely hide the fact that I use SSH protocol. AFAIU it's easy to detect by looking at the headers.

Tunneling is supposed to be trivial but has a few caveats. Here is my attempt:

trofi.github.io/posts/295-ssh-

#socat #howto #ssh #https

Last updated 1 year ago

Pierre Lebeaupin · @PierreLebeaupin
11 followers · 114 posts · Server mastodon.gougere.fr

Update: I *finally* located the post that to me best summarizes the philosophy in question: queue.acm.org/blogposting.cfm? (this is the ACM repost, appropriately enough). Cc @bcantrill @ahl

#gdb #gdbserver #dtrace #unix #socat #ssh #eclipse #linux

Last updated 2 years ago

Mänu · @emanuelduss
128 followers · 37 posts · Server infosec.exchange

Interesting: socat can listen on two ports (1). First, it listens on the first provided port (2), where you can connect to (3). Then it listens on the second provided port (4), where you also can connect to (5). You can then send data between these clients, e.g.from the first client (6) to the second client (7) or vice versa.

The same works via TLS, UDP, IPv6, Unix Sockets, etc.

This can be useful if you want to connect two clients which can't talk to each other directly via another external accessible system.

#socat #networking #pentesting

Last updated 2 years ago

Chris · @chr1stian
59 followers · 19 posts · Server mastodon.social

quicktip #8: A simple tcp relay with socat.

#linux #netcat #socat #proxy

Last updated 2 years ago

Chris · @chr1stian
59 followers · 19 posts · Server mastodon.social

quicktip #8: a simple tcp relay with socat.

#socket #socat #netcat #linux #network

Last updated 2 years ago

· @L29Ah
156 followers · 1614 posts · Server qoto.org

@rf @ua
‰ socat /tmp/printer readline
2022/11/26 21:07:12 socat[4961] E unknown device/address "readline"
дебиан это унижение
дистрибутив для опущенцев

#говно #debian #socat #readline

Last updated 2 years ago

Le fractal 🔴 · @lefractal
117 followers · 156 posts · Server mstdn.social

Been looking for a way to expose home-hosted services to the internet, and found a solution that's both geeky and fun :

1. turn your service into an (community.torproject.org/onion). It's actually very quick and easy if you follow the instructions.
2. use a cheap vps to reverse-proxy requests coming from the clearnet to through

Is there any good reason not to do this ?

#socat #Tor #onion

Last updated 2 years ago

🔴 Le fractal · @lefractal
161 followers · 381 posts · Server mstdn.social

Been looking for a way to expose home-hosted services to the internet, and found a solution that's both geeky and fun :

1. turn your service into an (community.torproject.org/onion). It's actually very quick and easy if you follow the instructions.
2. use a cheap vps to reverse-proxy requests coming from the clearnet to through

Is there any good reason not to do this ?

#socat #Tor #onion

Last updated 2 years ago

Hab heute mein kleines Flaschenhals gelöst. Durch meine wilde Konstruktion den DS-Lite-Stack zu überwinden, habe ich auf einem ein laufen, dass mir sämtliche UDP-Pakete auf einem bestimmten Port an meinen Raspi mit sendet. Funktioniert auch so weit. Problem: socat läuft im Userspace und performt daher unter aller sau. Erschwerend kommt hinzu, dass die Wireguard-Android-App IPv4 bevorzugt. Ich halte das für nicht so super. 🧵

#ipv6 #ipv4 #socat #vserver #problem #wireguard #vpn

Last updated 3 years ago

po̊lættïx · @polettix
38 followers · 1122 posts · Server octodon.social
Flavigula · @flavigula
502 followers · 2821 posts · Server sonomu.club

I spent a good deal of yesterday implementing a way to copy from tmux sessions in a remote connection to my local clipboard ( , actually ). The receiving process was hanging from lack of what I thought was a EOT or some other mysterious force. I beat my head against multitudinous flat surfaces before trying instead of to send the text... and there we go.

#copyq #socat #netcat

Last updated 4 years ago

klaushipp · @klaushipp
23 followers · 202 posts · Server fosstodon.org

Just found out that and are awesome powerful tools.

#netcat #socat

Last updated 4 years ago