Limit concurrent connections

Matt Johnston matt at ucc.asn.au
Sun Apr 22 22:43:34 WST 2007


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