traffic_via1
Traffic server via header decoder
Usage
traffic_via [OPTIONS]
[VIA ...]
Overview
traffic_via decodes the Traffic Server Via header codes. Via header strings are passed as command-line options. The enclosing square brackets are optional.
If the argument is '-', traffic_via will filter standard input for Via headers. This modes supports only supports Via headers that are enclosed by square brackets.
Options
-
-h, --help -
Print usage information and exit.
-
-V, --version -
Print version.
Examples
Decode the Via header from command-line arguments:
$ traffic_via "[uScMsEf p eC:t cCMp sF]"Via header is [uScMsEf p eC:t cCMp sF], Length is 22Via Header Details:Request headers received from client :simple request (not conditional)Result of Traffic Server cache lookup for URL :miss (a cache "MISS")Response information received from origin server :error in responseResult of document write-to-cache: :no cache write performedProxy operation result :unknownError codes (if any) :connection to server failedTunnel info :no tunnelingCache Type :cacheCache Lookup Result :cache miss (url not in cache)Parent proxy connection status :no parent proxy or unknownOrigin server connection status :connection open failed
Decode the Via header from a curl request, using the X-Debug plugin:
$ curl -H "X-Debug: Via" -I http://test.example.com | traffic_via -Via header is uScMsSf pSeN:t cCMi p sS, Length is 24Via Header Details:Request headers received from client :simple request (not conditional)Result of Traffic Server cache lookup for URL :miss (a cache "MISS")Response information received from origin server :connection opened successfullyResult of document write-to-cache: :no cache write performedProxy operation result :served or connection opened successfullyError codes (if any) :no errorTunnel info :no tunnelingCache Type :cacheCache Lookup Result :cache miss (url not in cache)Parent proxy connection status :no parent proxy or unknownOrigin server connection status :connection opened successfully
Releases
3 releases since Debian 10 (Buster); the text changed 2 times.