Skip to content

Add TCP options parsing in synscan module#858

Merged
phillip-stephens merged 3 commits intozmap:mainfrom
ogasser:tcp_options_parsing
Apr 29, 2024
Merged

Add TCP options parsing in synscan module#858
phillip-stephens merged 3 commits intozmap:mainfrom
ogasser:tcp_options_parsing

Conversation

@ogasser
Copy link
Contributor

@ogasser ogasser commented Apr 26, 2024

This adds parsing of the following TCP options (when present) to the synscan module:

  • MSS option
  • Window scale option
  • SACK permitted option
  • Timestamp option value (ts_val)
  • Timestamp option echo reply (ts_ecr)

@ogasser ogasser force-pushed the tcp_options_parsing branch from 6417e5f to 0d3bfae Compare April 26, 2024 08:49
@zakird zakird requested a review from phillip-stephens April 26, 2024 12:45
@zakird zakird added this to the ZMap 4.2 milestone Apr 26, 2024
@zakird
Copy link
Member

zakird commented Apr 26, 2024

This looks awesome! Excited to get this into ZMap.

Copy link
Contributor

@phillip-stephens phillip-stephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out the changes, code looks good and is understandable. LGTM!

@phillip-stephens phillip-stephens merged commit 9971724 into zmap:main Apr 29, 2024
phillip-stephens added a commit that referenced this pull request May 2, 2024
phillip-stephens added a commit that referenced this pull request May 2, 2024
phillip-stephens added a commit that referenced this pull request May 3, 2024
* Revert "Revert "Decreased pcap_timeout to prevent monitor issue showing 0 p/s every 43 secs (#862)" (#869)"

This reverts commit dadf7e2.

* Revert "Add TCP options parsing (#858)"

This reverts commit 9971724.

* Revert "Revert "Add TCP options parsing (#858)""

This reverts commit 4a67cd3.

* sanity check for tcp options length field

* break tcp options parsing if length is non-positive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants