[stunnel-users] FD_MAX question

Eckert, Doug Doug.Eckert at dowjones.com
Thu Oct 27 15:19:54 CEST 2011

It's these darn apps that require port ranges of 20+.  :)  And it's impressive only until you have to modify the config files.

With so many connections I'd prefer to use something like OpenVPN.  Unfortunately the destination host is AIX and I've not seen anyone get it built there successfully yet.  I've been trying in a lab as time allows, but to say it's slow-going is an understatement.

A dynamic FD list would be sweet, but 256 would suit me just as well.  Guess I'll have to wait for it to get backported.

Many thanks!

>Doug Eckert wrote:
>We're using stunnel-4.15-2.el5.1 as provided on the RHEL 5 update 7 distro.
>Is there any way to override the FD_MAX setting (64 IIRC), perhaps as a stunnel.conf option?
>stunnel.conf with more than 64 sections is pretty impressive...
>MAX_FD was increased from 64 to 256 in stunnel 4.16.
>I could also rewrite stunnel to remove the limit completely (to dynamically allocate the file descriptor list).
>Best regards,
>          Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20111027/dfce8d1c/attachment.html>

More information about the stunnel-users mailing list