It won't work for privileged ports if you are using setuid/setgid options, since the original privileges are dropped after the initial set of ports are bound. If you do not set this option, then it shouldn't make a difference (as long as the original user has permission to bind priv ports,
e.g. root). The chroot parameter would also limit the functionality of this patch. You would need to copy or hard link the config file into the chroot'ed directory tree.<br><br>Established connections are not closed, only the listening ports are closed and opened. This is confirmed through my own testing.
<br><br>Cheers,<br>Matt<br><br><div><span class="gmail_quote">On 12/13/06, <b class="gmail_sendername">Hans Werner Strube</b> <<a href="mailto:strube@physik3.gwdg.de">strube@physik3.gwdg.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Matthew Eaton wrote:<br>> I've created a patch to Stunnel that reloads all accepting connections<br>> from the config file. This will not work for privileged ports in the<br>> current implementation.<br><br>Please explain why it will not work for privileged ports.
<br>Does this hold even if the master stunnel process runs as root?<br>And what happens to active connections on SIGHUP? Are they simply broken?<br>_______________________________________________<br>stunnel-users mailing list
<br><a href="mailto:stunnel-users@mirt.net">stunnel-users@mirt.net</a><br><a href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users">http://stunnel.mirt.net/mailman/listinfo/stunnel-users</a><br></blockquote></div><br>