Skip to main content

Questions tagged [socat]

0 votes
0 answers
28 views

I am running a WFW 3.11 guest with VirtualBox. VB is configured with: VBoxManage modifyvm $Guest --uartmode1 server /tmp/$Guest/MyPipes/COM1 In my xfce4-terminal, I run: socat /tmp/$Guest/MyPipes/...
Michael Duffy's user avatar
1 vote
0 answers
78 views

For testing purposes (I don't want to use ProxyJump or ProxyCommand here, that's not the point), I have the following script (script_win.sh): ssh -tt [email protected] 'ssh -W 127.0.0.1:22 127.0.0.1'...
Soldat-Ryan's user avatar
0 votes
0 answers
268 views

I have a Linux machine, with one interface on network A, and one interface on network B. On network A, another machine is a source for multicast traffic, let's say 239.255.0.1. I want the multicast ...
Bobo's user avatar
  • 15
0 votes
1 answer
295 views

Some device sending into 1234/TCP Linux machine some data. Now I using nc and socat command for handle the data and process it but when using 1st command 2nd cannot be executed and vice-versa. nohup ...
Krzysiek's user avatar
3 votes
1 answer
1k views

I need to capture the verbose and debug output of socat running on a remote server. I can achieve the above when running socat in the foreground: $ socat -x -d -d -d tcp-l:8080,bind=0.0.0.0,fork,...
Harry's user avatar
  • 861
0 votes
1 answer
330 views

We have an [Ubuntu 20.04] Docker image, used as part of a test system, in which I need to run pppd (to test a dial-up connection), where pppd is connected to the physical modem via a socat loop. My ...
Rob's user avatar
  • 163
-1 votes
1 answer
1k views

I have a serial/rs485 converter to read/write from a Modbus device. I have the need to be able to read and write from 2 process. How can i "copy" the real device /dev/ttyUSB0 to specify in ...
Marc's user avatar
  • 529
2 votes
0 answers
66 views

I'm a software engineer with only very basic networking skills, so I apologize in advance if I fumble a bit with my explanation here. I have a physical device (specifically, an older model of this ...
me--'s user avatar
  • 355
1 vote
2 answers
1k views

I'm working on a project trying to develop a data diode for unidirectional transfer of data, and I'm hoping to use socat for some measurements. As a first step, I want to use socat to send data from ...
Peter Story's user avatar
3 votes
1 answer
1k views

I am trying connect to serial adapter over TCP using socat. This is something that is even covered in the official documentation and should (in theory) just work. I first start the server $ socat -d -...
tcurdt's user avatar
  • 141
1 vote
1 answer
346 views

I used the following command from this question to test out using socat to build a terminal with rich signals: socat file:'/dev/tty',raw,echo=0 exec:'bash -li',pty,stderr,setsid,sigint,sane On Linux, ...
merlin2011's user avatar
  • 2,157
1 vote
2 answers
1k views

I have the following TCP server: socat TCP-LISTEN:10000,fork,reuseaddr SYSTEM:'read -r msg && sleep 3 && echo "OK"' When I execute (interactive mode): socat - TCP:localhost:...
lepe's user avatar
  • 808
3 votes
2 answers
21k views

I have a program (program 1) that has a TCP server listening on port 1234. I have confirmed that the server accepts connections and sends data with a utility str2str. Program 2, on the same machine, ...
sebinho's user avatar
  • 113
0 votes
1 answer
271 views

I have an IPv6-only Mumble server at home (because I have no public IPv4). I want to make it accessible to IPv4-only users with a small VPN. The VPN has a public IPv4 that I can ping The VPN has IPv6 ...
Krateng's user avatar
  • 111
1 vote
1 answer
4k views

I need to send a UNIX datagram to an open port in a running application with socat. When the application receives the datagram, it will answer back with another. I need to do this to get the resulting ...
Pablomagno's user avatar

15 30 50 per page
1
2 3 4 5