From sacadmin Fri May 15 06:58:20 2009
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FDwKTN020457;
	Fri, 15 May 2009 06:58:20 -0700 (PDT)
Received: (from carlsonj@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n4FDwKtE020453;
	Fri, 15 May 2009 06:58:20 -0700 (PDT)
Date: Fri, 15 May 2009 06:58:20 -0700 (PDT)
From: James Carlson <carlsonj@sac.sfbay.sun.com>
Message-Id: <200905151358.n4FDwKtE020453@sac.sfbay.sun.com>
To: PSARC-record@sac.sfbay.sun.com
Subject: IP PROMISC Flag [PSARC/2009/304 FastTrack timeout 05/22/2009]
Status: RO
Content-Length: 552


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 IP PROMISC Flag
    1.2. Name of Document Author/Supplier:
	 Author:  Girish Moodalbail
    1.3  Date of This Document:
	15 May, 2009
4. Technical Description
    See the case directory for more detail

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From carlsonj@phorcys.east.sun.com Fri May 15 07:03:51 2009
Received: from dm-east-01.east.sun.com (dm-east-01.East.Sun.COM [129.148.9.192])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FE3pD7020576
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 07:03:51 -0700 (PDT)
Received: from phorcys.east.sun.com (phorcys.East.Sun.COM [129.148.174.143])
	by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FE3orZ022735;
	Fri, 15 May 2009 10:03:50 -0400 (EDT)
Received: from phorcys.east.sun.com (phorcys.local [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n4FE2vvm018050;
	Fri, 15 May 2009 10:02:57 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id n4FE2vBa018047;
	Fri, 15 May 2009 10:02:57 -0400 (EDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18957.30225.816658.10165@gargle.gargle.HOWL>
Date: Fri, 15 May 2009 10:02:57 -0400
From: James Carlson <james.d.carlson@sun.com>
To: psarc-ext@sac.sfbay.sun.com
cc: "Girish M. G." <Girish.Moodalbail@sun.com>
Subject: 2009/304 IP PROMISC Flag
X-Mailer: VM 7.01 under Emacs 21.3.1
Status: RO
Content-Length: 1892

I'm sponsoring this fast-track request for Girish Moodalbail.  The
timer is set to 05/22/2009.


The release binding is "patch/micro" and consolidation is "ON".  The
stability level of the ifconfig output with new interface flag is 
"Committed".

Problem Definition and Proposal:
---------------------------------

Today the ifconfig(1m) output does not display the promiscuous state
of an underlying physical interface.  The Solaris kernel has all the
provisions to record the promiscuous state of the underlying physical
interface in 'phyint_flags' member variable of struct phyint, but it
does not expose that state using the existing (unused) IFF_PROMISC
flag.

Further, IFF_PROMISC is a standard flag that works on other Unix
variants and we should support it for compatibility.

Making IP subscribe to the DLPI DL_NOTE_PROMISC_ON/OFF_PHYS
notifications and set/reset the IFF_PROMISC flag would fix the
problem.  With this fix the ifconfig(1m) output would have a new
interface flag 'PROMISC' displayed in the output.  (In fact, ifconfig
already supports the flag, but hasn't yet displayed it due to a lack
of kernel support.)

For example:

bash-3.2# ifconfig -a
bge0: flags=1004943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,DHCP,IPv4> 
mtu 1500 index 2
         inet 10.8.48.152 netmask ffffff80 broadcast 10.8.48.255
         ether 0:3:ba:94:2f:56
bge0: flags=2000941<UP,RUNNING,PROMISC,MULTICAST,IPv6> mtu 1500 index 2
         inet6 fe80::203:baff:fe94:2f56/10
         ether 0:3:ba:94:2f:56
bge0:1: flags=2080941<UP,RUNNING,PROMISC,MULTICAST,ADDRCONF,IPv6> mtu 
1500 index 2
         inet6 2002:a08:39f0:3:203:baff:fe94:2f56/64

As shown above, all the IP interfaces defined on 'bge0' have PROMISC 
interface flag set.

Interface change:

	Name		Stability		Comments
	PROMISC		Committed		ifconfig(1M) flag

The ifconfig(1M) man page will be updated to document the new
interface flag.

From gdamore@sun.com Fri May 15 07:57:16 2009
Received: from dm-sfbay-02.sfbay.sun.com (dm-sfbay-02.SFBay.Sun.COM [129.146.11.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FEvGEY021592
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 07:57:16 -0700 (PDT)
Received: from sca-es-mail-2.sun.com (sca-es-mail-2.Sun.COM [192.18.43.133])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FEvG8t048282
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 07:57:16 -0700 (PDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n4FEvBQl009759
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 07:57:11 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJO00G00X328L00@fe-sfbay-10.sun.com> for psarc-ext@sac.sfbay.sun.com;
 Fri, 15 May 2009 07:57:11 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJO002AOXIUKE70@fe-sfbay-10.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 07:56:55 -0700 (PDT)
Date: Fri, 15 May 2009 07:56:54 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <18957.30225.816658.10165@gargle.gargle.HOWL>
Sender: Garrett.Damore@sun.com
To: James Carlson <James.D.Carlson@sun.com>
Cc: psarc-ext@sac.sfbay.sun.com, "Girish M. G." <Girish.Moodalbail@sun.com>
Message-id: <4A0D82B6.5040301@sun.com>
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
User-Agent: Thunderbird 2.0.0.18 (X11/20081201)
Status: RO
Content-Length: 2148

+1.   Although I'm not sure how useful this change will be.  (Is there 
some consuming software that needs/wants this?)

    -- Garrett

James Carlson wrote:
> I'm sponsoring this fast-track request for Girish Moodalbail.  The
> timer is set to 05/22/2009.
>
>
> The release binding is "patch/micro" and consolidation is "ON".  The
> stability level of the ifconfig output with new interface flag is 
> "Committed".
>
> Problem Definition and Proposal:
> ---------------------------------
>
> Today the ifconfig(1m) output does not display the promiscuous state
> of an underlying physical interface.  The Solaris kernel has all the
> provisions to record the promiscuous state of the underlying physical
> interface in 'phyint_flags' member variable of struct phyint, but it
> does not expose that state using the existing (unused) IFF_PROMISC
> flag.
>
> Further, IFF_PROMISC is a standard flag that works on other Unix
> variants and we should support it for compatibility.
>
> Making IP subscribe to the DLPI DL_NOTE_PROMISC_ON/OFF_PHYS
> notifications and set/reset the IFF_PROMISC flag would fix the
> problem.  With this fix the ifconfig(1m) output would have a new
> interface flag 'PROMISC' displayed in the output.  (In fact, ifconfig
> already supports the flag, but hasn't yet displayed it due to a lack
> of kernel support.)
>
> For example:
>
> bash-3.2# ifconfig -a
> bge0: flags=1004943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,DHCP,IPv4> 
> mtu 1500 index 2
>          inet 10.8.48.152 netmask ffffff80 broadcast 10.8.48.255
>          ether 0:3:ba:94:2f:56
> bge0: flags=2000941<UP,RUNNING,PROMISC,MULTICAST,IPv6> mtu 1500 index 2
>          inet6 fe80::203:baff:fe94:2f56/10
>          ether 0:3:ba:94:2f:56
> bge0:1: flags=2080941<UP,RUNNING,PROMISC,MULTICAST,ADDRCONF,IPv6> mtu 
> 1500 index 2
>          inet6 2002:a08:39f0:3:203:baff:fe94:2f56/64
>
> As shown above, all the IP interfaces defined on 'bge0' have PROMISC 
> interface flag set.
>
> Interface change:
>
> 	Name		Stability		Comments
> 	PROMISC		Committed		ifconfig(1M) flag
>
> The ifconfig(1M) man page will be updated to document the new
> interface flag.
>   


From Girish.Moodalbail@Sun.COM Fri May 15 08:07:13 2009
Received: from dm-sfbay-02.sfbay.sun.com (dm-sfbay-02.SFBay.Sun.COM [129.146.11.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FF7DAW021979
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:07:13 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FF7CrU055868
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:07:13 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n4FF7Chk003797
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 15:07:12 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJO00D00XTPDP00@mail-amer.sun.com> for psarc-ext@sac.sfbay.sun.com; Fri,
 15 May 2009 09:07:12 -0600 (MDT)
Received: from girish-moodalbails-computer.local ([unknown] [66.171.203.108])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJO00BXOXZHJJ10@mail-amer.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 09:06:59 -0600 (MDT)
Date: Fri, 15 May 2009 11:06:53 -0400
From: Girish M G <Girish.Moodalbail@Sun.COM>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <4A0D82B6.5040301@sun.com>
Sender: Girish.Moodalbail@Sun.COM
To: "Garrett D'Amore" <gdamore@Sun.COM>
Cc: James Carlson <James.D.Carlson@Sun.COM>, psarc-ext@sac.sfbay.sun.com
Message-id: <4A0D850D.5000504@sun.com>
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
 <4A0D82B6.5040301@sun.com>
User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
Status: RO
Content-Length: 522

Garrett D'Amore wrote:
> +1.   Although I'm not sure how useful this change will be.  (Is there 
> some consuming software that needs/wants this?)

It's just that we will be on-par with other Unix variants, when it comes 
to supporting this standard flag.  Further, all the SIOCGLIFFLAGS 
callers would start seeing this flag, hence forth.

AFAIK, there is no way to know if underlying device is promiscuous or 
not, using any of the CLI utilities, today. Going forward, ifconfig(1m) 
is one way to do so.

thanks
~Girish

From Sebastien.Roy@Sun.COM Fri May 15 08:10:01 2009
Received: from dm-sfbay-02.sfbay.sun.com (dm-sfbay-02.SFBay.Sun.COM [129.146.11.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FFA1DX015555
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:10:01 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FFA1c0057629
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:10:01 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n4FFA1Bv015431
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 15:10:01 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJO00B00XFM3200@mail-amer.sun.com> for psarc-ext@sac.sfbay.sun.com; Fri,
 15 May 2009 09:10:01 -0600 (MDT)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJO006WYY46OJ80@mail-amer.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 09:09:43 -0600 (MDT)
Date: Fri, 15 May 2009 11:08:56 -0400
From: Sebastien Roy <Sebastien.Roy@Sun.COM>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <18957.30225.816658.10165@gargle.gargle.HOWL>
Sender: Sebastien.Roy@Sun.COM
To: James Carlson <James.D.Carlson@Sun.COM>
Cc: psarc-ext@sac.sfbay.sun.com, "Girish M. G." <Girish.Moodalbail@Sun.COM>
Message-id: <1242400136.13054.11.camel@strat>
Organization: Sun Microsystems
X-Mailer: Evolution 2.24.2
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
Status: RO
Content-Length: 1969

FWIW, I'm fine with this flag for familiarity with other OSs, but
strictly speaking, it has very little to do with IP interfaces, and
therefore shouldn't show up in ifconfig output.  The more correct place
to show whether or not a given datalink has had DL_PROMISC_PHYS enabled
would be in dladm output, perhaps through a read-only link property.
That, however, doesn't seem to be this case, but I thought I would note
that this (to me) will be an architectural wart on Solaris that seems to
only be introduced for familiarity.

Given my grumbling above, I'm almost giving my "plus one", but would
like some additional clarifications below.

On Fri, 2009-05-15 at 10:02 -0400, James Carlson wrote:
> I'm sponsoring this fast-track request for Girish Moodalbail.  The
> timer is set to 05/22/2009.
> 
> 
> The release binding is "patch/micro" and consolidation is "ON".  The
> stability level of the ifconfig output with new interface flag is 
> "Committed".
> 
> Problem Definition and Proposal:
> ---------------------------------
> 
> Today the ifconfig(1m) output does not display the promiscuous state
> of an underlying physical interface.  The Solaris kernel has all the
> provisions to record the promiscuous state of the underlying physical
> interface in 'phyint_flags' member variable of struct phyint, but it
> does not expose that state using the existing (unused) IFF_PROMISC
> flag.

Administrators don't really know or care about the "phyint_flags" member
of struct phyint in the kernel.  What they do care about is the meaning
of PROMISC flag when they see it in the ifconfig output.  You'll likely
need to specify something more administratively meaningful in the
ifconfig man page anyway, could that verbiage be specified in this case
please?

Does the flag have any semantics on IPMP interfaces?

What about lo0; should it ever appear there?

(the last two questions relate to my grumblings about this having little
to do with IP interfaces)

-Seb



From carlsonj@phorcys.east.sun.com Fri May 15 08:32:15 2009
Received: from dm-east-02.east.sun.com (dm-east-02.East.Sun.COM [129.148.13.5])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FFWDpT019369
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:32:14 -0700 (PDT)
Received: from phorcys.east.sun.com (phorcys.East.Sun.COM [129.148.174.143])
	by dm-east-02.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FFWCmf040481;
	Fri, 15 May 2009 11:32:12 -0400 (EDT)
Received: from phorcys.east.sun.com (phorcys.local [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n4FFVI1p018447;
	Fri, 15 May 2009 11:31:18 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id n4FFVIHB018444;
	Fri, 15 May 2009 11:31:18 -0400 (EDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18957.35526.483042.133471@gargle.gargle.HOWL>
Date: Fri, 15 May 2009 11:31:18 -0400
From: James Carlson <james.d.carlson@sun.com>
To: Sebastien Roy <Sebastien.Roy@sun.com>
Cc: psarc-ext@sac.sfbay.sun.com, "Girish M. G." <Girish.Moodalbail@sun.com>
Subject: Re: 2009/304 IP PROMISC Flag
In-Reply-To: <1242400136.13054.11.camel@strat>
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
	<1242400136.13054.11.camel@strat>
X-Mailer: VM 7.01 under Emacs 21.3.1
Status: RO
Content-Length: 1929

Sebastien Roy writes:
> therefore shouldn't show up in ifconfig output.  The more correct place
> to show whether or not a given datalink has had DL_PROMISC_PHYS enabled
> would be in dladm output, perhaps through a read-only link property.

Sure; feel free to include it there if you want.  The point of this
project is that not only do all of the other OSes include IFF_PROMISC
and a "PROMISC" flag, but that *we* actually have them as well
(because we inherited them from BSD), but they're just sitting around
dormant.  This project kicks them back to life.

(And, if I recall correctly, SunOS 4.x _also_ included this flag.  We
just broke it in Solaris.)

> Administrators don't really know or care about the "phyint_flags" member
> of struct phyint in the kernel.

Indeed.

>  What they do care about is the meaning
> of PROMISC flag when they see it in the ifconfig output.  You'll likely
> need to specify something more administratively meaningful in the
> ifconfig man page anyway, could that verbiage be specified in this case
> please?

"The interface is in promiscuous mode."

What "promiscuous" actually means is likely highly dependent on the
actual hardware in use, and probably can't be fully explained.  (Many
of those old BSD interfaces seem to have been designed with Ethernet
alone in mind, where the meaning for this sort of flag is obvious.)

> Does the flag have any semantics on IPMP interfaces?

No.  No virtual or IP-only interfaces have this flag.

> What about lo0; should it ever appear there?

I wouldn't expect it.

> (the last two questions relate to my grumblings about this having little
> to do with IP interfaces)

Agreed.  But sometimes you have to go with the crowd.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

From Sebastien.Roy@Sun.COM Fri May 15 08:45:26 2009
Received: from dm-sfbay-01.sfbay.sun.com (dm-sfbay-01.SFBay.Sun.COM [129.145.155.118])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FFjQl5019723
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:45:26 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FFjQVV016213
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:45:26 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n4FFjQ7m004705
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 15:45:26 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJO00C00Z5SDK00@mail-amer.sun.com> for psarc-ext@sac.sfbay.sun.com; Fri,
 15 May 2009 09:45:26 -0600 (MDT)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJO00IVZZRFF180@mail-amer.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 09:45:16 -0600 (MDT)
Date: Fri, 15 May 2009 11:44:29 -0400
From: Sebastien Roy <Sebastien.Roy@Sun.COM>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <18957.35526.483042.133471@gargle.gargle.HOWL>
Sender: Sebastien.Roy@Sun.COM
To: James Carlson <James.D.Carlson@Sun.COM>
Cc: psarc-ext@sac.sfbay.sun.com, "Girish M. G." <Girish.Moodalbail@Sun.COM>
Message-id: <1242402269.13054.45.camel@strat>
Organization: Sun Microsystems
X-Mailer: Evolution 2.24.2
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
 <1242400136.13054.11.camel@strat>
 <18957.35526.483042.133471@gargle.gargle.HOWL>
Status: RO
Content-Length: 1184

On Fri, 2009-05-15 at 11:31 -0400, James Carlson wrote:
> >  What they do care about is the meaning
> > of PROMISC flag when they see it in the ifconfig output.  You'll likely
> > need to specify something more administratively meaningful in the
> > ifconfig man page anyway, could that verbiage be specified in this case
> > please?
> 
> "The interface is in promiscuous mode."

heh, I guess I asked for that... :-)

> 
> What "promiscuous" actually means is likely highly dependent on the
> actual hardware in use, and probably can't be fully explained.  (Many
> of those old BSD interfaces seem to have been designed with Ethernet
> alone in mind, where the meaning for this sort of flag is obvious.)
> 
> > Does the flag have any semantics on IPMP interfaces?
> 
> No.  No virtual or IP-only interfaces have this flag.

Okay.

> 
> > What about lo0; should it ever appear there?
> 
> I wouldn't expect it.
> 
> > (the last two questions relate to my grumblings about this having little
> > to do with IP interfaces)
> 
> Agreed.  But sometimes you have to go with the crowd.

Yes, my understanding was that this is being introduced for familiarity
with other OSs.

Thanks,
-Seb



From Sebastien.Roy@Sun.COM Fri May 15 08:47:55 2009
Received: from dm-sfbay-02.sfbay.sun.com (dm-sfbay-02.SFBay.Sun.COM [129.146.11.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FFls9c019783
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:47:54 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43])
	by dm-sfbay-02.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FFlskG018220
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 08:47:54 -0700 (PDT)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n4FFlsh0005962
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 15:47:54 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJO00C00Z5SDK00@mail-amer.sun.com> for psarc-ext@sac.sfbay.sun.com; Fri,
 15 May 2009 09:47:54 -0600 (MDT)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJO00ILYZVOF190@mail-amer.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 09:47:49 -0600 (MDT)
Date: Fri, 15 May 2009 11:47:02 -0400
From: Sebastien Roy <Sebastien.Roy@Sun.COM>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <1242402269.13054.45.camel@strat>
Sender: Sebastien.Roy@Sun.COM
To: James Carlson <James.D.Carlson@Sun.COM>
Cc: psarc-ext@sac.sfbay.sun.com, "Girish M. G." <Girish.Moodalbail@Sun.COM>
Message-id: <1242402422.13054.52.camel@strat>
Organization: Sun Microsystems
X-Mailer: Evolution 2.24.2
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
 <1242400136.13054.11.camel@strat>
 <18957.35526.483042.133471@gargle.gargle.HOWL>
 <1242402269.13054.45.camel@strat>
Status: RO
Content-Length: 23

And +1 from me.
-Seb



From gdamore@sun.com Fri May 15 09:59:00 2009
Received: from dm-sfbay-01.sfbay.sun.com (dm-sfbay-01.SFBay.Sun.COM [129.145.155.118])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4FGx0EO021885
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 09:59:00 -0700 (PDT)
Received: from sca-es-mail-1.sun.com (sca-es-mail-1.Sun.COM [192.18.43.132])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4FGwxaD007503
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 09:58:59 -0700 (PDT)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n4FGwsLK008492
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 15 May 2009 09:58:54 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 id <0KJP00I0026RL300@fe-sfbay-09.sun.com> for psarc-ext@sac.sfbay.sun.com;
 Fri, 15 May 2009 09:58:54 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009))
 with ESMTPSA id <0KJP00F5Q35PCYG0@fe-sfbay-09.sun.com> for
 psarc-ext@sac.sfbay.sun.com; Fri, 15 May 2009 09:58:38 -0700 (PDT)
Date: Fri, 15 May 2009 09:58:37 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: 2009/304 IP PROMISC Flag
In-reply-to: <4A0D850D.5000504@sun.com>
Sender: Garrett.Damore@sun.com
To: Girish M G <Girish.Moodalbail@sun.com>
Cc: James Carlson <James.D.Carlson@sun.com>, psarc-ext@sac.sfbay.sun.com
Message-id: <4A0D9F3D.5040704@sun.com>
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
 <4A0D82B6.5040301@sun.com> <4A0D850D.5000504@sun.com>
User-Agent: Thunderbird 2.0.0.18 (X11/20081201)
Status: RO
Content-Length: 701

Girish M G wrote:
> Garrett D'Amore wrote:
>> +1.   Although I'm not sure how useful this change will be.  (Is 
>> there some consuming software that needs/wants this?)
>
> It's just that we will be on-par with other Unix variants, when it 
> comes to supporting this standard flag.  Further, all the 
> SIOCGLIFFLAGS callers would start seeing this flag, hence forth.
>
> AFAIK, there is no way to know if underlying device is promiscuous or 
> not, using any of the CLI utilities, today. Going forward, 
> ifconfig(1m) is one way to do so.

Actually, there used to be a kstat(1M) for this.  I've not looked 
recently to see if the Nemo drivers still support it.

    - Garrett
>
> thanks
> ~Girish


From carlsonj@phorcys.east.sun.com Wed May 20 10:35:52 2009
Received: from dm-east-01.east.sun.com (dm-east-01.East.Sun.COM [129.148.9.192])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n4KHZpxV007114
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 20 May 2009 10:35:51 -0700 (PDT)
Received: from phorcys.east.sun.com (phorcys.East.Sun.COM [129.148.174.143])
	by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n4KHZodh010083;
	Wed, 20 May 2009 13:35:50 -0400 (EDT)
Received: from phorcys.east.sun.com (phorcys.local [127.0.0.1])
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n4KHYqtO003037;
	Wed, 20 May 2009 13:34:52 -0400 (EDT)
Received: (from carlsonj@localhost)
	by phorcys.east.sun.com (8.14.3+Sun/8.14.3/Submit) id n4KHYqj9003034;
	Wed, 20 May 2009 13:34:52 -0400 (EDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18964.16188.844012.550026@gargle.gargle.HOWL>
Date: Wed, 20 May 2009 13:34:52 -0400
From: James Carlson <james.d.carlson@sun.com>
To: psarc-ext@sac.sfbay.sun.com
cc: "Girish M. G." <Girish.Moodalbail@sun.com>
Subject: Re: 2009/304 IP PROMISC Flag
In-Reply-To: <18957.30225.816658.10165@gargle.gargle.HOWL>
References: <18957.30225.816658.10165@gargle.gargle.HOWL>
X-Mailer: VM 7.01 under Emacs 21.3.1
Status: RO
Content-Length: 603

James Carlson writes:
> I'm sponsoring this fast-track request for Girish Moodalbail.  The
> timer is set to 05/22/2009.

This fast-track request was approved during ARC business at today's
PSARC meeting.

I've placed a final specification as 'spec.txt' in the case directory;
this specification includes notes on the man page updates and the
exclusion of IP virtual interfaces.

-- 
James Carlson, Solaris Networking              <james.d.carlson@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

