summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/genericinterface/kmyfirewallgenericinterfacelogging.ui
blob: e97149eeb4c501ee91812b98f251e279e6e85778 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KMyFirewallGenericInterfaceLogging</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>KMyFirewallGenericInterfaceLogging</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>682</width>
            <height>366</height>
        </rect>
    </property>
    <property name="caption">
        <string>Logging</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>2</number>
        </property>
        <property name="spacing">
            <number>2</number>
        </property>
        <spacer row="1" column="0">
            <property name="name">
                <cstring>spacer2</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Preferred</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>20</width>
                    <height>81</height>
                </size>
            </property>
        </spacer>
        <widget class="TQGroupBox" row="0" column="0">
            <property name="name">
                <cstring>GroupBox3_2</cstring>
            </property>
            <property name="title">
                <string>Logging</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>11</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>TextLabel1_3</cstring>
                    </property>
                    <property name="text">
                        <string>&lt;p&gt;Logging dropped packets will allow you to have a look at the 
packets (source/destination IP/port, etc.) that tried to pass your 
firewall unsuccessfully.&lt;br&gt;
This is very useful if any damage has been caused by an attack 
and you want to find the person responsible.&lt;br&gt;
The entries are written to the system's main log file 
(usually /var/log/messages).&lt;p&gt;</string>
                    </property>
                    <property name="textFormat">
                        <enum>RichText</enum>
                    </property>
                    <property name="alignment">
                        <set>WordBreak|AlignVCenter</set>
                    </property>
                </widget>
                <spacer row="1" column="0">
                    <property name="name">
                        <cstring>spacer1</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Preferred</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>381</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
                <widget class="TQCheckBox" row="1" column="1">
                    <property name="name">
                        <cstring>m_c_log</cstring>
                    </property>
                    <property name="text">
                        <string>Log dropped packets</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="TQLabel" row="2" column="0">
                    <property name="name">
                        <cstring>TextLabel5_2_2_2</cstring>
                    </property>
                    <property name="text">
                        <string>&lt;p&gt;The logprefix is a string that is prepended to the lines written to your log file to help you find the lines you need.&lt;/p&gt;</string>
                    </property>
                    <property name="alignment">
                        <set>WordBreak|AlignTop|AlignLeft</set>
                    </property>
                    <property name="vAlign" stdset="0">
                    </property>
                    <property name="wordwrap" stdset="0">
                    </property>
                </widget>
                <widget class="KRestrictedLine" row="2" column="1">
                    <property name="name">
                        <cstring>m_le_logPrefix</cstring>
                    </property>
                    <property name="maxLength">
                        <number>18</number>
                    </property>
                    <property name="validChars">
                        <string>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ: </string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="3" column="1">
                    <property name="name">
                        <cstring>m_c_limitLog</cstring>
                    </property>
                    <property name="text">
                        <string>Limit logged packets</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="TQLabel" row="3" column="0">
                    <property name="name">
                        <cstring>TextLabel3_3_2_2_2</cstring>
                    </property>
                    <property name="text">
                        <string>&lt;p&gt;Avoid "Denial of Service" attacks by limiting logging.&lt;/p&gt;</string>
                    </property>
                    <property name="alignment">
                        <set>WordBreak|AlignVCenter|AlignLeft</set>
                    </property>
                    <property name="wordwrap" stdset="0">
                    </property>
                </widget>
            </grid>
        </widget>
    </grid>
</widget>
<connections>
    <connection>
        <sender>m_c_log</sender>
        <signal>toggled(bool)</signal>
        <receiver>m_c_limitLog</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>m_c_log</sender>
        <signal>toggled(bool)</signal>
        <receiver>TextLabel3_3_2_2_2</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>m_c_log</sender>
        <signal>toggled(bool)</signal>
        <receiver>m_le_logPrefix</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>m_c_log</sender>
        <signal>toggled(bool)</signal>
        <receiver>TextLabel5_2_2_2</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
<includes>
    <include location="global" impldecl="in implementation">krestrictedline.h</include>
</includes>
</UI>