htaccess Elite

Hire htaccesselite professional

.htaccess tutorial


All times are UTC - 5 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How do Firewalls handle Content-Encoding: gzip
PostPosted: Mar 25th, '07, 11:38 
User avatar

Joined: Sep 24th, '06, 22:48
Posts: 240
Tasks of a firewall
One of the tasks of a firewall - whether company firewall or personal firewall on a client computer - is to remove 'dangerous' or 'unwanted' contents from received data.

This implies that the firewall understands this content.

Of course a correctly working firewall could just understand and unzip compressed content - as the procedure to be used is explicitly named inside the Content-Encoding HTTP header of the response.

The 'easy way out'
But some firewalls aren't just capable of doing so. As they still try to fulfill their task, they do something very unwanted: They just remove the Accept-Encoding header from the request to be sent!

By this no correctly working server will try to send encoded data now ... that's not really what we wanted because the transfer speed may potentially suffer massively from this.

Very stupid Firewalls, like Zone Alarm, simply overwrite the Accept-Encoding header with arbitrary characters, like Xxxxxx-Xxxxxxx: xxxx, xxxxxxx. This will save them from sending the modified request packet in parts - they just throw the whole buffer to the communication line, as its length just hasn't changed.

A little less stupid firewalls, like Cequrux from Version 4.1.8, read the HTTP header line by line and completely remove the Accept-Encoding line. Nevertheless this is just as annoying.

How can I recognize this type of behaviour
At least the user of a firewall has the opportunity to send some request to a program of his choice in the WWW and let it display the HTTP headers it received - so that at the user least knows what he got involved in ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB