Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 22:59:54 +0000 (GMT)
From:      George Reid <greid@dogma.freebsd-uk.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org, alor@users.sourceforge.net
Subject:   ports/25641: New port: ettercap: A network sniffer/interceptor/injector/logger for switched LANs
Message-ID:  <Pine.BSF.4.21.0103092258290.21913-100000@sobek.openirc.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         25641
>Category:       ports
>Synopsis:       New port: ettercap: A network sniffer/interceptor/injector/logger for switched LANs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 15:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     George Reid
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD UKUG
>Environment:
n/a
>Description:

[PORTER'S NOTE: I have discussed this briefly with the authors. Should
they wish to take over maintainership of the port, no approval is
necessary from me]

Ettercap is a network sniffer/interceptor/logger for switched LAN.
It uses ARP poisoning and the man-in-the-middle technique to sniff all
the connections between two host.

It's possible to sniff in three modes:

   + IP Based, the packets are filtered on IP source and dest
   + MAC Based, packets filtered on mac address, useful to sniff
     connections through gateway
   + ARP based, uses arp poisoning to sniff in switched lan.

Ettercap also supports character injection and plugins.

- George Reid
greid@ukug.uk.freebsd.org
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ettercap
#	ettercap/Makefile
#	ettercap/distinfo
#	ettercap/pkg-descr
#	ettercap/pkg-comment
#	ettercap/files
#	ettercap/files/patch-aa
#	ettercap/pkg-plist
#
echo c - ettercap
mkdir -p ettercap > /dev/null 2>&1
echo x - ettercap/Makefile
sed 's/^X//' >ettercap/Makefile << 'END-of-ettercap/Makefile'
X# New ports collection makefile for:   ettercap
X# Date created:        19 February 2001
X# Whom:                George Reid <greid@ukug.uk.freebsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       ettercap
XPORTVERSION=	0.2.4
XCATEGORIES=     net
XMASTER_SITES=   http://ettercap.sourceforge.net/download/
X
XMAINTAINER=	greid@ukug.uk.freebsd.org
X
XGNU_CONFIGURE=	yes
X
X.if !defined(NOPORTDOCS)
XINSTALL_TARGET=install install-doc
X.endif
X
XMAN8=		ettercap.8
X
X.include <bsd.port.mk>
END-of-ettercap/Makefile
echo x - ettercap/distinfo
sed 's/^X//' >ettercap/distinfo << 'END-of-ettercap/distinfo'
XMD5 (ettercap-0.2.4.tar.gz) = 26fceaafde5a9a17477ccff465fc074c
END-of-ettercap/distinfo
echo x - ettercap/pkg-descr
sed 's/^X//' >ettercap/pkg-descr << 'END-of-ettercap/pkg-descr'
XEttercap is a network sniffer/interceptor/logger for switched LAN.
XIt uses ARP poisoning and the man-in-the-middle technique to sniff all
Xthe connections between two host.
X
XIt's possible to sniff in three modes:
X
X   + IP Based, the packets are filtered on IP source and dest
X   + MAC Based, packets filtered on mac address, useful to sniff
X     connections through gateway
X   + ARP based, uses arp poisoning to sniff in switched lan.
X
XEttercap also supports character injection and plugins.
X
X- George Reid
Xgreid@ukug.uk.freebsd.org
END-of-ettercap/pkg-descr
echo x - ettercap/pkg-comment
sed 's/^X//' >ettercap/pkg-comment << 'END-of-ettercap/pkg-comment'
XA network sniffer/interceptor/injector/logger for switched LANs
END-of-ettercap/pkg-comment
echo c - ettercap/files
mkdir -p ettercap/files > /dev/null 2>&1
echo x - ettercap/files/patch-aa
sed 's/^X//' >ettercap/files/patch-aa << 'END-of-ettercap/files/patch-aa'
X--- Makefile.in.orig	Fri Mar  9 03:49:52 2001
X+++ Makefile.in	Fri Mar  9 22:45:22 2001
X@@ -12,7 +12,7 @@
X 
X BINDIR   = @bindir@
X MANDIR   = @mandir@
X-DOCDIR   = ${prefix}/doc/@PROG@-@VERSION@
X+DOCDIR   = ${prefix}/share/doc/@PROG@-@VERSION@
X DOC      = COPYING README README.PLUGINS CHANGELOG HISTORY AUTHORS TODO THANKS KNOWN-BUGS PORTINGS
X 
X DEBUG    = @DEBUG@
X@@ -39,11 +39,12 @@
X install: @PROG@ strip
X 	$(INSTALL) -d $(DESTDIR)$(BINDIR)
X 	$(INSTALL) -m 700 $(PROG) $(DESTDIR)$(BINDIR)
X-	$(INSTALL) -d $(DESTDIR)$(DOCDIR)
X-	$(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
X 	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
X 	$(INSTALL) -m 644 $(PROG).8 $(DESTDIR)$(MANDIR)/man8/$(PROG).8
X 
X+install-doc:
X+	$(INSTALL) -d $(DESTDIR)$(DOCDIR)
X+	$(INSTALL) -m 644 $(DOC) $(DESTDIR)$(DOCDIR)
X 
X plug-ins:
X 	cd plugins && make && cd ..
END-of-ettercap/files/patch-aa
echo x - ettercap/pkg-plist
sed 's/^X//' >ettercap/pkg-plist << 'END-of-ettercap/pkg-plist'
Xbin/ettercap
X%%PORTDOCS%%share/doc/ettercap-0.2.4/AUTHORS
X%%PORTDOCS%%share/doc/ettercap-0.2.4/CHANGELOG
X%%PORTDOCS%%share/doc/ettercap-0.2.4/COPYING
X%%PORTDOCS%%share/doc/ettercap-0.2.4/HISTORY
X%%PORTDOCS%%share/doc/ettercap-0.2.4/KNOWN-BUGS
X%%PORTDOCS%%share/doc/ettercap-0.2.4/PORTINGS
X%%PORTDOCS%%share/doc/ettercap-0.2.4/README
X%%PORTDOCS%%share/doc/ettercap-0.2.4/README.PLUGINS
X%%PORTDOCS%%share/doc/ettercap-0.2.4/THANKS
X%%PORTDOCS%%share/doc/ettercap-0.2.4/TODO
X%%PORTDOCS%%@dirrm share/doc/ettercap-0.2.4
END-of-ettercap/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103092258290.21913-100000>