Port Scanner
Lightweight TCP port scanner for Linux
|
A simple TCP port scanner written in C++ to check the accessibility of ports on remote IPv4 and IPv6 hosts.
This package is available via Fedora Copr:
or
To generate the documentation locally, run:
The generated HTML documentation will be available in the docs/html directory.
Run the port scanner by specifying an IP address (IPv4 or IPv6) followed by one or more ports to check:
Note: In the terminal, accessible ports are displayed in green, while inaccessible ports are shown in red for better readability. The order of the port scan results may vary because the checks are performed concurrently using threads.
You can also scan a range of ports using shell brace expansion (bash):
This project uses CTest for running unit tests and integrates Valgrind Memcheck to detect memory errors and leaks.
To run the tests, use:
To run the tests and see detailed output of any failures:
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.