JustinTimperio / gomap

A fully self-contained Nmap like parallel port scanning module in pure Golang that supports SYN-ACK (Silent Scans)
MIT License
86 stars 19 forks source link

improve performance by reworking the port scan #4

Closed lu4p closed 3 years ago

lu4p commented 3 years ago

This results in decreasing the fast scan time from 0.309s to 0.020s for localhost on my machine.

Expose the underlying errors in the public api, to allow users to handle these themselves.

JustinTimperio commented 3 years ago

Hi @lu4p, thanks for the PR. Overall i lke these changes. I have some minor complaints but nothing worth bothering you over. I have a few planned expansions that would have filled in some structs but that can be re-added later.