summaryrefslogtreecommitdiff
path: root/res/xml/vpn_obscure.xml
blob: 718f19203a7cdfcbc031c14f95f4ba63d6410f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    android:title="Obscure Settings" >

    <ListPreference
        android:entries="@array/verb_entries"
        android:entryValues="@array/verb_values"
        android:key="verblevel"
        android:persistent="false"
        android:summary="%s"
        android:title="Log verbosity level" />

    <CheckBoxPreference
        android:key="useRandomHostname"
        android:persistent="false"
        android:summary="@string/random_host_summary"
        android:title="@string/random_host_prefix" />
    <CheckBoxPreference
        android:key="useFloat"
        android:persistent="false"
        android:summary="Allows authenticated packets from any IP"
        android:title="Allow floating server" />

    <!--
    <CheckBoxPreference android:key="setmtu" android:title="Set custom MTU" />
      <EditTextPreference
        android:dependency="setmtu"
        android:defaultValue="1500"
        android:title="MTU" />
    -->


    <!--
	Shaping works only on outgoing packet, so it is rather uninteresting :(
    <CheckBoxPreference
       android:persistent="false"
        android:key="useBWShaping"
        android:title="bandwidth shaping" 
        android:summary="Limit Bandwidth of the VPN"/>

    <EditTextPreference
        android:key="shaperLimit"
        android:dependency="useBWShaping"
        android:title="Bandwidth in KByte/s" />
    -->


    <!--
         <CheckBoxPreference
        android:defaultValue="true"
        android:key="enableReplayProtection"
        android:title="Replay Protection" />
    -->
    <PreferenceCategory android:title="@string/custom_config_title" >
        <CheckBoxPreference
            android:key="enableCustomOptions"
            android:persistent="false"
            android:summary="@string/custom_config_summary"
            android:title="@string/custom_config_title" />

        <EditTextPreference
            android:dependency="enableCustomOptions"
            android:dialogMessage="@string/custom_option_warning"
            android:key="customOptions"
            android:persistent="false"
            android:title="Custom Options" />
    </PreferenceCategory>

</PreferenceScreen>