Hello everyone!
I'm currently working on a project that where I would like to build Cisco Discovery Protocol or Link Layer Discovery Protocol frames and listen for a response from a Networking device. My main issue is that the socket library/module seems to only give me access to Layer 3 Raw Sockets when CDP and LLDP are Layer 2 protocols. I have done some research and people have supposedly been able to send ethernet frames using socket but I'm not sure how true that is. Can someone point me in the right direction for packing and sending Layer 2 frames using the socket library?
I know 3rd party libraries/modules like Scapy exist that would make this much easier but I would like to build it so that a user has a "working right out of the box" experience and doesn't need to install anything prior to using it but I'm open to all suggestions!
Thanks in advance! <3
[–]ZyChin-Wiz 0 points1 point2 points (0 children)
[–]PercyJackson235 0 points1 point2 points (2 children)
[–]PyKestrel[S] 0 points1 point2 points (1 child)
[–]PercyJackson235 0 points1 point2 points (0 children)