Bug 969

Summary: Interface probe code doesn't support IPv6
Product: Sudo Reporter: Todd C. Miller <Todd.Miller>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal CC: mehmetgelisin
Priority: low    
Version: 1.9.6   
Hardware: Sun   
OS: Solaris 2.x   

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