Ignore:
Timestamp:
Jul 20, 2017, 12:22:49 PM (2 years ago)
Author:
Juanma
Message:

Minor bugfixes

Location:
zero-lliurex-transparent-proxy/trunk/fuentes
Files:
5 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-transparent-proxy/trunk/fuentes/install-files/usr/sbin/transparent-proxy-manager.py

    r5564 r5570  
    2626        self.server_ip=''
    2727        self.sslPort=3129
    28         self.dbg=0
     28        self.dbg=1
    2929        self.callback=callback
    3030    #def __init__
     
    101101                os.makedirs(os.path.dirname(self.sslCert))
    102102            self._exe_cmd('openssl req -new -newkey rsa:1024 -days 365 -nodes -x509 -extensions v3_ca -keyout '+self.sslCert+' -out '+self.sslCert+' -batch')
     103                #Initialize directory for caching certificates
     104        ssl_db='/var/lib/ssl_db'
     105        self._exe_cmd('/usr/lib/squid-ssl/ssl_crtd-ssl -c -s '+ssl_db)
     106        #Change owner of ssl_db dir
     107        shutil.chown(ssl_db,user="nobody")
    103108    #def _generate_SSL_cert
    104109
     
    166171            if status==0:
    167172                retval=False
     173            else:
     174            #If package has never been installed dpkg returns an error, so we need to recheck
     175                status=self._exe_cmd('dpkg -L squid-ssl')
     176                if status!=0:
     177                    retval=False
    168178        except Exception as e:
    169179            print(str(e))
     
    183193        self.dbg=0
    184194        Gtk.Window.__init__(self,title=_("Transparent Proxy"))
    185                 self.set_position(Gtk.WindowPosition.CENTER)
     195        self.set_position(Gtk.WindowPosition.CENTER)
    186196        self.connect("delete-event", Gtk.main_quit)
    187197        vbox=Gtk.VBox()
  • zero-lliurex-transparent-proxy/trunk/fuentes/lliurex-po/zero-lliurex-transparent-proxy/ca_ES.po

    r5557 r5570  
    3333#: ../install-files/usr/sbin/transparent-proxy-manager.py:209
    3434msgid "Enabling transparent proxy"
    35 msgstr "Desactivar el proxy transparent"
     35msgstr "Activant el proxy transparent"
    3636
    3737#: ../install-files/usr/sbin/transparent-proxy-manager.py:214
Note: See TracChangeset for help on using the changeset viewer.