search for: reuseport

Displaying 5 results from an estimated 5 matches for "reuseport".

Did you mean: reuse_port
2013 Oct 25
2
[PATCH] support SO_REUSEPORT on new listeners (:reuseport)
This allows users to start an independent instance of unicorn on a the same port as a running unicorn (as long as both instances use :reuseport). ref: https://lwn.net/Articles/542629/ --- lib/unicorn/configurator.rb | 19 +++++++++++++++++++ lib/unicorn/socket_helper.rb | 30 ++++++++++++++++++++++-------- test/unit/test_socket_helper.rb | 8 ++++++++ 3 files changed, 49 insertions(+), 8 deletions(-) diff --git a/lib/unicorn/con...
2013 Nov 04
2
Unicorn 4.7.0 tests fail on OSX 10.7.5 and debian squeeze
...62bf20711bae22e6697ad46141434 that breaks the tests. I am using an old(ish) version of ruby: 1.9.3p125, but I don''t think that should matter. The error I get when I test 4.7.0 on OSX 10.7.5: : Finished tests in 0.041678s, 263.9282 tests/s, 1943.4714 assertions/s. : : 1) Failure: : test_reuseport(TestSocketHelper) [test/unit/test_socket_helper.rb:193]: : <1> expected but was : <512>. : : 11 tests, 81 assertions, 1 failures, 0 errors, 0 skips I don''t see how the current test can be platform independent. The following diff fixes OSX for me: diff --git a/test/unit/tes...
2019 Dec 28
2
tinydns to nsd
...# nsd-control delzone test.xaq.nl error zone defined in nsd.conf, cannot delete it in this manner: remove it from nsd.conf yourself and repattern The output of "nsd-checkconf -v /etc/nsd/nsd.conf": server: debug-mode: no ip-transparent: no ip-freebind: no reuseport: no do-ip4: yes do-ip6: no hide-version: yes database: "" #identity: #version: #nsid: #logfile: server-count: 1 tcp-count: 100 tcp-query-count: 0 tcp-timeout: 120 tcp-mss: 0 out...
2010 Mar 04
1
Making tftpd (hpa) firewall frienldy
...Tested on linux 2.6.18 (Centos5) and FreeBSD 7.0. You would execute it like below (which basically makes tftp reply back with same port is listening on ) tftpd --port-range 69:69 -4 -s /tftpboot/ --- tftp-hpa-0.49/tftpd/tftpd.c 2008-10-21 01:08:31.000000000 +0300 +++ tftp-hpa-0.49-tftpd-reuseport.c 2010-03-03 15:19:26.000000000 +0200 @@ -524,6 +524,11 @@ #ifndef __CYGWIN__ set_socket_nonblock(fd4, 1); #endif + { int x = 1; setsockopt (fd4, SOL_SOCKET, SO_REUSEADDR, &x, sizeof (x)); } +#ifdef SO_REUSEPORT + { int x = 1; setsockopt (fd4, SOL_SOCKET, SO_REUSEPORT , &...
2020 Mar 30
2
Some problems with Unbound under CentOS8
Hi Stephen, Many thanks for your answer. Unbound under OpenBSD is compiled with few options: Version 1.9.4 Configure line: --enable-allsymbols --with-ssl=/usr --with-libevent=/usr --with-libexpat=/usr --without-pythonmodule --with-chroot-dir=/var/unbound --with-pidfile= --with-rootkey-file=/var/unbound/db/root.key --with-conf-file=/var/unbound/etc/unbound.conf --with-username=_unbound