SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002993: Problem with Openvpn and capital letters - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002993Endian FirewallOpenVPN Client and Serverpublic2010-06-10 12:362010-11-22 11:49
luca-endian 
peter-endian 
normalminoralways
closedfixed 
2.3.1 
2.42.4 
0002993: Problem with Openvpn and capital letters
we found a script error in the Openvpnclient:
 >
 > The EFW translated automatically the OpenVPN Client "Connection name"
 > in small type, example:
 > Connection name = vpnCONACTIVE
 > EFW translated automatically = vpnconactive
 >
 > He creates a file /var/efw/openvpnclients/vpnconactive/data.
 > But one Script looks in /vpnCONACTIVE, see OpenVPN Log
 >
 > OpenVPN Log:
 >
-------------------------------------------------------------------------------------------------
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: Traceback (most recent call
 > last):
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: File
 > "/usr/local/bin/openvpnbridge.py", line 310, in ?
 > Jun 7 15:09:17 efw8 vpnconactive[9895]:
 > setLiveData(config_value['NAME'])
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: File
 > "/usr/local/bin/openvpnbridge.py", line 169, in setLiveData
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: d.write()
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: File
 > "/usr/lib/python2.4/site-packages/endian/data/container/settings.py",
 > line 331, in write
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: File
 > "/usr/lib/python2.4/site-packages/endian/core/filetools.py", line 18,
 > in openLocking
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: IOError: [Errno 2] No such
 > file or directory: '/var/efw/openvpnclients//vpnCONACTIVE/data'
 > Jun 7 15:09:17 efw8 vpnconactive[9895]: run-parts:
 > /etc/openvpn/ifup.client.d//00bridge exited with return code 1
 > Jun 7 15:09:21 efw8 vpnconactive[9895]: Mon Jun 7 15:09:21 2010
 > Initialization Sequence Completed
 >
-------------------------------------------------------------------------------------------------
 >
 > Make an OpenVPN Client connection with "Connetion name" = vpnENDIAN
 > and now you get the error in the OpenVPN Log
 >
 >
 > Next point:
 > The Gw2Gw Password is stored in plain text:>(
 > /var/efw/openvpnclients/vpnconactive/credentials
purple
Issue History
2010-06-10 12:36luca-endianNew Issue
2010-06-10 12:36luca-endianTag Attached: purple
2010-06-10 13:45peter-endianAssigned To => peter-endian
2010-06-10 13:45peter-endianStatusnew => assigned
2010-06-10 13:47peter-endianNote Added: 0004471
2010-06-11 11:18peter-endianTarget Version => 2.4
2010-06-14 10:52peter-endianStatusassigned => resolved
2010-06-14 10:52peter-endianFixed in Version => 2.4
2010-06-14 10:52peter-endianResolutionopen => fixed
2010-11-22 11:49peter-endianStatusresolved => closed

Notes
(0004471)
peter-endian   
2010-06-10 13:47   
will fix the problem with capital letters

there is however no chance to store the password encrypted, since the client needs it in plaintext.