[gnutls-devel] GnuTLS | gnutls-serv: improvements in UDP server (!863)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jan 23 16:41:29 CET 2019


Nikos Mavrogiannopoulos commented on a discussion on src/udp-serv.c:

>  		    recvfrom(sock, buffer, sizeof(buffer)-1, MSG_PEEK,
>  			     (struct sockaddr *) &cli_addr,
>  			     &cli_addr_size);
> -		if (ret > 0) {
> +
> +		/* only accept a valid client hello */
> +		if (ret > 13 && buffer[0] == 22 && buffer[13] == 1) {

Certainly. Sent an update.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/863#note_134192468
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190123/18e4792e/attachment.html>


More information about the Gnutls-devel mailing list