[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local net
From: |
Andy Moreton |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
On Mon 16 Jul 2018, Robert Pluim wrote:
> Jimmy Yuen Ho Wong <address@hidden> writes:
>
>>> On 15 Jul 2018, at 12:46 pm, Robert Pluim <address@hidden> wrote:
>>>
>>> address@hidden (Jimmy Yuen Ho Wong) writes:
>>>
>>>> branch: netsec
>>>> commit 682578fcf74d4598e39eca81e09d81810d3fc28d
>>>> Author: Jimmy Yuen Ho Wong <address@hidden>
>>>> Commit: Jimmy Yuen Ho Wong <address@hidden>
>>>>
>>>> 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])
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, (continued)
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Eli Zaretskii, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Eli Zaretskii, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Jimmy Yuen Ho Wong, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Stefan Monnier, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Eli Zaretskii, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Stefan Monnier, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks,
Andy Moreton <=
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Jimmy Yuen Ho Wong, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Paul Eggert, 2018/07/16
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/17
- Re: netsec 682578f 4/6: Add option to bypass NSM TLS checks on local networks, Robert Pluim, 2018/07/17