lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 5 Dec 2011 14:14:30 +0100
From:	Sjur Brændeland <sjurbren@...il.com>
To:	Rémi Denis-Courmont <remi@...lab.net>
Cc:	netdev@...r.kernel.org, Alexey Orishko <alexey.orishko@...il.com>,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: [RFC 2/3] if_ether.h: Add IEEE 802.1 Local Experimental Ethertype 1.

Hi Rémi,

>> Add EthType 0x88b5.
>> This Ethertype value is available for public use for prototype and
>> vendor-specific protocol development,as defined in Amendment 802a
>> to IEEE Std 802.
>
> I don't think you can just go and steal a reserved EtherType. What if some
> user-space (using packet sockets) or out-of-tree kernel driver does actual
> "experiment" with this type?

I don't think defining this type in if_ether.h would harm anyone ;-)

I think your comments are applicable for the patch:
"caif: Add support for CAIF over CDC NCM USB interface".

Currently CAIF over CDC NCM USB is only deployed for the Ethernet link
between Host and Modem internally in a Smart Phone, and not out of the
Smart Phone (Tethering). The modem's Ethernet interface is connected to
the CAIF stack and not to the modem's IP stack.On the Linux Host,
CAIF takes this EthType into use *only* for a Ethernet interface with
the VID/PID of a ST-E CAIF modem.

With this setup I have a hard time seeing the big risk of interference with
others using this Ethernet Type.

We use Ethernet for this point-to-point link because  NCM 1.0 only
defines Ethernet as the only bearer. The long term solution for CAIF over
NCM should be based on MBIM 1.0 specification, where vendor specific
services can be define. We could then transmit CAIF frames directly
in a vendor specific service without the use of a Ethernet header.

> Why don't you define your own link-layer, e.g. with a vendor-specific CDC
> profile?
I look into this...

BTW: Could you please do "reply-all" next time, so I get your mail in my inbox.

Regards,
Sjur
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ