raman325 / ostinato

Automatically exported from code.google.com/p/ostinato
GNU General Public License v3.0
0 stars 0 forks source link

Ostinato only RST the communication after server ACK back on TCP protocol. #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. The Server is an electronic device with TCP/IP stack. Client is my PC 
running both ostinato and drone. They are connected by ethernet cable directly. 
In this LAN, PC's ip is configured as 192.168.2.100, and server's ip is 
192.168.2.10. 

2. PC and the device can perfectly communicate through some industrial network 
protocol on top of TCP/IP. wireshark caught the traffic of a few packets. I 
want to modify the packet info. and send back to server to see if server, the  
device can crash, as part of the cyber security test on this device.

3. I build the ostinato stream using the first packet (SYN) caught by the 
wireshark. The server did ACK back. But then ostinato just RST the traffic 
instead of ACK to it. If it could ACK, then the 2nd stream is for sending some 
more data to the server. 

What is the expected output? What do you see instead?

I expect Ostinato to ACK back server.  But I found Ostinato as a client did not 
catch server's sequence number and adding 1 to it as its acknowledge number. 
Though the server did catch the client's sequence number and ACK back by adding 
1 to it. 

What version and revision of the product are you using (available in the
About dialog)? On what operating system?

Ostinato 0.5.1  74c9dcf830e3@    Windows 7

Please provide any additional information below.

I attached my stream file, desired pcap files caught by wireshark, and reverse 
traffic file caught by wireshark in which the ostinato RST server. 

Original issue reported on code.google.com by eileen.z...@us.abb.com on 23 Jan 2013 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you. I am looking forward to your helps.

Original comment by eileen.z...@us.abb.com on 23 Jan 2013 at 10:19

GoogleCodeExporter commented 9 years ago
Ostinato is not stateful. It cannot intelligently process TCP SEQ/ACK.

Original comment by pstav...@gmail.com on 24 Jan 2013 at 3:04