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:	Mon, 22 Sep 2008 17:28:33 -0400
From:	"Mahesh Kelkar" <maheshkelkar@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Sending ARP requests to the peer over PF_PACKET socket

IP utility "arping" uses PF_PACKET socket to send the arp_request to
the peer. When peer responds with arp_reply, one copy is sent to the
PF_PACKET socket and other to the linux kernel. As a result, linux
kernel creates the new ARP entry.

In this case, kernel doesn't know about the arp_request, hence it
should treat the arp_reply as unsolicited. Linux Kernel (v2.6.21) by
default does not accept unsolicited ARP replies, then how what makes
kernel accept the ARP reply?

Is kernel snooping in the packet with arp_request going out over the
PF_PACKET socket?

Any response is appreciated.

Thanks
Mahesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ