5 ms·
I couldn't really survive without socat: http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES
by kaeso 13y ago
I couldn't really survive without socat:
http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES
- smtddr 13y agoseriously, I was introduced to socat about 5 months ago... blew my mind. netcat is good and I still use it to quickly send custom GET requests, but socat is like a swiss-army knife containing many swiss-army knives. It even forwards unix-domain sockets and doesn't necessarily need root permissions like iptables.
- DrPhish 13y agoAgreed. If netcat is the swiss-army knife of network tools, socat is the complete utility belt. I discovered socat because netcat simply wouldn't bend in all the ways I needed it to. There is NOTHING ad-hoc network related that I haven't been able to perform with socat.
- dleimbach 13y agoI connected an SNMP monitoring system using two socats and an ssh tunnel. One socat to forward UDP over TCP to the locally encrypted port, and another to take it off on the other side and forward it to a local SNMP listener. It was a for a control system we were building that could monitor temperatures and control fan speeds in a computer cooling system. We ran it across several states in the US, and it was just to get an early demo of how the system would work before hardware was more locally available and the damned thing worked... This made a lot of people very happy and it was really crazy to be on the phone with the other folks and have them rev up the fans in our lab via SNMP through this channel.