Skip to content

Commit

Permalink
Merge pull request google#31 from fw-strlen/mp_join_server_bad_token
Browse files Browse the repository at this point in the history
mp_join: add test case with bogus token
  • Loading branch information
matttbe authored Dec 4, 2020
2 parents 67100b4 + ae31c40 commit 11dd1ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gtests/net/mptcp/mp_join/mp_join_server_bad_token.pkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--tolerance_usecs=100000
`../common/defaults.sh`

+0 `../common/server.sh`

+0.0 socket(..., SOCK_STREAM, IPPROTO_MPTCP) = 3
+0.0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
+0.0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
+0.0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0

+0 bind(3, ..., ...) = 0
+0 listen(3, 1) = 0

+0.0 < S 0:0(0) win 65535 <mss 1460,mp_join_syn address_id=0 token=1>
+0.0 > R. 0:0(0) ack 1

0 comments on commit 11dd1ae

Please sign in to comment.