-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
atlas-sw-probe: improve key creation
- Exit start if a probe_key is not present - Add create_key command to generate a private_key based on the provided username in the atlas config. - Add registration instruction in /etc/atlas - Rework script to save probe_key on sysupgrade (the key are now adviced to be placed in the /etc/atlas dir and a link is used to make them accessible in the atlas-sw-scripts etc dir) Signed-off-by: Ansuel Smith <[email protected]>
- Loading branch information
Showing
4 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ config atlas 'common' | |
option log_stderr '1' | ||
option log_stdout '0' | ||
option rxtxrpt '1' | ||
option username '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Atlas probe setup instruction | ||
|
||
The atlas probe software requires a rsa 2048-4096 key for registration. | ||
|
||
Follow these steps to register your probe on the ripe-atlas systems. | ||
1. Insert your username in the atlas config file (/etc/config/atlas) | ||
2. Use the command '/etc/init.d/atlas create_key' to create a priv/pub key. | ||
3. The priv/pub key will be stored on the directory /etc/atlas/ | ||
4. Use the command '/etc/init.d/atlas get_key' to get the public key used for probe registration. | ||
Make sure to copy the entire key and that the last value is the correct username | ||
5. Follow the instruction from the past command or go to 'https://atlas.ripe.net/apply/swprobe/' | ||
and register your probe. |