Skip to content

Wrong payload displayed in responses #74

@s1198576

Description

@s1198576

Describe the bug
The ICMP responses displayed are showing the wrong payload, which doesn't change when the size option is specified. You will also see when sweep start and end are specified, all responses show the same payload. You will get failures when the Path MTU is exceeded, showing that in the background the payload is changing.

To Reproduce
See below for the execution of an MTU sweep, with all payloads displaying the same value.

ping('8.8.8.8', sweep_start=1000, sweep_end=1472)
Reply from 8.8.8.8, 76 bytes in 5.48ms
Reply from 8.8.8.8, 76 bytes in 5.53ms
Reply from 8.8.8.8, 76 bytes in 5.68ms
Reply from 8.8.8.8, 76 bytes in 5.66ms
Reply from 8.8.8.8, 76 bytes in 5.43ms
Reply from 8.8.8.8, 76 bytes in 5.48ms
Reply from 8.8.8.8, 76 bytes in 5.65ms
Reply from 8.8.8.8, 76 bytes in 5.43ms
Reply from 8.8.8.8, 76 bytes in 5.62ms
Reply from 8.8.8.8, 76 bytes in 5.68ms
Reply from 8.8.8.8, 76 bytes in 5.45ms
Reply from 8.8.8.8, 76 bytes in 5.51ms
Reply from 8.8.8.8, 76 bytes in 5.56ms

Expected behavior
ICMP response should be of the same size as the request. It is expected that the response will reflect the same payload as specified in the ICMP request.

Screenshots
See copy and past of results in the steps to reproduce section.

Desktop (please complete the following information):

  • OS: Red Hat 8.1
  • Browser: N/A
  • Version: Python 3

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions