From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks Date: Tue, 17 Jul 2018 07:56:12 +0200 Message-ID: <8736wis8w3.fsf@gmail.com> References: <20180714170806.8972.58581@vcs0.savannah.gnu.org> <20180714170809.C3A3920456@vcs0.savannah.gnu.org> <87o9f84t89.fsf@gmail.com> <4C758D1D-7C3A-425A-852F-75E03C779E01@gmail.com> <87va9fs3ro.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1531806893 4960 195.159.176.226 (17 Jul 2018 05:54:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 05:54:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 07:54:49 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ffIwj-00019t-5A for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 07:54:49 +0200 Original-Received: from localhost ([::1]:57212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffIyo-00068C-3J for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 01:56:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffIyC-000686-Gi for emacs-devel@gnu.org; Tue, 17 Jul 2018 01:56:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffIy7-0006ss-Ml for emacs-devel@gnu.org; Tue, 17 Jul 2018 01:56:20 -0400 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:38823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffIy7-0006sV-Ed for emacs-devel@gnu.org; Tue, 17 Jul 2018 01:56:15 -0400 Original-Received: by mail-wm0-x22b.google.com with SMTP id 69-v6so173919wmf.3 for ; Mon, 16 Jul 2018 22:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=sBk4QYXG+ZIhY90gRuRMmPMwlXzCLH75+Xd+MIBD0UM=; b=WmLkDAYSth0raYoglKzGVobl3ctL5j+PjueTxxFwr6xH5bsszgyROwpEIAIf+JZ2Nx oiW3j3yOY9UtN9ZyTSYHpZ1PDo6neSdUm4LPa97MyrenLzEnUWGX0L+/NKSM5ziK1Dpb RQwHHwzilh/yhq3h04OpHlFxhGfBNFQHNXc4xV+/riJf5lSMV6RBPhe/RAmB6Bbq4a6C Df8UVKiyXGLB/aenKdNDSURErAfX4EHV+4h6mgQq790wxk7MccTXm0FVcPIK+ir4trUF /iY87ZVNb1zLBLs3GVLL2Cqt5bKw3TS+v/SJw/aPqjAwjZnawyutFn8CZ8p2rawxwQv5 if3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=sBk4QYXG+ZIhY90gRuRMmPMwlXzCLH75+Xd+MIBD0UM=; b=okvzJ8aOeiTNXUlH0TLP9LFBlCMlPy0tt5hJYmsDv7CxPYqTAA9ZJYcKWOM2BKK6W9 lKYsiMKNgKH/FRz/EZoYN5kUToV7n+sq6QN04FHCTMAscRnmOOLxXHB+kLTL0pJ7xdc6 SS8TkM2EBOaYPpeXgoCLV0p4TqHEQxYROK66JknQupi3YoLy5M9dYKyvAVO1jYMRHmqm PII/bfQe3NbNYRcvB3rEEye7Z1YCfKdCP+5HKBeEY9NWokhWbidPOaEtewk8cHt67pRY iDiIVXS2uZ7CoXdcS1U/BFPTnTpJzOIGVPbSc9huJL0C0WWYnv7/O9GfvAwZC2gRmiIQ 1DAg== X-Gm-Message-State: AOUpUlGAV6KQ8EQWyTpg201cXsvGp7GXlJQhwBF3+IsrsMoYix1SBHDL fKMnvyNicUCjG7jjk8gUakTHO37c X-Google-Smtp-Source: AAOMgpci4P4L0pOXjPuXId8SChnz8eMVu8EUXXdsqB5nxfNaiUwqAJ9B3EfhN/lgBHUY9QRvX5+shw== X-Received: by 2002:a1c:ec06:: with SMTP id k6-v6mr375377wmh.39.1531806973907; Mon, 16 Jul 2018 22:56:13 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id r125-v6sm381830wmb.27.2018.07.16.22.56.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 22:56:13 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Paul Eggert's message of "Mon, 16 Jul 2018 10:48:36 -0700") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227493 Archived-At: Paul Eggert writes: > Robert Pluim wrote: >> + ret =3D getaddrinfo (SSDATA (name), NULL, &hints, &res); > > Why does the Lisp API always pass NULL here? Shouldn't there be some > way to specify the service at the Lisp level? I don=CA=BCt think that=CA=BCs currently needed at the lisp level, and I di= dn=CA=BCt want to overcomplicate the API. > More generally, there's a lot of code duplication between this new > function and what's already in the implementation of > make-network-process. Intead, make-network-process should call this > new function (or some C variant of it). I guess that would be possible. I=CA=BCll look into it. Robert