netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: Fragmentation issue with 1521 bytes ip packets
@ 2012-05-15 14:00 Omar Alhassane
  2012-05-15 15:04 ` Eric Dumazet
  0 siblings, 1 reply; 3+ messages in thread
From: Omar Alhassane @ 2012-05-15 14:00 UTC (permalink / raw)
  To: netdev

Hello Folks,

I think i may have found a problem with the linux networking stack.
Below is a description of the problem.

[1.] One line summary of the problem:
No response to pings of certain sizes.

[2.] Full description of the problem/report:
Using hping3, when i ping a linux machine with 1521 bytes ip packets i
get only one response.
But when i use 1482 bytes, everything works fine. I've tried this with
both tcp and udp. The MTU of my interface is 1500.
[3.] Keywords (i.e., modules, networking, kernel):
ip, udp, tcp, networking, fragmentation
[4.] Kernel version (from /proc/version):
3.3.1
[5.] Output of Oops.. message (if applicable) with symbolic information
[6.] A small shell script or example program which triggers the
problem (if possible)
The following commands works only if the target has tcp port 22 open

hping3 -d 1481 -S -P 22 10.0.30.225 (only one response)
hping3 -d 1482 -S -P 22 10.0.30.225 (works fine)

Can somebody confirm if this is a problem?

Thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: Fragmentation issue with 1521 bytes ip packets
  2012-05-15 14:00 PROBLEM: Fragmentation issue with 1521 bytes ip packets Omar Alhassane
@ 2012-05-15 15:04 ` Eric Dumazet
  2012-05-16 19:36   ` Omar Alhassane
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Dumazet @ 2012-05-15 15:04 UTC (permalink / raw)
  To: Omar Alhassane; +Cc: netdev

On Tue, 2012-05-15 at 10:00 -0400, Omar Alhassane wrote:
> Hello Folks,
> 
> I think i may have found a problem with the linux networking stack.
> Below is a description of the problem.
> 
> [1.] One line summary of the problem:
> No response to pings of certain sizes.
> 
> [2.] Full description of the problem/report:
> Using hping3, when i ping a linux machine with 1521 bytes ip packets i
> get only one response.
> But when i use 1482 bytes, everything works fine. I've tried this with
> both tcp and udp. The MTU of my interface is 1500.
> [3.] Keywords (i.e., modules, networking, kernel):
> ip, udp, tcp, networking, fragmentation
> [4.] Kernel version (from /proc/version):
> 3.3.1
> [5.] Output of Oops.. message (if applicable) with symbolic information
> [6.] A small shell script or example program which triggers the
> problem (if possible)
> The following commands works only if the target has tcp port 22 open
> 
> hping3 -d 1481 -S -P 22 10.0.30.225 (only one response)
> hping3 -d 1482 -S -P 22 10.0.30.225 (works fine)
> 
> Can somebody confirm if this is a problem?

hping3 bug : All the fragments it sends have the same ID field.

First 2 frags are reassembled by remote. Remote sends a SYNACK.


Following frags are 'ignored' because they have same ID than previous
packet.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: Fragmentation issue with 1521 bytes ip packets
  2012-05-15 15:04 ` Eric Dumazet
@ 2012-05-16 19:36   ` Omar Alhassane
  0 siblings, 0 replies; 3+ messages in thread
From: Omar Alhassane @ 2012-05-16 19:36 UTC (permalink / raw)
  To: netdev

Thank you for explaining.

Omar

On Tue, May 15, 2012 at 11:04 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
>
> On Tue, 2012-05-15 at 10:00 -0400, Omar Alhassane wrote:
> > Hello Folks,
> >
> > I think i may have found a problem with the linux networking stack.
> > Below is a description of the problem.
> >
> > [1.] One line summary of the problem:
> > No response to pings of certain sizes.
> >
> > [2.] Full description of the problem/report:
> > Using hping3, when i ping a linux machine with 1521 bytes ip packets i
> > get only one response.
> > But when i use 1482 bytes, everything works fine. I've tried this with
> > both tcp and udp. The MTU of my interface is 1500.
> > [3.] Keywords (i.e., modules, networking, kernel):
> > ip, udp, tcp, networking, fragmentation
> > [4.] Kernel version (from /proc/version):
> > 3.3.1
> > [5.] Output of Oops.. message (if applicable) with symbolic information
> > [6.] A small shell script or example program which triggers the
> > problem (if possible)
> > The following commands works only if the target has tcp port 22 open
> >
> > hping3 -d 1481 -S -P 22 10.0.30.225 (only one response)
> > hping3 -d 1482 -S -P 22 10.0.30.225 (works fine)
> >
> > Can somebody confirm if this is a problem?
>
> hping3 bug : All the fragments it sends have the same ID field.
>
> First 2 frags are reassembled by remote. Remote sends a SYNACK.
>
>
> Following frags are 'ignored' because they have same ID than previous
> packet.
>
>
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-16 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15 14:00 PROBLEM: Fragmentation issue with 1521 bytes ip packets Omar Alhassane
2012-05-15 15:04 ` Eric Dumazet
2012-05-16 19:36   ` Omar Alhassane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).