GithubHelp home page GithubHelp logo

donfanning / ripper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antifork/ripper

0.0 2.0 0.0 148 KB

RIPv2 route injector

License: GNU General Public License v2.0

Prolog 0.01% Makefile 1.00% C 77.38% M4 5.93% Shell 13.03% Groff 2.64%

ripper's Introduction

*-*-*-*-*-*-*-*-*-*-*-*
*    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.

ripper's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.