Citando Stipe Tolj <[EMAIL PROTECTED]>: > Bruno Rodrigues schrieb:
> > BTW: has anyone done anything for gw authentication ? I'm thinking about > doing > > code to enable user/pass authentication in wap gw and have a > > exec/get-url/post-url passing user/pass and expecting a msisdn. Then have > > something like map-url to define which url's will wap gw send the msisdn, > and > > which header name will it have. > > the WAP gateway supports HTTP Basic Authentication as specified in > RFC2616. > > Same with get-url. It uses the get-url = > "user:pass@http://www.foobar.com" syntax. I mean authentication at mobile side - in your mobile configuration, you have credentials for csd(ras) or gprs(apn) authentication, which you'll use the one you get from your mobile provider, and a gateway authentication which will be sent to kannel. I intent to use the gateway credentials to translate user+pass+sourceip to msisdn and then have kannel injecting an msisdn header at the http side. When kannel receives a new connection (from a new user+pass+ip), it will request an external script/url with those values. this script/url will give back a msisdn or a reject signal. Then, when kannel fetch content from external servers, it will include the msisdn header. For that I'll also need to code an url list of can-send-msisdn and code to implement several known msisdn headers: for example, cmg is a regular header and ericsson uses a packed msisdn value. Although we can have an example script in kannel cvs, you'll need to do your own script to connect to your local architecture - it could be a script querying a radius server or a script authenticating against mysql/ldap/SSO system. -- Davi / Bruno.Rodrigues<at>Litux.Org Litux.org: 20:38:06 up 88 days, 21:53, 4 users, load average: 0.57, 0.54, 0.37 'finlandia:~> apropos win win: nothing appropriate.'