[Bug 1420] BSM support on Mac OS X

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Jan 3 11:32:46 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1420





--- Comment #6 from Disco Vince Giffin <vgiffin at apple.com>  2008-01-03 11:32:43 ---
(In reply to comment #5)
> (In reply to comment #4)
> > This, unfortunately, does not cope with IPv6 addresses.  I have filed a
> > bug in our system to have this addressed.
> 
> The code I posted (attachment #1422 [details]) does cope with IPv6 addresses, but
> since the original patch doesn't I'm not sure that it will write a
> record of the correct format.
> 
> On Solaris, AU_IPv6 = 16 and AU_IPv4 = 4.  (There's also  comment in
> the header about them being the sizes of the addresses which might
> cause trouble down the track if code assumes that's always the case and
> another address types happen to be 16 bytes...)
> 
> From patch 1417, it appears that Apple have made record type 0 to be
> IPv4, the question is what's IPv6?  My patch assumes 1.

When this patch was created, we only supported IPv4 so the type was
just set to 0 (and not used).  I expect that we will adopt the types
that are used in OpenBSM (AU_IPv6 = 16 and AU_IPv4 = 4) when IPv6
support is added.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list