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]
Message-ID: <3D7E565A361FB844A410A5EFCDD7BA4002EF11@MXSRV3.fe.hhi.de>
Date:	Wed, 13 Mar 2013 21:07:18 +0000
From:	"Martitz, Thomas" <thomas.martitz@....fraunhofer.de>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>
CC:	richard -rw- weinberger <richard.weinberger@...il.com>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"davem@...emloft.net" <davem@...emloft.net>,
	"edumazet@...gle.com" <edumazet@...gle.com>,
	"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>
Subject: AW: Trying to implement secondary loopback

>
> ________________________________________
> Von: Eric W. Biederman [ebiederm@...ssion.com]
> Gesendet: Mittwoch, 13. März 2013 21:46
> An: Martitz, Thomas
> Cc: richard -rw- weinberger; netdev@...r.kernel.org; davem@...emloft.net; edumazet@...gle.com; herbert@...dor.apana.org.au
> Betreff: Re: Trying to implement secondary loopback
>
> > I tried to implement an interface that's doesn't advertise as
> > such. But the data transfer didn't go through my code. My test app is
> > a simple client/server setup in a single process that sends/receive
> > data to/on 127.0.0.1.
>
> The easy solution is to setup two network namespaces and two nics.
> And transmit data from one network namespace to another, through your
> nics.
>
> Eric
>

That sounds a lot more involed than using loopback to send data back to the same process. And I guess just calling netif_rx() in the xmit() function wouldn't be sufficient either? Also I wouldn't know how to do that as I'm not yet very familiar with network namespaces (but that can clearly get fixed).

Best regards.
-----
visit us at

OFC 2013 / March 19-21 / Anaheim Convention Center, CA, USA / booth 11807

www.hhi.fraunhofer.de/events
--
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