معرفی شرکت ها


deterrers-cli-0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Command line client for DETERRERS
ویژگی مقدار
سیستم عامل -
نام فایل deterrers-cli-0.4
نام deterrers-cli
نسخه کتابخانه 0.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Lars Kiesow
ایمیل نویسنده lkiesow@uos.de
آدرس صفحه اصلی https://github.com/virtUOS/proteuscmd
آدرس اینترنتی https://pypi.org/project/deterrers-cli/
مجوز MIT
# Command line client for DETERRERS A command line client making it easy to interact with the DETERRERS perimeter firewall portal to registr and configuration IP addresses and firewall profiles. **Warning:** The API of DETERRERS used by this tool is still experimental and somewhat fragile. Most notably, this often leads to unexpected errors returned by the API. ## Installation Use pip to install the latest version: ``` pip install deterrers-cli ``` ## Configuration To configure the client, create a file `~/.deterrers.yml` with the following content: ```yaml url: https://deterrers.example.com token: <api-token> ``` ## Usane Use the context based help to get information about available commands: ``` ❯ deterrers-cli --help Usage: python -m deterrerscli [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: action Activate firewall profile or block IP address in perimeter... add Add IP address to DETERRERS. delete Delete IP address from DETERRERS. get Get information about an IP address in DETERRERS. hosts List all IPs added to DETERRERS. update Update IP address in DETERRERS. ``` Help about adding new IP addresses: ``` ❯ deterrers-cli add --help Usage: python -m deterrerscli add [OPTIONS] IPV4 Add IP address to DETERRERS. Options: -a, --admin TEXT [required] -p, --profile [|HTTP|SSH|HTTP+SSH|Multipurpose] -f, --firewall [|UFW|FirewallD|nftables] --help Show this message and exit. ``` ## Example ```sh # Delete IP 192.0.0.1 from DETERRERS ❯ deterrers-cli delete 192.0.0.1 # Add IP 192.0.0.1 with group `virtUOS` as admins and firewall profile `Multipurpose` ❯ deterrers-cli add --admin virtUOS --profile multipurpose 192.0.0.1 # Set firewall profile `SSH` ❯ deterrers-cli update --profile ssh 192.0.0.1 # Activate firewall profile ❯ deterrers-cli action register 192.0.0.1 ```


نحوه نصب


نصب پکیج whl deterrers-cli-0.4:

    pip install deterrers-cli-0.4.whl


نصب پکیج tar.gz deterrers-cli-0.4:

    pip install deterrers-cli-0.4.tar.gz