Re: Cookie handling

2003-02-19 Thread Stipe Tolj
Bruno Rodrigues wrote:
 
 Citando Wilms, Stefan, VIS-THND [EMAIL PROTECTED]:
 
  Dear all,
 
  trying to get access to our intranet via WAP, using kannel 1.1.6 (with
  --enable-cookies compiled)
 
 There's something wrong with cookie support but as I'm gonna need them to work
 soon for a project of mine, I'll look at the code and will make sure they work.

me too. Bruno keep me and the others informed about issues via the
mailing list, please.

Stipe

[EMAIL PROTECTED]
---
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
---
wapme.net - wherever you are




Re: Cookie handling

2003-02-19 Thread Bruno Rodrigues
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.RodriguesatLitux.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.'




Cookie handling

2003-02-18 Thread Wilms, Stefan, VIS-THND
Title: Nachricht



Dear 
all,

trying to get access 
to our intranet via WAP, using kannel 1.1.6 (with --enable-cookies compiled), I 
can log in, but dependent on the device I´m using, I´m directly bounced back to 
the login prompt after successful login. It seems that we do have issues with 
keeping the session (handled by the weblogic cookies).

The log 
says:


WARNING: Skipping header: Set-Cookie: 
Apache=195.233.211.12.28307107282567; path=/ 2003-02-05 13:14:42 
[1]ERROR: WSP: Do not know how to encode header type 65 2003-02-05 13:14:42 
[1]WARNING: Skipping header: Set-Cookie: 
unique_id=356e149f944c6b70b465f1610ca5e519; expires=Monday, 04-Aug-2003 12:14:43 
GMT; path= 2003-02-05 13:14:42 [1]ERROR: WSP: Do not know how to encode 
header type 65 2003-02-05 13:14:42 [1] WARNING: Skipping header: Set-Cookie: 
auto_login=FALSE; expires=Monday, 04-Aug-2003 12:14:43 GMT; path= 2003-02-05 
13:14:42 [1]ERROR: WSP: Do not know how to encode header type 65 2003-02-05 
13:14:42 [1] WARNING: Skipping header: Set-Cookie: 
WebLogicSession=PkEAMmOgNtNJG71VTLyxeRFiM1gz6agSgkGKum1NvBvXg0Exk7eQ|-8360459692770970825/1131413859/6/280/280/8510/8510/280/-1; 
path=/
Do the errors and 
warnings indicate that cookies might be dropped and could this be the reason for 
the session not being kept or does kannel keep the cookies independent on these 
errors?
Thanks for your useful 
hints in advance,
Stefan
_
Stefan WilmsVodafoneInformation Systems 
GmbHNetwork  SecurityRehhecke 50 
D-40885 Ratingen-LintorfTel.: +49 2102 97-1114Fax: +49 2102 
9770-1114
Mail: [EMAIL PROTECTED]
http://www.vodafone-is.de



Re: Cookie handling

2003-02-18 Thread Bruno Rodrigues
Citando Wilms, Stefan, VIS-THND [EMAIL PROTECTED]:

 Dear all,
  
 trying to get access to our intranet via WAP, using kannel 1.1.6 (with
 --enable-cookies compiled)

There's something wrong with cookie support but as I'm gonna need them to work
soon for a project of mine, I'll look at the code and will make sure they work. 


-- 
Davi / Bruno.RodriguesatLitux.Org
Litux.org: 19:07:34 up 87 days, 20:23,  5 users,  load average: 0.07, 0.09, 0.16
'May you do Good Magic with Perl.
 -- Larry Wall's blessing'