Skip to content

IPOptions_Timestamp does not support multiple IP Address and Timestamp fields  #4513

@cosmin-ionut

Description

@cosmin-ionut

Brief description

When the IPv4 Timestamp option is added to an IP packet, "the originating host must compose this option with a large enough timestamp data area to hold all the timestamp information expected." This involves multiple timestamp fields (and IP addresses fields, based on flag) initialized to 0 / 0.0.0.0.
Currently, scapy supports only one timestamp field within IPOptions_Timestamp(), which means the target host is unable to add any timestamp to the packet, and will reply with an IP Option Timestamp having the overflow flag set to 1.

Scapy version

2.5.0

Python version

3.9.2

Operating system

Linux 5.15.0-118

Additional environment information

No response

How to reproduce

No specific steps. Refer to issue description

Actual result

No response

Expected result

No response

Related resources

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions