The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
229 views

Resolving HAProxy BADREQs using socat

I'm trying to figure out why i'm getting BADREQs from time to time, by using "show errors" in socat. The problem is that it only shows the last error. I want to be able to see all of them ( like using ...
0
votes
1answer
156 views

with socat, given port on the remote (server) host is to be forwarded to the given host and port on the local side

Is it possible to use socat to achieve the following, without the need of using ssh? > ssh -N -R 8080:localhost:1080 mylogin@server.com -R [bind_address:]port:host:hostport Specifies that the ...
0
votes
1answer
1k views

Forwarding SNMP ports over SSH

I access my work network through a VPN and have access to every host in there through SSH. Currently I need to access around 3000 hosts via SNMP, but corporate sec policies restrict SNMP access ...
4
votes
0answers
754 views

Can socat be used to forward an ssh-agent socket into a chroot?

I'm building custom Debian environments on a remote server, which I connect to over SSH. This involves building a debootstrap environment, then chrooting into it to run a custom installer. As part of ...
2
votes
0answers
180 views

use socat to provide password to bsign

I have many servers, where I deploy various binaries. For this purpose I use a script that packs them into archives, publishes to the local repository and then ssh-es to the target servers and ...
1
vote
0answers
619 views

Always keep socat alive

I have a socat running nicely, executing my command when a connection comes in with the arguments provided. However, the issue I am having is that the socket is at EOF and the next time a connection ...
0
votes
0answers
15 views

SOCAT to serial port with more than one client

Try to connect by socat by 2 clients to one serial connection, when connecting the second one I get a permission denied error message I tried: socat TCP-LISTEN:5432,fork, reuseadder /dev/ttyS2,raw,...
0
votes
0answers
71 views

multiplexing a TCP connection through a dumb shell connection?

I am connecting to a VPN whose gateway is sufficiently misconfigured that basically the only useful thing I can do with it is to ssh to a specific Linux host set up for my usage inside the VPN, and ...
0
votes
0answers
27 views

Bind the ip adresses with the hosts using socat command

I have squid proxy installed in my server, and I want to bind the ip adresses with the hosts I want to connect to them. How can I do it with socat command? Example : prox_IP : 1.1.1.1 proxy_port : ...
0
votes
0answers
68 views

Can't write to a virtual com port on ubuntu

I'm running an ubuntu VM on hyper v and I need the ubuntu install to be able to access a local com port on my VM host. Unfortunately this isn't possible with hyper-v. So using Com by TCP I'm ...
0
votes
0answers
60 views

socat Resource temporarily unavailable

I am using socat as a bridge between some devices and running socat (a couple hundreds of instances) like this: socat -d -d -d -x -d -lf "/var/log/some_log_file" TCP4-LISTEN:6126,fork,max-children=1,...
0
votes
0answers
58 views

How to forward a pair of UNIX domain SOCK_DGRAM sockets to remote host?

I have two processes communicating with each other with two unix domain datagram sockets. I need to run these processes on separate hosts (on the same LAN). I'm trying the following socat UDP-LISTEN:...
0
votes
0answers
92 views

UDP Port Forwarding Error: channel 2: open failed: connect failed: Connection refused

My situation is as follows: I have currently trying to have a program between two Hosts send UDP packets over a SSH Tunnel. There is also a host intermediate between the two hosts. Note Server01 ...
0
votes
0answers
36 views

How can I make sure my virtual serial ports are available at bootup

I am using a Serial port re-directer and Clone functionality done through a python script. With Virtual Serial ports that are created via socat. How do ensure that these Virtual Serial ports will be ...
0
votes
0answers
71 views

zabbix_agent + socat hanging with close_wait

I have the following setup: remote devices running active zabbix_agentd (version 2.0) using socat to tunnel through an HTTPS proxy. On the server side: Apache with a proxy service allowing CONNECT to ...
0
votes
0answers
88 views

Forward all connection to specific remote port to different host

I have the following setup: Local machine connected to intranet Proxy server connected to both intranet and internet through different interfaces Remote server I am forced to use an application on ...