diff options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/vpn_authentification.xml | 12 | ||||
-rw-r--r-- | res/xml/vpn_headers.xml | 22 | ||||
-rw-r--r-- | res/xml/vpn_ipsettings.xml | 6 |
3 files changed, 24 insertions, 16 deletions
diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml index 949093d..3781211 100644 --- a/res/xml/vpn_authentification.xml +++ b/res/xml/vpn_authentification.xml @@ -5,7 +5,15 @@ android:key="remoteServerTLS" android:summary="Checks whether the server uses a TLS Server Certificate" android:title="Except TLS Server" /> + <CheckBoxPreference + android:key="checkRemoteCN" + android:summary="Checks the Remote Server Certificate CN against a String" + android:title="Certificate Hostname Check" /> + + <EditTextPreference + android:dependency="checkRemoteCN" + android:dialogMessage="Enter the String against which the remote Server is checked. Openvpn will use prefix matching. "Server" matches "Server-1" and "Server-2"" + android:title="Remote Hostname(CN)" + android:key="remotecn"/> - - <CheckBoxPreference android:key="useTLSAuth"/> </PreferenceScreen>
\ No newline at end of file diff --git a/res/xml/vpn_headers.xml b/res/xml/vpn_headers.xml index 424b441..faaa6cd 100644 --- a/res/xml/vpn_headers.xml +++ b/res/xml/vpn_headers.xml @@ -2,34 +2,30 @@ <preference-headers xmlns:android="http://schemas.android.com/apk/res/android" > <header + android:tag="BasicSettings" android:fragment="de.blinkt.openvpn.BasicSettings" android:summary="Server, port and authentication method. Normally you should only settings specified here." - android:title="Basic Settings" /> + android:title="Basic Settings" + android:id="@+id/basicsettingsid"/> <!-- android:icon="@drawable/ic_settings_applications" --> <header - android:fragment="de.blinkt.openvpn.VPNPreferences$IP_Settings" + android:fragment="de.blinkt.openvpn.Settings_IP" android:summary="IP Address and Routing" android:title="IP Settings" /> <header - android:fragment="de.blinkt.openvpn.VPNPreferences$Authentication" + android:fragment="de.blinkt.openvpn.Settings_Authentication" android:summary="Authentication" android:title="Authentication" /> <!-- android:icon="@drawable/ic_settings_display" --> - <header - android:fragment="de.blinkt.openvpn.VPNPreferences$Obscure" + <!-- + <header + android:fragment="de.blinkt.openvpn.Settings_Obscure" android:summary="Obscure OpenVPN Settings. Normaly not needed." android:title="Obscure" > - - <!-- - Arbitrary key/value pairs can be included with a header as - arguments to its fragment. - --> - <extra - android:name="someKey" - android:value="someHeaderValue" /> </header> + --> <header android:fragment="de.blinkt.openvpn.ShowConfigFragment" android:summary="Shows the generated openvpn Configuration File" diff --git a/res/xml/vpn_ipsettings.xml b/res/xml/vpn_ipsettings.xml index 8aacaac..79356e6 100644 --- a/res/xml/vpn_ipsettings.xml +++ b/res/xml/vpn_ipsettings.xml @@ -4,7 +4,9 @@ <SwitchPreference android:disableDependentsState="true" android:key="usePull" - android:title="Pull Settings" /> + android:title="Pull Settings" + android:summaryOn="Requests IP addresses, routes and timing options from the server." + android:summaryOff="No information is requested from the server. Settings need to be specified below." /> <PreferenceCategory android:title="IP" > <EditTextPreference @@ -29,9 +31,11 @@ android:title="searchDomain" /> <EditTextPreference android:key="dns1" + android:dialogMessage="DNS Server to be used." android:title="DNS Server" /> <EditTextPreference android:key="dns2" + android:dialogMessage="Secondary DNS Server used if the normal DNS Server cannot be reached." android:title="Backup DNS Server" /> </PreferenceCategory> <PreferenceCategory android:title="Routing" > |