Package: lldpd
Version: 0.4.0-2
Severity: normal

I'm running lldpd on a machine whose main network interface looks like:

eth0      Link encap:Ethernet  HWaddr 00:c0:4f:68:12:cb
          inet addr:131.111.11.78  Bcast:131.111.255.255  Mask:255.255.0.0
          inet6 addr: fe80::2c0:4fff:fe68:12cb/64 Scope:Link
          inet6 addr: 2001:630:200:8100:2c0:4fff:fe68:12cb/64 Scope:Global
          IPX/Ethernet 802.3 addr:836F0A00:00C04F6812CB
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:79429040 errors:0 dropped:0 overruns:281 frame:0
          TX packets:8684282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3362518813 (3.1 GiB)  TX bytes:3142623466 (2.9 GiB)
          Interrupt:17

According to Wireshark, the LLDPDUs transmitted by lldpd include a "Maximum Frame Size" TLV indicating a frame size of 1500 octets. This is incorrect: According to IEEE Std 802.1AB-2005 (clause G.5.1):

# a) If the MAC/PHY supports only the basic MAC frame format as defined in
#    3.1.1 of IEEE Std 802.3-2002, the maximum frame size field shall be
#    set to 1518.
#
# b) If the MAC/PHY supports an extension of the basic MAC frame format # for Tagged MAC frames as defined 3.5 of IEEE 802.3-2002, the maximum # frame size field shall be set to 1522.
#
# c) If the MAC/PHY supports an extension of the MAC frame format that is # different from either of the above, the maximum frame size field # shall be set to the maximum value supported.

Thus, lldpd should set this field to 1518, 1522, or some other number depending on the network driver's support for tagged VLANs and jumbo frames. 1500 is definitely wrong, and it would be better for lldpd not to include this TLV at all than to transmit incorrect information.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lldpd depends on:
ii  adduser                    3.111         add and remove users and groups
ii  libc6                      2.10.1-7      GNU C Library: Shared libraries
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network Management Pr

lldpd recommends no packages.

Versions of packages lldpd suggests:
pn  snmpd                         <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to