Displaying 20 results from an estimated 153 matches for "socat".
Did you mean:
scat
2007 Jun 14
1
using 'socat' to relay Dovecot SASL's auth socket over TCP?
...i'm now splitting Exim & Dovecot onto two different boxes.
iiuc, Dovecot ONLY provides a UNIX (local) socket; *not* a TCP socket
for over-the-network access. SUre, I could mount the Dovecot socket's
volume over NFS ... but just don't want to go there.
i've just discovered,
socat - Multipurpose relay
http://www.dest-unreach.org/socat/
"Socat is a command line based utility that establishes two
bidirectional byte streams and transfers data between them. Because
the streams can be constructed from a large set of different types of
data sinks and sources (see address t...
2013 Sep 13
21
Suggestion for merging xl save/restore/migrate/migrate-receive
Hi,
As we talked in
http://lists.xen.org/archives/html/xen-devel/2013-09/msg00211.html , I have a
suggestion: what about merging xl save/restore/migrate/migrate-receive?
Here is the description: xl-migrate.rst
Also there is a workaround for the xl migration daemon example: xl-migrate-socat.rst
Patch for the example: xen-xl-migrate-socat.patch
(I don''t have enough knowledge to implement the merge.)
Thanks,
Zhigang
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
2020 Sep 22
2
Running samba in Kubernetes
Hello,
I have successfully (hopefully) configured samba to run in Kubernetes
pods, basically I have a pod (i.e. container) that run winbindd and join
the Windows AD, and a pod (i.e. container) that run smbd.
I have used socat to allow the unix socket communication between
winbindd and smbd pods:
*** winbindd pod ***
UID??????? PID? PPID? C STIME TTY????????? TIME CMD
root???????? 1???? 0? 0 Sep17 ???????? 00:00:03 /bin/bash
./winbind_entrypoint.sh
root????? 1131???? 1? 0 Sep17 ???????? 00:00:00 /usr/bin/socat -dd
t...
2007 Feb 20
1
How to repeat pri show span and zap show channel commands
Hi,
For debugging purpose, it might be useful to repeat every 30s or so, pri
show span and zap show channel commands have the results merged with
/var/log/asterisk/full log file?
Any better idea than running an dedicated shell script with a "asterisk -rx
pri show span 1" line ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Apr 09
1
Solution to communicating with UDP and other interfaces (under Linux) using R
...tware package from R via a UDP interface (I could run the package
under a "system" command, but that was too slow). I finally figured out
a way to communicate with UDP through R, and it works fine (using the
"system" command) - it's also fast.
(1) install software "socat" (available on most of the Linux
repositories). It's potent software for communication stuff, btw.
(2) set up the UDP 'port' to communicate with (like in a separate
software package for passing commands and responses back and forth).
(3) use the "system" command to s...
2010 Feb 17
2
udp stream multiply
...estion, but I hope someone can hint me in the right direction ...
I have an incoming udp data stream to public interface that I want to duplicate and multipy to three or more destinations on the internal interface.
Currently I've managed to put together netcat listener with output to pipe and socat reading from that pipe to a single destination. I hoped I could have more than one socat reader from the pipe, but that does not seem to be the case. So I'm able to only redirect stream to a single destination on lan.
I'd also like to avoid this mess of shell tools and pipes and am looking...
2020 Sep 22
0
Running samba in Kubernetes
...1:37 PM, Andrea Cucciarre' via samba wrote:
> Hello,
>
> I have successfully (hopefully) configured samba to run in Kubernetes
> pods, basically I have a pod (i.e. container) that run winbindd and join
> the Windows AD, and a pod (i.e. container) that run smbd.
> I have used socat to allow the unix socket communication between
> winbindd and smbd pods:
>
> *** winbindd pod ***
>
> UID??????? PID? PPID? C STIME TTY????????? TIME CMD
> root???????? 1???? 0? 0 Sep17 ???????? 00:00:03 /bin/bash
> ./winbind_entrypoint.sh
> root????? 1131???? 1? 0 Sep17 ?...
2010 Feb 27
3
Port Redirection
...-p UDP -i eth0 -s 0/0 --dport 3000 -j DNAT
--to 10.1.0.2
My shorewall rule:
DNAT loc cmtc:10.1.0.2 udp - 3000
The iptables rules works fine but my shorewall rule doesn''t. I find out
that the packages arrive on server 10.1.0.2 but I have no return.
I fix it temporally using socat:
socat -d -d udp-listen:3000,fork,reuseaddr udp-sendto:10.1.0.2:3000
Can you help me to figure this out?
João K.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling...
2013 Sep 19
2
Re: Trouble using virStream with callbacks
On Thu, Sep 19, 2013 at 11:59:45AM -0400, Jonathan Lebon wrote:
> I tried to dig a bit deeper in this. From my limited understanding,
> it seems like stream events are implemented as enabled/disabled timers.
> The issue is that if there's no data from the guest app pending, the
> timeout in virEventPollRunOnce will be calculated as -1. So then we
> block on the poll() and only
2008 Jun 19
5
Portforwarding using the control master.
...forwardings.
- easier to keep an overview, remembering that master-%r@%h:%p
allows forwarding to ports from that machine is easier then keeping
track of all the different ports.
To be actually able to use it (since SSHMUX is an openssh only thing
as far as I can tell). I'll write a patch to socat as well.
Any comments?
Kind Regards,
dvorak
2018 Jan 26
1
[PATCH nbdkit] tests: Rename and rework test-ipv4.sh so it tests IPv6
I wanted to change this test so it tries connections on both IPv4 &
IPv6. Having it connect on both is the easy bit. Harder was making
it not fail on machines that don't have IPv6 stack (or IPv4 in some
rare cases). TBH I wasn't able to test this, but it seems like this
should work.
In the end we want to modify nbdkit so it can listen on only certain
interfaces, but that's a
2019 Nov 05
1
Trying to replace anti spam plugin with IMAPSieve; no joy
...uot;];
pipe :copy "sa-learn-pipe.sh" [ "spam" ];
========
Lastly, I have the sa-learn-pipe.sh script in /usr/lib/dovecot/sieve:
#!/bin/bash
echo "`date` learning $*" >> /tmp/sa-learn
# We run amavisd-new on another Kubernetes pod and communicate with it via socat on both ends; this worked with the old antispam plugin.
if [ "$*" = "ham" ] ; then
socat - TCP:amavis:4443
else
socat - TCP:amavis:4444
fi
exit 0
========
The /usr/lib/dovecot/sieve directory looks like this:
drwxr-xr-x 1 root root 4096 Nov 4 20:49 .
drwxr-xr-x 1 root r...
2017 Mar 28
1
Is a timer a file?
...tage of NUT users use upssched timers.
> At first sight, I would more see something injecting into the PIPEFN
> fifo, i.e. acting the same way upsmon would when calling upssched with
> the upsname and the triggering event.
> I think that this can be solved more easily with tools like socat or nc,
> sending the command directly to the pipe. For example, to cancel the
> timer "shutdown-timer" from the upssched-cmd script, you would:
>
> ?????? echo "CANCEL shutdown-timer" | socat - UNIX-CLIENT:/var/run/nut/upssched.pipe
What a hack! :-) Sure, it is po...
2006 Jun 20
1
rsync-2.6.8 hangs on AIX
...g as I write this, and we can leave it alone for
a couple of days).
There is another machine in between that forwards all tcp
packets to the target machine:
SOURCE
(rsync -z --rsh=ssh --remove-sent-files --partial --relative --files-from=- ./ target:/destdir)
-----------
|
v
-----------
socat
-----------
|
v
-----------
TARGET
-----------
On the "current issues" web page I found this request:
> Q: Rsync appears hung -- what should I do?
>
> A: When experiencing a hang or freeze please gather the
> following information before killing the rsync process...
2012 Dec 25
3
[Bug 2016] SCTP Support
https://bugzilla.mindrot.org/show_bug.cgi?id=2016
proler at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |proler at gmail.com
--- Comment #1 from proler at gmail.com ---
on freebsd:
with this patch i cant connect with sctp to v6-only host.
v4
2013 Dec 20
3
TCP port to TTY/Serial Port?
Hello,
? I'm trying to configure my system such that I have a TCP port listening which will send all data it receives to a serial port.
ie:?? tcp/2112? -->? /dev/ttyS0
My goal would be to be able to:
Use netcat to create the listen and redirect to a serial port:
? $ nc -l 2112 > /dev/ttyS0
Then in another window, run minicom at /dev/ttyS0
Then in a 3rd window,
? $ telnet localhost
2017 Oct 06
2
Strange "IMAP connection broken (server response)" errors
...y bye:
{[127.0.0.1]:1555/imap/user="ha4aa"}INBOX: [CLOSED] IMAP connection broken
(server response)
14:22:02.217471
IMAP 14:22:02 10/6 mm_log error: [CLOSED] IMAP connection broken (server
response)
The "[127.0.0.1]:1555/imap/user="ha4aa" part in the log comes from an
socat inserted between the client and the server to check independetly the
imap session. According to socat, the server response didn't reach the
client!:
00000010 OK Fetch completed (0.005 + 0.000 secs).\r
> 2017/10/06 14:22:02.216299 length=40 from=845 to=884
00000011 FETCH 6 (BODYSTRUCTURE...
2009 Jun 10
1
[Bug 396] sshd orphans processes when no pty allocated
https://bugzilla.mindrot.org/show_bug.cgi?id=396
Marc Herbert <marc.herbert+mindrot at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.herbert+mindrot at gmail.
| |com
--- Comment #14
2016 Apr 17
1
Solved: Communication in for() loop (Linux version)
Thanks for the advice I've received.
FYI - It turns out that the problem was connected to the way R handles
pipes and FIFOs, compared to the way the socat command does. (I don't
know exactly what, but trying different things solved it!)
I found that if you use FIFO() in R AND set up a FIFO connection in a
terminal and then use SOCAT to communicate, it becomes reliable (at
least for sending commands to a UDP connection). I wasn't sure wh...
2009 Feb 13
3
forward the dbus session?
Am I crazy for thinking about forwarding the DBUS session over an ssh
connection much like the X session is forwarded?
I've proven the concept with socat (to use the unix socket that dbus
normally listens on rather than reconfiguring dbus to use a tcp socket)
and it works just as expected.
Any reason we wouldn't want openssh doing this natively?
b.