tor-android/res/xml/preferences.xml

160 lines
5.5 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"/>
</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="Select Apps"
android:summary="Choose Apps to Route Through Tor"
android:enabled="true"/>
</PreferenceCategory>
<PreferenceCategory android:title="Node Configuration" android:summary="These are advanced settings that can reduce your anonymity">
<EditTextPreference android:key="pref_entrance_nodes"
android:title="Entrance Nodes"
android:summary="Fingerprints, nicks, countries and addresses for the first hop"
android:dialogTitle="Enter Entrance Nodes"
/>
<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>
<!-- 5/8/2010 NF: Arma says this doesn't actually work, so commenting out for now
<CheckBoxPreference android:defaultValue="false"
android:title="Update from Authority" android:key="pref_bridges_update"
android:summary="Modify bridge list automatically"></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="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>