all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks
Date: Mon, 16 Jul 2018 18:06:44 +0100	[thread overview]
Message-ID: <vz1d0vn5cuz.fsf@gmail.com> (raw)
In-Reply-To: 87va9fs3ro.fsf@gmail.com

On Mon 16 Jul 2018, Robert Pluim wrote:

> Jimmy Yuen Ho Wong <wyuenho@gmail.com> writes:
>
>>> On 15 Jul 2018, at 12:46 pm, Robert Pluim <rpluim@gmail.com> wrote:
>>> 
>>> wyuenho@gmail.com (Jimmy Yuen Ho Wong) writes:
>>> 
>>>> branch: netsec
>>>> commit 682578fcf74d4598e39eca81e09d81810d3fc28d
>>>> Author: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
>>>> Commit: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
>>>> 
>>>>    Add option to bypass NSM TLS checks on local networks
>>>> 
>>>>    * lisp/net/net-utils.el (nslookup-host-ipv4, nslookup-host-ipv6,
>>>>      ipv6-expand): New functions to lookup IPv4 and IPv6 addresses from
>>>>      DNS.
>>> 
>>> So this only works for people who have nslookup installed? Emacs
>>> already uses getaddrinfo internally, would it help you if there was a
>>> lisp-level interface to it?
>>> 
>>
>> Yes it would. I was asking for that exact same thing :) lend me a hand on this?
>
> Iʼm terrible at choosing names, please suggest better ones
> (hostname-lookup, gethostbyname,....?). Output currently looks like
> this, including a port number, but thatʼs easily changed:

Given that we already have `network-interface-list' and
`network-interface-info' I think this should be named `network-address-info'.

Your patch works on Windows 10 (64bit mingw64 MSYS2):

ELISP> (get-address-info "www.slashdot.org" 'ipv4)
([216 105 38 15 0])

ELISP> (get-address-info "google.com")
([216 58 213 110 0])





  parent reply	other threads:[~2018-07-16 17:06 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180714170806.8972.58581@vcs0.savannah.gnu.org>
     [not found] ` <20180714170809.C3A3920456@vcs0.savannah.gnu.org>
2018-07-15 11:46   ` netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks Robert Pluim
2018-07-15 15:34     ` Jimmy Yuen Ho Wong
2018-07-16 13:34       ` Robert Pluim
2018-07-16 15:00         ` Eli Zaretskii
2018-07-16 15:24           ` Jimmy Yuen Ho Wong
2018-07-16 17:59             ` Eli Zaretskii
2018-07-16 16:23           ` Robert Pluim
2018-07-16 17:16             ` Jimmy Yuen Ho Wong
2018-07-16 17:46               ` Robert Pluim
2018-07-16 18:09             ` Eli Zaretskii
2018-07-17 10:09               ` Robert Pluim
2018-07-17 15:50                 ` Eli Zaretskii
2018-07-17 15:53                   ` Robert Pluim
2018-07-17 16:17                     ` Robert Pluim
2018-07-17 17:15                       ` Eli Zaretskii
2018-07-17 18:00                         ` Robert Pluim
2018-07-16 15:31         ` Jimmy Yuen Ho Wong
2018-07-16 16:14           ` Stefan Monnier
2018-07-16 16:36             ` Robert Pluim
2018-07-16 18:11               ` Eli Zaretskii
2018-07-16 18:24               ` Stefan Monnier
2018-07-16 17:06         ` Andy Moreton [this message]
2018-07-16 17:15           ` Jimmy Yuen Ho Wong
2018-07-16 17:48         ` Paul Eggert
2018-07-17  5:56           ` Robert Pluim
2018-07-17 18:07             ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vz1d0vn5cuz.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.