netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ulisses <ra993482@ic.unicamp.br>
To: Kohei OHTA <kohei@cysols.com>
Cc: netdev@oss.sgi.com
Subject: Re: IP-ID field of ICMP echo request
Date: 07 Jul 2003 15:40:36 -0300	[thread overview]
Message-ID: <1057603237.1001.18.camel@ryback> (raw)
In-Reply-To: <3F095B7B.5090203@cysols.com>

On Mon, 2003-07-07 at 08:37, Kohei OHTA wrote:

> I found a strange packet, which is generated by ping of Linux.
> It is observed ID field of IP header in ping packet (Echo request) is always 0.
> 
> I confirmed this on kernel 2.4.18 and 2.4.21.
> My colleague also confirmed this is fixed in kernel 2.5.74.
> 
> I hope this is fixed in next next 2.4.x release.

Hi, Kohei,

	I guess this behaviour is to prevent Idle scanning, that is based on
predictable IPID numbers [1]. Therefore, the Linux TCP/IP stack uses 0
as IPID when the DF (Don't Fragment) bit is set. I'm not sure, but I
think that Linux also uses peer-specific IPID numbers to make the
prediction harder.

-- Ulisses

[1] http://www.insecure.org/nmap/idlescan.html

  parent reply	other threads:[~2003-07-07 18:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-07 11:37 IP-ID field of ICMP echo request Kohei OHTA
2003-07-07 12:29 ` Maciej Soltysiak
2003-07-07 12:39   ` YOSHIFUJI Hideaki / 吉藤英明
2003-07-07 12:48     ` Maciej Soltysiak
2003-07-07 13:11       ` YOSHIFUJI Hideaki / 吉藤英明
2003-07-07 18:40 ` Ulisses [this message]
2003-07-08  1:59   ` Kohei OHTA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1057603237.1001.18.camel@ryback \
    --to=ra993482@ic.unicamp.br \
    --cc=kohei@cysols.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).