On Mon, May 11, 2015 at 1:13 AM, C.L. Martinez <[email protected]> wrote:
> On 05/06/2015 11:15 AM, C.L. Martinez wrote:
>>   I have a strange problem with sslsplit (installed from packages) in a
>> OpenBSD 5.7 amd64 host. Every 30 minutes (more or less. It is not
>> exactly), sslsplit needs to be restarted:
...
>  I have contacted with the developer last week and told me that this is not
> a bug in sslsplit, points to OpenBSD.

Did the developer point to something specific, or just say that this
problem isn't being seen on other OS?


>  Please, any advice, help or tip??

Looking at the packaging bits, it appears the sslsplit program changes
uid after starting.  This means that if it's coredumping, you can
easily capture the core files by following the example at the bottom
of the sysctl(1) manpage, doing something like the following as root:
           mkdir /var/crash/sslsplit
           chmod 700 /var/crash/sslsplit
           sysctl kern.nosuidcoredump=3

I suggest you *first* compile it yourself, with debugging information.
You'll need to unpack the ports source for the version of OpenBSD
you're running, then
    cd /usr/ports/security/sslsplit
    make CFLAGS=-ggdb reinstall

Then do the mkdir/chmod/sysctl steps above so that any core files are
left in /var/crash/sslsplit/, then run it and see if the restarts are
leaving behind core files there.  If they are, then include the gdb
backtrace in your report here.


Philip Guenther

Reply via email to