Hi Stipe,

I've tried latest CVS. Seems likes kannel doesn't send X-WAP-Network-Client-MSISDN any more.



Stipe Tolj wrote:

Hi list,

I just commited this to cvs head tree:

2003-08-01 Stipe Tolj <[EMAIL PROTECTED]>
* gwlib/http.[ch]: rewrote parse_url() to parse the URL into an HTTPURLParse struct that holds all relevant components of an
URL, ie.
scheme, hostname, port, etc. Added therefore
http_urlparse_create() and
http_urlparse_destroy(). Now parse_url() is not populating given variables, but does return an HTTPURLParse pointer to the
caller, so
the caller can grep for the required information. Routine
parse2trans()
has also been added to allow internal mapping of the
HTTPURLParse struct to the HTTPServer struct and the corresponding URL
components.
This rewrite *should* not change HTTP client behaviour. Removed
unused
parse_url_path() because this can be done now via parse_url()
and the resulting struct. Added 'conn_time' to HTTPClient struct. This
will
be our future timeout reference for letting the keep-alive
sessions
die if a certain timeout is reached. Currently we *never*
destroy reseted HTTPClient's, which is a possible security
consideration.
We need to implement an cleaner_thread() that drops all idle
keep-alive
connections.


which means parse_url() does now only take the url as argument itself
and returns an HTTPURLParse structure containing the parsed
components:

typedef struct {
   Octstr *url;
   Octstr *scheme;
   Octstr *host;
   unsigned long port;
   Octstr *user;
   Octstr *pass;
   Octstr *path;
   Octstr *query;
   Octstr *fragment;
} HTTPURLParse;

so the caller of parse_url() can decide on return this component
he/she needs further processing.

I have tested this with a lot of URLs, please update your cvs tree and
try if you can break it. Please complain ASAP, so we can have our
hands back again on it.

BTW, the cleaner_thread() I mentioned above is used to destroy idle
HTTPClient connections that are "waiting" on further input, but
apparently should be timeout'ed. Otherwise someone can do an simple
DOS attack by opening as many sockets as Kannel's HTTP server allows.

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






--
David Chkhartishvili
Tel: 995 99 182418

2003-08-01 13:38:45 [1] INFO: RADIUS: Got data from NAS <213.61.58.140:1646>
2003-08-01 13:38:45 [1] DEBUG: Octet string at 122c10:
2003-08-01 13:38:45 [1] DEBUG:   len:  104
2003-08-01 13:38:45 [1] DEBUG:   size: 105
2003-08-01 13:38:45 [1] DEBUG:   immutable: 0
2003-08-01 13:38:45 [1] DEBUG:   data: 04 0c 00 68 ed ac ba 8a 25 ae cc 47 c7 2b 11 54 
  ...h....%..G.+.T
2003-08-01 13:38:45 [1] DEBUG:   data: 4f b4 09 7f 04 06 d5 3d 3a 8c 05 06 00 00 00 04 
  O......=:.......
2003-08-01 13:38:45 [1] DEBUG:   data: 3d 06 00 00 00 04 01 05 77 61 70 1e 05 35 32 31 
  =.......wap..521
2003-08-01 13:38:45 [1] DEBUG:   data: 1f 0a 39 39 31 38 32 34 31 38 28 06 00 00 00 01 
  ..99182418(.....
2003-08-01 13:38:45 [1] DEBUG:   data: 2d 06 00 00 00 01 06 06 00 00 00 02 2c 0a 30 30 
  -...........,.00
2003-08-01 13:38:45 [1] DEBUG:   data: 30 30 33 41 43 36 07 06 00 00 00 01 08 06 51 5f 
  003AC6........Q_
2003-08-01 13:38:45 [1] DEBUG:   data: a0 a4 29 06 00 00 00 00                         
  ..).....
2003-08-01 13:38:45 [1] DEBUG: Octet string dump ends.
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attributes len is 85
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Authenticator (md5) is::
2003-08-01 13:38:45 [1] DEBUG:  Octet string at 121b78:
2003-08-01 13:38:45 [1] DEBUG:    len:  16
2003-08-01 13:38:45 [1] DEBUG:    size: 17
2003-08-01 13:38:45 [1] DEBUG:    immutable: 0
2003-08-01 13:38:45 [1] DEBUG:    data: ed ac ba 8a 25 ae cc 47 c7 2b 11 54 4f b4 09 
7f   ....%..G.+.TO...
2003-08-01 13:38:45 [1] DEBUG:  Octet string dump ends.
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (4) `NAS-IP-Address', len 4: 
"213.61.58.140"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (5) `NAS-Port', len 4: "4"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (61) `NAS-Port-Type', len 4: "4"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (1) `User-Name', len 3: "wap"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (30) `Called-Station-Id', len 3: "521"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (31) `Calling-Station-Id', len 8: 
"99182418"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (40) `Acct-Status-Type', len 4: "1"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (45) `Acct-Authentic', len 4: "1"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (6) `Service-Type', len 4: "2"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (44) `Acct-Session-Id', len 8: 
"00003AC6"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (7) `Framed-Protocol', len 4: "1"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (8) `Framed-IP-Address', len 4: 
"81.95.160.164"
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Attribute (41) `Acct-Delay-Time', len 4: "0"
2003-08-01 13:38:45 [1] INFO: RADIUS PDU type: Accounting_Request
2003-08-01 13:38:45 [1] INFO: RADIUS: Mapping `81.95.160.164 <-> 99182418' for session 
id <00003AC6> added.
2003-08-01 13:38:45 [1] INFO: RADIUS: Got data from remote RADIUS <81.95.160.42:1646>
2003-08-01 13:38:45 [1] DEBUG: Octet string at 124580:
2003-08-01 13:38:45 [1] DEBUG:   len:  20
2003-08-01 13:38:45 [1] DEBUG:   size: 21
2003-08-01 13:38:45 [1] DEBUG:   immutable: 0
2003-08-01 13:38:45 [1] DEBUG:   data: 05 0c 00 14 06 3b 12 96 28 a7 66 a8 e6 d7 d5 68 
  .....;..(.f....h
2003-08-01 13:38:45 [1] DEBUG:   data: e0 a4 17 e2                                     
  ....
2003-08-01 13:38:45 [1] DEBUG: Octet string dump ends.
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Mapping table contains 1 elements
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Session table contains 2 elements
2003-08-01 13:38:45 [1] DEBUG: RADIUS: Client table contains 2 elements
2003-08-01 13:38:46 [6] DEBUG: WTP: Created WTPRespMachine 1231b8 (13)
2003-08-01 13:38:46 [6] DEBUG: WTP: resp_machine 13, state LISTEN, event RcvInvoke.
2003-08-01 13:38:46 [6] DEBUG: WTP 13: New state INVOKE_RESP_WAIT
2003-08-01 13:38:46 [2] DEBUG: WSP: Created WSPMachine 126e60
2003-08-01 13:38:46 [2] DEBUG: WSP: machine 126e60, state NULL_SESSION, event 
TR-Invoke.ind
2003-08-01 13:38:46 [2] DEBUG: WSP: decoding headers:
2003-08-01 13:38:46 [2] DEBUG: Octet string at 121cf8:
2003-08-01 13:38:46 [2] DEBUG:   len:  130
2003-08-01 13:38:46 [2] DEBUG:   size: 131
2003-08-01 13:38:46 [2] DEBUG:   immutable: 0
2003-08-01 13:38:46 [2] DEBUG:   data: 80 80 83 99 81 83 81 84 81 ea 81 03 02 03 e8 b5 
  ................
2003-08-01 13:38:46 [2] DEBUG:   data: 68 74 74 70 3a 2f 2f 77 61 70 2e 73 6f 6e 79 65 
  http://wap.sonye
2003-08-01 13:38:46 [2] DEBUG:   data: 72 69 63 73 73 6f 6e 2e 63 6f 6d 2f 55 41 70 72 
  ricsson.com/UApr
2003-08-01 13:38:46 [2] DEBUG:   data: 6f 66 2f 54 36 38 52 35 30 32 2e 78 6d 6c 00 a9 
  of/T68R502.xml..
2003-08-01 13:38:46 [2] DEBUG:   data: 53 6f 6e 79 45 72 69 63 73 73 6f 6e 54 36 38 2f 
  SonyEricssonT68/
2003-08-01 13:38:46 [2] DEBUG:   data: 52 35 30 32 00 b3 80 b2 81 b2 82 89 45 6e 63 6f 
  R502........Enco
2003-08-01 13:38:46 [2] DEBUG:   data: 64 69 6e 67 2d 56 65 72 73 69 6f 6e 00 45 6e 63 
  ding-Version.Enc
2003-08-01 13:38:46 [2] DEBUG:   data: 6f 64 69 6e 67 2d 56 65 72 73 69 6f 6e 00 31 2e 
  oding-Version.1.
2003-08-01 13:38:46 [2] DEBUG:   data: 33 00                                           
  3.
2003-08-01 13:38:46 [2] DEBUG: Octet string dump ends.
2003-08-01 13:38:46 [2] DEBUG: WSP: decoded headers:
2003-08-01 13:38:46 [2] DEBUG: Accept: */*
2003-08-01 13:38:46 [2] DEBUG: Accept-Language: en
2003-08-01 13:38:46 [2] DEBUG: Accept-Charset: us-ascii
2003-08-01 13:38:46 [2] DEBUG: Accept-Charset: iso-8859-1
2003-08-01 13:38:46 [2] DEBUG: Accept-Charset: utf-8
2003-08-01 13:38:46 [2] DEBUG: Accept-Charset: iso-10646-ucs-2
2003-08-01 13:38:46 [2] DEBUG: Profile: http://wap.sonyericsson.com/UAprof/T68R502.xml
2003-08-01 13:38:46 [2] DEBUG: User-Agent: SonyEricssonT68/R502
2003-08-01 13:38:46 [2] DEBUG: Bearer-Indication: any_ipv4
2003-08-01 13:38:46 [2] DEBUG: Accept-Application: push.sia
2003-08-01 13:38:46 [2] DEBUG: Accept-Application: wml.ua
2003-08-01 13:38:46 [2] DEBUG: Connection: Encoding-Version
2003-08-01 13:38:46 [2] DEBUG: Encoding-Version: 1.3
2003-08-01 13:38:46 [2] DEBUG: WSP: End of decoded headers.
2003-08-01 13:38:46 [2] DEBUG: WSP 3: New state CONNECTING
2003-08-01 13:38:46 [6] DEBUG: WTP: resp_machine 13, state INVOKE_RESP_WAIT, event 
TR-Invoke.res.
2003-08-01 13:38:46 [6] DEBUG: WTP 13: New state RESULT_WAIT
2003-08-01 13:38:46 [2] DEBUG: WSP: machine 126e60, state CONNECTING, event 
S-Connect.res
2003-08-01 13:38:46 [2] DEBUG: WSP 3: New state CONNECTING_2
2003-08-01 13:38:46 [6] DEBUG: WTP: resp_machine 13, state RESULT_WAIT, event 
TR-Result.req.
2003-08-01 13:38:46 [6] DEBUG: WTP: begin_sar_result(): data len = 25
2003-08-01 13:38:46 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2003-08-01 13:38:46 [6] DEBUG: WTP 13: New state RESULT_RESP_WAIT
2003-08-01 13:38:47 [6] DEBUG: WTP: resp_machine 13, state RESULT_RESP_WAIT, event 
RcvAck.
2003-08-01 13:38:47 [6] DEBUG: WTP 13: New state LISTEN
2003-08-01 13:38:47 [6] DEBUG: WTP: Destroying WTPRespMachine 1231b8 (13)
2003-08-01 13:38:47 [2] DEBUG: WSP: machine 126e60, state CONNECTING_2, event 
TR-Result.cnf
2003-08-01 13:38:47 [2] DEBUG: WSP 3: New state CONNECTED
2003-08-01 13:38:48 [6] DEBUG: WTP: Created WTPRespMachine 120d80 (14)
2003-08-01 13:38:48 [6] DEBUG: WTP: resp_machine 14, state LISTEN, event RcvInvoke.
2003-08-01 13:38:48 [6] DEBUG: WTP 14: New state INVOKE_RESP_WAIT
2003-08-01 13:38:48 [2] DEBUG: WSP: machine 126e60, state CONNECTED, event 
TR-Invoke.ind
2003-08-01 13:38:48 [2] DEBUG: WSP: method 14, state NULL_METHOD, event TR-Invoke.ind
2003-08-01 13:38:48 [2] DEBUG: WSP: decoding headers:
2003-08-01 13:38:48 [2] DEBUG: Octet string at 122dd8:
2003-08-01 13:38:48 [2] DEBUG:   len:  67
2003-08-01 13:38:48 [2] DEBUG:   size: 68
2003-08-01 13:38:48 [2] DEBUG:   immutable: 0
2003-08-01 13:38:48 [2] DEBUG:   data: 61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 
  application/vnd.
2003-08-01 13:38:48 [2] DEBUG:   data: 77 61 70 2e 6d 6d 73 2d 6d 65 73 73 61 67 65 00 
  wap.mms-message.
2003-08-01 13:38:48 [2] DEBUG:   data: 80 61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 
  .application/vnd
2003-08-01 13:38:48 [2] DEBUG:   data: 2e 77 61 70 2e 6d 6d 73 2d 6d 65 73 73 61 67 65 
  .wap.mms-message
2003-08-01 13:38:48 [2] DEBUG:   data: 00 bd 80                                        
  ...
2003-08-01 13:38:48 [2] DEBUG: Octet string dump ends.
2003-08-01 13:38:48 [2] DEBUG: WSP: decoded headers:
2003-08-01 13:38:48 [2] DEBUG: Content-Type: application/vnd.wap.mms-message
2003-08-01 13:38:48 [2] DEBUG: Accept: application/vnd.wap.mms-message
2003-08-01 13:38:48 [2] DEBUG: Cache-Control: no-cache
2003-08-01 13:38:48 [2] DEBUG: WSP: End of decoded headers.
2003-08-01 13:38:48 [2] DEBUG: WSP 3/14: New method state HOLDING
2003-08-01 13:38:48 [2] DEBUG: WSP: method 14, state HOLDING, event Release
2003-08-01 13:38:48 [2] DEBUG: WSP 3/14: New method state REQUESTING
2003-08-01 13:38:48 [2] DEBUG: WSP 3: New state CONNECTED
2003-08-01 13:38:48 [7] INFO: Fetching <http://81.95.160.43/>
2003-08-01 13:38:48 [7] DEBUG: WSP: Mapping url <http://81.95.160.43/>
2003-08-01 13:38:48 [7] DEBUG: WSP: Matching <DEVICE:home> with <http://81.9>
2003-08-01 13:38:48 [7] DEBUG: expire_cookies: No cookies in cache
2003-08-01 13:38:48 [7] DEBUG: set_cookies: No cookies in cache
2003-08-01 13:38:48 [7] DEBUG: WSP deconvert: Trying to deconvert:
2003-08-01 13:38:48 [7] DEBUG: Octet string at 122e38:
2003-08-01 13:38:48 [7] DEBUG:   len:  499
2003-08-01 13:38:48 [7] DEBUG:   size: 500
2003-08-01 13:38:48 [7] DEBUG:   immutable: 0
2003-08-01 13:38:48 [7] DEBUG:   data: 8c 80 98 31 2d 32 65 37 33 00 8d 90 85 04 3f 2a 
  ...1-2e73.....?*
2003-08-01 13:38:48 [7] DEBUG:   data: 6d 9a 89 01 81 97 39 39 35 39 39 31 38 32 34 31 
  m.....9959918241
2003-08-01 13:38:48 [7] DEBUG:   data: 38 2f 54 59 50 45 3d 50 4c 4d 4e 00 8a 80 8f 81 
  8/TYPE=PLMN.....
2003-08-01 13:38:48 [7] DEBUG:   data: 94 81 86 81 90 81 84 1b b3 89 61 70 70 6c 69 63 
  ..........applic
2003-08-01 13:38:48 [7] DEBUG:   data: 61 74 69 6f 6e 2f 73 6d 69 6c 00 8a 3c 41 41 41 
  ation/smil..<AAA
2003-08-01 13:38:48 [7] DEBUG:   data: 41 3e 00 02 22 02 0c 83 85 6d 6d 73 2e 74 78 74 
  A>.."....mms.txt
2003-08-01 13:38:48 [7] DEBUG:   data: 00 81 ea c0 22 3c 6d 6d 73 2e 74 78 74 3e 00 8e 
  ...."<mms.txt>..
2003-08-01 13:38:48 [7] DEBUG:   data: 6d 6d 73 2e 74 78 74 00 47 6a 27 82 4f 1d 61 70 
  mms.txt.Gj'.O.ap
2003-08-01 13:38:48 [7] DEBUG:   data: 70 6c 69 63 61 74 69 6f 6e 2f 73 6d 69 6c 00 85 
  plication/smil..
2003-08-01 13:38:48 [7] DEBUG:   data: 6d 6d 73 2e 73 6d 69 6c 00 81 ea c0 22 3c 41 41 
  mms.smil...."<AA
2003-08-01 13:38:48 [7] DEBUG:   data: 41 41 3e 00 3c 73 6d 69 6c 3e 3c 68 65 61 64 3e 
  AA>.<smil><head>
2003-08-01 13:38:48 [7] DEBUG:   data: 3c 6c 61 79 6f 75 74 3e 3c 72 6f 6f 74 2d 6c 61 
  <layout><root-la
2003-08-01 13:38:48 [7] DEBUG:   data: 79 6f 75 74 20 68 65 69 67 68 74 3d 22 32 34 30 
  yout height="240
2003-08-01 13:38:48 [7] DEBUG:   data: 70 78 22 20 77 69 64 74 68 3d 22 31 36 30 70 78 
  px" width="160px
2003-08-01 13:38:48 [7] DEBUG:   data: 22 2f 3e 0d 0a 3c 72 65 67 69 6f 6e 20 69 64 3d 
  "/>..<region id=
2003-08-01 13:38:48 [7] DEBUG:   data: 22 49 6d 61 67 65 22 20 74 6f 70 3d 22 30 22 20 
  "Image" top="0" 
2003-08-01 13:38:48 [7] DEBUG:   data: 6c 65 66 74 3d 22 30 22 20 68 65 69 67 68 74 3d 
  left="0" height=
2003-08-01 13:38:48 [7] DEBUG:   data: 22 35 30 25 22 20 77 69 64 74 68 3d 22 31 30 30 
  "50%" width="100
2003-08-01 13:38:48 [7] DEBUG:   data: 25 22 20 66 69 74 3d 22 68 69 64 64 65 6e 22 2f 
  %" fit="hidden"/
2003-08-01 13:38:48 [7] DEBUG:   data: 3e 0d 0a 3c 72 65 67 69 6f 6e 20 69 64 3d 22 54 
  >..<region id="T
2003-08-01 13:38:48 [7] DEBUG:   data: 65 78 74 22 20 74 6f 70 3d 22 35 30 25 22 20 6c 
  ext" top="50%" l
2003-08-01 13:38:48 [7] DEBUG:   data: 65 66 74 3d 22 30 22 20 68 65 69 67 68 74 3d 22 
  eft="0" height="
2003-08-01 13:38:48 [7] DEBUG:   data: 35 30 25 22 20 77 69 64 74 68 3d 22 31 30 30 25 
  50%" width="100%
2003-08-01 13:38:48 [7] DEBUG:   data: 22 20 66 69 74 3d 22 68 69 64 64 65 6e 22 2f 3e 
  " fit="hidden"/>
2003-08-01 13:38:48 [7] DEBUG:   data: 0d 0a 3c 2f 6c 61 79 6f 75 74 3e 0d 0a 3c 2f 68 
  ..</layout>..</h
2003-08-01 13:38:48 [7] DEBUG:   data: 65 61 64 3e 0d 0a 3c 62 6f 64 79 3e 3c 70 61 72 
  ead>..<body><par
2003-08-01 13:38:48 [7] DEBUG:   data: 20 64 75 72 3d 22 32 30 30 30 6d 73 22 3e 3c 74 
   dur="2000ms"><t
2003-08-01 13:38:48 [7] DEBUG:   data: 65 78 74 20 73 72 63 3d 22 6d 6d 73 2e 74 78 74 
  ext src="mms.txt
2003-08-01 13:38:48 [7] DEBUG:   data: 22 20 72 65 67 69 6f 6e 3d 22 54 65 78 74 22 3e 
  " region="Text">
2003-08-01 13:38:48 [7] DEBUG:   data: 3c 2f 74 65 78 74 3e 0d 0a 3c 2f 70 61 72 3e 0d 
  </text>..</par>.
2003-08-01 13:38:48 [7] DEBUG:   data: 0a 3c 2f 62 6f 64 79 3e 0d 0a 3c 2f 73 6d 69 6c 
  .</body>..</smil
2003-08-01 13:38:48 [7] DEBUG:   data: 3e 0d 0a                                        
  >..
2003-08-01 13:38:48 [7] DEBUG: Octet string dump ends.
2003-08-01 13:38:48 [2] DEBUG: WSP: machine 126e60, state CONNECTED, event 
S-MethodInvoke.res
2003-08-01 13:38:48 [2] DEBUG: WSP: method 14, state REQUESTING, event 
S-MethodInvoke.res
2003-08-01 13:38:48 [2] DEBUG: WSP 3/14: New method state PROCESSING
2003-08-01 13:38:48 [2] DEBUG: WSP 3: New state CONNECTED
2003-08-01 13:38:48 [11] DEBUG: Parsing URL `http://81.95.160.43/':
2003-08-01 13:38:48 [11] DEBUG:   Scheme: http://
2003-08-01 13:38:48 [11] DEBUG:   Host: 81.95.160.43
2003-08-01 13:38:48 [11] DEBUG:   Port: 80
2003-08-01 13:38:48 [11] DEBUG:   Username: (null)
2003-08-01 13:38:48 [11] DEBUG:   Password: (null)
2003-08-01 13:38:48 [11] DEBUG:   Path: /
2003-08-01 13:38:48 [11] DEBUG:   Query: (null)
2003-08-01 13:38:48 [11] DEBUG:   Fragment: (null)
2003-08-01 13:38:48 [11] DEBUG: HTTP: Opening connection to `81.95.160.43:80' (fd=34).
2003-08-01 13:38:48 [11] DEBUG: Socket connecting
2003-08-01 13:38:48 [6] DEBUG: WTP: resp_machine 14, state INVOKE_RESP_WAIT, event 
TR-Invoke.res.
2003-08-01 13:38:48 [6] DEBUG: WTP 14: New state RESULT_WAIT
2003-08-01 13:38:48 [10] DEBUG: Get info about connecting socket
2003-08-01 13:38:48 [10] DEBUG: HTTP: Sending request:
2003-08-01 13:38:48 [10] DEBUG: Octet string at 123e10:
2003-08-01 13:38:48 [10] DEBUG:   len:  1194
2003-08-01 13:38:48 [10] DEBUG:   size: 1195
2003-08-01 13:38:48 [10] DEBUG:   immutable: 0
2003-08-01 13:38:48 [10] DEBUG:   data: 50 4f 53 54 20 2f 20 48 54 54 50 2f 31 2e 31 
0d   POST / HTTP/1.1.
2003-08-01 13:38:48 [10] DEBUG:   data: 0a 48 6f 73 74 3a 20 38 31 2e 39 35 2e 31 36 
30   .Host: 81.95.160
2003-08-01 13:38:48 [10] DEBUG:   data: 2e 34 33 0d 0a 41 63 63 65 70 74 2d 4c 61 6e 
67   .43..Accept-Lang
2003-08-01 13:38:48 [10] DEBUG:   data: 75 61 67 65 3a 20 65 6e 0d 0a 41 63 63 65 70 
74   uage: en..Accept
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74 3a 20 75 73 2d 61 73 
63   -Charset: us-asc
2003-08-01 13:38:48 [10] DEBUG:   data: 69 69 2c 20 69 73 6f 2d 38 38 35 39 2d 31 2c 
20   ii, iso-8859-1, 
2003-08-01 13:38:48 [10] DEBUG:   data: 75 74 66 2d 38 2c 20 69 73 6f 2d 31 30 36 34 
36   utf-8, iso-10646
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 75 63 73 2d 32 2c 20 49 53 4f 2d 38 38 35 
39   -ucs-2, ISO-8859
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 32 2c 20 49 53 4f 2d 38 38 35 39 2d 33 2c 
20   -2, ISO-8859-3, 
2003-08-01 13:38:48 [10] DEBUG:   data: 49 53 4f 2d 38 38 35 39 2d 34 2c 20 49 53 4f 
2d   ISO-8859-4, ISO-
2003-08-01 13:38:48 [10] DEBUG:   data: 38 38 35 39 2d 35 2c 20 49 53 4f 2d 38 38 35 
39   8859-5, ISO-8859
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 36 2c 20 49 53 4f 2d 38 38 35 39 2d 37 2c 
20   -6, ISO-8859-7, 
2003-08-01 13:38:48 [10] DEBUG:   data: 49 53 4f 2d 38 38 35 39 2d 38 2c 20 49 53 4f 
2d   ISO-8859-8, ISO-
2003-08-01 13:38:48 [10] DEBUG:   data: 38 38 35 39 2d 39 0d 0a 50 72 6f 66 69 6c 65 
3a   8859-9..Profile:
2003-08-01 13:38:48 [10] DEBUG:   data: 20 68 74 74 70 3a 2f 2f 77 61 70 2e 73 6f 6e 
79    http://wap.sony
2003-08-01 13:38:48 [10] DEBUG:   data: 65 72 69 63 73 73 6f 6e 2e 63 6f 6d 2f 55 41 
70   ericsson.com/UAp
2003-08-01 13:38:48 [10] DEBUG:   data: 72 6f 66 2f 54 36 38 52 35 30 32 2e 78 6d 6c 
0d   rof/T68R502.xml.
2003-08-01 13:38:48 [10] DEBUG:   data: 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 53 6f 
6e   .User-Agent: Son
2003-08-01 13:38:48 [10] DEBUG:   data: 79 45 72 69 63 73 73 6f 6e 54 36 38 2f 52 35 
30   yEricssonT68/R50
2003-08-01 13:38:48 [10] DEBUG:   data: 32 0d 0a 42 65 61 72 65 72 2d 49 6e 64 69 63 
61   2..Bearer-Indica
2003-08-01 13:38:48 [10] DEBUG:   data: 74 69 6f 6e 3a 20 61 6e 79 5f 69 70 76 34 0d 
0a   tion: any_ipv4..
2003-08-01 13:38:48 [10] DEBUG:   data: 41 63 63 65 70 74 2d 41 70 70 6c 69 63 61 74 
69   Accept-Applicati
2003-08-01 13:38:48 [10] DEBUG:   data: 6f 6e 3a 20 70 75 73 68 2e 73 69 61 2c 20 77 
6d   on: push.sia, wm
2003-08-01 13:38:48 [10] DEBUG:   data: 6c 2e 75 61 0d 0a 43 6f 6e 74 65 6e 74 2d 54 
79   l.ua..Content-Ty
2003-08-01 13:38:48 [10] DEBUG:   data: 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e 
2f   pe: application/
2003-08-01 13:38:48 [10] DEBUG:   data: 76 6e 64 2e 77 61 70 2e 6d 6d 73 2d 6d 65 73 
73   vnd.wap.mms-mess
2003-08-01 13:38:48 [10] DEBUG:   data: 61 67 65 0d 0a 41 63 63 65 70 74 3a 20 61 70 
70   age..Accept: app
2003-08-01 13:38:48 [10] DEBUG:   data: 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 77 61 
70   lication/vnd.wap
2003-08-01 13:38:48 [10] DEBUG:   data: 2e 6d 6d 73 2d 6d 65 73 73 61 67 65 0d 0a 43 
61   .mms-message..Ca
2003-08-01 13:38:48 [10] DEBUG:   data: 63 68 65 2d 43 6f 6e 74 72 6f 6c 3a 20 6e 6f 
2d   che-Control: no-
2003-08-01 13:38:48 [10] DEBUG:   data: 63 61 63 68 65 0d 0a 58 2d 57 41 50 2d 4e 65 
74   cache..X-WAP-Net
2003-08-01 13:38:48 [10] DEBUG:   data: 77 6f 72 6b 2d 43 6c 69 65 6e 74 2d 49 50 3a 
20   work-Client-IP: 
2003-08-01 13:38:48 [10] DEBUG:   data: 38 31 2e 39 35 2e 31 36 30 2e 31 36 34 0d 0a 
58   81.95.160.164..X
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 57 41 50 2d 43 6c 69 65 6e 74 2d 53 44 55 
2d   -WAP-Client-SDU-
2003-08-01 13:38:48 [10] DEBUG:   data: 53 69 7a 65 3a 20 32 36 31 31 32 30 0d 0a 56 
69   Size: 261120..Vi
2003-08-01 13:38:48 [10] DEBUG:   data: 61 3a 20 57 41 50 2f 31 2e 33 20 6d 61 69 6c 
2e   a: WAP/1.3 mail.
2003-08-01 13:38:48 [10] DEBUG:   data: 73 6d 73 2e 6d 61 67 74 69 67 73 6d 2e 67 65 
20   sms.magtigsm.ge 
2003-08-01 13:38:48 [10] DEBUG:   data: 28 4b 61 6e 6e 65 6c 2f 63 76 73 2d 32 30 30 
33   (Kannel/cvs-2003
2003-08-01 13:38:48 [10] DEBUG:   data: 30 37 32 34 29 0d 0a 58 2d 57 41 50 2d 47 61 
74   0724)..X-WAP-Gat
2003-08-01 13:38:48 [10] DEBUG:   data: 65 77 61 79 3a 20 4b 61 6e 6e 65 6c 2f 63 76 
73   eway: Kannel/cvs
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 32 30 30 33 30 37 32 34 0d 0a 58 2d 57 41 
50   -20030724..X-WAP
2003-08-01 13:38:48 [10] DEBUG:   data: 2d 53 65 73 73 69 6f 6e 2d 49 44 3a 20 33 0d 
0a   -Session-ID: 3..
2003-08-01 13:38:48 [10] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 
20   Content-Length: 
2003-08-01 13:38:48 [10] DEBUG:   data: 34 39 39 0d 0a 0d 0a 8c 80 98 31 2d 32 65 37 
33   499.......1-2e73
2003-08-01 13:38:48 [10] DEBUG:   data: 00 8d 90 85 04 3f 2a 6d 9a 89 01 81 97 39 39 
35   .....?*m.....995
2003-08-01 13:38:48 [10] DEBUG:   data: 39 39 31 38 32 34 31 38 2f 54 59 50 45 3d 50 
4c   99182418/TYPE=PL
2003-08-01 13:38:48 [10] DEBUG:   data: 4d 4e 00 8a 80 8f 81 94 81 86 81 90 81 84 1b 
b3   MN..............
2003-08-01 13:38:48 [10] DEBUG:   data: 89 61 70 70 6c 69 63 61 74 69 6f 6e 2f 73 6d 
69   .application/smi
2003-08-01 13:38:48 [10] DEBUG:   data: 6c 00 8a 3c 41 41 41 41 3e 00 02 22 02 0c 83 
85   l..<AAAA>.."....
2003-08-01 13:38:48 [10] DEBUG:   data: 6d 6d 73 2e 74 78 74 00 81 ea c0 22 3c 6d 6d 
73   mms.txt...."<mms
2003-08-01 13:38:48 [10] DEBUG:   data: 2e 74 78 74 3e 00 8e 6d 6d 73 2e 74 78 74 00 
47   .txt>..mms.txt.G
2003-08-01 13:38:48 [10] DEBUG:   data: 6a 27 82 4f 1d 61 70 70 6c 69 63 61 74 69 6f 
6e   j'.O.application
2003-08-01 13:38:48 [10] DEBUG:   data: 2f 73 6d 69 6c 00 85 6d 6d 73 2e 73 6d 69 6c 
00   /smil..mms.smil.
2003-08-01 13:38:48 [10] DEBUG:   data: 81 ea c0 22 3c 41 41 41 41 3e 00 3c 73 6d 69 
6c   ..."<AAAA>.<smil
2003-08-01 13:38:48 [10] DEBUG:   data: 3e 3c 68 65 61 64 3e 3c 6c 61 79 6f 75 74 3e 
3c   ><head><layout><
2003-08-01 13:38:48 [10] DEBUG:   data: 72 6f 6f 74 2d 6c 61 79 6f 75 74 20 68 65 69 
67   root-layout heig
2003-08-01 13:38:48 [10] DEBUG:   data: 68 74 3d 22 32 34 30 70 78 22 20 77 69 64 74 
68   ht="240px" width
2003-08-01 13:38:48 [10] DEBUG:   data: 3d 22 31 36 30 70 78 22 2f 3e 0d 0a 3c 72 65 
67   ="160px"/>..<reg
2003-08-01 13:38:48 [10] DEBUG:   data: 69 6f 6e 20 69 64 3d 22 49 6d 61 67 65 22 20 
74   ion id="Image" t
2003-08-01 13:38:48 [10] DEBUG:   data: 6f 70 3d 22 30 22 20 6c 65 66 74 3d 22 30 22 
20   op="0" left="0" 
2003-08-01 13:38:48 [10] DEBUG:   data: 68 65 69 67 68 74 3d 22 35 30 25 22 20 77 69 
64   height="50%" wid
2003-08-01 13:38:48 [10] DEBUG:   data: 74 68 3d 22 31 30 30 25 22 20 66 69 74 3d 22 
68   th="100%" fit="h
2003-08-01 13:38:48 [10] DEBUG:   data: 69 64 64 65 6e 22 2f 3e 0d 0a 3c 72 65 67 69 
6f   idden"/>..<regio
2003-08-01 13:38:48 [10] DEBUG:   data: 6e 20 69 64 3d 22 54 65 78 74 22 20 74 6f 70 
3d   n id="Text" top=
2003-08-01 13:38:48 [10] DEBUG:   data: 22 35 30 25 22 20 6c 65 66 74 3d 22 30 22 20 
68   "50%" left="0" h
2003-08-01 13:38:48 [10] DEBUG:   data: 65 69 67 68 74 3d 22 35 30 25 22 20 77 69 64 
74   eight="50%" widt
2003-08-01 13:38:48 [10] DEBUG:   data: 68 3d 22 31 30 30 25 22 20 66 69 74 3d 22 68 
69   h="100%" fit="hi
2003-08-01 13:38:48 [10] DEBUG:   data: 64 64 65 6e 22 2f 3e 0d 0a 3c 2f 6c 61 79 6f 
75   dden"/>..</layou
2003-08-01 13:38:48 [10] DEBUG:   data: 74 3e 0d 0a 3c 2f 68 65 61 64 3e 0d 0a 3c 62 
6f   t>..</head>..<bo
2003-08-01 13:38:48 [10] DEBUG:   data: 64 79 3e 3c 70 61 72 20 64 75 72 3d 22 32 30 
30   dy><par dur="200
2003-08-01 13:38:48 [10] DEBUG:   data: 30 6d 73 22 3e 3c 74 65 78 74 20 73 72 63 3d 
22   0ms"><text src="
2003-08-01 13:38:48 [10] DEBUG:   data: 6d 6d 73 2e 74 78 74 22 20 72 65 67 69 6f 6e 
3d   mms.txt" region=
2003-08-01 13:38:48 [10] DEBUG:   data: 22 54 65 78 74 22 3e 3c 2f 74 65 78 74 3e 0d 
0a   "Text"></text>..
2003-08-01 13:38:48 [10] DEBUG:   data: 3c 2f 70 61 72 3e 0d 0a 3c 2f 62 6f 64 79 3e 
0d   </par>..</body>.
2003-08-01 13:38:48 [10] DEBUG:   data: 0a 3c 2f 73 6d 69 6c 3e 0d 0a                  
   .</smil>..
2003-08-01 13:38:48 [10] DEBUG: Octet string dump ends.
2003-08-01 13:38:48 [10] DEBUG: HTTP: Status line: <HTTP/1.0 200 OK>
2003-08-01 13:38:48 [10] DEBUG: HTTP: Received response:
2003-08-01 13:38:48 [10] DEBUG: Octet string at 123e28:
2003-08-01 13:38:48 [10] DEBUG:   len:  83
2003-08-01 13:38:48 [10] DEBUG:   size: 84
2003-08-01 13:38:48 [10] DEBUG:   immutable: 0
2003-08-01 13:38:48 [10] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 61 
70   Content-type: ap
2003-08-01 13:38:48 [10] DEBUG:   data: 70 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 77 
61   plication/vnd.wa
2003-08-01 13:38:48 [10] DEBUG:   data: 70 2e 6d 6d 73 2d 6d 65 73 73 61 67 65 0d 0a 
43   p.mms-message..C
2003-08-01 13:38:48 [10] DEBUG:   data: 6f 6e 74 65 6e 74 2d 6c 65 6e 67 74 68 3a 20 
31   ontent-length: 1
2003-08-01 13:38:48 [10] DEBUG:   data: 34 0d 0a 0d 0a 8c 81 98 31 2d 32 65 37 33 00 
8d   4.......1-2e73..
2003-08-01 13:38:48 [10] DEBUG:   data: 90 92 84                                       
   ...
2003-08-01 13:38:48 [10] DEBUG: Octet string dump ends.
2003-08-01 13:38:48 [8] DEBUG: get_cookies: End
2003-08-01 13:38:48 [2] DEBUG: WSP: machine 126e60, state CONNECTED, event 
S-MethodResult.req
2003-08-01 13:38:48 [2] DEBUG: WSP: method 14, state PROCESSING, event 
S-MethodResult.req
2003-08-01 13:38:48 [2] DEBUG: WSP 3/14: New method state REPLYING
2003-08-01 13:38:48 [2] DEBUG: WSP 3: New state CONNECTED
2003-08-01 13:38:48 [6] DEBUG: WTP: resp_machine 14, state RESULT_WAIT, event 
TR-Result.req.
2003-08-01 13:38:48 [6] DEBUG: WTP: begin_sar_result(): data len = 51
2003-08-01 13:38:48 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
2003-08-01 13:38:48 [6] DEBUG: WTP 14: New state RESULT_RESP_WAIT
2003-08-01 13:38:49 [6] DEBUG: WTP: resp_machine 14, state RESULT_RESP_WAIT, event 
RcvAck.
2003-08-01 13:38:49 [6] DEBUG: WTP 14: New state LISTEN
2003-08-01 13:38:49 [6] DEBUG: WTP: Destroying WTPRespMachine 120d80 (14)
2003-08-01 13:38:49 [2] DEBUG: WSP: machine 126e60, state CONNECTED, event 
TR-Result.cnf
2003-08-01 13:38:49 [2] DEBUG: WSP: method 14, state REPLYING, event TR-Result.cnf
2003-08-01 13:38:49 [2] DEBUG: WSP 3/14: New method state NULL_METHOD
2003-08-01 13:38:49 [2] DEBUG: Destroying WSPMethodMachine 14
2003-08-01 13:38:49 [2] DEBUG: WSP 3: New state CONNECTED
2003-08-01 13:38:49 [6] DEBUG: WTP: Created WTPRespMachine 124a78 (15)
2003-08-01 13:38:49 [6] DEBUG: WTP: resp_machine 15, state LISTEN, event RcvInvoke.
2003-08-01 13:38:49 [6] DEBUG: WTP 15: New state LISTEN
2003-08-01 13:38:49 [6] DEBUG: WTP: Destroying WTPRespMachine 124a78 (15)
2003-08-01 13:38:49 [2] DEBUG: WSP: machine 126e60, state CONNECTED, event 
TR-Invoke.ind
2003-08-01 13:38:49 [2] DEBUG: WSP 3: New state NULL_SESSION
2003-08-01 13:38:49 [2] DEBUG: Destroying WSPMachine 126e60
2003-08-01 13:38:54 [1] INFO: RADIUS: Got data from NAS <213.61.58.140:1646>
2003-08-01 13:38:54 [1] DEBUG: Octet string at 122af0:
2003-08-01 13:38:54 [1] DEBUG:   len:  140
2003-08-01 13:38:54 [1] DEBUG:   size: 141
2003-08-01 13:38:54 [1] DEBUG:   immutable: 0
2003-08-01 13:38:54 [1] DEBUG:   data: 04 0d 00 8c c0 ec eb 8a eb c8 02 df 82 cc ef f1 
  ................
2003-08-01 13:38:54 [1] DEBUG:   data: 35 24 5b 19 04 06 d5 3d 3a 8c 05 06 00 00 00 04 
  5$[....=:.......
2003-08-01 13:38:54 [1] DEBUG:   data: 3d 06 00 00 00 04 01 05 77 61 70 1e 05 35 32 31 
  =.......wap..521
2003-08-01 13:38:54 [1] DEBUG:   data: 1f 0a 39 39 31 38 32 34 31 38 28 06 00 00 00 02 
  ..99182418(.....
2003-08-01 13:38:54 [1] DEBUG:   data: 2d 06 00 00 00 01 06 06 00 00 00 02 2c 0a 30 30 
  -...........,.00
2003-08-01 13:38:54 [1] DEBUG:   data: 30 30 33 41 43 36 07 06 00 00 00 01 08 06 51 5f 
  003AC6........Q_
2003-08-01 13:38:54 [1] DEBUG:   data: a0 a4 31 06 00 00 00 02 2a 06 00 00 04 2b 2b 06 
  ..1.....*....++.
2003-08-01 13:38:54 [1] DEBUG:   data: 00 00 01 0a 2f 06 00 00 00 0b 30 06 00 00 00 08 
  ..../.....0.....
2003-08-01 13:38:54 [1] DEBUG:   data: 2e 06 00 00 00 0b 29 06 00 00 00 00             
  ......).....
2003-08-01 13:38:54 [1] DEBUG: Octet string dump ends.
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attributes len is 121
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Authenticator (md5) is::
2003-08-01 13:38:54 [1] DEBUG:  Octet string at 122d18:
2003-08-01 13:38:54 [1] DEBUG:    len:  16
2003-08-01 13:38:54 [1] DEBUG:    size: 17
2003-08-01 13:38:54 [1] DEBUG:    immutable: 0
2003-08-01 13:38:54 [1] DEBUG:    data: c0 ec eb 8a eb c8 02 df 82 cc ef f1 35 24 5b 
19   ............5$[.
2003-08-01 13:38:54 [1] DEBUG:  Octet string dump ends.
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (4) `NAS-IP-Address', len 4: 
"213.61.58.140"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (5) `NAS-Port', len 4: "4"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (61) `NAS-Port-Type', len 4: "4"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (1) `User-Name', len 3: "wap"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (30) `Called-Station-Id', len 3: "521"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (31) `Calling-Station-Id', len 8: 
"99182418"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (40) `Acct-Status-Type', len 4: "2"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (45) `Acct-Authentic', len 4: "1"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (6) `Service-Type', len 4: "2"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (44) `Acct-Session-Id', len 8: 
"00003AC6"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (7) `Framed-Protocol', len 4: "1"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (8) `Framed-IP-Address', len 4: 
"81.95.160.164"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (49) `Acct-Terminate-Cause', len 4: 
"2"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (42) `Acct-Input-Octets', len 4: 
"1067"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (43) `Acct-Output-Octets', len 4: 
"266"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (47) `Acct-Input-Packets', len 4: "11"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (48) `Acct-Output-Packets', len 4: "8"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (46) `Acct-Session-Time', len 4: "11"
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Attribute (41) `Acct-Delay-Time', len 4: "0"
2003-08-01 13:38:54 [1] INFO: RADIUS PDU type: Accounting_Request
2003-08-01 13:38:54 [1] INFO: RADIUS: Mapping `81.95.160.164 <-> 99182418' for session 
id <00003AC6> removed.
2003-08-01 13:38:54 [1] INFO: RADIUS: Got data from remote RADIUS <81.95.160.42:1646>
2003-08-01 13:38:54 [1] DEBUG: Octet string at 121c38:
2003-08-01 13:38:54 [1] DEBUG:   len:  20
2003-08-01 13:38:54 [1] DEBUG:   size: 21
2003-08-01 13:38:54 [1] DEBUG:   immutable: 0
2003-08-01 13:38:54 [1] DEBUG:   data: 05 0d 00 14 c7 65 ce f5 9b 4e 7d b2 9a 5e ca c3 
  .....e...N}..^..
2003-08-01 13:38:54 [1] DEBUG:   data: 8c ff d4 9b                                     
  ....
2003-08-01 13:38:54 [1] DEBUG: Octet string dump ends.
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Mapping table contains 0 elements
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Session table contains 2 elements
2003-08-01 13:38:54 [1] DEBUG: RADIUS: Client table contains 2 elements

Reply via email to