Linux-Hams archive - October 1998: Monitoring ports remotely

Monitoring ports remotely

Tim Connolly (favfd@kerailya.tunkki.fi)
Wed, 30 Sep 1998 23:07:00 -0400


I have two IP gateways running about 100 miles apart from each
other. Both are connected using 128K or better links so bandwidth isn't
an issue....

What I am trying to do is create a axip port and echo all packets
heard from my RF ports onto this axip port. Then I was planning on using
a vt like /dev/tty12 on my linux workstation at work to keep an eye on
activity. My original thoughts were to use inetd to dump incoming
packets destined for udp port 94...then I realized it not UDP port 94,
its IP protocol 94.... I am guessing at this point the only way to make
this work is to run a program which will listen to a socket labeled as
protocol 94.

Any ideas on how I can make this work?

-- jwbstub@infosec.ru Tim Connolly
-- kb8eht@kb8eht.#ncwv.wv.usa.noam Morgantown, WV
-- ICQ# 601237 by request only aka: fobfieq.ouen@suedu2-195-212.utaonline.at
-- '94 Suzuki GSX750F-CA "Katana"

PS: Try this in /etc/inetd.conf:
finger stream tcp nowait nobody /usr/sbin/tcpd
/usr/games/fortune