https://github.com/louisbrunner/rusty-ports
Monitor a range of ports
https://github.com/louisbrunner/rusty-ports
monitor port
Last synced: about 1 year ago
JSON representation
Monitor a range of ports
- Host: GitHub
- URL: https://github.com/louisbrunner/rusty-ports
- Owner: LouisBrunner
- License: mpl-2.0
- Created: 2017-10-22T19:57:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T14:17:14.000Z (over 3 years ago)
- Last Synced: 2025-02-23T09:23:18.348Z (over 1 year ago)
- Topics: monitor, port
- Language: Rust
- Size: 85 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rusty-ports  [![Coverage Status][coveralls-image]][coveralls-url] 
This command line utility allows you to monitor a range of TCP ports on a computer.
This can help reverse-engineering when guessing which port a client will use when connecting to its server.
The program also outputs an escaped version of the messages sent by the clients to help reverse-engineering the protocol.
## Setup
```
cargo build
```
## Usage
```
./target/release/rusty-ports RANGE_START RANGE_END
```
**Example**:
Monitor ports 2000 to 2050 (inclusive).
```
./target/release/rusty-ports 2000 2050
```
Note that you can also monitor a unique port by repeating the same value (e.g. `rusty-ports 2000 2000`).
You need to be root to be able to monitor ports below 1025 (the program will throw an error otherwise).
## License
Mozilla Public License Version 2.0, Copyright (c) Louis Brunner
[coveralls-image]: https://coveralls.io/repos/github/LouisBrunner/rusty-ports/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/LouisBrunner/rusty-ports?branch=master