-
Notifications
You must be signed in to change notification settings - Fork 0
Fix network interface enumeration on Mono #28
Copy link
Copy link
Open
Labels
area: BCLThis issue affects the Mono class librariesThis issue affects the Mono class librariesos: iThis issue affects iThis issue affects ipriority; lowThis issue isn't too importantThis issue isn't too importantstatus: blocked upstreamThis issue is upstream in areas beyond our controlThis issue is upstream in areas beyond our controltype: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
area: BCLThis issue affects the Mono class librariesThis issue affects the Mono class librariesos: iThis issue affects iThis issue affects ipriority; lowThis issue isn't too importantThis issue isn't too importantstatus: blocked upstreamThis issue is upstream in areas beyond our controlThis issue is upstream in areas beyond our controltype: bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Right now Mono can't enumerate network interfaces; it assumes none are installed. What's happening is Mono assumes in the default Unix interface enumerator class that it can list them off with
getifaddrs, which isn't present under AIX, and is available in a different form with a different name under i. What can be done is writing a backend or two usingSIOCGIFCONFbased enumeration for AIX; and perhaps one usingQp2getifaddrsunder i. (Alternatively, we could point to a wrapper library, but this is a pain.)This is of relatively high importance because the Socket class uses these to enumerate supported network protocols; and that is used by things like DNS. Fixing this will enable a huge swath of tests under AIX CI. Right now, upstream is in the middle of refactoring this, so I don't know if I should wait for them to finish or not.
In the mean time, our binary builds supply a patch to nop out the check for interfaces in Sockets init.