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]
Date: Fri, 22 Mar 2024 03:33:24 +0000
From: Ratheesh Kannoth <rkannoth@...vell.com>
To: Mark <mark@...suba.nl>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        Hans de Goede
	<hdegoede@...hat.com>,
        Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
	<kuba@...nel.org>,
        Breno Leitao <leitao@...ian.org>, Ingo Molnar
	<mingo@...hat.com>,
        "David S. Miller" <davem@...emloft.net>,
        Paolo Abeni
	<pabeni@...hat.com>,
        "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: RE: [EXTERNAL] [PATCH] netpoll: support sending over raw IP
 interfaces

> From: Mark <mark@...suba.nl>
> Sent: Thursday, March 21, 2024 6:03 PM
> To: Ratheesh Kannoth <rkannoth@...vell.com>
> Cc: netdev@...r.kernel.org; Hans de Goede <hdegoede@...hat.com>; Eric
> Dumazet <edumazet@...gle.com>; Jakub Kicinski <kuba@...nel.org>; Breno
> Leitao <leitao@...ian.org>; Ingo Molnar <mingo@...hat.com>; David S.
> Miller <davem@...emloft.net>; Paolo Abeni <pabeni@...hat.com>; linux-
> kernel@...r.kernel.org
> Subject: Re: [EXTERNAL] [PATCH] netpoll: support sending over raw IP
> interfaces
> 
> Hi Ratheesh,
> 
> > Op 18 mrt 6 Reiwa, om 15:06 heeft Ratheesh Kannoth
> <rkannoth@...vell.com> het volgende geschreven:
> >
> >> […]
> > Is below network topology possible ?
> > Netpoll()- ------> netdev A ----> raw interface Where netdev A's
> > netdev->header_ops != NULL
> 
> I believe so, this is not uncommon in tunnel devices like gretap.
> However, those fully encapsulate the link layer header in the packet to the
> lower interface. I am not aware of a interface driver that removes a header
> upon xmit, so to speak. However, I have just posted a v2 that instead uses the
> documented `dev_has_header()` API, which seems to fit the check exactly,
> here:
ACK.  I understand the complexity to implement it in driver than a easy fix in netpoll. 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ