190 lines
6.3 KiB
XML
190 lines
6.3 KiB
XML
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory android:title="@string/pref_general_group">
|
|
<CheckBoxPreference
|
|
android:defaultValue="true"
|
|
android:key="pref_start_boot"
|
|
android:title="@string/pref_start_boot_title"
|
|
android:summary="@string/pref_start_boot_summary"
|
|
android:enabled="true"/>
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="has_root"
|
|
android:title="@string/pref_has_root"
|
|
android:summary="@string/pref_has_root_summary"
|
|
android:enabled="true"/>
|
|
<!--
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="use_whispercore"
|
|
android:title="@string/pref_use_whispercore"
|
|
android:summary="@string/pref_use_whispercore_summary"
|
|
android:enabled="true"/>
|
|
-->
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_trans_proxy_group">
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pref_transparent"
|
|
android:title="@string/pref_trans_proxy_title"
|
|
android:summary="@string/pref_trans_proxy_summary"
|
|
android:enabled="true"/>
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pref_transparent_all"
|
|
android:summary="@string/pref_transparent_all_summary"
|
|
android:enabled="true"
|
|
android:title="@string/pref_transparent_all_title"/>
|
|
|
|
<Preference
|
|
android:defaultValue=""
|
|
android:key="pref_transparent_app_list"
|
|
android:title="@string/pref_select_apps"
|
|
android:summary="@string/pref_select_apps_summary"
|
|
android:enabled="true"/>
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pref_transparent_tethering"
|
|
android:summary="@string/pref_transparent_tethering_summary"
|
|
android:enabled="true"
|
|
android:title="@string/pref_transparent_tethering_title"/>
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_node_configuration"
|
|
android:summary="@string/pref_node_configuration_summary">
|
|
|
|
<EditTextPreference android:key="pref_entrance_nodes"
|
|
android:title="@string/pref_entrance_node"
|
|
android:summary="@string/pref_entrance_node_summary"
|
|
android:dialogTitle="@string/pref_entrance_node_dialog"
|
|
/>
|
|
<EditTextPreference android:key="pref_exit_nodes"
|
|
android:title="Exit Nodes"
|
|
android:summary="Fingerprints, nicks, countries and addresses for the last hop"
|
|
android:dialogTitle="Enter Exit Nodes"
|
|
/>
|
|
<EditTextPreference android:key="pref_exclude_nodes"
|
|
android:title="Exclude Nodes"
|
|
android:summary="Fingerprints, nicks, countries and addresses to exclude"
|
|
android:dialogTitle="Enter Exclude Nodes"
|
|
/>
|
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
android:title="Strict Nodes" android:key="pref_strict_nodes"
|
|
android:summary="Use *only* these specified nodes"/>
|
|
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="Bridges">
|
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
android:title="Use Bridges" android:key="pref_bridges_enabled"
|
|
android:summary="Enable alternate entrance nodes into the Tor Network"></CheckBoxPreference>
|
|
|
|
|
|
<EditTextPreference android:key="pref_bridges_list"
|
|
android:title="Bridges"
|
|
android:summary="IP address and port of bridges"
|
|
android:dialogTitle="Enter Bridge Addresses"
|
|
/>
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="Relays">
|
|
<CheckBoxPreference android:key="pref_or"
|
|
android:defaultValue="false"
|
|
android:title="Relaying"
|
|
android:summary="Enable your device to be a non-exit relay"
|
|
android:enabled="true"
|
|
/>
|
|
|
|
<EditTextPreference android:key="pref_or_port"
|
|
android:defaultValue="9001"
|
|
android:title="Relay Port"
|
|
android:summary="Listening port for your Tor relay"
|
|
android:dialogTitle="Enter OR port"
|
|
/>
|
|
|
|
<EditTextPreference android:key="pref_or_nickname"
|
|
android:defaultValue="Orbot"
|
|
android:title="Relay nickname"
|
|
android:summary="The nickname for your Tor relay"
|
|
android:dialogTitle="Enter a custom relay nickname"
|
|
/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="ReachableAddresses">
|
|
<CheckBoxPreference
|
|
android:key="pref_reachable_addresses"
|
|
android:defaultValue="false"
|
|
android:title="ReachableAddresses"
|
|
android:summary="Run as a client behind a firewall with restrictive policies"
|
|
android:enabled="true"></CheckBoxPreference>
|
|
|
|
<EditTextPreference
|
|
android:key="pref_reachable_addresses_ports"
|
|
android:defaultValue="*:80,*:443"
|
|
android:title="Reachable ports"
|
|
android:summary="Ports reachable behind a restrictive firewall"
|
|
android:dialogTitle="Enter ports"
|
|
/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_hs_group">
|
|
<CheckBoxPreference android:title="Enable Hidden Services" android:summary="run servers accessible via the Tor network" android:key="pref_hs_enable"></CheckBoxPreference>
|
|
<EditTextPreference android:summary="enter localhost ports for hidden services" android:title="Hidden Service Ports" android:enabled="false" android:key="pref_hs_ports"></EditTextPreference>
|
|
|
|
<EditTextPreference android:key="pref_hs_hostname" android:summary="the addressable name for your hidden service (generated automatically)" android:title=".Onion Hostname"></EditTextPreference>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="Proxy Service for Tor">
|
|
<EditTextPreference android:key="pref_proxy_type"
|
|
android:title="@string/pref_proxy_type_title"
|
|
android:summary="@string/pref_proxy_type_summary"
|
|
android:dialogTitle="@string/pref_proxy_type_dialog"
|
|
/>
|
|
<EditTextPreference android:key="pref_proxy_host"
|
|
android:title="@string/pref_proxy_host_title"
|
|
android:summary="@string/pref_proxy_host_summary"
|
|
android:dialogTitle="@string/pref_proxy_host_dialog"
|
|
/>
|
|
<EditTextPreference android:key="pref_proxy_port"
|
|
android:title="@string/pref_proxy_port_title"
|
|
android:summary="@string/pref_proxy_port_summary"
|
|
android:dialogTitle="@string/pref_proxy_port_dialog"
|
|
/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="Debug">
|
|
<CheckBoxPreference
|
|
android:key="pref_enable_logging"
|
|
android:defaultValue="false"
|
|
android:title="Debug Log"
|
|
android:summary="enable debug log to output (must use adb or aLogCat to view)"
|
|
android:enabled="true"></CheckBoxPreference>
|
|
|
|
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="pref_transparent_port_fallback"
|
|
android:summary="@string/pref_transparent_port_fallback_summary"
|
|
android:enabled="true"
|
|
android:title="@string/pref_transparent_port_fallback_title"/>
|
|
|
|
<EditTextPreference android:key="pref_port_list"
|
|
android:defaultValue="80,443,8080,8888,8443"
|
|
android:title="@string/pref_transparent_port_title"
|
|
android:summary="@string/pref_transparent_port_summary"
|
|
android:dialogTitle="@string/pref_transparent_port_dialog"
|
|
/>
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|