[2590] in linux-net channel archive

home help back first fref pref prev next nref lref last post

in.rlogind stuffing up

daemon@ATHENA.MIT.EDU (Doug Ledford)
Fri Apr 19 04:17:13 1996

Date: 	Fri, 19 Apr 1996 03:06:30 -0500 (CDT)
From: Doug Ledford <dledford@dialnet.net>
To: Linux-Net <linux-net@vger.rutgers.edu>


I was wondering if anyone out there knew how to fix my particular 
problem.  I have a modem server.  When people dial into this server they 
can either start PPP using PAP, or they can do a standard character 
login.  If they do the character login, they get prompted with a 
restricted shell program giving them one of two choices.  One is to start 
ppp (this is for avoiding the headaches of people who can't do PAP or for 
people that need custom ppp setups which need to be know before ppp is 
called, hence, they can't use PAP since it logs them in as well) or they 
have the option of connecting to our shell server.  This is done by 
performing an rlogin -8 -E shell.  Now, for the problem.  This works fine 
most of the time.  But, if a modem disconnects unexpectedly, it can leave 
the in.rlogind on shell in a waiting state.  In this case, if I check a 
netstat -a on shell, I will usually find a single tcp connection on the 
rlogin port that has a large amount of information in the transmit and 
recieve queue, but no process on the remote machine is listening.  In 
this case, further rlogins from the modem server fail to connect with a 
"connection refused" error message.  As soon as I kill the offending 
in.rlogind, everything starts working again.  I was wondering why, when 
the remote in.rlogind is sending packets to a no-longer valid port on the 
modem server, is the modem server not sending a tcp reset thereby causing 
the conenction to be dropped on shell and the program to terminate and 
things to work OK.  If anyone has any ideas as to why this might be 
happening, or how to fix it, please let me know :)

Thanks

*****************************************************************************
* Doug Ledford                      *   Unix, Novell, Dos, Windows 3.x,     *
* dledford@dialnet.net    873-DIAL  *     WfW, Windows 95 & NT Technician   *
*   PPP access $14.95/month         *****************************************
*   Springfield, MO and surrounding * Usenet news, e-mail and shell account.*
*   communities.  Sign-up online at * Web page creation and hosting, other  *
*   873-9000 V.34                   * services available, call for info.    *
*****************************************************************************



home help back first fref pref prev next nref lref last post