tcpdump Flashcards

1
Q

tcpdump relies on what library

A

libpcap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

windump relies on what library

A

winpcap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ttl 64 is typically what OS

A

Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how can you tell the OS version for ICMP

A

ttl

icmp data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What OS as icmp data with 0a0b 0c0d 0e0f 1011 1213 1415 …

A

Linux/Unix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Tcpdump default packet capture length prior to version 4.0

A

68 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Tcpdump default packet capture length after 4.0

A

full packet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Ethernet frame header is how many bytes

A

14 - Don’t forget to include this fact when accounting for bytes in packets. Tcpdump captures everything after frame header.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To get fragment offset you have to what?

A

Convert field from hex to decimal and multiply by 8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

tcpdump -r does what

A

read a file pcap file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

tcpdump -c does what

A

shows -c # of lines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

tcpdump -e does what

A

shows MAC addresses for source and destination as well as OUI for manufacturer if known

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

tcpdump -x shows what

A

output in hex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

tcpdump -X shows what

A

output in hex with ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

tcpdump source macro is what

A

src

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

tcpdump destination macro is what

A

dst

17
Q

What are tcpdump macros for protocols

A

tcp, udp, ip, icmp

18
Q

tcpdump -vv does what

A

verbose - shows IP ttl, options etc

19
Q

tcpdump -i

A

choses an interface

20
Q

ttl of 255 is common for what OS

A

Cisco and Solaris

21
Q

tcpdump -F does what

A

reads from filter file you have created

22
Q

tcpdump -n

A

turn off name resolution

23
Q

tcpdump -nn

A

turn of name and port resolution