Page 1 of 1
[solved] - tcp/ip stack problem.
Posted: Wed Dec 20, 2017 7:06 pm
by digo_rp
Hi, all, I have a small problem with my OS trying to make icmp reply
I have a virtualbox box on my linux deepin running my OS.
then I go to the terminal from linux and type ex. ip of my OS from DHCP is 192.168.1.134.
I type 192.168.1.134.
I have a reply from my os, but with odd time messages. below I'll send a picture of it...
please could anyone help me please?
tnx so much.
Re: tcp/ip stack problem.
Posted: Wed Dec 20, 2017 10:36 pm
by BrightLight
Post a Wireshark capture dump of the network packets.
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 5:51 am
by digo_rp
Man, I really don't know how to do that, could you explain to me, please?
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 9:52 am
by sleephacker
digo_rp wrote:Man, I really don't know how to do that, could you explain to me, please?
Open wireshark and select the same network/device to capture on as your VM is using, and maybe also set your filter in wireshark to only show ICMP packets for readability.
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 11:04 am
by davidv1992
Also, are you properly converting to and from network byte order?
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 3:15 pm
by digo_rp
tnx so much for your help...
Here is the file to download:
https://expirebox.com/download/b325c855 ... 447bc.html
please could anyone help me again...
thx a lot.
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 3:17 pm
by digo_rp
davidv1992, I'll check that out. tnx so much
Re: tcp/ip stack problem.
Posted: Thu Dec 21, 2017 3:47 pm
by digo_rp
now I got icmp working ... thx so much guys.
The problem was in icmp_reply function, I'was'nt send back the data correctly.
thx so much...