Menu

#15 nntpd is broken under NetBSD (ioctl (SIOCGIFCONF))

1.11
closed-fixed
5
2009-03-23
2009-03-21
No

leafnode uses ioctl (SIOCGIFCONF) in a way incompatible with NetBSD-5.

See details here
http://mail-index.netbsd.org/tech-userlevel/2009/03/21/msg001898.html

NetBSD developers recomend to use getifaddrs(3) API available in NetBSD and FreeBSD for many years.
getifaddrs(3) is also available under OpenBSD.

Discussion

  • Matthias Andree

    Matthias Andree - 2009-03-23

    Hi Aleksey,

    thanks for the research and the solution. I've gone for the solution that Roy Marples (of dhcpcd fame) has suggested, rather than the system-specific getifaddrs(), since the latter isn't available on Solaris or Linux.

    While I was at it, I also added support to obtain netmasks for IP aliases on BSD. This is to appear in leafnode 1.11.7.

    Thanks for the report.

     
  • Matthias Andree

    Matthias Andree - 2009-03-23
    • assigned_to: nobody --> m-a
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.