AMS-IX ARPsponge Project
Go to file
Steven Bakker 6c655ee671 Added patch for "--sweep-skip-alive" by Chris Caputo (SIX).
Also added controls for run-time setting.
Updated asctl's POD.
2013-05-01 14:29:13 +00:00
debian Fixed dependency on libnetaddr-ip-perl. Dependency was based on 2013-05-01 13:47:17 +00:00
doc Fixed copyright info. 2011-09-20 14:42:56 +00:00
init.d Added patch for "--sweep-skip-alive" by Chris Caputo (SIX). 2013-05-01 14:29:13 +00:00
lib Added patch for "--sweep-skip-alive" by Chris Caputo (SIX). 2013-05-01 14:29:13 +00:00
man Fixed copyright info. 2011-09-20 14:42:56 +00:00
sbin Added patch for "--sweep-skip-alive" by Chris Caputo (SIX). 2013-05-01 14:29:13 +00:00
t Added some new scripts to the testing area. 2011-04-14 14:27:13 +00:00
tools Added mkdist. 2005-05-03 15:34:14 +00:00
Changelog Bump. 2012-08-14 19:38:27 +00:00
config.mk Fixed more copyright info. 2011-09-20 14:44:17 +00:00
Copying Fixed copyright info. 2011-09-20 14:42:56 +00:00
defaults.sample.src Added ARP_UPDATE_METHOD. 2011-08-23 13:18:47 +00:00
Makefile Fix intermediate file creation in dist making. 2012-10-08 10:00:39 +00:00
MANIFEST Fixed dist building. 2011-09-20 16:22:26 +00:00
README Fixed copyright info. 2011-09-20 14:42:56 +00:00
rules.mk Fixed more copyright info. 2011-09-20 14:44:17 +00:00
TODO Intermediate check-in while redoing the control socket code. 2011-03-31 16:16:10 +00:00

@(#)$Id$

Primary site is:

    https://www.ams-ix.net/downloads/arpsponge/

About ARPSPONGE (a.k.a. "Bob")
------------------------------

ARPSPONGE is a tool that sweeps up stray ARP queries from a LAN. It
listens on an ethernet interface and if the ARP rate for a particular
IP address goes over the threshold, it starts faking responses.

This is especially useful on large peering LANs where a router crash
can result in large ARP (broadcast) storms.

The arpsponge package provides a daemon, a CLI control utility, and an
init script (see the arpsponge and asctl man pages).

This is released as free software, see the "Copying" file that came with
this source).

Requirements
------------

    * GNU make
    * Perl (>= 5.10)
    * Perl modules:
        Carp
        Data::Dumper
        File::Path
        Getopt::Long
        IO::File
        IO::Select
        IO::Socket
        IO::String
        NetAddr::IP
        Net::ARP
        Net::IPv4Addr
        NetPacket (::ARP, ::Ethernet, ::IP)
        Net::Pcap
        Pod::Usage
        POSIX
        Readonly
        Sys::Syslog
        Term::ReadKey
        Term::ReadLine
        Time::HiRes

      Depending on your O/S distributaion and version of perl, some or
      all of these may already be included in a base install of perl.

Installation
------------

DEBIAN:

1. Optionally edit config.mk (see below)
2. Run "make dpkg"
3. "dpkg --install *.deb"

OTHER SYSTEMS:

1. Look at the start of "config.mk" and set correct values for:

 (MUST be set correctly)

    PERL         (/usr/bin/perl)
    IFCONFIG     (/sbin/ifconfig)
    SPONGE_VAR   (/var/run/arpsponge)

 (MAY be changed)

    DIRPREFIX
    BINPREFIX
    DOCPREFIX
    BINDIR
    LIBROOT
    INSTLIB
    MANDIR
    DOCDIR

    SECTION
    FILESECTION

2. run "make"

3. run "make install"


Documentation
-------------

See the "arpsponge" man page, or "perldoc arpsponge".