Limit concurrent connections

Calin Onofrei conofrei at plantcml.com
Mon Apr 23 19:54:40 WST 2007


Thank you Matt. Dropbear server is running onto arm-linux (Cirrus
EP9302)and the client is PuTTY (Windows OS).

Cheers,
Calin 



-----Original Message-----
From: Matt Johnston [mailto:matt at ucc.asn.au] 
Sent: Sunday, April 22, 2007 10:44 AM
To: Calin Onofrei
Cc: dropbear at ucc.gu.uwa.edu.au
Subject: Re: Limit concurrent connections

On Sun, Apr 22, 2007 at 10:24:53AM -0400, Calin Onofrei wrote:
> I have changed into options.h MAX_UNAUTH_CLIENTS 1 then comment out 
> "m_close(svr_ses.childpipe)" call near the bottom of svr-auth.c. It's 
> working fine but when I close the only client connection I have, I 
> cannot open another one, unless I restart dropbear server. Is any 
> solution possible?

It works for me here (Mac OS X 10.4.9) if I make those changes. What
operating system are you using? I wonder if perhaps it's not closing the
childpipe socket upon exit.
Does moving the m_close call to svr_dropbear_exit() make it work?

Cheers,
Matt


More information about the Dropbear mailing list