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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Apr 2007 18:36:14 +0800
From:	"Aubrey Li" <aubreylee@...il.com>
To:	"Robin Getz" <rgetz@...ckfin.uclinux.org>
Cc:	"David Howells" <dhowells@...hat.com>, uaca@...mni.uv.es,
	bryan.wu@...log.com, "Alan Cox" <alan@...rguk.ukuu.org.uk>,
	waltje@...lt.nl.mugnet.org, netdev@...r.kernel.org,
	"Andrew Morton" <akpm@...l.org>,
	"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

On 4/11/07, Robin Getz <rgetz@...ckfin.uclinux.org> wrote:
> On Tue 10 Apr 2007 08:55, David Howells pondered:
> > Looking at alloc_pg_vec() in af_packet.c, I will place my bets on the
> > latter case.  I don't know that this is a problem; it depends on how things
> > work, and that I don't know offhand.  If someone can give me a simple test
> > program, I would be able to evaluate it better.
>
> Hmm - the only think I have used in the past is tcpdump/libpcap from
> http://public.lanl.gov/cpw/
>
> Documentation/networking/packet_mmap.txt also seems to be a little dated, but
> does have some code snippets if you wanted to make something lightweight...
>
> Does anyone else on netdev have a small test app?
>
Here, in the attachment I wrote a small test app. Please correct if
there is anything wrong, and feel free to improve it.

-Aubrey

Download attachment "packet-mmap.tar.gz" of type "application/x-gzip" (947 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ