Date: Thu, 15 Oct 2020 03:49:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250357] RFC 5961 is not implemented completely Message-ID: <bug-250357-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250357 Bug ID: 250357 Summary: RFC 5961 is not implemented completely Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: yonghaoz1994@gmail.com It seems that RFC 5961 is not implemented completely, the following packetdrill script cannot get a same result as Linux. ``` 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 +0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +0 bind(3, ..., ...) = 0 +0 listen(3, 1) = 0 +0 < S 0:0(0) win 12336 <TS val 100 ecr 0,eol,mss 14705,eol> +0 ~ +1 > S. 0:0(0) ack 1 <...> +.1 < . 1:1(0) ack 1 win 32792 <mss 1000,sackOK,nop,wscale 7, nop, nop> +0.2 accept(3, ..., ...) = 4 +0 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +0 < . 1:2833(2832) ack 1 win 25726 +0 < . 1:7999(7998) ack 1 win 25198 +0 < . 7999:13219(5220) ack 1 win 13129 +0 < . 7999:8760(761) ack 1 win 30256 +0 < . 8760:14656(5896) ack 892600372 win 36462 +0.1 read(4, ..., 20000) = 13218 +0 < . 8760:9769(1009) ack 1 win 14709 <sackOK,eol,eol> +0 < . 9769:17706(7937) ack 1 win 30540 <nop,eol,eol,eol> +0.1 read(4, ..., 20000) = 4487 +0 < . 17706:26874(9168) ack 2560098456 win 28277 // f-stack got 9168 +0.1 read(4, ..., 20000) = -1 ``` -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250357-227>
