TRAFFIC_VIA(1)
π TRAFFIC_VIA(1) π
ok so bestie, welcome to traffic_via, aka the Traffic Server Via header decoder from the Apache Traffic Server fam β¨ She's the one you call when your Via header is giving cryptic little letter soup and you need somebody to translate it into actual words π¦
πΈ NAME πΈ
traffic_via β the Traffic Server Via header decoder, she decodes, she translates, she serves π
β¨ SYNOPSIS β¨
traffic_via [OPTIONS] [VIA ...]
π DESCRIPTION π
So like, traffic_via decodes the Traffic Server Via header codes, periodt. You hand her Via header strings and she just understands them β you pass those strings in as command-line options, and the square brackets around them? Optional, bestie. Wear them or don't, she's not judging π
And then there's the β¨specialβ¨ mode: if the argument is -, traffic_via will filter standard input for Via headers. But heads up, this mode only supports Via headers that are enclosed by square brackets β so the brackets are NOT optional here, no cap π
π OPTIONS π
-h,--helpβ prints the usage info and dips out. Very "here's the tea, bye" energy π«Ά-V,--versionβ prints the version. Iconic, brief, to the point π
π EXAMPLES π
π Decoding a Via header from the command-line arguments
Like literally just yeet the header in there:
$ traffic_via "[uScMsEf p eC:t cCMp sF]"
Via header is [uScMsEf p eC:t cCMp sF], Length is 22
Via 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 response
Result of document write-to-cache: :no cache write performed
Proxy operation result :unknown
Error codes (if any) :connection to server failed
Tunnel info :no tunneling
Cache Type :cache
Cache Lookup Result :cache miss (url not in cache)
Parent proxy connection status :no parent proxy or unknown
Origin server connection status :connection open failed
π¦ Decoding a Via header from a curl request, using the X-Debug plugin
This one is the collab of the century, curl π€ traffic_via:
$ curl -H "X-Debug: Via" -I http://test.example.com | traffic_via -
Via header is uScMsSf pSeN:t cCMi p sS, Length is 24
Via 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 successfully
Result of document write-to-cache: :no cache write performed
Proxy operation result :served or connection opened successfully
Error codes (if any) :no error
Tunnel info :no tunneling
Cache Type :cache
Cache Lookup Result :cache miss (url not in cache)
Parent proxy connection status :no parent proxy or unknown
Origin server connection status :connection opened successfully
π COPYRIGHT π
2026, dev@trafficserver.apache.org β the whole crew, holding it down π
k that's the whole page bestie, you ate it π This was 9.2, dated Feb 12, 2026, and yes she's still serving main character energy in TRAFFIC_VIA(1) πβ¨π
π¦ where this page comes from
- ubuntu noble: trafficserver 9.2.3+ds-1+deb12u1ubuntu0.1 Β· Apache-2.0
- ubuntu questing: trafficserver 9.2.5+ds-1ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms