You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tork/src/server.ui

759 lines
40 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MyServer</class>
<widget class="TQDialog">
<property name="name">
<cstring>MyServer</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>532</width>
<height>513</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>MyDialog1</string>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>tabWidget</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>Widget8</cstring>
</property>
<attribute name="title">
<string>&amp;General</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>kcfg_ClientOnly</cstring>
</property>
<property name="text">
<string>Never Run As a Server, &amp;Even If Tor Thinks I've Got The Girth</string>
</property>
<property name="accel">
<string>Alt+E</string>
</property>
</widget>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>ServerInfo</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Tor Server Details</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout1</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>kcfg_NickName</cstring>
</property>
<property name="maxLength">
<number>20</number>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="3">
<property name="name">
<cstring>kcfg_ContactInfo</cstring>
</property>
<property name="maxLength">
<number>40</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Contact Info:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Nick:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout2</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQListView" row="0" column="1">
<column>
<property name="text">
<string>CC</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>geoip</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>fp</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>My Family </string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<property name="name">
<cstring>MyFamily</cstring>
</property>
<property name="selectionMode">
<enum>Extended</enum>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>pushButton2</cstring>
</property>
<property name="text">
<string>Delete Selected</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="2" colspan="1">
<property name="name">
<cstring>textLabel7_2_2_2_3</cstring>
</property>
<property name="text">
<string>&lt;p&gt; This is a list of other servers that you administer. This will prevent people from using you more than once.
&lt;p&gt;&lt;b&gt;You add to this list by right-clicking on your servers in the main 'Tor Network' tab and clicking 'Add to My Family'.&lt;/b&gt;&lt;/p&gt;</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout5</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>kcfg_DirListenAddress</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Serve Tor Traffic on Local Port</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="1">
<property name="name">
<cstring>kcfg_ORListenAddress</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
<property name="text">
<string>Serve Tor Listings on Local Port</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQCheckBox" row="3" column="1">
<property name="name">
<cstring>kcfg_ForwardPorts</cstring>
</property>
<property name="text">
<string>Improve Accessibility</string>
</property>
<property name="toolTip" stdset="0">
<string>This will tell Tor to adverise your Tor server on the common ports 80 and 443, &lt;br&gt; it will also tell your router to forward traffic on these ports to Tor.</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="Line">
<property name="name">
<cstring>line1_2</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_PublishServerDescriptor</cstring>
</property>
<property name="text">
<string>Let the Tor Network know about me as a server</string>
</property>
<property name="accel">
<string></string>
</property>
</widget>
<widget class="Line">
<property name="name">
<cstring>line1_2_2</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_MiddleMan</cstring>
</property>
<property name="text">
<string>&amp;Act as a Relay Server Only (Disables Your Exit Policies in the Tab Above).</string>
</property>
<property name="accel">
<string>Alt+A</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_BridgeRelay</cstring>
</property>
<property name="text">
<string>&amp;Act as an Anti-Censorship Relay</string>
</property>
<property name="accel">
<string>Alt+A</string>
</property>
</widget>
</vbox>
</widget>
<widget class="Line" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>line1</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>&amp;Performance</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>kcfg_DefaultServerPerformance</cstring>
</property>
<property name="text">
<string>Let Tor figure out the &amp;best performance options to use</string>
</property>
<property name="accel">
<string>Alt+B</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="Line" row="1" column="0">
<property name="name">
<cstring>line3</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<spacer row="3" column="0">
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>240</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="2" column="0">
<property name="name">
<cstring>PerformanceOptions</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Performance Options</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQSpinBox" row="0" column="4">
<property name="name">
<cstring>kcfg_NumCPUs</cstring>
</property>
<property name="maxValue">
<number>5000</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="4">
<property name="name">
<cstring>kcfg_MaxOnionsPending</cstring>
</property>
<property name="maxValue">
<number>5000</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Maximum number of encryption tasks to keep waiting:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Maximum number of simultaneous encryption tasks:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>every</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>When shutting down, wait at most: </string>
</property>
</widget>
<widget class="TQSpinBox" row="3" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_ShutDownWaitLength</cstring>
</property>
<property name="suffix">
<string> seconds</string>
</property>
<property name="maxValue">
<number>5000</number>
</property>
</widget>
<widget class="TQComboBox" row="2" column="4">
<item>
<property name="text">
<string>day</string>
</property>
</item>
<item>
<property name="text">
<string>week</string>
</property>
</item>
<item>
<property name="text">
<string>month</string>
</property>
</item>
<property name="name">
<cstring>AccountingStart</cstring>
</property>
</widget>
<widget class="TQSpinBox" row="2" column="1">
<property name="name">
<cstring>kcfg_AccountingMax</cstring>
</property>
<property name="suffix">
<string> MBs p/s</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel2_2_2</cstring>
</property>
<property name="text">
<string>Never exceed </string>
</property>
</widget>
<widget class="TQSpinBox" row="4" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_ConnLimit</cstring>
</property>
<property name="suffix">
<string> descriptors</string>
</property>
<property name="maxValue">
<number>9999</number>
</property>
</widget>
<widget class="TQLabel" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel4_2_2_2</cstring>
</property>
<property name="text">
<string>Do not start unless system can support at least</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>ExitPolicies</cstring>
</property>
<attribute name="title">
<string>&amp;Exit Policies</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>130</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox6</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Sites you do not want to send traffic to</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="2" colspan="1">
<property name="name">
<cstring>textLabel5_2</cstring>
</property>
<property name="text">
<string>&lt;p&gt; When you are an exit server for a circuit it is your computer that the destination website or host will see - the traffic will have your name on it. If you are an exit server and do not want your server to route traffic to certain sites/hosts this is the place to specify them.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Use '0' as the port to specify 'all ports'. Use '*' as the address to specify 'all addresses'&lt;/b&gt;.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQListView" row="0" column="1" rowspan="1" colspan="4">
<column>
<property name="text">
<string>Policy</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>IP Address </string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>false</bool>
</property>
</column>
<column>
<property name="text">
<string>Port</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>ExitPolicy</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="selectionMode">
<enum>Extended</enum>
</property>
<property name="allColumnsShowFocus">
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>SocksPort</cstring>
</property>
</widget>
<widget class="TQPushButton" row="1" column="4">
<property name="name">
<cstring>PushAdd2</cstring>
</property>
<property name="text">
<string>O&amp;K</string>
</property>
<property name="accel">
<string>Alt+K</string>
</property>
</widget>
<widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>accept</string>
</property>
</item>
<item>
<property name="text">
<string>reject</string>
</property>
</item>
<property name="name">
<cstring>Policy</cstring>
</property>
</widget>
<widget class="TQLineEdit" row="1" column="2">
<property name="name">
<cstring>SocksAddress</cstring>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>kcfg_DefaultServerPerformance</sender>
<signal>toggled(bool)</signal>
<receiver>MyServer</receiver>
<slot>checkBox6_toggled(bool)</slot>
</connection>
<connection>
<sender>kcfg_MiddleMan</sender>
<signal>toggled(bool)</signal>
<receiver>MyServer</receiver>
<slot>kcfg_MiddleMan_toggled(bool)</slot>
</connection>
<connection>
<sender>PushAdd2</sender>
<signal>clicked()</signal>
<receiver>MyServer</receiver>
<slot>pushAdd2_clicked()</slot>
</connection>
<connection>
<sender>ExitPolicy</sender>
<signal>contextMenuRequested(TQListViewItem*,const TQPoint&amp;,int)</signal>
<receiver>MyServer</receiver>
<slot>ExitPolicy_contextMenuRequested(TQListViewItem*,const TQPoint&amp;,int)</slot>
</connection>
<connection>
<sender>pushButton2</sender>
<signal>clicked()</signal>
<receiver>MyServer</receiver>
<slot>pushButton2_clicked()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">server.ui.h</include>
</includes>
<slots>
<slot>kcfg_DefaultServerIP_toggled( bool )</slot>
<slot>kcfg_MiddleMan_toggled( bool on )</slot>
<slot>checkBox6_toggled( bool state )</slot>
<slot>pushAdd2_clicked()</slot>
<slot>ExitPolicy_contextMenuRequested( TQListViewItem *, const TQPoint &amp; point, int )</slot>
<slot>slotDeleteEntry()</slot>
<slot>pushButton2_clicked()</slot>
<slot>kcfg_BridgeRelay_toggled( bool on )</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>