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]
Message-ID: <20190726154548.GC258193@eidolon.nox.tf>
Date:   Fri, 26 Jul 2019 17:45:48 +0200
From:   David Lamparter <equinox@...c24.net>
To:     netdev@...r.kernel.org
Subject: [HOWTO?] packet: tx-only socket / binding to "nothing"?

Hi netdev,


quick question: is there a recommended setup to get a send-only packet
socket?  I've been reading net/packet/af_packet.c up and down and don't
see an explicit way, so I ended up binding to ("lo", ETH_P_LOOP)
instead.  (Nothing special about ETH_P_LOOP, I just grabbed a random
value that looked like it might never happen.)

Cheers,


-David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ