Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RIPv2 route injector
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
*-*-*-*-*-*-*-*-*-*-*-* * RiPPeR 0.1.4 * *-*-*-*-*-*-*-*-*-*-*-* * Which platforms RiPPeR supports? As now, RiPPeR can be compiled only under Linux. More precisely it has been tested on kernel 2.4.19, but should work perfectly on 2.6.x, please report your experience :) * What this tool does? This tool allow you to inject routes to RIPv2 routers specifying the metric associated with them. While the tool is running it sends RIPv2 response every 30 seconds to maintain the route up. This happens correctly if the route doesen't exist on the router's routing table. * Why it checks for packets forwaring? Probably you are running the tools without -g option. If you do so, the route's default gateway is set to local machine. If your box doesen't have packet forwarding set, won't be able to forward packets, so the attack won't work. Obviously -f option force the program to not check packet forwarding. * How can i use it correctly? This is a hard question to answer. First of all you must hide your presence, so we suggest you to set with route(8) the right routes to allow the packets to reach their real destination. (This will be automatic in the future versions). Read entirely this file to know more about the correct use of this tool. * How can i set a metric associated with a route to higher value? If you wanna do this we suppose the actual metric to that ip is lower than yours. As you should know a routing daemon chooses the response with lower metric so our metric will be silently discarded. Generally in routing table there are routes to subnets not to single hosts, so we will exploit this thing. When a router receive a RIPv2 response first check if there is a host route that match the one specified in the packet and than if there is a subnet that match. So if you wanna set a route to higher value generally you must simply adverise a route to a single ip and not to a subnet. Also you must specify the netmask to 255.255.255.255, to advertise host routes instead of subnet routes. * Problems with spoofed source... Note that if you specify a spoofed source whose address doesen't belong to a subnet listed in the routing table of the victim host, the routes won't be injected. You must only specify valid address according to the LAN subnets. * How can I inject multiple routes? Version 1.1-beta introduces the possibility to inject multiple routes. You must run routemake, a tool shipped with RiPPeR, that allows you to create routes.conf file. This is read by RiPPeR through option "-a". That's all. * How can I find RIPv2 routers? You can use -b option. This option take an argument that is the subnet with his prefix length in the following format: subnet/prefix. Examples: 192.168.0.0/24, 172.16.0.0/16, 10.0.0.0/8 Be careful using this option, becouse it generates a lot of traffic!!! * How can I inject routes to remote routers ? You can use -e option with the address of the remote router as argument. -- [ Troubleshooting ] -- * Why RiPPeR doesen't compile on my OpenBSD 3.3 box? The libnet team hasn't yet released a version of libnet that works with OpenBSD 3.3 so even RiPPeR doesen't work on this platform. When a new version of libnet will be released, we will fix this bothering bug. In the meantime you can use RiPPeR in a OpenBSD 3.2 box. * Why doesen't RiPPeR find RIPv2 routers? There can be many reasons for this. First of all many routers even if the responde correcty to the rip request the send also a udp port unreacheable, and so your gw doesen't forward the packet to you. Start a sniffer on you gw and see what happen. The second reason is the different implementation of the RIPv2 protocol. Some routers can ignore our query becouse they don't respect its standards. In this case let us know the model of the router and we will work on it.