Template Version: @(#)sac_nextcase 1.70 03/30/10 SMI
This information is Copyright (c) 2010, Oracle and/or its affiliates. All
rights reserved.
1. Introduction
1.1. Project/Component Working Name:
SIOCGIFHWADDR for PF_INET and PF_INET6
1.2. Name of Document Author/Supplier:
Author: Darren Reed
1.3 Date of This Document:
05 May, 2010
4. Technical Description
This case seeks to introduce a new ioctl for PF_INET and PF_INET6 sockets,
SIOCGIFHWADDR. This ioctl is already supported for PF_PACKET sockets and
is being brought into IP for better compatibility with open source projects.
This case seeks minor binding. As this case is rather obvious and straight
forward, I'm filing it as automatic approval.
Details
=======
For better or worse, various open source applications configure themselves
at build time by looking for various symbols in header files. The presence
of this particular symbol, SIOCGIFHWADDR, is taken to indicate that the
kernel supports it on all of the relevant networking sockets. This becomes
a problem when an attempt is made to compile open source applications such
as nmap[1].
Without supporting this ioctl for PF_INET/PF_INET6, it would be necessary
for an application wanting to use PF_PACKET (or BPF) to link against the
DLPI library in order to lookup the MAC address of a network interface.
Whilst functional, it is hardly desirable to develop in this fashion and
most applications expect to function entirely with PF_PACKET, BPF or DLPI.
At present, only the "struct ifreq" version of SIOCGIFHWADDR is planned
as the primary focus of this effort is compatibility and a "struct lifreq"
version of this ioctl is not present in other implementations. The work
in this case does not preclude such an extension at a later time.
The classification, semantics and stability for this ioctl on PF_INET
and PF_INET6 sockets are the same as in PSARC/2009/232.
[1] - nmap-dev mailing list http://seclists.org/nmap-dev/2010/q2/49
6. Resources and Schedule
6.4. Steering Committee requested information
6.4.1. Consolidation C-team Name:
ON
6.5. ARC review type: Automatic
6.6. ARC Exposure: open
_______________________________________________
opensolaris-arc mailing list
[email protected]