| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720 |
- $ version
- e2e-test
- $ version -json
- e2e-test
- $ version -pretty
- e2e-test
- $ device-info
- name= cidr=[10.222.0.1/24]
- $ device-info -json
- {"name":"","cidr":["10.222.0.1/24"]}
- $ device-info -pretty
- {
- "name": "",
- "cidr": [
- "10.222.0.1/24"
- ]
- }
- $ list-hostmap
- $ list-hostmap -json
- []
- $ list-hostmap -pretty
- []
- $ list-hostmap -by-index
- $ list-hostmap -json -by-index
- []
- $ list-hostmap -pretty -by-index
- []
- $ list-pending-hostmap
- [10.222.0.9]: []
- $ list-pending-hostmap -json
- [{"vpnAddrs":["10.222.0.9"],"localIndex":<n>,"remoteIndex":<n>,"remoteAddrs":[],"cert":null,"messageCounter":<n>,"currentRemote":"","currentRelaysToMe":[],"currentRelaysThroughMe":[]}]
- $ list-pending-hostmap -pretty
- [
- {
- "vpnAddrs": [
- "10.222.0.9"
- ],
- "localIndex": <n>,
- "remoteIndex": <n>,
- "remoteAddrs": [],
- "cert": null,
- "messageCounter": <n>,
- "currentRemote": "",
- "currentRelaysToMe": [],
- "currentRelaysThroughMe": []
- }
- ]
- $ list-pending-hostmap -by-index
- $ list-pending-hostmap -json -by-index
- []
- $ list-pending-hostmap -pretty -by-index
- []
- $ list-lighthouse-addrmap
- 10.222.0.9: {}
- $ list-lighthouse-addrmap -json
- [{"vpnAddr":"10.222.0.9","addrs":{}}]
- $ list-lighthouse-addrmap -pretty
- [
- {
- "vpnAddr": "10.222.0.9",
- "addrs": {}
- }
- ]
- $ print-cert
- {
- "details": {
- "curve": "CURVE25519",
- "groups": [],
- "isCa": false,
- "issuer": "<hex>",
- "name": "output-golden",
- "networks": [
- "10.222.0.1/24"
- ],
- "notAfter": "<time>",
- "notBefore": "<time>",
- "publicKey": "<hex>",
- "unsafeNetworks": []
- },
- "fingerprint": "<hex>",
- "signature": "<hex>",
- "version": 1
- }
- $ print-cert -json
- {"details":{"curve":"CURVE25519","groups":[],"isCa":false,"issuer":"<hex>","name":"output-golden","networks":["10.222.0.1/24"],"notAfter":"<time>","notBefore":"<time>","publicKey":"<hex>","unsafeNetworks":[]},"fingerprint":"<hex>","signature":"<hex>","version":1}\ No newline at end of output
- $ print-cert -pretty
- {
- "details": {
- "curve": "CURVE25519",
- "groups": [],
- "isCa": false,
- "issuer": "<hex>",
- "name": "output-golden",
- "networks": [
- "10.222.0.1/24"
- ],
- "notAfter": "<time>",
- "notBefore": "<time>",
- "publicKey": "<hex>",
- "unsafeNetworks": []
- },
- "fingerprint": "<hex>",
- "signature": "<hex>",
- "version": 1
- }\ No newline at end of output
- $ print-cert -raw
- -----BEGIN NEBULA CERTIFICATE-----
- <pem>
- -----END NEBULA CERTIFICATE-----
- $ print-cert -json -raw
- {"details":{"curve":"CURVE25519","groups":[],"isCa":false,"issuer":"<hex>","name":"output-golden","networks":["10.222.0.1/24"],"notAfter":"<time>","notBefore":"<time>","publicKey":"<hex>","unsafeNetworks":[]},"fingerprint":"<hex>","signature":"<hex>","version":1}\ No newline at end of output
- $ print-cert -pretty -raw
- {
- "details": {
- "curve": "CURVE25519",
- "groups": [],
- "isCa": false,
- "issuer": "<hex>",
- "name": "output-golden",
- "networks": [
- "10.222.0.1/24"
- ],
- "notAfter": "<time>",
- "notBefore": "<time>",
- "publicKey": "<hex>",
- "unsafeNetworks": []
- },
- "fingerprint": "<hex>",
- "signature": "<hex>",
- "version": 1
- }\ No newline at end of output
- $ print-cert 10.222.0.9
- Could not find tunnel for vpn addr: 10.222.0.9
- exit status 1
- $ print-cert -json 10.222.0.9
- Could not find tunnel for vpn addr: 10.222.0.9
- exit status 1
- $ print-cert -pretty 10.222.0.9
- Could not find tunnel for vpn addr: 10.222.0.9
- exit status 1
- $ print-cert 10.222.0.250
- Could not find tunnel for vpn addr: 10.222.0.250
- exit status 1
- $ print-cert -json 10.222.0.250
- Could not find tunnel for vpn addr: 10.222.0.250
- exit status 1
- $ print-cert -pretty 10.222.0.250
- Could not find tunnel for vpn addr: 10.222.0.250
- exit status 1
- $ print-cert not-an-address
- The provided vpn addr could not be parsed: not-an-address
- exit status 1
- $ print-cert -json not-an-address
- The provided vpn addr could not be parsed: not-an-address
- exit status 1
- $ print-cert -pretty not-an-address
- The provided vpn addr could not be parsed: not-an-address
- exit status 1
- $ print-tunnel
- No vpn address was provided
- exit status 1
- $ print-tunnel -json
- flag provided but not defined: -json
- Usage:
- -pretty
- pretty prints json
- exit status 1
- $ print-tunnel -pretty
- No vpn address was provided
- exit status 1
- $ print-tunnel 10.222.0.9
- Could not find tunnel for vpn addr: 10.222.0.9
- exit status 1
- $ print-tunnel -json 10.222.0.9
- flag provided but not defined: -json
- Usage:
- -pretty
- pretty prints json
- exit status 1
- $ print-tunnel -pretty 10.222.0.9
- Could not find tunnel for vpn addr: 10.222.0.9
- exit status 1
- $ print-tunnel 10.222.0.250
- Could not find tunnel for vpn addr: 10.222.0.250
- exit status 1
- $ print-tunnel -json 10.222.0.250
- flag provided but not defined: -json
- Usage:
- -pretty
- pretty prints json
- exit status 1
- $ print-tunnel -pretty 10.222.0.250
- Could not find tunnel for vpn addr: 10.222.0.250
- exit status 1
- $ print-relays
- {"Relays":null}
- $ print-relays -json
- flag provided but not defined: -json
- Usage:
- -pretty
- pretty prints json
- exit status 1
- $ print-relays -pretty
- {
- "Relays": null
- }
- $ query-lighthouse
- No vpn address was provided
- exit status 1
- $ query-lighthouse -json
- The provided vpn address could not be parsed: -json
- exit status 1
- $ query-lighthouse -pretty
- The provided vpn address could not be parsed: -pretty
- exit status 1
- $ query-lighthouse 10.222.0.9
- {}
- $ query-lighthouse -json 10.222.0.9
- The provided vpn address could not be parsed: -json
- exit status 1
- $ query-lighthouse -pretty 10.222.0.9
- The provided vpn address could not be parsed: -pretty
- exit status 1
- $ query-lighthouse not-an-address
- The provided vpn address could not be parsed: not-an-address
- exit status 1
- $ query-lighthouse -json not-an-address
- The provided vpn address could not be parsed: -json
- exit status 1
- $ query-lighthouse -pretty not-an-address
- The provided vpn address could not be parsed: -pretty
- exit status 1
- $ log-level
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -json
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -pretty
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level debug
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -json debug
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -pretty debug
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level bogus
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -json bogus
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -pretty bogus
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level info
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -json info
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-level -pretty info
- Log level is not reconfigurable on this logger
- exit status 1
- $ log-format
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -json
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -pretty
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format json
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -json json
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -pretty json
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format text
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -json text
- Log format is not reconfigurable on this logger
- exit status 1
- $ log-format -pretty text
- Log format is not reconfigurable on this logger
- exit status 1
- $ change-remote
- No vpn address was provided
- exit status 1
- $ change-remote -json
- flag provided but not defined: -json
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -pretty
- flag provided but not defined: -pretty
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote 10.222.0.9
- No address was provided
- exit status 1
- $ change-remote -json 10.222.0.9
- flag provided but not defined: -json
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -pretty 10.222.0.9
- flag provided but not defined: -pretty
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -address 10.94.0.10:4242 10.222.0.9
- Could not find tunnel for vpn address: 10.222.0.9
- exit status 1
- $ change-remote -json -address 10.94.0.10:4242 10.222.0.9
- flag provided but not defined: -json
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -pretty -address 10.94.0.10:4242 10.222.0.9
- flag provided but not defined: -pretty
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -address 10.94.0.10:4242 10.222.0.250
- Could not find tunnel for vpn address: 10.222.0.250
- exit status 1
- $ change-remote -json -address 10.94.0.10:4242 10.222.0.250
- flag provided but not defined: -json
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ change-remote -pretty -address 10.94.0.10:4242 10.222.0.250
- flag provided but not defined: -pretty
- Usage:
- -address string
- The new remote address, ip:port
- exit status 1
- $ create-tunnel
- No vpn address was provided
- exit status 1
- $ create-tunnel -json
- flag provided but not defined: -json
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel -pretty
- flag provided but not defined: -pretty
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel 10.222.0.9
- Tunnel already handshaking
- exit status 1
- $ create-tunnel -json 10.222.0.9
- flag provided but not defined: -json
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel -pretty 10.222.0.9
- flag provided but not defined: -pretty
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel -address 10.94.0.10:4242 10.222.0.10
- Created
- $ create-tunnel -json -address 10.94.0.10:4242 10.222.0.10
- flag provided but not defined: -json
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel -pretty -address 10.94.0.10:4242 10.222.0.10
- flag provided but not defined: -pretty
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel not-an-address
- The provided vpn address could not be parsed: not-an-address
- exit status 1
- $ create-tunnel -json not-an-address
- flag provided but not defined: -json
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ create-tunnel -pretty not-an-address
- flag provided but not defined: -pretty
- Usage:
- -address string
- Optionally provide a real remote address, ip:port
- exit status 1
- $ close-tunnel
- No vpn address was provided
- exit status 1
- $ close-tunnel -json
- flag provided but not defined: -json
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ close-tunnel -pretty
- flag provided but not defined: -pretty
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ close-tunnel 10.222.0.250
- Could not find tunnel for vpn address: 10.222.0.250
- exit status 1
- $ close-tunnel -json 10.222.0.250
- flag provided but not defined: -json
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ close-tunnel -pretty 10.222.0.250
- flag provided but not defined: -pretty
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ close-tunnel not-an-address
- The provided vpn address could not be parsed: not-an-address
- exit status 1
- $ close-tunnel -json not-an-address
- flag provided but not defined: -json
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ close-tunnel -pretty not-an-address
- flag provided but not defined: -pretty
- Usage:
- -local-only
- Disables notifying the remote that the tunnel is shutting down
- exit status 1
- $ help
- Available commands:
- change-remote - Changes the remote address used in the tunnel for the provided vpn addr
- close-tunnel - Closes a tunnel for the provided vpn addr
- create-tunnel - Creates a tunnel for the provided vpn address
- device-info - Prints information about the network device.
- help - prints available commands or help <command> for specific usage info
- list-hostmap - List all known previously connected hosts
- list-lighthouse-addrmap - List all lighthouse map entries
- list-pending-hostmap - List all handshaking hosts
- log-format - Gets or sets the current log format
- log-level - Gets or sets the current log level
- logout - Ends the current session
- print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
- print-relays - Prints json details about all relay info
- print-tunnel - Prints json details about a tunnel for the provided vpn addr
- query-lighthouse - Query the lighthouses for the provided vpn address
- reload - Reloads configuration from disk, same as sending HUP to the process
- version - Prints the currently running version of nebula
- $ help -json
- Command not available -json
- exit status 1
- $ help -pretty
- Command not available -pretty
- exit status 1
- $ help print-cert
- print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
- -json
- outputs as json
- -pretty
- pretty prints json, assumes -json
- -raw
- raw prints the PEM encoded certificate, not compatible with -json or -pretty
- $ help -json print-cert
- Command not available -json
- exit status 1
- $ help -pretty print-cert
- Command not available -pretty
- exit status 1
- $ help logout
- logout - Ends the current session
- $ help -json logout
- Command not available -json
- exit status 1
- $ help -pretty logout
- Command not available -pretty
- exit status 1
- $ logout -h
- logout - Ends the current session
- $ logout -json -h
- logout - Ends the current session
- $ logout -pretty -h
- logout - Ends the current session
- $ not-a-command 10.222.0.9
- did not understand: not-a-command
- Available commands:
- change-remote - Changes the remote address used in the tunnel for the provided vpn addr
- close-tunnel - Closes a tunnel for the provided vpn addr
- create-tunnel - Creates a tunnel for the provided vpn address
- device-info - Prints information about the network device.
- help - prints available commands or help <command> for specific usage info
- list-hostmap - List all known previously connected hosts
- list-lighthouse-addrmap - List all lighthouse map entries
- list-pending-hostmap - List all handshaking hosts
- log-format - Gets or sets the current log format
- log-level - Gets or sets the current log level
- logout - Ends the current session
- print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
- print-relays - Prints json details about all relay info
- print-tunnel - Prints json details about a tunnel for the provided vpn addr
- query-lighthouse - Query the lighthouses for the provided vpn address
- reload - Reloads configuration from disk, same as sending HUP to the process
- version - Prints the currently running version of nebula
- exit status 1
- $ not-a-command -json 10.222.0.9
- did not understand: not-a-command
- Available commands:
- change-remote - Changes the remote address used in the tunnel for the provided vpn addr
- close-tunnel - Closes a tunnel for the provided vpn addr
- create-tunnel - Creates a tunnel for the provided vpn address
- device-info - Prints information about the network device.
- help - prints available commands or help <command> for specific usage info
- list-hostmap - List all known previously connected hosts
- list-lighthouse-addrmap - List all lighthouse map entries
- list-pending-hostmap - List all handshaking hosts
- log-format - Gets or sets the current log format
- log-level - Gets or sets the current log level
- logout - Ends the current session
- print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
- print-relays - Prints json details about all relay info
- print-tunnel - Prints json details about a tunnel for the provided vpn addr
- query-lighthouse - Query the lighthouses for the provided vpn address
- reload - Reloads configuration from disk, same as sending HUP to the process
- version - Prints the currently running version of nebula
- exit status 1
- $ not-a-command -pretty 10.222.0.9
- did not understand: not-a-command
- Available commands:
- change-remote - Changes the remote address used in the tunnel for the provided vpn addr
- close-tunnel - Closes a tunnel for the provided vpn addr
- create-tunnel - Creates a tunnel for the provided vpn address
- device-info - Prints information about the network device.
- help - prints available commands or help <command> for specific usage info
- list-hostmap - List all known previously connected hosts
- list-lighthouse-addrmap - List all lighthouse map entries
- list-pending-hostmap - List all handshaking hosts
- log-format - Gets or sets the current log format
- log-level - Gets or sets the current log level
- logout - Ends the current session
- print-cert - Prints the current certificate being used or the certificate for the provided vpn addr
- print-relays - Prints json details about all relay info
- print-tunnel - Prints json details about a tunnel for the provided vpn addr
- query-lighthouse - Query the lighthouses for the provided vpn address
- reload - Reloads configuration from disk, same as sending HUP to the process
- version - Prints the currently running version of nebula
- exit status 1
- $ reload
- Reloading config
- Config reload failed, the new config did not load: no config files found at
- exit status 1
- $ reload -json
- Reloading config
- Config reload failed, the new config did not load: no config files found at
- exit status 1
- $ reload -pretty
- Reloading config
- Config reload failed, the new config did not load: no config files found at
- exit status 1
|