Re: Help with UDP load balancing passive health checks

2022-02-25 Thread Sergey Kandaurov
> On 25 Feb 2022, at 08:30, Pawel Fraczek wrote: > > Thanks for the explanation. Sorry if I'm being dense but is there some way > to get udp passive health check to fail to the next server? > > Meaning,based on my configuration, am I doing something wrong or is this > simply unavailable wit

Re: Help with UDP load balancing passive health checks

2022-02-24 Thread Pawel Fraczek
Thanks for the explanation. Sorry if I'm being dense but is there some way to get udp passive health check to fail to the next server? Meaning,based on my configuration, am I doing something wrong or is this simply unavailable with udp? Thanks On Thu, Feb 24, 2022, 1:31 AM Sergey Kandaurov wr

Re: Help with UDP load balancing passive health checks

2022-02-24 Thread Sergey Kandaurov
> On 23 Feb 2022, at 06:45, Pawel Fraczek wrote: > > Hi, I'm trying to building a syslog load balancer and I'm running into issues > with the failover of UDP messages. TCP works just fine, when the server goes > down, all messages failover to the active server. But with UDP, that does not >

Help with UDP load balancing passive health checks

2022-02-22 Thread Pawel Fraczek
Hi, I'm trying to building a syslog load balancer and I'm running into issues with the failover of UDP messages. TCP works just fine, when the server goes down, all messages failover to the active server. But with UDP, that does not happen. Maybe someone can point me to what I'm doing wrong. Below

Re: UDP Load balancing - [Solved]

2020-04-23 Thread Andrei
On Wed, Apr 22, 2020 at 4:22 AM deprito wrote: > Hello @arigatox, > > do you mind share with me, how to LB UDP protocol like wireguard? > > My nginx.conf > user www-data; > worker_processes auto; > pid /run/nginx.pid; > include /etc/nginx/modules-enabled/*.conf; > > stream { > > upstream syslog_u

Re: UDP Load balancing - [Solved]

2020-04-21 Thread deprito
Hello @arigatox, do you mind share with me, how to LB UDP protocol like wireguard? My nginx.conf user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; stream { upstream syslog_udp { server x.x.x.x:51820; server x.x.x.x:51820; } se

Re: UDP Load balancing - [Solved]

2020-01-28 Thread arigatox
Excellent! I upgraded to 1.16.1 and udp load balancing is working as expected. Thank you again Roman. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286837,286842#msg-286842 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org

Re: UDP Load balancing

2020-01-28 Thread arigatox
Thanks Roman, I will try a newer version and let you know Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286837,286841#msg-286841 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: UDP Load balancing

2020-01-28 Thread Roman Arutyunyan
Hi, On Tue, Jan 28, 2020 at 08:52:53AM -0500, arigatox wrote: > Hi, I am testing nginx as a reverse proxy/load balancer for UDP. I have > configured the upstream servers, and it is working fine, except one issue > that is driving me crazy. > > It seems that nginx does not keep the udp source port

UDP Load balancing

2020-01-28 Thread arigatox
Hi, I am testing nginx as a reverse proxy/load balancer for UDP. I have configured the upstream servers, and it is working fine, except one issue that is driving me crazy. It seems that nginx does not keep the udp source ports between requests. It changes the source port on every request. So I can

Re: UDP load balancing and ephemeral ports

2018-07-17 Thread Maxim Dounin
Hello! On Tue, Jul 17, 2018 at 10:13:35AM -0400, bwmetc...@gmail.com wrote: > Cool. Thanks. Slightly related... given that the proxy_timeout is 10m by > default, can ephemeral ports on the backend be shared by different clients > making requests to nginx? No. The port is bound to a session wi

Re: UDP load balancing and ephemeral ports

2018-07-17 Thread bwmetc...@gmail.com
Cool. Thanks. Slightly related... given that the proxy_timeout is 10m by default, can ephemeral ports on the backend be shared by different clients making requests to nginx? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280540,280552#msg-280552 _

Re: UDP load balancing and ephemeral ports

2018-07-17 Thread Maxim Dounin
Hello! On Mon, Jul 16, 2018 at 08:27:07PM -0400, bwmetc...@gmail.com wrote: > A couple of questions regarding UDP load balancing. If a UDP listener is > configured to expect a response from its upstream nodes, is it possible to > have another IP outside of the pool of upstream nod

UDP load balancing and ephemeral ports

2018-07-16 Thread bwmetc...@gmail.com
Hello, A couple of questions regarding UDP load balancing. If a UDP listener is configured to expect a response from its upstream nodes, is it possible to have another IP outside of the pool of upstream nodes send a response to the ephemeral port where nginx is expecting a response? I'm p

Re: UDP Load balancing

2018-01-22 Thread Payam Chychi
On Mon, Jan 22, 2018 at 6:02 AM Sékine Coulibaly wrote: > Hi, > > I'm evaluating Nginx Plus for a UDP Load Balancer but can't make it work. > The packets are spoofed correctly on the LB side (as seen with tcpdump, > where I can see packets created, the source IP being the one of the client, > the

UDP Load balancing

2018-01-22 Thread Sékine Coulibaly
Hi, I'm evaluating Nginx Plus for a UDP Load Balancer but can't make it work. The packets are spoofed correctly on the LB side (as seen with tcpdump, where I can see packets created, the source IP being the one of the client, the destination the one of the selected upstream). However, on the upstr

Re: UDP load balancing - 1 new socket for each incoming packet?

2016-09-01 Thread Roman Arutyunyan
Hello, On Thu, Sep 01, 2016 at 02:58:50PM +0800, Gwenole Gendrot wrote: > Hi, > > > I've been using nginx 1.11.3 to test the UDP load balancing feature, using a > "basic" configuration. > The functionality is working out of the box, but a new socket will b

UDP load balancing - 1 new socket for each incoming packet?

2016-08-31 Thread Gwenole Gendrot
Hi, I've been using nginx 1.11.3 to test the UDP load balancing feature, using a "basic" configuration. The functionality is working out of the box, but a new socket will be created by the proxy for each packet sent from a client (to the same connection). This leads to reso