Import arpwatch version 2.0.1a1, a tool for monitoring

a network interface and maintaining a table of MAC
addresses against IP numbers and host names.
This commit is contained in:
Brian Somers 1997-03-30 17:19:56 +00:00
parent 547a71585a
commit 4155dab552
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6070
24 changed files with 352 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: arpwatch
# Version required: 2.0.1a1
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
# $Id$
#
DISTNAME= arpwatch-2.0.1a1
PKGNAME= arpwatch-2.0.1a1
CATEGORIES+= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
MAINTAINER= brian@awfulhak.demon.co.uk
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
mkdir ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (arpwatch-2.0.1a1.tar.Z) = 8b5b85103c754907cb0299e40000b944

View File

@ -0,0 +1,18 @@
*** arpwatch.c.orig Thu Jan 2 04:57:42 1997
--- arpwatch.c Sun Mar 30 13:21:09 1997
***************
*** 43,48 ****
--- 43,55 ----
#endif
#include <net/if.h>
+ #ifdef __FreeBSD__
+ #include <osreldate.h>
+ #if __FreeBSD_version >= 199702
+ #include <net/if_var.h>
+ #endif
+ #endif
+
#include <netinet/in.h>
#include <netinet/if_ether.h>

View File

@ -0,0 +1,2 @@
Monitor arp & rarp requests, building a table of known
IP resolutions and DNS entries on the local network.

View File

@ -0,0 +1,33 @@
Maintained under FreeBSD by: brian@awfulhak.demon.co.uk
ARPWATCH 2.0
Lawrence Berkeley National Laboratory
Network Research Group
arpwatch@ee.lbl.gov
ftp://ftp.ee.lbl.gov/arpwatch.tar.Z
This directory contains source code for arpwatch and arpsnmp, tools
that monitors ethernet activity and maintain a database of ethernet/ip
address pairings. It also reports certain changes via email.
Arpwatch uses libpcap, a system-independent interface for user-level
packet capture. Before building arpwatch, you must first retrieve and
build libpcap, also from LBL, in:
ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Once libpcap is built (either install it or make sure arpwatch and
libpcap share the same parent directory), you can build arpwatch using
the procedure in the INSTALL file.
Arpsnmp has the same database features of arpwatch but relies on an
external agent to collect the arp data. This distribution contains a
script, arpfetch, that uses snmpwalk from the CMU SNMP package. This
package is available from:
ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z
It should be trivial to adaptive the output of any snmp query program
for use with arpsnmp.
Please send bugs and comments to arpwatch@ee.lbl.gov.

View File

@ -0,0 +1,4 @@
sbin/arpwatch
sbin/arpsnmp
man/man8/arpwatch.8
man/man8/arpsnmp.8

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: arpwatch
# Version required: 2.0.1a1
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
# $Id$
#
DISTNAME= arpwatch-2.0.1a1
PKGNAME= arpwatch-2.0.1a1
CATEGORIES+= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
MAINTAINER= brian@awfulhak.demon.co.uk
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
mkdir ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (arpwatch-2.0.1a1.tar.Z) = 8b5b85103c754907cb0299e40000b944

View File

@ -0,0 +1,18 @@
*** arpwatch.c.orig Thu Jan 2 04:57:42 1997
--- arpwatch.c Sun Mar 30 13:21:09 1997
***************
*** 43,48 ****
--- 43,55 ----
#endif
#include <net/if.h>
+ #ifdef __FreeBSD__
+ #include <osreldate.h>
+ #if __FreeBSD_version >= 199702
+ #include <net/if_var.h>
+ #endif
+ #endif
+
#include <netinet/in.h>
#include <netinet/if_ether.h>

View File

@ -0,0 +1,2 @@
Monitor arp & rarp requests, building a table of known
IP resolutions and DNS entries on the local network.

View File

@ -0,0 +1,33 @@
Maintained under FreeBSD by: brian@awfulhak.demon.co.uk
ARPWATCH 2.0
Lawrence Berkeley National Laboratory
Network Research Group
arpwatch@ee.lbl.gov
ftp://ftp.ee.lbl.gov/arpwatch.tar.Z
This directory contains source code for arpwatch and arpsnmp, tools
that monitors ethernet activity and maintain a database of ethernet/ip
address pairings. It also reports certain changes via email.
Arpwatch uses libpcap, a system-independent interface for user-level
packet capture. Before building arpwatch, you must first retrieve and
build libpcap, also from LBL, in:
ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Once libpcap is built (either install it or make sure arpwatch and
libpcap share the same parent directory), you can build arpwatch using
the procedure in the INSTALL file.
Arpsnmp has the same database features of arpwatch but relies on an
external agent to collect the arp data. This distribution contains a
script, arpfetch, that uses snmpwalk from the CMU SNMP package. This
package is available from:
ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z
It should be trivial to adaptive the output of any snmp query program
for use with arpsnmp.
Please send bugs and comments to arpwatch@ee.lbl.gov.

View File

@ -0,0 +1,4 @@
sbin/arpwatch
sbin/arpsnmp
man/man8/arpwatch.8
man/man8/arpsnmp.8

View File

@ -0,0 +1,30 @@
# New ports collection makefile for: arpwatch
# Version required: 2.0.1a1
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
# $Id$
#
DISTNAME= arpwatch-2.0.1a1
PKGNAME= arpwatch-2.0.1a1
CATEGORIES+= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
MAINTAINER= brian@awfulhak.demon.co.uk
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
mkdir ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (arpwatch-2.0.1a1.tar.Z) = 8b5b85103c754907cb0299e40000b944

View File

@ -0,0 +1,18 @@
*** arpwatch.c.orig Thu Jan 2 04:57:42 1997
--- arpwatch.c Sun Mar 30 13:21:09 1997
***************
*** 43,48 ****
--- 43,55 ----
#endif
#include <net/if.h>
+ #ifdef __FreeBSD__
+ #include <osreldate.h>
+ #if __FreeBSD_version >= 199702
+ #include <net/if_var.h>
+ #endif
+ #endif
+
#include <netinet/in.h>
#include <netinet/if_ether.h>

View File

@ -0,0 +1,2 @@
Monitor arp & rarp requests, building a table of known
IP resolutions and DNS entries on the local network.

View File

@ -0,0 +1,33 @@
Maintained under FreeBSD by: brian@awfulhak.demon.co.uk
ARPWATCH 2.0
Lawrence Berkeley National Laboratory
Network Research Group
arpwatch@ee.lbl.gov
ftp://ftp.ee.lbl.gov/arpwatch.tar.Z
This directory contains source code for arpwatch and arpsnmp, tools
that monitors ethernet activity and maintain a database of ethernet/ip
address pairings. It also reports certain changes via email.
Arpwatch uses libpcap, a system-independent interface for user-level
packet capture. Before building arpwatch, you must first retrieve and
build libpcap, also from LBL, in:
ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Once libpcap is built (either install it or make sure arpwatch and
libpcap share the same parent directory), you can build arpwatch using
the procedure in the INSTALL file.
Arpsnmp has the same database features of arpwatch but relies on an
external agent to collect the arp data. This distribution contains a
script, arpfetch, that uses snmpwalk from the CMU SNMP package. This
package is available from:
ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z
It should be trivial to adaptive the output of any snmp query program
for use with arpsnmp.
Please send bugs and comments to arpwatch@ee.lbl.gov.

View File

@ -0,0 +1,4 @@
sbin/arpwatch
sbin/arpsnmp
man/man8/arpwatch.8
man/man8/arpsnmp.8

30
net/arpwatch/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: arpwatch
# Version required: 2.0.1a1
# Date created: March 24 1997
# Whom: Brian Somers <brian@awfulhak.demon.co.uk>
#
# $Id$
#
DISTNAME= arpwatch-2.0.1a1
PKGNAME= arpwatch-2.0.1a1
CATEGORIES+= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
EXTRACT_SUFX= .tar.Z
MAINTAINER= brian@awfulhak.demon.co.uk
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= CCOPT="-O2 -DPATH_SENDMAIL=\\\"/usr/sbin/sendmail\\\""
post-install:
cd ${WRKSRC}; make install-man
if [ ! -d ${PREFIX}/arpwatch ]; then \
mkdir ${PREFIX}/arpwatch; \
chmod 775 ${PREFIX}/arpwatch; \
chown root.operator ${PREFIX}/arpwatch; \
fi
touch ${PREFIX}/arpwatch/arp.dat
chmod 644 ${PREFIX}/arpwatch/arp.dat
.include <bsd.port.mk>

1
net/arpwatch/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (arpwatch-2.0.1a1.tar.Z) = 8b5b85103c754907cb0299e40000b944

View File

@ -0,0 +1,18 @@
*** arpwatch.c.orig Thu Jan 2 04:57:42 1997
--- arpwatch.c Sun Mar 30 13:21:09 1997
***************
*** 43,48 ****
--- 43,55 ----
#endif
#include <net/if.h>
+ #ifdef __FreeBSD__
+ #include <osreldate.h>
+ #if __FreeBSD_version >= 199702
+ #include <net/if_var.h>
+ #endif
+ #endif
+
#include <netinet/in.h>
#include <netinet/if_ether.h>

2
net/arpwatch/pkg-comment Normal file
View File

@ -0,0 +1,2 @@
Monitor arp & rarp requests, building a table of known
IP resolutions and DNS entries on the local network.

33
net/arpwatch/pkg-descr Normal file
View File

@ -0,0 +1,33 @@
Maintained under FreeBSD by: brian@awfulhak.demon.co.uk
ARPWATCH 2.0
Lawrence Berkeley National Laboratory
Network Research Group
arpwatch@ee.lbl.gov
ftp://ftp.ee.lbl.gov/arpwatch.tar.Z
This directory contains source code for arpwatch and arpsnmp, tools
that monitors ethernet activity and maintain a database of ethernet/ip
address pairings. It also reports certain changes via email.
Arpwatch uses libpcap, a system-independent interface for user-level
packet capture. Before building arpwatch, you must first retrieve and
build libpcap, also from LBL, in:
ftp://ftp.ee.lbl.gov/libpcap.tar.Z.
Once libpcap is built (either install it or make sure arpwatch and
libpcap share the same parent directory), you can build arpwatch using
the procedure in the INSTALL file.
Arpsnmp has the same database features of arpwatch but relies on an
external agent to collect the arp data. This distribution contains a
script, arpfetch, that uses snmpwalk from the CMU SNMP package. This
package is available from:
ftp://ftp.net.cmu.edu/pub/snmp-dist/cmu-snmp*.tar.Z
It should be trivial to adaptive the output of any snmp query program
for use with arpsnmp.
Please send bugs and comments to arpwatch@ee.lbl.gov.

4
net/arpwatch/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
sbin/arpwatch
sbin/arpsnmp
man/man8/arpwatch.8
man/man8/arpsnmp.8