> 
> 
> >> "MB" == Michael Beattie <[EMAIL PROTECTED]> writes:
> 
> MB> I want to be able to have some form of notification when a telnet
> MB> connection is made to my linux box, most likely in the form of playing an
> MB> appropriate .wav file. Having sysklogd sending all daemon connections to
> MB> an unused terminal would do the second part... how I find out who/where 
> MB> it was. I can do that part myself. What I want to know, is how to do the
> MB> former. Is it possible?
> 
> If you have X running, and are logged in, you could use the xlogmaster 
> package. You can then set up a regexp to find the telnet connections
> in /var/log/daemon log. You can then tell xlogmaster zu play a sound,
> or pop up a window, or execute a command.
> 
> There will be better suited solutions I believe.
Just fantasizing: would it be possible to replace the reference to
telnetd in /etc/inetd.conf to a script or wrapper that first `beeps' (or
`wavs' or whatever) and then calls telnetd with the appropriate
arguments?

Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])          | tel. office +31 40 2472189
 Eindhoven Univ. of Technology             | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax    +31 40 2455054

Reply via email to