blackbox.yml 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. modules:
  2. http_2xx:
  3. prober: http
  4. http_post_2xx:
  5. prober: http
  6. http:
  7. method: POST
  8. tcp_connect:
  9. prober: tcp
  10. pop3s_banner:
  11. prober: tcp
  12. tcp:
  13. query_response:
  14. - expect: "^+OK"
  15. tls: true
  16. tls_config:
  17. insecure_skip_verify: false
  18. grpc:
  19. prober: grpc
  20. grpc:
  21. tls: true
  22. preferred_ip_protocol: "ip4"
  23. grpc_plain:
  24. prober: grpc
  25. grpc:
  26. tls: false
  27. service: "service1"
  28. ssh_banner:
  29. prober: tcp
  30. tcp:
  31. query_response:
  32. - expect: "^SSH-2.0-"
  33. - send: "SSH-2.0-blackbox-ssh-check"
  34. irc_banner:
  35. prober: tcp
  36. tcp:
  37. query_response:
  38. - send: "NICK prober"
  39. - send: "USER prober prober prober :prober"
  40. - expect: "PING :([^ ]+)"
  41. send: "PONG ${1}"
  42. - expect: "^:[^ ]+ 001"
  43. icmp:
  44. prober: icmp
  45. icmp_ttl5:
  46. prober: icmp
  47. timeout: 5s
  48. icmp:
  49. ttl: 5