Skip to content

Conversation

@lokiee0
Copy link

@lokiee0 lokiee0 commented Oct 9, 2025

  • Add unique source port per packet to avoid conflicts and improve reliability
  • Implement configurable retry mechanism with -r/--retries flag (default 1)
  • Add packet timing delays to mitigate rate limiting:
    • 0.2ms delays between initial packets
    • 1ms delays between retry packets
    • 50ms wait for initial responses, 100ms for retry responses
  • Improve response tracking with proper synchronization
  • Add comprehensive port accounting to ensure no ports are missed
  • Better duplicate detection and port state management
  • Add reliability tests and documentation

These improvements address issues like the one reported with 104.36.195.221:80 where ports were being missed due to:

  • Source port conflicts
  • Rate limiting by target hosts
  • Packet loss without retries
  • Timing issues in response collection

The retry mechanism and improved timing should significantly reduce missed ports on difficult hosts.

Fixes #4

- Add unique source port per packet to avoid conflicts and improve reliability
- Implement configurable retry mechanism with -r/--retries flag (default 1)
- Add packet timing delays to mitigate rate limiting:
  - 0.2ms delays between initial packets
  - 1ms delays between retry packets
  - 50ms wait for initial responses, 100ms for retry responses
- Improve response tracking with proper synchronization
- Add comprehensive port accounting to ensure no ports are missed
- Better duplicate detection and port state management
- Add reliability tests and documentation

These improvements address issues like the one reported with
104.36.195.221:80 where ports were being missed due to:
- Source port conflicts
- Rate limiting by target hosts
- Packet loss without retries
- Timing issues in response collection

The retry mechanism and improved timing should significantly
reduce missed ports on difficult hosts.

Fixes liamg#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misses Ports

1 participant