RE: [squid-users] Squid HTTP Headers

From: Mike Marchywka <marchywka_at_hotmail.com>
Date: Fri, 27 Nov 2009 10:21:38 -0500

----------------------------------------
> Date: Fri, 27 Nov 2009 09:08:17 -0600
> From: jhodges
> To: squid-users_at_squid-cache.org
> Subject: [squid-users] 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.

How does this work without squid? We are using squid to proxy our own
custom browser ( only on BB since it uses a lot of RIM browser related classes)
and routinely insert various headers and send back browsing info.
We use squid to offload things like DNS lookups that can slow down the phone.

It sounds as if you are asking "how do we get the browser on the phone to
add an id header using squid?" Will cookies work for you or don't you have
anyone to set the cookie?

>
> 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.

What do you have now? Does it run without squid?

>
> Thanks in advance for your time and feedback.
>
> Regards,
> Jason P Hodges
>

Note: hotmail is now unusable for TEXT, I am moving to marchywka_at_gmail.com or also use
marchywka_at_yahoo.com. Thanks. NEVER USE HOTMAIL, EVER

Mike Marchywka
586 Saint James Walk
Marietta GA 30067-7165
415-264-8477 (w)<- use this
404-788-1216 (C)<- leave message
989-348-4796 (P)<- emergency only
marchywka_at_hotmail.com
Note: If I am asking for free stuff, I normally use for hobby/non-profit
information but may use in investment forums, public and private.
Please indicate any concerns if applicable.

>
                                               
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1
Received on Fri Nov 27 2009 - 15:21:48 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 27 2009 - 12:00:04 MST