Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Looking for /etc/services port monitoring tool
@ 1995-01-17 22:49 Neil Movold
  1995-01-18 14:42 ` Jeff Blaine
  1995-01-18 16:58 ` Paul Southworth
  0 siblings, 2 replies; 3+ messages in thread
From: Neil Movold @ 1995-01-17 22:49 UTC (permalink / raw)



Hi,
	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.

		Thanks,
			Neil :-)



                     \\\//
                     (o o)
------------------ooO-(_)-Ooo-----------------------------------------
Neil Movold                     Phone  : +1 809 296-1800
Special Operations Consultant   Fax    : +1 809 295-7269
 ( i.e. the guy who has to
        make it all work :-) )
Internet (Bermuda) Limited      E-mail : nmovold@ibl.bm
P.O. Box HM2445
Hamilton, Bermuda
HM JX


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Looking for /etc/services port monitoring tool
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Blaine @ 1995-01-18 14:42 UTC (permalink / raw)


In article <3fhdvs$74r@longtail.ibl.bm> nmovold@ibl.bm (Neil Movold) writes:
>
>Hi,
>    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.
>
>        Thanks,
>            Neil :-)


ftp to ftp.ciesin.org under /dropbox/jblaine filename serchk.tar.gz

Enjoy

The README:

Service Checker, serchk
=======================

   serchk, the service checker, is a Perl script which reads in
   a simple configuration file and checks defined hostnames and
   ports for connectivity.  As you may well have noticed, pinging
   a host does not mean it is usable.  Machines can be completely
   wedged and respond to ping requests just fine.  serchk is useful
   to solve this problem (and hopefully many others) because it
   will connect to a normal interactive port (if you tell it to),
   which is a much more reassuring sign that a host is fully up
   and functioning.  serchk is not limited to connecting to the
   standard telnet port though, read on!

   Usage is as such:

      serchk [config_file]

   If no config file is specified on the command line, /etc/serchk.cf
   is used (see Installation below).

Tested Architectures
====================

   serchk should work fine on any system where Perl 4.03x is installed
   properly.

Installation
============

   Edit the file ``serchk'' and substitute the location of your perl
   binary on line 1.

   Edit the file Makefile in this directory.  See the comments there.

   Type 'make' and follow any steps which show up on your screen as
   a result of this process.

Bugs
====

   The double quote character " is used as a delimiter in the config
   file, and as such cannot be used inside any of the expressions
   currently.

Copyright
=========

   serchk is freely distributable with no modifications.  If you hack
   on serchk at your site, I ask that you do not distribute your code.
   If you have relevant and/or useful patches to send me, please do:

      Jeff.Blaine@ciesin.org

-- 

Jeff Blaine         le0 ni0 et0 en0 ie0 lan0 de0 ec0 ex0 il0 ix0 enet0
CIESIN Operations   ae0 eth0 ln0 -- Standardize UNIX


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Looking for /etc/services port monitoring tool
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Southworth @ 1995-01-18 16:58 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-01-18 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox