Crates.io | fetch-ccip |
lib.rs | fetch-ccip |
version | 0.3.2 |
created_at | 2025-03-18 12:56:38.689207+00 |
updated_at | 2025-04-04 17:25:28.297633+00 |
description | CLI application to retrieve the latest address allocation file provided by the RIR and output the IPv4/v6 address blocks corresponding to the specified country code in a text file. |
homepage | https://github.com/Neuron-Grid/fetch-ccip |
repository | https://github.com/Neuron-Grid/fetch-ccip |
max_upload_size | |
id | 1596560 |
size | 79,569 |
このCLIアプリはfetch-ccipからfire-scopeに改名されます。 また、gitリポジトリも移動します。 今後、fetch-ccipは更新されませんので、fire-scopeを使用してください。
This CLI application will be renamed from fetch-ccip to fire-scope. The Git repository will also be relocated. Since fetch-ccip will no longer receive updates, please use fire-scope going forward.
本ツールは、各地域インターネットレジストリ (RIR) が提供する最新のアドレス割り当てファイルを取得し、指定された国コードに合致するIPv4/v6アドレスブロックをテキストファイルにまとめて出力するためのCLIアプリです。
$ cargo install fetch-ccip
-c
か-a
の引数がない場合はエラーが発生します。$ fet-ip -c jp us
$ fet-ip -a AS0000 AS1234
-c
: 国コードを指定します。複数指定可能です。
-a
: AS番号を指定します。複数指定可能です。
-h
: ヘルプを表示します。
-v
: バージョンを表示します。
-m
: ファイル出力モードの選択できます。「追記」または「上書き」を選択できます。指定しなかった場合は「上書き」が選択されます。
append
: 追記モードoverwrite
: 上書きモード注意事項
-c
か-a
のどちらか一方は必ず指定してください。
指定しなかった場合はエラーが発生します。