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 italip
Recipients David.Edelsohn, Michael.Felt, italip, pitrou, serhiy.storchaka
Date 2019-02-14.22:57:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550185047.06.0.653372330925.issue28009@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2019-02-14 22:57:27italipsetrecipients: + italip, pitrou, serhiy.storchaka, David.Edelsohn, Michael.Felt
2019-02-14 22:57:27italipsetmessageid: <1550185047.06.0.653372330925.issue28009@roundup.psfhosted.org>
2019-02-14 22:57:27italiplinkissue28009 messages
2019-02-14 22:57:26italipcreate