Re: DTLS patches

2018-02-21 Thread Wang Shanker
> 在 2018年2月21日,23:34,Vladimir Homutov 写道: > >> On Wed, Feb 21, 2018 at 10:44:00PM +0800, Wang Shanker wrote: >> Hi, >> >> I noticed that you have introduced `ngx_event_udp_accept()`, which can >> create a separate socket for receiving datagrams from a specific client. >> I understand that it i

Re: DTLS patches

2018-02-21 Thread Vladimir Homutov
On Wed, Feb 21, 2018 at 10:44:00PM +0800, Wang Shanker wrote: > Hi, > > I noticed that you have introduced `ngx_event_udp_accept()`, which can > create a separate socket for receiving datagrams from a specific client. > I understand that it is necessary for DTLS servers. However I wonder > why it i

Re: DTLS patches

2018-02-21 Thread Wang Shanker
Hi, I noticed that you have introduced `ngx_event_udp_accept()`, which can create a separate socket for receiving datagrams from a specific client. I understand that it is necessary for DTLS servers. However I wonder why it is also called for normal udp servers. For udp servers listening on a

Re: DTLS patches

2018-02-21 Thread Wang Shanker
Hi, of course. I'm implementing RFC8094, which is for transmitting dns queries through DTLS. Nginx is used for offloading DTLS encryption and the software behind nginx is bind9. Cheers, Miao Wang > 在 2018年02月21日,22:12,Vladimir Homutov 写道: > > On Wed, Feb 21, 2018 at 08:47:37AM -0500, shankerwa

Re: DTLS patches

2018-02-21 Thread Vladimir Homutov
On Wed, Feb 21, 2018 at 08:47:37AM -0500, shankerwangmiao wrote: > > I have tested this patch in my environment. Before the patch is applied, > `tcp_nodelay off` needs to be placed in every `server` clause with DTLS > enabled to work the problem around. > Hello, can you please elaborate about your

Re: DTLS patches

2018-02-21 Thread shankerwangmiao
Vladimir Homutov Wrote: --- > On Wed, Feb 21, 2018 at 12:18:27PM +0800, Wang Shanker wrote: > > Hi, Vladimir > > > > `ngx_stream_ssl_init_connection` trys to set tcp_nodelay on the > given connection. > > The following patch adds a test for the ty

Re: DTLS patches

2018-02-21 Thread Vladimir Homutov
On Wed, Feb 21, 2018 at 12:18:27PM +0800, Wang Shanker wrote: > Hi, Vladimir > > `ngx_stream_ssl_init_connection` trys to set tcp_nodelay on the given > connection. > The following patch adds a test for the type of connection before set. > > Cheers, > > Miao Wang > > diff --git a/src/stream/ngx_st

Re: DTLS patches

2018-02-20 Thread Wang Shanker
Hi, Vladimir `ngx_stream_ssl_init_connection` trys to set tcp_nodelay on the given connection. The following patch adds a test for the type of connection before set. Cheers, Miao Wang diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c index f85bbb6..36f7fdd

Re: DTLS patches

2017-05-18 Thread George
thanks Vladimir :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274289,274312#msg-274312 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: DTLS patches

2017-05-18 Thread Vladimir Homutov
On Thu, May 18, 2017 at 10:29:16AM -0400, George wrote: > thanks for sharing. Is it necessary to compile with --with-debug ? > no, it will work without debug as well ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: DTLS patches

2017-05-18 Thread George
thanks for sharing. Is it necessary to compile with --with-debug ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274289,274299#msg-274299 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

DTLS patches

2017-05-18 Thread Vladimir Homutov
Hello all, For all those interested in testing DTLS support, experimental patch is now available at http://nginx.org/patches/dtls/ Check the README.txt for details . If you have any feedback, please report to this thread. ___ nginx mailing list nginx@n