On Sat, 16 February 2002, Shevek wrote:

> 
> At 09:08 16/02/02 -0800, you wrote:
> >On Fri, 15 February 2002, Erwin Harte wrote:
> > >
> > > Return MODE_DISCONNECT or whatever it's called as the very first thing
> > > in that special user-object, then the connection will be closed almost
> > > immediately.
> > >
> >
> >OK thanks.  I think I might be doing that as soon as login() is called on 
> >the user object.  I was just wondering if there was some way of disabling 
> >the telnet port without a special user-object.
> 
> Set the timeout in telnetd or binaryd (Or whatever you pass via initd.c) to 
> -1, effectively this disconnects as soon as they connect. No need to pass 
> any object back as it's never used.

Thanks a lot.  This worked great.

-- Keith


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd

