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] [day] [month] [year] [list]
Message-Id: <200803041309.12448.krauz@cncz.cz>
Date:	Tue, 4 Mar 2008 13:09:11 +0100
From:	Pavel Krauz <krauz@...z.cz>
To:	Pekka Pietikainen <pp@...oulu.fi>
Cc:	netdev@...r.kernel.org
Subject: Re: capturing vlan on 2.6.18

> On Tuesday 04 March 2008 12:18, Pekka Pietikainen wrote:
> On Thu, Feb 28, 2008 at 12:26:08PM +0100, Pavel Krauz wrote:
> > >> Is this a kernel bug or am I supposed to set something?
> > > It's an unfortunate side effect of hardware VLAN acceleration. It
> > > can't be turned off (apart from patching the driver to not advertise
> > > VLAN acceleration support).
> > I think that enabling VLAN tags shall be at least kernel run-time or boot time
> >  configurable option.
> Oh, the no VLAN tags with bnx2 is a slightly different matter,
> I've used the patch
> 
> #ifdef BCM_VLAN
>         if (!bp->vlgrp && !(bp->flags & ASF_ENABLE_FLAG))
>                 rx_mode |= BNX2_EMAC_RX_MODE_KEEP_VLAN_TAG;
> #else

Thanks,
I have found out that by disabling the ASF/management firmware through Broadcom 
diagnostic utility I get VLAN tags in the packets. I think that it shall be at least documented
in the driver/help. I have no idea for what the ASF is used for in linux.
There shall be a tool or option how to disable it from user space or at boot time or in driver.

Pavel


--
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