Skip to main content

Proxied Servers

Counts traffic and requests through explicit proxies, keyed by the host:port target of each HTTP CONNECT request.

PropertyValue
GUID{B7571E87-F794-4BF6-A57A-EEA8A90F0324}
LayerL7 Application
InputPackets
Key typeCONNECT target host:port string
ImplementationLua — proxied-servers.lua (group), proxy-connect.lua (metering) (apps/analyzers/squid-proxy)
Trisul Appsquid-proxy (install from Trisul Apps)
Bucket / Topper60 s / 300 s
Enabled by defaultYes, after the app is installed

What it measures​

  • proxy-connect.lua reads the first reassembled chunk (seek position 0) in direction 1, client to server, of every TCP flow. If the chunk has CONNECT <target>, the flow is metered. Any other chunk turns off reassembly for the flow.
  • On a match it adds 1 to Hits. It attaches two flow counters, so every later packet of the flow adds its wire length to meter 0 or meter 1 (see the meter list).
  • It tags the flow [pxy]<target> and adds edges from the target key to both flow IPs in Hosts.
  • Only CONNECT tunnels are seen. Plain GET http://... proxy requests are not counted. For those, see Proxy External.
  • Each flow updates one key, so there is no double counting.

Keys​

One key is the text after CONNECT , up to the first space. If it is longer than 60 characters, only the last 60 are kept. No labels are set.

KeyMeaning
www.google.com:443Tunnels to www.google.com on port 443
login.microsoftonline.com:443Tunnels to login.microsoftonline.com
10.1.1.20:8443Tunnel to an IP target

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update made to this group in the interval: all CONNECT tunnels seen.

Meter list​

IDNameTypeUnitsTopBottomDescription
0Download bytesVT_RATE_COUNTERBps100Short name Bytes. Despite the name, wire bytes of the tunnel flow in both directions (flow counter direction 0).
1Upload bytesVT_RATE_COUNTERBps100Short name Bytes. Wire bytes of packets from the flow's A side (numerically lower IP) to its Z side (flow counter direction 1). This is upload only when the client has the lower IP.
2hitsVT_COUNTERHits100Short name Hits. 1 per CONNECT request.
3uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
4uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.