Changeset ac38e9dc for networking/netutils/wireshark-systemd.xml
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netutils/wireshark-systemd.xml
r4a83293 rac38e9dc 5 5 %general-entities; 6 6 7 <!ENTITY wireshark-download-http "http ://www.wireshark.org/download/src/all-versions/wireshark-&wireshark-version;.tar.bz2">8 <!ENTITY wireshark-download-ftp " 9 <!ENTITY wireshark-md5sum "2 f2a16be8b087227cb17733c72288ae4">7 <!ENTITY wireshark-download-http "https://www.wireshark.org/download/src/all-versions/wireshark-&wireshark-version;.tar.bz2"> 8 <!ENTITY wireshark-download-ftp "ftp://ftp.uni-kl.de/pub/wireshark/src/wireshark-&wireshark-version;.tar.bz2"> 9 <!ENTITY wireshark-md5sum "25ad2bc1c2a21396827c238fcff51bf3"> 10 10 <!ENTITY wireshark-size "28 MB"> 11 <!ENTITY wireshark-buildsize " 750 MB (up to 1.5 GB)">12 <!ENTITY wireshark-time " 7.32SBU">11 <!ENTITY wireshark-buildsize "1.6 GB"> 12 <!ENTITY wireshark-time "6.0 SBU"> 13 13 ]> 14 14 … … 30 30 <title>Introduction to Wireshark</title> 31 31 32 <para>The <application>Wireshark</application> package contains a network 33 protocol analyzer, also known as a <quote>sniffer</quote>. This is useful 34 for analyzing data captured <quote>off the wire</quote> from a live network 35 connection, or data read from a capture file. 36 <application>Wireshark</application> provides both a graphical and a TTY-mode 37 front-end for examining captured network packets from over 500 protocols, 38 as well as the capability to read capture files from many other popular 39 network analyzers.</para> 40 41 &lfs76_checked; 32 <para> 33 The <application>Wireshark</application> package contains a network 34 protocol analyzer, also known as a <quote>sniffer</quote>. This is useful 35 for analyzing data captured <quote>off the wire</quote> from a live 36 network connection, or data read from a capture file. 37 </para> 38 39 <para> 40 <application>Wireshark</application> provides both a graphical and a 41 TTY-mode front-end for examining captured network packets from over 500 42 protocols, as well as the capability to read capture files from many 43 other popular network analyzers. 44 </para> 45 46 &lfs77_checked; 42 47 43 48 <bridgehead renderas="sect3">Package Information</bridgehead> … … 66 71 <itemizedlist spacing="compact"> 67 72 <listitem> 68 <para>Additional Documentation: 69 <ulink url="http://www.wireshark.org/download/docs/"/> 73 <para> 74 Additional Documentation: 75 <ulink url="https://www.wireshark.org/download/docs/"/> 76 (contains links to docs in a variety of formats) 70 77 </para> 71 78 </listitem> 72 79 </itemizedlist> 73 74 <para>From this page you can download many different docs in a variety75 of formats.</para>76 77 80 <bridgehead renderas="sect3">Wireshark dependencies</bridgehead> 78 81 79 82 <bridgehead renderas="sect4">Required</bridgehead> 80 83 <para role="required"> 81 <xref linkend="glib2"/> (to build the TTY-mode front-end only) 82 </para> 83 84 <para>Note that you need <application>GTK+</application> or 85 <application>Qt</application> installed, otherwise, pass 86 <option>--disable-wireshark</option> to the 87 <command>configure</command> command.</para> 84 <xref linkend="glib2"/> 85 </para> 88 86 89 87 <bridgehead renderas="sect4">Recommended</bridgehead> … … 113 111 </para> 114 112 115 <para condition="html" role="usernotes"> User Notes:116 <ulink url="&blfs-wiki;/wireshark"/></para>117 113 <para condition="html" role="usernotes"> 114 User Notes: <ulink url="&blfs-wiki;/wireshark"/> 115 </para> 118 116 </sect2> 119 117 … … 121 119 <title>Kernel Configuration</title> 122 120 123 <para>The kernel must have the Packet protocol enabled for 124 <application>Wireshark</application> to capture live packets from the 125 network.</para> 121 <para> 122 The kernel must have the Packet protocol enabled for <application> 123 Wireshark</application> to capture live packets from the network: 124 </para> 126 125 127 <screen><literal>Networking support: Y 128 Networking options: 129 Packet: sockets monitoring interface: M or Y</literal></screen> 130 131 <para>If built as a module, the name is 132 <filename>af_packet.ko</filename>.</para> 133 134 <indexterm zone="wireshark wireshark-kernel"> 135 <primary sortas="d-Capturing-network-packets">Capturing network 136 packets</primary> 137 </indexterm> 126 <screen><literal>[*] Networking support ---> [CONFIG_NET] 127 Networking options ---> 128 <*/M> Packet socket [CONFIG_PACKET]</literal></screen> 129 130 <indexterm zone="wireshark wireshark-kernel"> 131 <primary sortas="d-Capturing-network-packets"> 132 Capturing network packets 133 </primary> 134 </indexterm> 138 135 139 136 </sect2> … … 142 139 <title>Installation of Wireshark</title> 143 140 144 <para>Optionally, fix the description of the program in the title. 145 The first change overwrites the default "SVN Unknown" in the title 146 and the second overwrites a utility script that resets the version 147 to "unknown".</para> 148 149 <screen><userinput>cat > svnversion.h << "EOF" 141 <para> 142 Optionally, fix the description of the program in the title. 143 The first change overwrites the default <quote>SVN Unknown</quote> in 144 the title and the second overwrites a utility script that resets the 145 version to <quote>unknown</quote>. 146 </para> 147 148 <screen><userinput>cat > svnversion.h << "EOF" && 150 149 #define SVNVERSION "BLFS" 151 150 #define SVNPATH "source" … … 153 152 154 153 cat > make-version.pl << "EOF" 155 #!/usr/bin/perl 154 <literal>#!/usr/bin/perl</literal> 156 155 EOF</userinput></screen> 157 156 158 <para><application>Wireshark</application> is a very large and complex 159 application. These instructions provide additional security measures to 160 ensure that only trusted users are allowed to view network traffic. First, 161 set up a system group for wireshark. As the <systemitem 162 class="username">root</systemitem> user:</para> 157 <para> 158 <application>Wireshark</application> is a very large and complex 159 application. These instructions provide additional security measures to 160 ensure that only trusted users are allowed to view network traffic. First, 161 set up a system group for wireshark. As the <systemitem 162 class="username">root</systemitem> user: 163 </para> 163 164 164 165 <screen role="root"><userinput>groupadd -g 62 wireshark</userinput></screen> 165 166 <para>If you want an unpriviledged user to execute167 <application>wireshark</application>, run the following command as the168 <systemitem class="username">root</systemitem> user:</para>169 170 <screen><userinput>usermod -a -G wireshark <replaceable><username></replaceable></userinput></screen>171 166 172 167 <para> … … 190 185 </para> 191 186 192 <screen><userinput>export QT_SELECT=qt5</userinput></screen> 187 <screen><userinput>sed -i "s:moc;:moc-qt5;:g" configure && 188 sed -i "s:uic;:uic-qt5;:g" configure && 189 sed -i "s:(AM_V_RCC)rcc:&-qt5:g" ui/qt/Makefile.in</userinput></screen> 193 190 194 191 <para> … … 198 195 </para> 199 196 200 <screen><userinput>sed -i "s:Qt5 Qt:Qt:g" configure</userinput></screen> 197 <screen><userinput>sed -i "s:Qt5 Qt:Qt:g" configure && 198 sed -i "s:moc;:moc-qt4;:g" configure && 199 sed -i "s:uic;:uic-qt4;:g" configure && 200 sed -i "s:(AM_V_RCC)rcc:&-qt4:g" ui/qt/Makefile.in</userinput></screen> 201 201 202 202 <para> … … 211 211 make</userinput></screen> 212 212 213 <para>This package does not come with a test suite.</para> 214 215 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 213 <para> 214 This package does not come with a test suite. 215 </para> 216 217 <para> 218 Now, as the <systemitem class="username">root</systemitem> user: 219 </para> 216 220 217 221 <screen role="root"><userinput>make install && … … 233 237 if [ -e /usr/bin/wireshark-qt ]; then 234 238 install -v -Dm644 wireshark.desktop /usr/share/applications/wireshark-qt.desktop && 235 sed -i "/Exec/s:wireshark:&-qt:g" /usr/share/applications/wireshark-qt.desktop 239 sed -i "s:Exec.*wireshark:&-qt:g" /usr/share/applications/wireshark-qt.desktop && 240 sed -i "s:Name.*Wireshark:& (Qt):g" /usr/share/applications/wireshark-qt.desktop 236 241 fi && 237 242 … … 243 248 done && 244 249 245 unset size && 246 unset QT_SELECT</userinput></screen> 247 248 <para>If you downloaded any of the documentation files from the page 249 listed in the 'Additional Downloads', install them by issuing the following 250 commands as the <systemitem class="username">root</systemitem> user:</para> 250 unset size</userinput></screen> 251 252 <para> 253 If you downloaded any of the documentation files from the page 254 listed in the 'Additional Downloads', install them by issuing the 255 following commands as the <systemitem class="username">root</systemitem> 256 user: 257 </para> 251 258 252 259 <screen role="root"><userinput>install -v -m644 <replaceable><Downloaded_Files></replaceable> /usr/share/doc/wireshark-&wireshark-version;</userinput></screen> 253 260 254 <para>Now, set ownership and permissions of sensitive applications to 255 only allow authorized users. As the <systemitem 256 class="username">root</systemitem> user:</para> 261 <para> 262 Now, set ownership and permissions of sensitive applications to only 263 allow authorized users. As the <systemitem class="username">root 264 </systemitem> user: 265 </para> 257 266 258 267 <screen role="root"><userinput>chown -v root:wireshark /usr/bin/{tshark,dumpcap} && 259 268 chmod -v 6550 /usr/bin/{tshark,dumpcap}</userinput></screen> 260 269 261 <para>Finally, add any users to the wireshark group (as root user):</para> 270 <para> 271 Finally, add any users to the wireshark group (as <systemitem class= 272 "username">root</systemitem> user): 273 </para> 262 274 263 275 <screen role="root"><userinput>usermod -a -G wireshark <username></userinput></screen> … … 353 365 <seg> 354 366 /usr/lib/wireshark, 355 /usr/share/doc/wireshark-&wireshark-version; and 367 /usr/share/doc/wireshark-&wireshark-version;, 368 /usr/share/pixmaps/wireshark and 356 369 /usr/share/wireshark 357 370 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.