mareline sheldon
12-09-2002, 04:53 AM
Hello,
There seems to be a problem in Hard Hat Linux raw sockets. I am unable to accept packets of size > 1500 bytes on a raw socket. The same piece of code works fine on Red Hat Linux though!!
Is it a problem in the IP stack? I assume that if i send a BIG packet and even if my MTU is 1500 then a big packet will be by default fragmented by IP and re-assembled at the other end and given to my socket. Do i need to tell explicitly in Hard Har Linux when i open a raw socket that fragmentation should be enabled.
Any clues why my socket isnt receiving BIG packets? I cant use a snoop, ethereal or tcp dump utility as i am running this Hard Hat Linux on an embedded device!!
Any clues will be most helpful!!!
Thanks in Advance,
Mareline Sheldon
There seems to be a problem in Hard Hat Linux raw sockets. I am unable to accept packets of size > 1500 bytes on a raw socket. The same piece of code works fine on Red Hat Linux though!!
Is it a problem in the IP stack? I assume that if i send a BIG packet and even if my MTU is 1500 then a big packet will be by default fragmented by IP and re-assembled at the other end and given to my socket. Do i need to tell explicitly in Hard Har Linux when i open a raw socket that fragmentation should be enabled.
Any clues why my socket isnt receiving BIG packets? I cant use a snoop, ethereal or tcp dump utility as i am running this Hard Hat Linux on an embedded device!!
Any clues will be most helpful!!!
Thanks in Advance,
Mareline Sheldon