Search squid archive

RE: Squid HTTP Headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Mike Marchywka [mailto:marchywka@xxxxxxxxxxx] 
Sent: Wednesday, December 02, 2009 8:22 AM
To: Jason Hodges; squid-users@xxxxxxxxxxxxxxx
Subject: RE:  Squid HTTP Headers

>>IIRC, your issue was paying whoever maintains your
>>DB or radius server. It isn't hard to write a cold fusion
>>page or java server to modify headers based on
>>a DB lookup if that is all you need. I'm not sure on
>>best approach if you want to rewrite headers
>>in squid but I'm still not even sure which step is of
>>most concern- accessing a DB or header modification.

In our case, we maintain the database and radius server.  I believe the
squid server (or proxy) will need to inject the 'http request header'.
It would need to build the 'http request header' based on information it
pulls from a database.  I see that it does some request header
manipulation already (mostly changing existing headers) and was hoping
someone had used them in a similar fashion that I'm hoping to do.

>>It may be that you haven't gotten an answer because
>>other skimmed your post with same level of
>>detail and re-wording would help :)

Sometimes one is so close to the details that it's hard to put them all
into words everyone will understand.  I did attempt to do so. :)  I do
appreciate the feedback and nudges in the right direction.  Hopefully
with a few questions I can get all the information out there that is
needed.


 

Regards,
Jason P Hodges
Senior Network and Systems Architect









----------------------------------------
> Date: Wed, 2 Dec 2009 08:06:42 -0600
> From: jhodges@xxxxxxxxxx
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: RE:  Squid HTTP Headers
>
> *bump*
comments below on possible reasons for lack
of response.

>
> Any help or guidance on this would be appreciated. I have heard a
couple of ideas but nothing has come to fruition yet.
>
>
IIRC, your issue was paying whoever maintains your
DB or radius server. It isn't hard to write a cold fusion
page or java server to modify headers based on
a DB lookup if that is all you need. I'm not sure on
best approach if you want to rewrite headers
in squid but I'm still not even sure which step is of
most concern- accessing a DB or header modification.

It may be that you haven't gotten an answer because
other skimmed your post with same level of
detail and re-wording would help :)




>
>
> Regards,
> Jason P Hodges
> Senior Network and Systems Architect
>
>
>
> -----Original Message-----
> From: Jason Hodges [mailto:jhodges@xxxxxxxxxx]
> Sent: Friday, November 27, 2009 9:08 AM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject:  Squid HTTP Headers
>
> Hello and thanks for taking the time to read this post. All feedback
is welcome.
>
> I work for a cell phone company and we use squid along with some fancy
NAT and PAT in order to offer various proxying services for cell phone
web browsers. Thus far we have been quite successful. If anyone is
curious of our set up, just ask.
>
> I do have a challenge that I have been unable to overcome and I am
hoping the user group can help solve it.
>
> The "Web Content Provider" that serves ringtones, games, etc to our
subscribers requires that we have an http header inserted as the users
surf their site. The header is x-msisdn. The value should be the
subscriber's phone number (mdn). We have been unsuccessful at finding a
good/solid solution for retrieving the mdn and inserting an http header.
The mdn (in our case) is stored in a database, so the information is
easily available. However, we do not know how to make squid request the
mdn and inject the http request header.
>
> Here are some details:
> 1. The mdn is stored in a database with an association to the ip
address the subscriber was assigned. Optionally this same information is
stored in a flat text file (radius accounting detail log)
> 2. We only want to inject this http header for certain URLs.
>
> If anyone can offer suggestions on how we can make this happen, that
would be greatly appreciated.
>
> Thanks in advance for your time and feedback.
>
> Regards,
> Jason P Hodges
>
>
 		 	   		  
_________________________________________________________________
Chat with Messenger straight from your Hotmail inbox.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.asp
x?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_4:092009


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux