// Create a socket.
0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
+0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
+0 bind(3, ..., ...) = 0
+0 listen(3, 1) = 0
// Establish a connection.
+0 < S 0:0(0) win 20000 <mss 1000,sackOK,nop,nop>
+0 > S. 0:0(0) ack 1 <mss 1460,sackOK,eol,nop>
+.01 < . 1:1(0) ack 1 win 20000
+0 accept(3, ..., ...) = 4
----- BLAH BLAH ----
+0 close(4) = 0
+0 > F. 1:1(0) ack 1001 win 65535
+0 < . 1001:1001(0) ack 2 win 20000
=======
My current cmd lines
==================
On SUT
packetdrill --wire_client --wire_client_dev=<client_dev> --wire_server_ip=<server_ip> /data/packetdrill/test.pkl --remote_ip=<remote_ip> --local_ip=<local_ip> --gateway_ip=<gateway_ip> --wire_client_mac=<client_mac> -v --bind_port <bind_port> --connect_port <connect_port>
On peer
packetdrill --wire_server -v --wire_server_dev=<server_dev> --bind_port <bind_port> --connect_port <connect_port>
Here in my case bind_port and connect_port are the same and is the specific port I want to receive pkts from (src_port) instead to transmitting to (dst_port) from SUT point of view.
Would appreciate any help on this
Thanks
--
You received this message because you are subscribed to the Google Groups "packetdrill" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packetdrill...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packetdrill/2eeaf59e-7fde-4272-ac60-d7c969fd8370n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packetdrill/CAEji%2BjB7bXyhSpZS67GEYji4YhCang%2B-SA5W3riO6KjWKcFjWQ%40mail.gmail.com.