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>] [day] [month] [year] [list]
Date:	Fri, 31 Jul 2009 00:25:11 +0200
From:	leo mueller <llug.dan@...glemail.com>
To:	linux-kernel@...r.kernel.org
Subject: issues with mmap() on raw socket with rx_ring

hi all,

i tried to follow the procedures described in
Documentation/networking/packet_mmap.txt to
create an "zero copy" rx_ring for packet capturing.

i've attached an simple example and my output (see test_mmap.txt).
despite i compiled
the 2.6.30 kernel with CONFIG_PACKET_MMAP=y it won't work.

mem'mapping to the socket buffer always fails with -EINVAL and i have
no clue why.... :-/

do you have any idea?

thanks for help

View attachment "test_mmap.txt" of type "text/plain" (3428 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ