您的位置:首页 > 其它

WEB漏洞挖掘技术

2011-04-01 15:12 197 查看
GRE header, version 0:

0001020304050607080910111213141516171819202122232425262728293031
CRKSsRecurFlagsVersionProtocol
ChecksumOffset
Key
Sequence Number
Routing :::
C, Checksum Present. 1 bit.

The Checksum field is present and contains valid information if set. If either the Checksum Present bit or the Routing Present bit are set, the Checksum and Offset fields are both present.

R, Routing Present. 1 bit.

If set then the Offset field is present and contains valid information. If either the Checksum Present bit or the Routing Present bit are set, the Checksum and Offset fields are both present.

K, Key Present. 1 bit.

If set then the Key field is present and contains valid information.

S, Sequence Number present. 1 bit.

If set then the Sequence Number field is present and contains valid information.

s, Strict Source Route. 1 bit.

The meaning of this bit is defined in other documents. It is recommended that this bit only be set if all of the the Routing Information consists of Strict Source Routes.

Recur, Recursion Control. 3 bits, unsigned integer.

Contains the number of additional encapsulations which are permitted. 0 is the default value.

Flags. 5 bits.

These bits are reserved and must be transmitted as 0.

Version. 3 bits.

GRE protocol version. Must be cleared to 0.

Protocol. 16 bits.

Contains the protocol type of the payload packet. In general, the value will be the Ethernet protocol type field for the packet. Additional values may be defined in other documents.

Checksum. 16 bits.

Optional. Contains the IP (one's complement) checksum of the GRE header and the payload packet.

Offset. 16 bits.

Optional. Indicates the byte offset from the start of the Routing field to the first byte of the active Source Route Entry to be examined.

Key. 32 bits.

Optional. Contains a number which was inserted by the encapsulator. It may be used by the receiver to authenticate the source of the packet.

Sequence Number. 32 bits, unsigned.

Optional. Contains a number which is inserted by the encapsulator. It may be used by the receiver to establish the order in which packets have been transmitted from the encapsulator to the receiver.

Routing. Variable length.

Optional. This field is a list of SREs.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: