Change default scanning ports

Signed-off-by: David J. Allen <davidallendj@gmail.com>
This commit is contained in:
David Allen 2023-09-14 14:37:10 -06:00
parent 3607ad761c
commit ac9556a526
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ versions of Go may work, the project has only been tested with v1.20.
There are three main commands to use with the tool: `scan`, `list`, and `collect`.
To scan a network for BMC nodes, use the `scan` command. If the port is not specified,
`magellan` will probe ports 623, 22, 442, and 5000 by default similar to `dora`:
`magellan` will probe ports 623, 442 (redfish and IPMI) by default:
```bash
./magellan scan --subnet 192.168.0.0 --db.path data/assets.db --port 623

View file

@ -92,5 +92,5 @@ func ScanForAssets(hosts []string, ports []int, threads int, timeout int) []BMCP
}
func GetDefaultPorts() []int {
return []int{SSH_PORT, HTTPS_PORT, IPMI_PORT}
return []int{HTTPS_PORT, IPMI_PORT}
}