ping a port with specific packet /my own packet
Is there a way to ping a specific port with my own packetsize ? Can I create 开发者_如何学Pythonmy own packets lets say using a packet builder and send them without a MAC address of the receiving machine ?
1) Ping is simply a specific type of ICMP Message. ICMP Messages sit directly on top of IP and thus there's no concept of a port, since that's introduced by TCP.
2) You must specify a MAC Address in all your packets. It can be the one of the device you're trying to ping.
精彩评论