mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 10:04:05 +08:00
Add two TFTP tests
There is one pcap file with two outputs, with/without the '-T tftp' option.
This commit is contained in:
parent
ce9a0a3817
commit
d3712a11a5
@ -394,6 +394,10 @@ resp_1 resp_1_benchmark.pcap resp_1.out
|
|||||||
resp_2 resp_2_inline.pcap resp_2.out
|
resp_2 resp_2_inline.pcap resp_2.out
|
||||||
resp_3 resp_3_malicious.pcap resp_3.out
|
resp_3 resp_3_malicious.pcap resp_3.out
|
||||||
|
|
||||||
|
# TFTP tests
|
||||||
|
tftp tftp.pcap tftp.out
|
||||||
|
tftp-T tftp.pcap tftp-T.out -T tftp
|
||||||
|
|
||||||
# WHOIS tests
|
# WHOIS tests
|
||||||
whois whois.pcap whois.out
|
whois whois.pcap whois.out
|
||||||
whois-v whois.pcap whois-v.out -v
|
whois-v whois.pcap whois-v.out -v
|
||||||
|
7
tests/tftp-T.out
Normal file
7
tests/tftp-T.out
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
1 12:31:53.718074 IP 192.168.1.2.44935 > 192.168.1.1.69: TFTP, length 14, RRQ "file1" octet
|
||||||
|
2 12:31:53.732442 IP 192.168.1.1.59557 > 192.168.1.2.44935: TFTP, length 516, DATA block 1
|
||||||
|
3 12:31:53.732956 IP 192.168.1.2.44935 > 192.168.1.1.59557: TFTP, length 4, ACK block 1
|
||||||
|
4 12:31:53.733217 IP 192.168.1.1.59557 > 192.168.1.2.44935: TFTP, length 516, DATA block 2
|
||||||
|
5 12:31:53.733497 IP 192.168.1.2.44935 > 192.168.1.1.59557: TFTP, length 4, ACK block 2
|
||||||
|
6 12:31:53.733527 IP 192.168.1.1.59557 > 192.168.1.2.44935: TFTP, length 109, DATA block 3
|
||||||
|
7 12:31:53.733706 IP 192.168.1.2.44935 > 192.168.1.1.59557: TFTP, length 4, ACK block 3
|
7
tests/tftp.out
Normal file
7
tests/tftp.out
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
1 12:31:53.718074 IP 192.168.1.2.44935 > 192.168.1.1.69: TFTP, length 14, RRQ "file1" octet
|
||||||
|
2 12:31:53.732442 IP 192.168.1.1.59557 > 192.168.1.2.44935: UDP, length 516
|
||||||
|
3 12:31:53.732956 IP 192.168.1.2.44935 > 192.168.1.1.59557: UDP, length 4
|
||||||
|
4 12:31:53.733217 IP 192.168.1.1.59557 > 192.168.1.2.44935: UDP, length 516
|
||||||
|
5 12:31:53.733497 IP 192.168.1.2.44935 > 192.168.1.1.59557: UDP, length 4
|
||||||
|
6 12:31:53.733527 IP 192.168.1.1.59557 > 192.168.1.2.44935: UDP, length 109
|
||||||
|
7 12:31:53.733706 IP 192.168.1.2.44935 > 192.168.1.1.59557: UDP, length 4
|
BIN
tests/tftp.pcap
Normal file
BIN
tests/tftp.pcap
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user