Stunnel broken on re-install



  • I upgraded a few pfsense boxes last night and got hit by a bug in the current stunnel package. It appears when you re-install the package it fails to write out any tunnels to the file /usr/local/etc/stunnel/stunnel.conf for instance I get this straight after re-install.

    
    cert = /usr/local/etc/stunnel/stunnel.pem
    chroot = /var/tmp/stunnel
    setuid = stunnel
    setgid = stunnel
    
    

    If I go into the gui the certificates are still displayed and then clicking save on each of them correctly places them back into the conf file.

    cert = /usr/local/etc/stunnel/stunnel.pem
    chroot = /var/tmp/stunnel
    setuid = stunnel
    setgid = stunnel
    
    [testing]
    local = 192.168.74.128
    accept = 192.168.74.128:444
    connect = 192.168.74.128:443
    TIMEOUTclose = 0
    
    

    Am i correct in assuming this is up to date http://doc.pfsense.org/index.php/Creating_Your_Own_Package_Repository and https://github.com/pfsense/pfsense-packages/tree/master/config/stunnel this is the latest package xml and inc file.

    Is there any other guides that would be helpful in trying to fix this?


Log in to reply