OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: updated ipv6 patch for postfix

Re: updated ipv6 patch for postfix


Subject: Re: updated ipv6 patch for postfix
From: $B?LC#:H(
Date: Wed Jan 19 2000 - 05:02:57 CST


>>>>> On Wed, 19 Jan 2000 10:43:07 +0000,
>>>>> Philip Blundell <pblabs.futuretv.com> said:

> In message <6041.948277298coconut.itojun.org>, itojuniijlab.net writes:
>>
>>> http://www.misiek.eu.org/ipv6/postfix-19991231-pl02-ipv6-18012000.patch.gz
>>> few bugs fixed (new bugs introduced ;-)
>>> see README.v6 for more
>>> btw. someone know witch ioctl allows to get local IPv6 addresses ?
>>
>> I believe SIOCGIFCONF is the only one widely available.
>> other ones (SIOCGIFADDR_IN6) varies by implementation to implementation

> SIOCGIFCONF is no good for this on Linux. The sockaddr_in6 structure is too
> big to fit inside struct ifreq.

(Sorry for my ignorance of linux)

So what happens if you invoke ioctl(SIOCGIFCONF) on a linux box that
has IPv6 addresses? Kernel panic? Ioctl error?

Sockaddr_in6 does not fit in ifreq{} in BSDs, either. But it doesn't
matter for us if we carefully parse the result of the ioctl.

                                        JINMEI, Tatuya
                                        Communication Platform Lab.
                                        Corporate R&D Center, Toshiba Corp.
                                        jinmeiisl.rdc.toshiba.co.jp



This archive was generated by hypermail 2b27 : Wed Jan 19 2000 - 13:50:56 CST