mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Change default scanning ports
Signed-off-by: David J. Allen <davidallendj@gmail.com>
This commit is contained in:
parent
3607ad761c
commit
ac9556a526
2 changed files with 2 additions and 2 deletions
|
|
@ -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`.
|
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,
|
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
|
```bash
|
||||||
./magellan scan --subnet 192.168.0.0 --db.path data/assets.db --port 623
|
./magellan scan --subnet 192.168.0.0 --db.path data/assets.db --port 623
|
||||||
|
|
|
||||||
|
|
@ -92,5 +92,5 @@ func ScanForAssets(hosts []string, ports []int, threads int, timeout int) []BMCP
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetDefaultPorts() []int {
|
func GetDefaultPorts() []int {
|
||||||
return []int{SSH_PORT, HTTPS_PORT, IPMI_PORT}
|
return []int{HTTPS_PORT, IPMI_PORT}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue