Wireshark - 0.99.5 Podręcznik Użytkownika Strona 203

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 223
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 202
D.3. tcpdump: Capturing with tcpdump for
viewing with Wireshark
There are occasions when you want to capture packets using tcpdump rather than wireshark, espe-
cially when you want to do a remote capture and do not want the network load associated with run-
ning Wireshark remotely (not to mention all the X traffic polluting your capture).
However, the default tcpdump parameters result in a capture file where each packet is truncated,
because tcpdump, by default, does only capture the first 68 bytes of each packet.
To ensure that you capture complete packets, use the following command:
tcpdump -i <interface> -s 1500 -w <some-file>
You will have to specify the correct interface and the name of a file to save into. In addition, you
will have to terminate the capture with ^C when you believe you have captured enough packets.
Note!
tcpdump is not part of the Wireshark distribution. You can get it from: ht-
tp://www.tcpdump.org for various platforms.
Related command line tools
189
Przeglądanie stron 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 222 223

Komentarze do niniejszej Instrukcji

Brak uwag