nuno ha revisionato questo gist 1 month ago. Vai alla revisione
1 file changed, 65 insertions
gistfile1.txt(file creato)
| @@ -0,0 +1,65 @@ | |||
| 1 | + | ──────────────────────────────────────────────── | |
| 2 | + | wgctl Test Suite | |
| 3 | + | ──────────────────────────────────────────────── | |
| 4 | + | ||
| 5 | + | List | |
| 6 | + | ────────────────────────────────────────────────── | |
| 7 | + | ✅ list | |
| 8 | + | ✅ list --online | |
| 9 | + | ✅ list --offline | |
| 10 | + | ✅ list --blocked | |
| 11 | + | ✅ list --type phone | |
| 12 | + | ✅ list --type guest | |
| 13 | + | ✅ list --name phone-nuno | |
| 14 | + | ||
| 15 | + | Inspect | |
| 16 | + | ────────────────────────────────────────────────── | |
| 17 | + | DEBUG: test 1 | |
| 18 | + | ✅ inspect --name phone-nuno | |
| 19 | + | DEBUG: test 2 | |
| 20 | + | ✅ inspect --name nuno --type phone | |
| 21 | + | DEBUG: test 3 | |
| 22 | + | ✅ inspect --name phone-nuno --config | |
| 23 | + | DEBUG: test 4 | |
| 24 | + | ⚠️ inspect nonexistent peer (skipped — known fd issue) | |
| 25 | + | DEBUG: test 5 | |
| 26 | + | ||
| 27 | + | Config & QR | |
| 28 | + | ────────────────────────────────────────────────── | |
| 29 | + | ✅ config --name phone-nuno | |
| 30 | + | ✅ config --name nuno --type phone | |
| 31 | + | ✅ qr --name phone-nuno | |
| 32 | + | ||
| 33 | + | Rules | |
| 34 | + | ────────────────────────────────────────────────── | |
| 35 | + | ✅ rule list | |
| 36 | + | ✅ rule show --name guest | |
| 37 | + | ✅ rule show --name guest --peers | |
| 38 | + | ✅ rule show --name user | |
| 39 | + | ✅ rule show --name admin | |
| 40 | + | ⚠️ rule show nonexistent (skipped — known fd issue) | |
| 41 | + | ||
| 42 | + | Groups | |
| 43 | + | ────────────────────────────────────────────────── | |
| 44 | + | ✅ group list | |
| 45 | + | ✅ group show --name family | |
| 46 | + | ⚠️ group show nonexistent (skipped — known fd issue) | |
| 47 | + | ||
| 48 | + | Audit | |
| 49 | + | ────────────────────────────────────────────────── | |
| 50 | + | ✅ audit | |
| 51 | + | ✅ audit --peer phone-nuno | |
| 52 | + | ✅ audit --type phone | |
| 53 | + | ||
| 54 | + | Logs | |
| 55 | + | ────────────────────────────────────────────────── | |
| 56 | + | ✅ logs | |
| 57 | + | ✅ logs --name phone-nuno | |
| 58 | + | ✅ logs --type guest | |
| 59 | + | ✅ logs --fw | |
| 60 | + | ✅ logs --wg | |
| 61 | + | ||
| 62 | + | Firewall | |
| 63 | + | ────────────────────────────────────────────────── | |
| 64 | + | ✅ fw list | |
| 65 | + | root@wireguard:/etc/wireguard/wgctl# | |
Più nuovi
Più vecchi