rochafelippe / ostinato

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

No packet is seen on the remote machine when ostination sending packet #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

What steps will reproduce the problem?
1. Installed version 0.5 Ostinato
2. Follow user guide to add stream, select the whole column for a physical 
port, then click apply
3. Ostinato showing packets are being sent and capture does work and can show 
packet in wireshark
4. However, when 'tcpdump' was done on the remote machine, nothing is seen.

OS: Ubuntu 11.04 installed in VM
Ostinato: version 0.5

Thanks
-pngai1

Original issue reported on code.google.com by png...@gmail.com on 26 Feb 2012 at 12:06

GoogleCodeExporter commented 9 years ago
@pngai1: Please ensure that you have filled in the mac/ip addresses correctly 
in the stream so that the packets will reach the remote machine based your 
topology.

If you have done that, but it is still not working, please providde details on 
the network topology between the originating and remote machines and attach the 
stream here

Original comment by pstav...@gmail.com on 26 Feb 2012 at 6:57

GoogleCodeExporter commented 9 years ago
Hi,

Yes I did that. I found that all the checksum are incorrect and make all my 
packet dropped before being routed. My setting is random source IP address and 
fixed destination IP address. I tried all ICMP, TCP, UDP. None of it work 
because all checksum are incorrect.

Once I fixed my source address and override the checksum with correct one. It 
works. Would you kindly fixed the incorrect checksum issue?

I tried binaries version 0.5 for windows and binaries version 0.5 for Ubuntu 
11.04. They all have the same issue.

Please advise.
Thanks
-pngai1

Original comment by png...@gmail.com on 26 Feb 2012 at 1:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Double confirmed. UDP, TCP, ICMP with random source IP address would result in 
incorrect checksum and leads all packets being dropped and not routed to 
destination. Please advise. Thanks -pngai1

Original comment by png...@gmail.com on 26 Feb 2012 at 2:22

GoogleCodeExporter commented 9 years ago
Tried the latest source code and compiled in ubuntu 11.04. same result as 
binaries version 0.5 for Ubuntu 11.04. All are generated with incorrect 
checksum and make all packets being dropped.

Original comment by png...@gmail.com on 26 Feb 2012 at 2:27

GoogleCodeExporter commented 9 years ago
@pngai1: Problem happens only with random IP addresses not with 
incrementing/decrementing addresses - can you please confirm?

Original comment by pstav...@gmail.com on 27 Feb 2012 at 5:01

GoogleCodeExporter commented 9 years ago
Sure. I will try and revert back. Tks -pngai1

Original comment by png...@gmail.com on 28 Feb 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Yes, I confirm IP addresses with increment/decrement does work, however, I 
found another issue.

Ostinato got hanged if I choose random packet size. Thanks

Original comment by png...@gmail.com on 1 Mar 2012 at 2:43

GoogleCodeExporter commented 9 years ago
@pngai1: Thanks for the confirmation. Please raise another bug for the hang 
problem with platform and repro details.

Original comment by pstav...@gmail.com on 1 Mar 2012 at 1:10