This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients David.Edelsohn, Michael.Felt, italip, miss-islington, ncoghlan, pitrou, serhiy.storchaka, taleinat
Date 2019-07-15.14:50:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <76714338-2205-59fc-acd1-6ec5b6520e7a@felt.demon.nl>
In-reply-to <1563136122.66.0.626834283427.issue28009@roundup.psfhosted.org>
Content
On 14/07/2019 22:28, Tal Einat wrote:
> Tal Einat <taleinat@gmail.com> added the comment:
>
>>> The current code and proposed changes use 'netstat -ia' to find the node however if netstat needs to perform a reverse DNS query to resolve some interfaces this makes using uuid1 *really* slow especially when reverse DNS queries aren't set up correctly or timeout.
>>>    mac = _find_mac_netstat('netstat', '-ia', b'Address', lambda i: i)
>>>
>>> Would it be possible to change the netstat call to add 'n' to the nestat options, i.e. _find_mac_netstat('netstat', '-ian', ...) to prevent netstat from attempting to resolve addresses?
>> Sounds like an excellent idea. Gives me a reason to get started again. Thx!
> I don't see this in PR GH-28009; should this change be made?
I am testing with "-ian" - on top of the changes you have already made.
I'll push asap, assuming all goes well.
>
> ----------
> nosy: +taleinat
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue28009>
> _______________________________________
>
History
Date User Action Args
2019-07-15 14:50:10Michael.Feltsetrecipients: + Michael.Felt, ncoghlan, pitrou, taleinat, serhiy.storchaka, David.Edelsohn, italip, miss-islington
2019-07-15 14:50:10Michael.Feltlinkissue28009 messages
2019-07-15 14:50:10Michael.Feltcreate