TCP/IP reset (RST) flag

by Salem Masoud   Last Updated July 12, 2018 00:01 AM

I am trying to stream a video between 2 hosts also I am trying to simulate changing IP scenario, the client started listening to the server then I moved the client to the new switch and it is got 192.168.2.5, I am using Mininet and Ryu controller. my topology is as follows:

ha-eth0<->s1-eth1 (OK OK)
hb-eth0<->s2-eth12 (OK OK)
hc-eth0<->s1-eth3 (OK OK)
s2-eth1<->s1-eth4 (OK OK)
s2-eth2<->s3-eth1 (OK OK)

I am using vlc-wraper and HTTP protocol for streaminh. also, I installed the folwing flows to modify the clint's IP on switch 1 and 2:

 cookie=0x0, duration=1012.669s, table=0, n_packets=2, n_bytes=1894, idle_age=1004, priority=3,ip,nw_src=192.168.2.2,nw_dst=192.168.2.3 actions=output:4

 cookie=0x0, duration=1012.668s, table=0, n_packets=1, n_bytes=54, idle_age=1004, priority=3,ip,nw_src=192.168.2.3,nw_dst=192.168.2.2 actions=output:1

 cookie=0x0, duration=1059.340s, table=0, n_packets=1, n_bytes=947, idle_age=1051, priority=3,ip,nw_src=192.168.2.2,nw_dst=192.168.2.3 actions=mod_nw_dst:192.168.2.5,output:12

 cookie=0x0, duration=1059.340s, table=0, n_packets=1, n_bytes=54, idle_age=1051, priority=3,ip,nw_src=192.168.2.5,nw_dst=192.168.2.2 actions=mod_nw_src:192.168.2.3,output:1

ha(Host A) IP is 192.168.2.2 (the client host)
hb(Host B) IP is 192.168.2.5 (the server host)

when the stream stopped, I checked Wireshark and noticed that there were TCP RST but I do not know why? could someone take a look in the wireshark files and tell me the reasons.

I attached the Wireshark output for both hosts https://drive.google.com/open?id=1rcVlNT2cwnvNL4-4j061xGpKJohSdU9z



Related Questions