Message-ID: Date: Thu, 9 Feb 2023 22:09:45 +0200 MIME-Version: 1.0 Content-Language: en-US References: <20230209153658.24001-1-ynezz@...2710...> From: Mykhailo Mishchenko In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] get_addr_generic: fix server crash in freeaddrinfo on musl libc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Gert Doering Cc: openvpn-devel@lists.sourceforge.net On 09.02.23 21:38, Gert Doering wrote: > CNs with commas in them are a long-standing issue, because OpenVPN > doesn't know how to deal with them. So, don't do that. Ugh... Sometimes it is just not realistic to reissue certificates. :( It would be great to at least have it mentioned in BUGS section of the man page. On 09.02.23 21:38, Gert Doering wrote: > (There is an old Trac ticket about it, but nobody went out and fixed > the code yet - which is tricky, as you can't just change the format > of ifconfig-pool-persist without breaking existing setups) I would escape the comma with backslash, for example. It would only break those setups, which are already broken because they have a comma in a CN of a client certificate. But maybe there are reasons why this is also problematic, and I just don't know about them. Mykhailo