You are not logged in.
Pages: 1
Well, I'm rusty on my Python, and am totally unfamiliar with this "Impacket" package... But, I can tell you that in C, on Linux, if you were trying to send raw Ethernet frames, you'd want to be using an AF_PACKET socket, not an AF_INET*/SOCK_RAW socket... (Or, alternatively an AF_INET*/SOCK_PACKET socket for older systems...) So, I have to suspect that's your main problem... By using AF_INET6/SOCK_RAW, it's expecting you to send out an IPv6 packet with all its headers; but, it's NOT expecting you to be sending any Ethernet headers!
Offline
So normally if you will send a packet with VLAN you should not use (socket.AF_INET6, socket.SOCK_RAW, socket.IPPROTO_ICMPV6) ?
Let say in C, what are the parameters you will need like socket.socket(socket.AF_PACKET...) and what else should I keep in mind.
I can test your proposal solution tomorrow so I'm asking if I need to look out for more errors in my part
Offline
Pages: 1