The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
65 views

Impersonate a serial device with socat

I am trying to use socat to impersonate an external serial device. If I do this in one terminal: sudo socat -ddd -ddd PTY,raw,link=/dev/ttyS32,echo=0 READLINE and run this simplified version of my ...
0
votes
0answers
413 views

How to send message to virtual serial port created with socat?

I am using socat to create a virtual serial port on linux socat -d -d PTY,raw,echo=0,link=/dev/ttyVA00 PTY,raw,echo=0,link=/dev/ttyVB00 which prints socat[31640] N PTY is /dev/pts/2 socat[31640] N ...
0
votes
0answers
444 views

connect to a serial device via TCP socket

My setup is this: serial device ttyUSB0 connected to laptop A software that opens TCP socket to listen and write to, also runs on laptop A (linux) My goal is to pipe data from/to serial device ...
0
votes
0answers
57 views

How to redirect all traffic from one port to another host and port?

I have a socat running as redirector of traffic to another host, but it always hangs up and freeze. Maybe there is better options to do such a thing? My current command is: socat ...
0
votes
1answer
241 views

Connect COM1 port with socat

Is it possible to connect socat to the COM1 device? I am trying to use example from socat man page socat -,raw,echo=0,escape=0x0f /dev/ttyS0,raw,echo=0,crnl and replace device name /dev/ttyS0 with ...
2
votes
0answers
115 views

Forward IPsec tunnel from IPv4 endpoint to IPv6 endpoint

I have a new ISP and only have a Dual Stack - lite connection now. That means I can't access my router via IPv4 anymore, since the external IPv4 address is private. I have native IPv6 connectivity. ...
1
vote
1answer
548 views

Record multicast stream on multi-homed Linux host

I have what sounds like the simplest possible use case, and yet nothing is satisfactory. I have a multi-homed host and I would like to listen to multicasts on eth1, and shove all the payload (NOT ...
0
votes
2answers
426 views

ssh -R then expose the local port over HTTP?

Here's my scenario, I have two machines, A and B. A is behind a VPN, so B can't get to A. I have a web server: machine_a$ curl localhost:8088 "hello from machine_a" I have executed a remote SSH ...
1
vote
0answers
325 views

How to check if protocol 41 (6to4) is filtered by ISP without changing the network configuration?

Obvious way (just setting up 6to4 tunnel and pinging) fails because ip command seems to be read-only on my VPS: can't change any networking-related settings. So I try using raw sockets: ...
1
vote
1answer
311 views

Specifying startup commands with socat

I'm connecting to a simple server which is offering a basic text-based interface using socat like this socat readline TCP4:localhost:8090 There are some initial commands I have to execute every ...
2
votes
1answer
355 views

Dynamic proxy using HTTP CONNECT

My university provides internet access through an HTTP proxy which blocks POP, SMTP, and IMAP. To circumvent this, the IT department's "Internet setup guide" suggests to use socat: socat ...
2
votes
1answer
2k views

bidirectional socat functionality with nc

This is question is somehow related to How is it called when listening(connecting) two sockets and exchanging data between them? In the test setup I have three terminal windows open I run in Term1: ...
1
vote
2answers
5k views

Netcat/socat behavior with piping and UDP?

I guess this is close to linux - Netcat stops listening for UDP traffic - Super User, but I thought I'd better ask anyways As far as versions of netcat I'm using Ubuntu 11.04 and the default netcat ...