From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 8D1747CD668; Mon, 18 Jan 2021 23:04:38 +0100 (CET) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 10IM4c1j001904; Mon, 18 Jan 2021 23:04:38 +0100 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id B2C19C58F6; Mon, 18 Jan 2021 23:04:38 +0100 (CET) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id u_HrBthhLHpX; Mon, 18 Jan 2021 23:04:37 +0100 (CET) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 2D643C58F0; Mon, 18 Jan 2021 23:04:37 +0100 (CET) Date: Mon, 18 Jan 2021 23:04:37 +0100 Message-ID: <87mtx5yk96.wl-jch@irif.fr> From: Juliusz Chroboczek To: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= In-Reply-To: <87wnw9rjw7.fsf@toke.dk> References: <87sg6yx7gy.wl-jch@irif.fr> <87zh16q61v.fsf@toke.dk> <87pn21yl6t.wl-jch@irif.fr> <87wnw9rjw7.fsf@toke.dk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.1 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Mon, 18 Jan 2021 23:04:38 +0100 (CET) X-Miltered: at korolev with ID 600605F6.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 600605F6.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 600605F6.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Content-Transfer-Encoding: quoted-printable Message-ID-Hash: TBS7CHEH7Q7WWXSUWRC2MDYZ6IHCMCJU X-Message-ID-Hash: TBS7CHEH7Q7WWXSUWRC2MDYZ6IHCMCJU X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: galene@lists.galene.org X-Mailman-Version: 3.3.2 Precedence: list Subject: [Galene] Re: Heads-up: built-in TURN server List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: >>> Is there any benefit to switching to the built-in one if I already ha= ve >>> a working setup with an external TURN server? >> None at all, and you'd lose IPv6 support. > In that case, would it not be better to only start up the built-in TURN > server if no explicit turn server config is present, instead of > requiring a command-line option to turn it off? If the built-in server is enabled, it will be injected at the end of the ICE configuration, your external server will be used first, with fallback to the built-in server if connectivity cannot be established through the external server. If the built-in server is enabled and uses the same port as your external server, then the bind() call will fail (EADDRINUSE), you'll get a friendl= y log message, and the built-in server will be disabled. The only troublesome case is if the ports are the same, and Gal=E8ne is started before the external TURN server, in which case the external TURN server won't be able to bind its ports. I find the current behaviour simpler to explain than what you suggest, an= d I'm trying to optimise for simplicity. I'm open to different opinions, though, especially if you find any catastrophic failure modes with the current defaults. -- Juliusz