Re: [PATCH 0/4] Fix check for incorrect or missing sequence mumbers in ICMP(v6) message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Agree, I will fix the patch. I think she header size of 8 may be caome  
> from the tcp code^_^?
Yes, it is the same in tcp_v4_err() in net/ipv4/tcp_ipv4.c and I think
that is because of RFC 1122, 3.2.2: 
 "Every ICMP error message includes the Internet header and at
  least the first 8 data octets of the datagram that triggered
  the error; more than 8 octets MAY be sent; this header and data
  MUST be unchanged from the received datagram."

In TCP it is possible to get at the sequence number with the first 8
octets, in DCCP this is at least 12 bytes as correctly pointed out by
your patch changelog.
--
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux