From: Viral Mehta Date: Fri, 24 Aug 2018 09:14:51 +0000 (-0400) Subject: add test for nfs write verf cookie X-Git-Tag: tcpdump-4.99-bp~1037 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/8b9f7d9d76c4770d908c2a035a8fbedd582af322 add test for nfs write verf cookie test results: [vmehta@centos72_base tcpdump]# make check | grep nfs unaligned-nfs-1 : passed nfs-attr-oobr : passed hoobr_nfs_printfh : passed hoobr_nfs_xid_map_enter : passed nfs-seg-fault-1 : passed nfs-write-verf-cookie : passed <- new test --- diff --git a/tests/nfs-write-verf-cookie.out b/tests/nfs-write-verf-cookie.out new file mode 100644 index 00000000..30ee4918 --- /dev/null +++ b/tests/nfs-write-verf-cookie.out @@ -0,0 +1,4 @@ + 1 08:54:32.729464 IP (tos 0x0, ttl 64, id 57143, offset 0, flags [DF], proto TCP (6), length 200) + 10.207.74.149.993 > 10.98.159.117.2049: Flags [P.], cksum 0xfff5 (incorrect -> 0x430b), seq 1468263659:1468263807, ack 2941950012, win 279, options [nop,nop,TS val 1641695579 ecr 608564722], length 148: NFS request xid 90477929 144 write fh Unknown/F0C862C6000010000000000014AB0200C6DD760758AA7A5B0000000000000000 3 (3) bytes @ 0 + 2 08:54:32.731527 IP (tos 0x0, ttl 59, id 38294, offset 0, flags [DF], proto TCP (6), length 216) + 10.98.159.117.2049 > 10.207.74.149.993: Flags [P.], cksum 0x381a (correct), seq 1:165, ack 148, win 29146, options [nop,nop,TS val 608564725 ecr 1641695579], length 164: NFS reply xid 90477929 reply ok 160 write PRE: sz 0 mtime 1535100894.465310536 ctime 1535100894.464014342 POST: REG 100644 ids 65534/65534 sz 3 nlink 1 rdev 0/0 fsid 5b7aaa5800000000 fileid 2ab14 a/m/ctime 1535100894.466424000 1535100894.466424000 1535100894.466424000 3 bytes verf 851b4 diff --git a/tests/nfs-write-verf-cookie.pcap b/tests/nfs-write-verf-cookie.pcap new file mode 100644 index 00000000..11b6360e Binary files /dev/null and b/tests/nfs-write-verf-cookie.pcap differ