search for: reuseaddr

Displaying 18 results from an estimated 18 matches for "reuseaddr".

2020 Sep 22
2
Running samba in Kubernetes
...ocket 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 tcp-listen:2377,fork,reuseaddr unix-connect:/var/lib/samba/winbindd_privileged/pipe root????? 1133???? 1? 0 Sep17 ???????? 00:00:00 /usr/bin/socat -dd tcp-listen:2376,fork,reuseaddr unix-connect:/run/samba/winbindd/pipe root????? 2904???? 1? 0 Sep18 ???????? 00:00:04 winbindd -s /etc/samba/smb.conf root????? 2906? 2904? 0 Sep...
2020 Sep 22
0
Running samba in Kubernetes
...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 > tcp-listen:2377,fork,reuseaddr > unix-connect:/var/lib/samba/winbindd_privileged/pipe > root????? 1133???? 1? 0 Sep17 ???????? 00:00:00 /usr/bin/socat -dd > tcp-listen:2376,fork,reuseaddr unix-connect:/run/samba/winbindd/pipe > root????? 2904???? 1? 0 Sep18 ???????? 00:00:04 winbindd -s > /etc/samba/smb.conf >...
2014 Dec 15
0
[PATCH] p2v: avoid connecting to ourself while probing qemu-nbd (RHBZ#1167774)
...tions(+), 6 deletions(-) diff --git a/p2v/conversion.c b/p2v/conversion.c index 4ff7ecc..14e7b3b 100644 --- a/p2v/conversion.c +++ b/p2v/conversion.c @@ -398,7 +398,8 @@ wait_qemu_nbd (int nbd_local_port, int timeout_seconds) { int sockfd; int result = -1; - struct sockaddr_in addr; + int reuseaddr = 1; + struct sockaddr_in src_addr, dst_addr; time_t start_t, now_t; struct timeval timeout = { .tv_usec = 0 }; char magic[8]; /* NBDMAGIC */ @@ -413,10 +414,40 @@ wait_qemu_nbd (int nbd_local_port, int timeout_seconds) return -1; } - memset (&addr, 0, sizeof addr); - addr...
2014 Dec 15
2
[PATCH v2 0/1] p2v: avoid connecting to ourself while probing qemu-nbd
Changes since v1: - Set probing source port to be nbd_local_port+1 instead of always using 50124 to deal with multi-disk scenario. - Set SO_REUSEADDR on client socket to avoid issues with old connections in TIME_WAIT. I've been running this for a few hours now using the updated multi-disk test and haven't seen any problems.
2010 Feb 27
3
Port Redirection
...AT --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, find bugs proactively, and fine-tune applic...
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
2018 Jan 31
2
[nbdkit PATCH] tests: test-single: create the fake disk
...9dc462b 100755 --- a/tests/test-single.sh +++ b/tests/test-single.sh @@ -45,11 +45,13 @@ if ! qemu-img --help >/dev/null; then exit 77 fi -files="single.sock" +files="single.sock single.disk" rm -f $files +truncate -s 1G single.disk + socat unix-listen:single.sock,reuseaddr,fork \ - exec:'nbdkit -r -s file file=disk' & + exec:'nbdkit -r -s file file=single.disk' & pid=$! cleanup () -- 2.14.3
2017 Feb 03
5
[PATCH 0/5] Support socket activation in virt-p2v.
As the subject says, support socket activation in virt-p2v. I have added upstream support for socket activation to nbdkit already: https://github.com/libguestfs/nbdkit/commit/7ff39d028c6359f5c0925ed2cf4a2c4c751af2e4 I posted a patch for qemu-nbd, still waiting on more reviews for that one: https://www.mail-archive.com/qemu-devel@nongnu.org/msg427246.html I tested this against old and new qemu
2018 May 29
2
auth: Error - Request timed out
...ver using iptables (no idea how to do this with > socket based), and try authenticating while access is blocked. It > should, hopefully, reproduce this error. You could try to remove the socket file when mysql is running and then using socat: socat UNIX-LISTEN:/var/lib/mysql/mysql.sock,fork,reuseaddr,unlink-early,mode=777 TCP:127.0.0.1:3306 Best regards Gerald
2011 Apr 16
3
calling dovecot exported auth from Java
As far as I have been able to figure out, dovecot auth always works over a Unix domain socket. I believe it is not currently possible to operate dovecot auth over an Internet domain (TCP) socket. Am I correct? I want to call dovecot's exported authentication from a Java application. Java doesn't natively know how to talk to a Unix domain socket, so there are inconveniences. There
2018 May 30
0
auth: Error - Request timed out
...o idea how to do this with >> socket based), and try authenticating while access is blocked. It >> should, hopefully, reproduce this error. > You could try to remove the socket file when mysql is running and then using socat: > > socat UNIX-LISTEN:/var/lib/mysql/mysql.sock,fork,reuseaddr,unlink-early,mode=777 TCP:127.0.0.1:3306 > > Best regards > Gerald > > Thanks for your help. Unfortunately iam not able to reproduce this manually. Bei blocking port with iptables or manipulating the socket dovecot always log correctly the disconnection. After unblock port or reest...
2018 Sep 07
0
[PATCH nbdkit 3/6] file: Make the file= parameter into a magic config key.
..., NULL) == -1) exit (EXIT_FAILURE); diff --git a/tests/test-single.sh b/tests/test-single.sh index dc6ce34..35017c8 100755 --- a/tests/test-single.sh +++ b/tests/test-single.sh @@ -51,7 +51,7 @@ rm -f $files truncate -s 1G single.disk socat unix-listen:single.sock,reuseaddr,fork \ - exec:'nbdkit -r -s file file=single.disk' & + exec:'nbdkit -r -s file single.disk' & pid=$! cleanup () -- 2.18.0
2018 Sep 08
0
[PATCH nbdkit v2 3/6] file: Make the file= parameter into a magic config key.
..., NULL) == -1) exit (EXIT_FAILURE); diff --git a/tests/test-single.sh b/tests/test-single.sh index dc6ce34..35017c8 100755 --- a/tests/test-single.sh +++ b/tests/test-single.sh @@ -51,7 +51,7 @@ rm -f $files truncate -s 1G single.disk socat unix-listen:single.sock,reuseaddr,fork \ - exec:'nbdkit -r -s file file=single.disk' & + exec:'nbdkit -r -s file single.disk' & pid=$! cleanup () -- 2.18.0
2018 May 29
2
auth: Error - Request timed out
Hello, Am 29.05.2018 um 09:22 schrieb Aki Tuomi: > > On 29.05.2018 09:54, Hajo Locke wrote: >> Hello List, >> >> i use dovecot 2.2.22 and have the same problem described here: >> https://dovecot.org/pipermail/dovecot/2017-November/110020.html >> >> I can confirm that sometimes there is a problem with connection to >> mysql-db, but sometimes not.
2018 Sep 07
7
[PATCH nbdkit 0/6] plugins: Implement magic config key.
Remove the need to use file= (and in future other) parameters for many plugins. eg. Using the file plugin becomes: nbdkit file disk.img Rich.
2018 Sep 08
8
[PATCH nbdkit v2 0/6] plugins: Implement magic config key.
v1 was here: https://www.redhat.com/archives/libguestfs/2018-September/msg00024.html v2: - As discussed in the patch review, tighten up the characters permitted in keys. - Update documentation to note that relative paths can be made safe by prefixing with ./ and absolute paths do not need any extra steps. - I pushed patch 1/6 from the v1 series since it was just a trivial
2018 Sep 10
7
[PATCH nbdkit v3 0/6] plugins: Implement magic config key.
v1: https://www.redhat.com/archives/libguestfs/2018-September/msg00024.html v2: https://www.redhat.com/archives/libguestfs/2018-September/msg00034.html v3: - Fixed is_config_key zero length test. - Fixed is_config_key so it uses strspn and is not O(n^2). - Changed >= 1.7 to >= 1.8 in the documentation. Rich.
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am