1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-06-19 22:28:17 +02:00

add ufw-appinfo to docs

This commit is contained in:
Kelly Brazil
2021-04-23 09:57:41 -07:00
parent 145059fc89
commit ff3c2d809e
6 changed files with 176 additions and 25 deletions
+54 -4
View File
@@ -64,11 +64,61 @@ Schema:
Examples:
$ ufw app info OpenSSH | jc --ufw-appinfo -p
[]
$ ufw app info MSN | jc --ufw-appinfo -p
{
"profile": "MSN",
"title": "MSN Chat",
"description": "MSN chat protocol (with file transfer and voice)",
"tcp_list": [
1863,
6901
],
"udp_list": [
1863,
6901
],
"tcp_ranges": [
{
"start": 6891,
"end": 6900
}
],
"normalized_tcp_list": [
1863,
6901
],
"normalized_tcp_ranges": [
{
"start": 6891,
"end": 6900
}
],
"normalized_udp_list": [
1863,
6901
]
}
$ ufw app info OpenSSH | jc --ufw-appinfo -p -r
[]
$ ufw app info MSN | jc --ufw-appinfo -p -r
{
"profile": "MSN",
"title": "MSN Chat",
"description": "MSN chat protocol (with file transfer and voice)",
"tcp_list": [
"1863",
"6901"
],
"udp_list": [
"1863",
"6901"
],
"tcp_ranges": [
{
"start": "6891",
"end": "6900"
}
]
}
## info