diff options
Diffstat (limited to 'src/vpnaccountdata.h')
-rw-r--r-- | src/vpnaccountdata.h | 430 |
1 files changed, 215 insertions, 215 deletions
diff --git a/src/vpnaccountdata.h b/src/vpnaccountdata.h index ed83ce7..68ee694 100644 --- a/src/vpnaccountdata.h +++ b/src/vpnaccountdata.h @@ -20,15 +20,15 @@ #ifndef VPNACCOUNTDATA_H #define VPNACCOUNTDATA_H -#include <qstring.h> -#include <qobject.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqobject.h> +#include <tqstringlist.h> /** * holds the data for a account * @author Christoph Thielecke */ -class VpnAccountData : public QObject +class VpnAccountData : public TQObject { public: enum ConnectionType {cisco=0, racoon=1, freeswan=2, pptp=3,openvpn=4,l2tpd_racoon=5,l2tpd_freeswan=6,ciscoorig=7,vtun=8,ssh=9,other=99}; @@ -42,7 +42,7 @@ public: * @param Gateway The hostname/IP of the VPN gateway * @return nothing */ - VpnAccountData( ConnectionType ConnType, const QString &Name); + VpnAccountData( ConnectionType ConnType, const TQString &Name); /** * Destruktor @@ -55,74 +55,74 @@ public: VpnAccountData(const VpnAccountData&); ConnectionType getConnectionType() const; //< returns Connection type - QString getName() const; //< returns Name - QString getGateway() const; //< returns Gateway - QString getID() const; //< returns ID - QString getUserName() const; //< returns UserName - QString getUserPassword() const; //< returns UserPassword - QString getIkeGroup() const; //< returns IkeGroup - QString getEncryptionAlgorithm() const; //< returns EncryptionAlgorithm - QString getAuthenticationAlgorithm() const; //< returns AuthenticationAlgorithm - QString getPerfectForwardSecrety() const; //< returns PerfectForwardSecrecy - QString getNtDomainName() const; //< returns NtDomainName - QString getApplicationVersion() const; //< returns ApplicationVersion - QString getRemoteNetAddr() const; //<returns remoteNetAddr - QString getRemoteNetMask() const; //<returns remoteNetMask - QString getPreSharedKey() const; // returns PreSharedKey - QString getX509Certificate() const; //< returns x509 certificate - QString getCaCertificate() const; //< returns x509 certificate (CA) - QString getNetworkDevice() const; //< returns NetworkDevice - QString getCertPath() const; //<returns CertPath - QString getSpecialRemoteID() const; //< returns SpecialRemoteID; - QString getSpecialLocalID() const; //< returns SpecialLocalID; - QString getLocalIDType() const; //< return Local ID type for racoon - QString getRemoteIDType() const; //< return Remote ID type for racoon - QString getPingHostIP() const; //< returns last part of IP (host) for ping test - QString getPrivateKeyPass() const; //< returns PrivateKeyPass - QString getPrivateKey() const; //< returns PrivateKey - QString getDnsServer() const; - QString getLocalVirtualIP() const; //< returns LocalVirtualIP - QString getRemoteVirtualIP() const; //< returns RemoteVirtualIP (tun at openvpn,pptp) or Netmask for (tap at openvpn) - QString getPreSharedKeyFile() const; - QString getCommandBeforeConnect() const; - QString getCommandAfterConnect() const; - QString getCommandBeforeDisconnect() const; - QString getCommandAfterDisconnect() const; - QString getSpecialServerCertificate() const; - QString getHashAlgo() const; - QString getTunnelDeviceType() const; - QString getDescription() const; - QString getNsCertType() const; - QString getVirtualIP() const; - QString getUserdefiniedCipher() const; - QString getTlsAuthFile() const; - QString getHttpProxy() const; - QString getExchangeMode() const; - QString getTlsRemoteHost() const; - QString getRightNextHop() const; - QString getLeftNextHop() const; - QString getHttpProxyAuthType() const; - QString getHttpProxyUser() const; - QString getHttpProxyPass() const; - QString getPkcs11Providers() const; - QString getPkcs11SlotType() const; - QString getPkcs11Slot() const; - QString getPkcs11IdType() const; - QString getPkcs11Id() const; - QString getPkcs11SignMode() const; - QString getAuthMethod() const; - QString getSearchDomainInResolvConf() const; - QString getDomainInResolvConf() const; - QString getAuthenticationDirection() const; - QString getCiscoNatMode() const; - QString getIpsecEsp() const; - QString getIpsecIke() const; - QString getVtunProfile() const; - QString getIpsecVpnMode() const; - QString getLeftSourceIp() const; - QString getRightSourceIp() const; - QString getVirtualSubnetworks() const; - QString getSshConfigRemoteScript() const; + TQString getName() const; //< returns Name + TQString getGateway() const; //< returns Gateway + TQString getID() const; //< returns ID + TQString getUserName() const; //< returns UserName + TQString getUserPassword() const; //< returns UserPassword + TQString getIkeGroup() const; //< returns IkeGroup + TQString getEncryptionAlgorithm() const; //< returns EncryptionAlgorithm + TQString getAuthenticationAlgorithm() const; //< returns AuthenticationAlgorithm + TQString getPerfectForwardSecrety() const; //< returns PerfectForwardSecrecy + TQString getNtDomainName() const; //< returns NtDomainName + TQString getApplicationVersion() const; //< returns ApplicationVersion + TQString getRemoteNetAddr() const; //<returns remoteNetAddr + TQString getRemoteNetMask() const; //<returns remoteNetMask + TQString getPreSharedKey() const; // returns PreSharedKey + TQString getX509Certificate() const; //< returns x509 certificate + TQString getCaCertificate() const; //< returns x509 certificate (CA) + TQString getNetworkDevice() const; //< returns NetworkDevice + TQString getCertPath() const; //<returns CertPath + TQString getSpecialRemoteID() const; //< returns SpecialRemoteID; + TQString getSpecialLocalID() const; //< returns SpecialLocalID; + TQString getLocalIDType() const; //< return Local ID type for racoon + TQString getRemoteIDType() const; //< return Remote ID type for racoon + TQString getPingHostIP() const; //< returns last part of IP (host) for ping test + TQString getPrivateKeyPass() const; //< returns PrivateKeyPass + TQString getPrivateKey() const; //< returns PrivateKey + TQString getDnsServer() const; + TQString getLocalVirtualIP() const; //< returns LocalVirtualIP + TQString getRemoteVirtualIP() const; //< returns RemoteVirtualIP (tun at openvpn,pptp) or Netmask for (tap at openvpn) + TQString getPreSharedKeyFile() const; + TQString getCommandBeforeConnect() const; + TQString getCommandAfterConnect() const; + TQString getCommandBeforeDisconnect() const; + TQString getCommandAfterDisconnect() const; + TQString getSpecialServerCertificate() const; + TQString getHashAlgo() const; + TQString getTunnelDeviceType() const; + TQString getDescription() const; + TQString getNsCertType() const; + TQString getVirtualIP() const; + TQString getUserdefiniedCipher() const; + TQString getTlsAuthFile() const; + TQString getHttpProxy() const; + TQString getExchangeMode() const; + TQString getTlsRemoteHost() const; + TQString getRightNextHop() const; + TQString getLeftNextHop() const; + TQString getHttpProxyAuthType() const; + TQString getHttpProxyUser() const; + TQString getHttpProxyPass() const; + TQString getPkcs11Providers() const; + TQString getPkcs11SlotType() const; + TQString getPkcs11Slot() const; + TQString getPkcs11IdType() const; + TQString getPkcs11Id() const; + TQString getPkcs11SignMode() const; + TQString getAuthMethod() const; + TQString getSearchDomainInResolvConf() const; + TQString getDomainInResolvConf() const; + TQString getAuthenticationDirection() const; + TQString getCiscoNatMode() const; + TQString getIpsecEsp() const; + TQString getIpsecIke() const; + TQString getVtunProfile() const; + TQString getIpsecVpnMode() const; + TQString getLeftSourceIp() const; + TQString getRightSourceIp() const; + TQString getVirtualSubnetworks() const; + TQString getSshConfigRemoteScript() const; int getLocalPort() const; //< returns LocalPort int getRemotePort() const; //< returns RemotePort @@ -146,7 +146,7 @@ public: int getTunnelPingRestart() const; AuthenticationType getAuthType() const; //< returns AuthType - QStringList getAdditionalNetworkRoutes() const; + TQStringList getAdditionalNetworkRoutes() const; bool getSaveUserPassword() const; //< returns saveUserPassword bool getSavePsk() const; //< returns savePSK bool getUseSingleDes() const; //< returns useSingleDes @@ -258,37 +258,37 @@ public: * Sets the name of the profile * @param Name The new name */ - void setName( const QString &Name ); + void setName( const TQString &Name ); /** * Sets the IP/DNS name of the gateway * @param Gateway the IP/DNS name */ - void setGateway( const QString &Gateway ); + void setGateway( const TQString &Gateway ); /** * Sets the remote ID (cisco) * @param ID The ID */ - void setID( const QString &ID ); + void setID( const TQString &ID ); /** * Sets the group password (cisco) * @param GroupPassword The password */ - void setGroupPassword( const QString &GroupPassword ); + void setGroupPassword( const TQString &GroupPassword ); /** * Sets the username (cisco) * @param Username The username */ - void setUserName( const QString &Username ); + void setUserName( const TQString &Username ); /** * Sets the user password * @param UserPassword The password */ - void setUserPassword( const QString &UserPassword ); + void setUserPassword( const TQString &UserPassword ); /** * Sets if user password should be stored or not @@ -306,13 +306,13 @@ public: * Sets the IKE group (cisco) * @param IkeGroup The group */ - void setIkeGroup( const QString &IkeGroup ); - void setEncryptionAlgorithm( const QString &EncryptionAlgorithm ); - void setAuthenticationAlgorithm( const QString &AuthenticationAlgorithm ); + void setIkeGroup( const TQString &IkeGroup ); + void setEncryptionAlgorithm( const TQString &EncryptionAlgorithm ); + void setAuthenticationAlgorithm( const TQString &AuthenticationAlgorithm ); - void setPerfectForwardSecrety( const QString &PerfectForwardSecrecy ); - void setNtDomainName( const QString &Name ); - void setApplicationVersion( const QString &version ); + void setPerfectForwardSecrety( const TQString &PerfectForwardSecrecy ); + void setNtDomainName( const TQString &Name ); + void setApplicationVersion( const TQString &version ); void setUseSingleDes( bool useSingleDes ); void setLocalPort( int port ); void setRemotePort( int port ); @@ -324,47 +324,47 @@ public: void setUseRemotePort( bool useRemotePort ); void setUseAdvancedSettings( bool useAdvancedSettings ); void setUseGlobalIpsecSecret( bool useGlobalIpsecSecret ); - void setRemoteNetAddr( const QString &RemoteNetAddr ); - void setRemoteNetMask( const QString &RemoteNetMask ); - void setPreSharedKey( const QString &PreSharedKey ); - void setX509Certificate( const QString &x509Certificate ); - void setCaCertificate( const QString &CaCertificate ); - void setNetworkDevice( const QString &NetworkDevice ); - void setCertPath( const QString &CertPath ); + void setRemoteNetAddr( const TQString &RemoteNetAddr ); + void setRemoteNetMask( const TQString &RemoteNetMask ); + void setPreSharedKey( const TQString &PreSharedKey ); + void setX509Certificate( const TQString &x509Certificate ); + void setCaCertificate( const TQString &CaCertificate ); + void setNetworkDevice( const TQString &NetworkDevice ); + void setCertPath( const TQString &CertPath ); void setAuthType( AuthenticationType authtype ); void setDoPingIP( bool pingIP ); - void setPingHostIP( const QString &pingHostIP ); - void setPrivateKeyPass( const QString &PrivateKeyPass ); - void setPrivateKey( const QString &PrivateKey ); + void setPingHostIP( const TQString &pingHostIP ); + void setPrivateKeyPass( const TQString &PrivateKeyPass ); + void setPrivateKey( const TQString &PrivateKey ); void setUseSpecialRemoteID( bool useSpecialRemoteID ); void setUseSpecialLocalID( bool useSpecialLocalID ); - void setSpecialRemoteID( const QString &SpecialRemoteID ); - void setSpecialLocalID( const QString &SpecialLocalID ); - void setLocalIDType( const QString &LocalIDType); - void setRemoteIDType( const QString &RemoteIDType); + void setSpecialRemoteID( const TQString &SpecialRemoteID ); + void setSpecialLocalID( const TQString &SpecialLocalID ); + void setLocalIDType( const TQString &LocalIDType); + void setRemoteIDType( const TQString &RemoteIDType); void setUseUdp( bool useUdp ); void setUseUdpPort( bool useUdpPort); void setUdpPort( int UdpPort ); void setUseDnsUpdate(bool useDnsUpdate ); void setUseDnsServer(bool useDnsServer ); - void setDnsServer(const QString &DnsServer ); + void setDnsServer(const TQString &DnsServer ); void setRefuse40BitEncryption(bool refuse40BitEncryption ); void setRefuse128BitEncryption(bool refuse128BitEncryption ); void setAllowStatefulMode(bool allowStatefulMode ); void setRequireMppe(bool requireMppe ); void setUseNoIpDefault (bool useNoIpDefault ); void setDisableMPPEComp (bool disableMPPEComp ); - void setLocalVirtualIP( const QString &LocalVirtualIP ); - void setRemoteVirtualIP( const QString &RemoteVirtualIP ); - void setPreSharedKeyFile( const QString &PreSharedKeyFile ); + void setLocalVirtualIP( const TQString &LocalVirtualIP ); + void setRemoteVirtualIP( const TQString &RemoteVirtualIP ); + void setPreSharedKeyFile( const TQString &PreSharedKeyFile ); void setExecuteCmdBeforeConnect(bool executeCmdBeforeConnect); void setExecuteCmdAfterConnect(bool executeCmdAfterConnect); void setExecuteCmdBeforeDisconnect(bool executeCmdBeforeDisonnect); void setExecuteCmdAfterDisconnect(bool executeCmdAfterDisonnect); - void setCommandBeforeConnect(const QString &CommandBeforeConnect); - void setCommandAfterConnect(const QString &CommandAfterConnect); - void setCommandBeforeDisconnect(const QString &CommandBeforeDisconnect); - void setCommandAfterDisconnect(const QString &CommandAfterDisconnect); + void setCommandBeforeConnect(const TQString &CommandBeforeConnect); + void setCommandAfterConnect(const TQString &CommandAfterConnect); + void setCommandBeforeDisconnect(const TQString &CommandBeforeDisconnect); + void setCommandAfterDisconnect(const TQString &CommandAfterDisconnect); void setUseNoBsdComp(bool useNoBsdComp); void setUseNoDeflate(bool useNoDeflate); void setReplaceDefaultRoute(bool setReplaceDefaultRoute); @@ -373,18 +373,18 @@ public: void setMtu (int Mtu); void setMru (int Mru); void setUseVirtualIP (bool useVirtualIP); - void setVirtualIP( const QString &VirtualIP ); + void setVirtualIP( const TQString &VirtualIP ); void setPskIsInFile(bool PskIsInFile ); void setUseAdditionalNetworkRoutes( bool useAdditionalNetworkRoutes ); - void setAdditionalNetworkRoutes( QStringList AdditionalNetworkRoutes ); + void setAdditionalNetworkRoutes( TQStringList AdditionalNetworkRoutes ); void setUseSpecialServerCertificate(bool useSpecialServerCertificate); - void setSpecialServerCertificate(const QString &SpecialServerCertificate); - void setHashAlgo(const QString &HashAlgo); - void setTunnelDeviceType(const QString &TunnelDeviceType); + void setSpecialServerCertificate(const TQString &SpecialServerCertificate); + void setHashAlgo(const TQString &HashAlgo); + void setTunnelDeviceType(const TQString &TunnelDeviceType); void setUseUserdefinedPort(bool useUserdefinedPort); void setUserdefinedPort(int UserdefinedPort); - void setDescription( const QString &Description ); - void setNsCertType( const QString &NsCertType ); + void setDescription( const TQString &Description ); + void setNsCertType( const TQString &NsCertType ); void setUseNsCertType ( bool useNsCertType ); void setUseConnectionStatusCheck ( bool useConnectionStatusCheck ); void setConnectionStatusCheckSuccessCount ( int connectionStatusCheckSuccessCount ); @@ -394,24 +394,24 @@ public: void setAuthWithUsernameAndPassword( bool authWithUsernameAndPassword ); void setAllowEmptyGroupPassword( bool allowEmptyGroupPassword ); void setUseUserdefiniedCipher( bool useUserdefiniedCipher ); - void setUserdefiniedCipher( QString UserdefiniedCipher ); + void setUserdefiniedCipher( TQString UserdefiniedCipher ); void setUseRedirectGateway( bool useRedirectGateway ); void setUseTlsAuth( bool useTlsAuth ); - void setTlsAuthFile( QString TlsAuthFile ); + void setTlsAuthFile( TQString TlsAuthFile ); void setUseHttpProxy( bool useHttpProxy ); - void setHttpProxy( QString HttpProxy ); + void setHttpProxy( TQString HttpProxy ); void setHttpProxyPort ( int HttpProxyPort ); void setHttpProxyTimeout ( int HttpProxyTimeout ); void setDontSaveUsername( bool dontSaveUsername ); void setUseModeConfig( bool useModeConfig ); - void setExchangeMode( QString ExchangeMode ); + void setExchangeMode( TQString ExchangeMode ); void setUseReconnectDelay( bool useReconnectDelay ); void setReconnectDelay( int ReconnectDelay ); void setUseTlsRemoteHost( bool useTlsRemoteHost ); - void setTlsRemoteHost( QString TlsRemoteHost ); + void setTlsRemoteHost( TQString TlsRemoteHost ); void setDisableOpportunisticEncryption( bool ); - void setRightNextHop( QString RightNextHop ); - void setLeftNextHop( QString LeftNextHop ); + void setRightNextHop( TQString RightNextHop ); + void setLeftNextHop( TQString LeftNextHop ); void setUseMssfix( bool useMssfix ); void setUseFragment( bool useFragment); void setMssfix( int Mssfix ); @@ -422,38 +422,38 @@ public: void setUseXauthInteractive( bool useXauthInteractive ); void setSavePrivateKeyPassword ( bool savePrivateKeyPassword ); void setUseHttpProxyAuth (bool useHttpProxyAuth ); - void setHttpProxyAuthType(QString HttpProxyAuthType ); - void setHttpProxyUser(QString HttpProxyUser ); - void setHttpProxyPass(QString HttpProxyPass ); + void setHttpProxyAuthType(TQString HttpProxyAuthType ); + void setHttpProxyUser(TQString HttpProxyUser ); + void setHttpProxyPass(TQString HttpProxyPass ); void setUseOnlyCaCertAndUserAuth(bool useOnlyCaCertAndUserAuth ); void setUseMailAddressAsIdentifier(bool useMailAddressAsIdentifier ); void setUseRightNextHop(bool useRightNextHop); void setUseLeftNextHop (bool useLeftNextHop); - void setPkcs11Providers(QString Pkcs11Providers); - void setPkcs11SlotType(QString Pkcs11SlotType); - void setPkcs11Slot(QString Pkcs11Slot); - void setPkcs11IdType(QString Pkcs11IdType); - void setPkcs11Id(QString Pkcs11Id); - void setPkcs11SignMode(QString Pkcs11SignMode); + void setPkcs11Providers(TQString Pkcs11Providers); + void setPkcs11SlotType(TQString Pkcs11SlotType); + void setPkcs11Slot(TQString Pkcs11Slot); + void setPkcs11IdType(TQString Pkcs11IdType); + void setPkcs11Id(TQString Pkcs11Id); + void setPkcs11SignMode(TQString Pkcs11SignMode); void setUsePkcs11Providers(bool usePkcs11Providers); void setAllowEmptyPrivateKeyPassword (bool allowEmptyPrivateKeyPassword ); void setAllowIpAddressChangeOfPeer( bool allowIpAddressChangeOfPeer ); - void setAuthMethod( QString AuthMethod ); + void setAuthMethod( TQString AuthMethod ); void setCommandAfterConnectDelayTime( int CommandAfterConnectDelayTime ); void setUseSearchDomainInResolvConf( bool useSearchDomainInResolvConf ); void setUseDomainInResolvConf( bool useDomainInResolvConf ); - void setSearchDomainInResolvConf(QString SearchDomainInResolvConf ); - void setDomainInResolvConf(QString DomainInResolvConf ); - void setAuthenticationDirection(QString AuthenticationDirection ); - void setCiscoNatMode(QString CiscoNatMode ); - void setIpsecEsp(QString IpsecEsp); - void setIpsecIke(QString IpsecIke); - void setVtunProfile(QString VtunProfile); + void setSearchDomainInResolvConf(TQString SearchDomainInResolvConf ); + void setDomainInResolvConf(TQString DomainInResolvConf ); + void setAuthenticationDirection(TQString AuthenticationDirection ); + void setCiscoNatMode(TQString CiscoNatMode ); + void setIpsecEsp(TQString IpsecEsp); + void setIpsecIke(TQString IpsecIke); + void setVtunProfile(TQString VtunProfile); void setDisableDataEncryption(bool disableDataEncryption); void setUseAuthenticationAlgorithm(bool useAuthenticationAlgorithm); void setFixPathMtuDiscoveryProblem( bool fixPathMtuDiscoveryProblem); void setUseRemoteNetwork(bool useRemoteNetwork); - void setIpsecVpnMode(QString IpsecVpnMode); + void setIpsecVpnMode(TQString IpsecVpnMode); void setDisableHeaderCompression(bool disableHeaderCompression); void setDisableMagicNumberNegotiation(bool disableMagicNumberNegotiation); void setDisableIpx(bool disableIpx); @@ -469,10 +469,10 @@ public: void setL2tpDaemon(L2tpDaemonType L2tpDaemon ); void setUseLeftSourceIp(bool useLeftSourceIp); void setUseRightSourceIp(bool useLeftRightIp); - void setLeftSourceIp(QString LeftSourceIp); - void setRightSourceIp(QString RightSourceIp); + void setLeftSourceIp(TQString LeftSourceIp); + void setRightSourceIp(TQString RightSourceIp); void setUseVirtualSubnetworks(bool useVirtualSubnetworks); - void setVirtualSubnetworks(QString VirtualSubnetworks); + void setVirtualSubnetworks(TQString VirtualSubnetworks); void setDisablePushFromServer( bool disablePushFromServer); void setDisableBind( bool disableBind ); void setUseRenegSec(bool useRenegSec); @@ -483,84 +483,84 @@ public: void setTunnelPingRestart(int TunnelPingRestart); void setRequireEap(bool requireEap); void setUseSshConfigRemoteScript(bool useSshConfigRemoteScript); - void setSshConfigRemoteScript( QString SshConfigRemoteScript); + void setSshConfigRemoteScript( TQString SshConfigRemoteScript); void setAskUserPasswordOnEachConnect ( bool askUserPasswordOnEachConnect ); void setUseCiscoCertStore(bool useCiscoCertStore); void setUseNat(bool useNat); protected: - QString Name; //< Name of the profile - QString Gateway; //< IP/DNS name of the gateway - QString ID; //< ID of remote gateway - QString Username; //< Username (cisco) - QString UserPassword; //< User password (cisco) - QString IkeGroup; //< DH group for PFS (cisco,racoon) - QString PerfectForwardSecrecy; //< Type of PFS (cisco, racoon) - QString EncryptionAlgorithm; // phase 2 (ipsec) - QString AuthenticationAlgorithm; // phase 2 (ipsec) - QString NtDomainName; //< NT domain name for authentication (cisco/pptp) - QString ApplicationVersion; //< userdefined application version (cisco) - QString RemoteNetAddr; //< Remote network addr of VPN - QString RemoteNetMask; //< Remote network mask of VPN - QString PreSharedKey; //< Pre shared key (freeswan/racoon) - QString x509Certificate; //< Path to X.509 certificate file - QString CaCertificate; //< Path to CA certificate file - QString NetworkDevice; //< Network device - QString PrivateKeyPass; //< Password for private key - QString PrivateKey; //< Path to private key file - QString CertPath; //< Global certificate path - QString AuthType; //< Authentication type (cert/psk) - QString pingHostIP; //< IP of the host which should be pinged - QString SpecialRemoteID; //< userdefined ID of remote gateway - QString SpecialLocalID; //< userdefined ID of remote gateway - QString LocalIDType; //< type of the local ID for racoon - QString RemoteIDType; //< type of the remote ID for racoon - QString LocalVirtualIP; //< Local virtual IP for tunnel (openvpn) - QString RemoteVirtualIP; //< Remote virtual IP for tunnel (openvpn) - QString PreSharedKeyFile; //< for openvpn - QString HashAlgo; // Hash algorithm for racoon - QString UseUserdefiniedCipher; //< Cipher for OpenVPN - QString DnsServer; //< userdefined DNS server for pptp - QString SearchDomainInResolvConf; - QString DomainInResolvConf; - QString CommandBeforeConnect; - QString CommandAfterConnect; - QString CommandBeforeDisconnect; - QString CommandAfterDisconnect; - QString Description; //< Description of the profile - QString SpecialServerCertificate; - QString VirtualIP; //< Virtual IP for freeswan/racoon - QString TunnelDeviceType; //< Type of tunnel device which should be used e.g. tun or tap for openvpn - QString NsCertType; //< openvpn - QString UserdefiniedCipher; //< Ciphers for OpenVPN - QString TlsAuthFile; - QString HttpProxy; - QString ExchangeMode; //< IKE exchange mode - QString TlsRemoteHost; - QString RightNextHop; // freeswan - QString LeftNextHop; // freeswan - QString HttpProxyAuthType; - QString HttpProxyUser; - QString HttpProxyPass; - QString Pkcs11Providers; - QString Pkcs11SlotType; - QString Pkcs11Slot; - QString Pkcs11IdType; - QString Pkcs11Id; - QString Pkcs11SignMode; - QString AuthMethod; //< authorization method for pptp (chap/pap) - QString AuthenticationDirection; //< openvpn key and tls-auth direction (none,0,1) - QString CiscoNatMode; - QString IpsecEsp; // IPsec ESP mode - QString IpsecIke; //< IPsec IKE mode - QString VtunProfile; - QString IpsecVpnMode; //< IPSec tunnel type (transport | tunnel) - QString LeftSourceIp; - QString RightSourceIp; - QString VirtualSubnetworks; - QString SshConfigRemoteScript; + TQString Name; //< Name of the profile + TQString Gateway; //< IP/DNS name of the gateway + TQString ID; //< ID of remote gateway + TQString Username; //< Username (cisco) + TQString UserPassword; //< User password (cisco) + TQString IkeGroup; //< DH group for PFS (cisco,racoon) + TQString PerfectForwardSecrecy; //< Type of PFS (cisco, racoon) + TQString EncryptionAlgorithm; // phase 2 (ipsec) + TQString AuthenticationAlgorithm; // phase 2 (ipsec) + TQString NtDomainName; //< NT domain name for authentication (cisco/pptp) + TQString ApplicationVersion; //< userdefined application version (cisco) + TQString RemoteNetAddr; //< Remote network addr of VPN + TQString RemoteNetMask; //< Remote network mask of VPN + TQString PreSharedKey; //< Pre shared key (freeswan/racoon) + TQString x509Certificate; //< Path to X.509 certificate file + TQString CaCertificate; //< Path to CA certificate file + TQString NetworkDevice; //< Network device + TQString PrivateKeyPass; //< Password for private key + TQString PrivateKey; //< Path to private key file + TQString CertPath; //< Global certificate path + TQString AuthType; //< Authentication type (cert/psk) + TQString pingHostIP; //< IP of the host which should be pinged + TQString SpecialRemoteID; //< userdefined ID of remote gateway + TQString SpecialLocalID; //< userdefined ID of remote gateway + TQString LocalIDType; //< type of the local ID for racoon + TQString RemoteIDType; //< type of the remote ID for racoon + TQString LocalVirtualIP; //< Local virtual IP for tunnel (openvpn) + TQString RemoteVirtualIP; //< Remote virtual IP for tunnel (openvpn) + TQString PreSharedKeyFile; //< for openvpn + TQString HashAlgo; // Hash algorithm for racoon + TQString UseUserdefiniedCipher; //< Cipher for OpenVPN + TQString DnsServer; //< userdefined DNS server for pptp + TQString SearchDomainInResolvConf; + TQString DomainInResolvConf; + TQString CommandBeforeConnect; + TQString CommandAfterConnect; + TQString CommandBeforeDisconnect; + TQString CommandAfterDisconnect; + TQString Description; //< Description of the profile + TQString SpecialServerCertificate; + TQString VirtualIP; //< Virtual IP for freeswan/racoon + TQString TunnelDeviceType; //< Type of tunnel device which should be used e.g. tun or tap for openvpn + TQString NsCertType; //< openvpn + TQString UserdefiniedCipher; //< Ciphers for OpenVPN + TQString TlsAuthFile; + TQString HttpProxy; + TQString ExchangeMode; //< IKE exchange mode + TQString TlsRemoteHost; + TQString RightNextHop; // freeswan + TQString LeftNextHop; // freeswan + TQString HttpProxyAuthType; + TQString HttpProxyUser; + TQString HttpProxyPass; + TQString Pkcs11Providers; + TQString Pkcs11SlotType; + TQString Pkcs11Slot; + TQString Pkcs11IdType; + TQString Pkcs11Id; + TQString Pkcs11SignMode; + TQString AuthMethod; //< authorization method for pptp (chap/pap) + TQString AuthenticationDirection; //< openvpn key and tls-auth direction (none,0,1) + TQString CiscoNatMode; + TQString IpsecEsp; // IPsec ESP mode + TQString IpsecIke; //< IPsec IKE mode + TQString VtunProfile; + TQString IpsecVpnMode; //< IPSec tunnel type (transport | tunnel) + TQString LeftSourceIp; + TQString RightSourceIp; + TQString VirtualSubnetworks; + TQString SshConfigRemoteScript; - QStringList AdditionalNetworkRoutes; + TQStringList AdditionalNetworkRoutes; bool saveUserPassword; //< True if the user password should be stored (cisco) bool savePsk; //< True if the PSK should be stored |