Bug 969 - Interface probe code doesn't support IPv6
Interface probe code doesn't support IPv6
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.9.6
Sun Solaris 2.x
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-20 10:41 MDT by Todd C. Miller
Modified: 2021-09-11 15:55 MDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd C. Miller 2021-03-20 10:41:33 MDT
The code in sudo to probe network interfaces doesn't support IPv6.  It should use the SIOCGLIFCONF ioctl where possible (see the if_tcp man page) and SIOCGLIFNUM as well to avoid looping forever.

On Solaris 10/sparc at least it is possible for get_net_ifs() to fail to return.
Comment 1 Todd C. Miller 2021-04-26 13:05:37 MDT
Support for this will land in sudo 1.9.7.
Comment 2 Todd C. Miller 2021-05-12 07:36:40 MDT
Fixed in sudo 1.9.7