Subject: | lpf wrongly checks for VLAN ID |
Date: | Thu, 3 Sep 2015 18:56:31 +0200 |
To: | dhcp-bugs@isc.org |
From: | "Jiri Popelka" <jpopelka@redhat.com> |
Hello,
I've had a bug report [1] from a guy [2] from CISCO, that a recently
added check [3] in lpf breaks dhclient for him.
He clearly describes the culprit in comment #7:
"The check is checking the whole TCI value in the packet rather than
just the VLAN ID portion.
It should be checking only the bottom 12-bits of the TCI."
He seems to be right, see for example [4] or [5].
I've attached the patch he's testing now.
--
Jiri
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1259552
[2] Keith Mitchell: kamitch@cisco.com
[3]
https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=commitdiff;h=29170f9da9826bd7191f4ad644e61b76c49f6cc6
[4] http://www.microhowto.info/tutorials/802.1q.html#idp6080
[5] https://en.wikipedia.org/wiki/IEEE_802.1Q#Frame_format
Message body is not shown because sender requested not to inline it.