jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] jk_socketd: crash with segfault, max-count sockets:


From: Olivier Sessink
Subject: Re: [Jailkit-users] jk_socketd: crash with segfault, max-count sockets: 149
Date: Fri, 25 Jan 2008 17:43:51 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

address@hidden wrote:
> 
> I hava two problems with jk_socketd (jailkit-2.4.tar.gz).

[..]

> The second problem is that there seems to be a limit in the max. count
>  of sockets. If i try to use more than 149 sockets the jk_socketd-daemon

much worse: in the 2.5 version (and before) the maximum number of
sockets is set to 25, and there is no check if there is an overflow...

it's defined in the top of src/jk_socketd.c (called MAX_SOCKETS)

I've raised the default maximum to 128, and I've added a warning if the
limit is reached (instead of crashing).

regards,
        Olivier

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]