33 lines
773 B
YAML
33 lines
773 B
YAML
id: linkerd-service-detect
|
|
|
|
info:
|
|
name: Linkerd Service detection
|
|
author: dudez
|
|
severity: info
|
|
tags: tech,linkerd,service
|
|
reference: https://twitter.com/nirvana_msu/status/1084144955034165248
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
headers:
|
|
l5d-dtab: /svc/* => /$/inet/example.com/443
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- '(?mi)^l5d-err:.*$'
|
|
- '(?mi)^l5d-success-class: 0.*$'
|
|
- '(?mi)^Via\s*?:.*?linkerd.*$'
|
|
part: header
|
|
condition: or
|
|
|
|
- type: regex
|
|
regex:
|
|
- '(?mi)Exceeded .*? binding timeout while resolving name'
|
|
- '(?mi)exceeded .*? to unspecified while dyn binding'
|
|
part: body
|
|
condition: or
|