OSDev.org
https://forum.osdev.org/

[solved] - tcp/ip stack problem.
https://forum.osdev.org/viewtopic.php?f=1&t=32644
Page 1 of 1

Author:  digo_rp [ Wed Dec 20, 2017 7:06 pm ]
Post subject:  [solved] - tcp/ip stack problem.

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.

Attachments:
File comment: Odd messages
Sem título.jpg
Sem título.jpg [ 125.53 KiB | Viewed 1705 times ]

Author:  BrightLight [ Wed Dec 20, 2017 10:36 pm ]
Post subject:  Re: tcp/ip stack problem.

Post a Wireshark capture dump of the network packets.

Author:  digo_rp [ Thu Dec 21, 2017 5:51 am ]
Post subject:  Re: tcp/ip stack problem.

Man, I really don't know how to do that, could you explain to me, please?

Author:  sleephacker [ Thu Dec 21, 2017 9:52 am ]
Post subject:  Re: tcp/ip stack problem.

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.

Author:  davidv1992 [ Thu Dec 21, 2017 11:04 am ]
Post subject:  Re: tcp/ip stack problem.

Also, are you properly converting to and from network byte order?

Author:  digo_rp [ Thu Dec 21, 2017 3:15 pm ]
Post subject:  Re: tcp/ip stack problem.

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.

Author:  digo_rp [ Thu Dec 21, 2017 3:17 pm ]
Post subject:  Re: tcp/ip stack problem.

davidv1992, I'll check that out. tnx so much

Author:  digo_rp [ Thu Dec 21, 2017 3:47 pm ]
Post subject:  Re: tcp/ip stack problem.

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...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/