From: pauls@locust.cic.net (Paul Southworth)
Subject: Re: Looking for /etc/services port monitoring tool
Date: 18 Jan 1995 16:58:03 GMT [thread overview]
Message-ID: <3fjhar$lkn@spruce.cic.net> (raw)
In-Reply-To: 3fhdvs$74r@longtail.ibl.bm
In article <3fhdvs$74r@longtail.ibl.bm>, Neil Movold <nmovold@ibl.bm> wrote:
> I have a need to keep statistics on how many times a service port has been
>hit. For example, I would like to know how many times a POP3 or FTP port session has
>been made on a particular machine. Any suggestions would be appreciated.
Just run tcp wrapper on it with no access control (unless desired). Set
a syslogd facility in the tcp wrapper makefile, and log that. You can
even specify different log facilities for different services, and log
at *.info for the tcp wrapper connection data.
Compiling a report of connections should take you about four lines of
awk or perl and you can run it nitely in cron.
tcp wrapper is on ftp.cert.org:/pub/tools/tcp_wrappers
--Paul
prev parent reply other threads:[~1995-01-18 16:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-17 22:49 Looking for /etc/services port monitoring tool Neil Movold
1995-01-18 14:42 ` Jeff Blaine
1995-01-18 16:58 ` Paul Southworth [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox