[squid-users] how to decode incoming request and header

From: Masih Nazari <masih.nazari_at_gmail.com>
Date: Sat, 16 Mar 2013 21:30:17 +0330

hello
our Government blocked GET,POST,CONNECT request for some site like
Facebook and YouTube
is there any way to send custom header to squid and squid replace
custom header with request url ?
for example i send this request to squid :
request :
GET http://www.google.com/ HTTP/1.1
request header :
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1)
Proxy-Connection: Keep-Alive
Real-Address: JHGLIFY&85o87rlr9*%$(RO^(^$R%

JHGLIFY&85o87rlr9*%$(RO^(^$R% = http://facebook.com/

i want to decrypt "Real-Address" value and replace decrypted string
with http://www.google.com/ in this example
is this possible in squid?
what file in squid source code work on incoming request and incoming header ?
Received on Sat Mar 16 2013 - 18:01:05 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 18 2013 - 12:00:08 MDT