2 September 2010

Delete the X-Bluecoat-via Header on Your ProxySG

It is part of security practice to restrict information about your internal network from being exposed. It is part of the RFC and thus mandatory for a Proxy Server to insert an X-Bluecoat-Via header so as to advise the receiving server that the request has been proxied. Most likely, this was done so that the server could be notified that a proxy server was used, but in recent times applications are usually proxy-aware and the server does not need this information (and likely this feature was never used.

It is considered best practice to remove information that would inform a potential attacker about what systems you are using. This HTTP header is sending a information about the vendor of your security appliance and should be suppressed.

You mist want to review this article on how to insert the configuration into your system


<Proxy>
action.xvia(yes)
define action xvia
delete( request.header.X-BlueCoat-Via )
end

Edit: Thanks to Andrew Thomas who points out the following:
The purpose of the X-Bluecoat-Via header is to allow bluecoat devices to sense and deal with forwarding loops i.e. if a bluecoat sees it’s own header in an incoming request it knows that something has gone wrong with forwarding and the request should be dropped.

Clipping these headers off your requests at the edge of your network is a good idea, but care should be taken before removing these headers from proxies which aren’t the last device in a proxy chain.

Please rate this post:

1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (1 votes, average: 10.00 out of 10)
Loading ... Loading ...

About Greg Ferro
Greg is a Network and Security Architect / Designer / Engineer working freelance in the UK and worked for Resellers, DotCom's, Large Corporate's and Service Providers across a variety of products & Vendors. He prefers to work for end users, believes in the life cycle, total cost of ownership and that near enough is often good enough. He likes talking about himself in the first person to feel "royal", even when hosting the Packet Pushers Podcast on Data Networking. More about Greg at http://etherealmind.com/who-am-i/ and you can follow him on Twitter.

Comments

  1. Andrew Thomas says:

    The purpose of the X-Bluecoat-Via header is to allow bluecoat devices to sense and deal with forwarding loops i.e. if a bluecoat sees it’s own header in an incoming request it knows that something has gone wrong with forwarding and the request should be dropped.
    Clipping these headers off your requests at the edge of your network is a good idea, but care should be taken before removing these headers from proxies which aren’t the last device in a proxy chain.

Speak Your Mind

*