Re: [FYI] RADIOUS accounting proxy commited

David Chkhartishvili <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization MagtiCom Ltd.
Message-ID <[email protected]>
Stipe,

Could you please look at my debug output?
Radius proxy gets msisdn fro nas correctly, but doesn't include MSISDN 
header.

David Chkhartishvili wrote:

> Hi List,
>
> I've just tried to use MSISDN feature of kannel. Seems like it doesn't 
> provide X-WAP-Network-Client-MSISDN header to http server/MMSC. 
> Instead I see that it transfers X-WAP-Network-Client-IP.
> Here is debug log:
>
> 2003-06-20 11:47:37 [1] INFO: RADIUS: Got data from NAS <edited:1646>
> 2003-06-20 11:47:37 [1] DEBUG: Octet string at 0x8168e30:
> 2003-06-20 11:47:37 [1] DEBUG:   len:  98
> 2003-06-20 11:47:37 [1] DEBUG:   size: 99
> 2003-06-20 11:47:37 [1] DEBUG:   immutable: 0
> 2003-06-20 11:47:37 [1] DEBUG:   data: 04 04 00 62 6b b5 ca 85   ...bk...
> 2003-06-20 11:47:37 [1] DEBUG:   data: d1 ba e8 e5 8e 02 b3 ca   ........
> 2003-06-20 11:47:37 [1] DEBUG:   data: 62 16 6d 5a 04 06 d5 3d   b.mZ...=
> 2003-06-20 11:47:37 [1] DEBUG:   data: 3a 8c 05 06 00 00 00 10   :.......
> 2003-06-20 11:47:37 [1] DEBUG:   data: 3d 06 00 00 00 04 01 05   =.......
> 2003-06-20 11:47:37 [1] DEBUG:   data: 77 61 70 1e 05 35 32 31   wap..521
> 2003-06-20 11:47:37 [1] DEBUG:   data: 1f 0a 39 39 31 38 32 34   ..991824
> 2003-06-20 11:47:37 [1] DEBUG:   data: 31 38 28 06 00 00 00 01   18(.....
> 2003-06-20 11:47:37 [1] DEBUG:   data: 2d 06 00 00 00 01 06 06   -.......
> 2003-06-20 11:47:37 [1] DEBUG:   data: 00 00 00 02 2c 0a 30 30   ....,.00
> 2003-06-20 11:47:37 [1] DEBUG:   data: 30 30 32 43 42 44 07 06   002CBD..
> 2003-06-20 11:47:37 [1] DEBUG:   data: 00 00 00 01 29 06 00 00   ....)...
> 2003-06-20 11:47:37 [1] DEBUG:   data: 00 00                     ..
> 2003-06-20 11:47:37 [1] DEBUG: Octet string dump ends.
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attributes len is 79
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Authenticator (md5) is::
> 2003-06-20 11:47:37 [1] DEBUG:  Octet string at 0x8150d08:
> 2003-06-20 11:47:37 [1] DEBUG:    len:  16
> 2003-06-20 11:47:37 [1] DEBUG:    size: 17
> 2003-06-20 11:47:37 [1] DEBUG:    immutable: 0
> 2003-06-20 11:47:37 [1] DEBUG:    data: 6b b5 ca 85 d1 ba e8 e5   
> k.......
> 2003-06-20 11:47:37 [1] DEBUG:    data: 8e 02 b3 ca 62 16 6d 5a   
> ....b.mZ
> 2003-06-20 11:47:37 [1] DEBUG:  Octet string dump ends.
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (4) `NAS-IP-Address', 
> len 4: "edited"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (5) `NAS-Port', len 
> 4: "16"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (61) `NAS-Port-Type', 
> len 4: "4"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (1) `User-Name', len 
> 3: "wap"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (30) 
> `Called-Station-Id', len 3: "edited"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (31) 
> `Calling-Station-Id', len 8: "99182418"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (40) 
> `Acct-Status-Type', len 4: "1"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (45) 
> `Acct-Authentic', len 4: "1"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (6) `Service-Type', 
> len 4: "2"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (44) 
> `Acct-Session-Id', len 8: "00002CBD"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (7) 
> `Framed-Protocol', len 4: "1"
> 2003-06-20 11:47:37 [1] DEBUG: RADIUS: Attribute (41) 
> `Acct-Delay-Time', len 4: "0"
> 2003-06-20 11:47:37 [1] INFO: RADIUS PDU type: Accounting_Request
> 2003-06-20 11:47:37 [1] INFO: RADIUS: Mapping `(null) <-> 99182418' 
> for session id <00002CBD> added.
> 2003-06-20 11:47:40 [6] DEBUG: datagram received
> 2003-06-20 11:47:40 [8] DEBUG: Did not find previous routing info for 
> WDP, generating new
> 2003-06-20 11:47:40 [12] DEBUG: send_msg: sending msg to boxc: <(null)>
> 2003-06-20 11:47:40 [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-20 11:47:40 [6] DEBUG: WTP: Created WTPRespMachine 0x8151e10 (0)
> 2003-06-20 11:47:40 [6] DEBUG: WTP: resp_machine 0, state LISTEN, 
> event RcvInvoke.
> 2003-06-20 11:47:40 [6] DEBUG: WTP 0: New state INVOKE_RESP_WAIT
> 2003-06-20 11:47:40 [2] DEBUG: WSP: Created WSPMachine 0x8152138
> 2003-06-20 11:47:40 [2] DEBUG: WSP: machine 0x8152138, state 
> NULL_SESSION, event TR-Invoke.ind
> 2003-06-20 11:47:40 [2] DEBUG: WSP: decoding headers:
> 2003-06-20 11:47:40 [2] DEBUG: Octet string at 0x81522b8:
> 2003-06-20 11:47:40 [2] DEBUG:   len:  150
> 2003-06-20 11:47:40 [2] DEBUG:   size: 151
> 2003-06-20 11:47:40 [2] DEBUG:   immutable: 0
> 2003-06-20 11:47:40 [2] DEBUG:   data: 80 80 a1 09 80 77 61 70   .....wap
> 2003-06-20 11:47:40 [2] DEBUG:   data: 00 77 61 70 00 83 99 81   .wap....
> 2003-06-20 11:47:40 [2] DEBUG:   data: 83 81 84 81 ea 81 03 02   ........
> 2003-06-20 11:47:40 [2] DEBUG:   data: 03 e8 b5 68 74 74 70 3a   ...http:
> 2003-06-20 11:47:40 [2] DEBUG:   data: 2f 2f 77 61 70 2e 73 6f   //wap.so
> 2003-06-20 11:47:40 [2] DEBUG:   data: 6e 79 65 72 69 63 73 73   nyericss
> 2003-06-20 11:47:40 [2] DEBUG:   data: 6f 6e 6d 6f 62 69 6c 65   onmobile
> 2003-06-20 11:47:40 [2] DEBUG:   data: 2e 63 6f 6d 2f 55 41 70   .com/UAp
> 2003-06-20 11:47:40 [2] DEBUG:   data: 72 6f 66 2f 54 36 38 52   rof/T68R
> 2003-06-20 11:47:40 [2] DEBUG:   data: 32 30 31 2e 78 6d 6c 00   201.xml.
> 2003-06-20 11:47:40 [2] DEBUG:   data: a9 53 6f 6e 79 45 72 69   .SonyEri
> 2003-06-20 11:47:40 [2] DEBUG:   data: 63 73 73 6f 6e 54 36 38   cssonT68
> 2003-06-20 11:47:40 [2] DEBUG:   data: 2f 52 32 30 31 41 00 b3   /R201A..
> 2003-06-20 11:47:40 [2] DEBUG:   data: 80 b2 81 b2 82 b2 84 89   ........
> 2003-06-20 11:47:40 [2] DEBUG:   data: 45 6e 63 6f 64 69 6e 67   Encoding
> 2003-06-20 11:47:40 [2] DEBUG:   data: 2d 56 65 72 73 69 6f 6e   -Version
> 2003-06-20 11:47:40 [2] DEBUG:   data: 00 45 6e 63 6f 64 69 6e   .Encodin
> 2003-06-20 11:47:40 [2] DEBUG:   data: 67 2d 56 65 72 73 69 6f   g-Versio
> 2003-06-20 11:47:40 [2] DEBUG:   data: 6e 00 31 2e 33 00         n.1.3.
> 2003-06-20 11:47:40 [2] DEBUG: Octet string dump ends.
> 2003-06-20 11:47:40 [2] WARNING: Did not expect short-integer with 
> 'Bearer-Indication' header, skipping.
> 2003-06-20 11:47:40 [2] WARNING: Skipping faulty header.
> 2003-06-20 11:47:40 [2] WARNING: Did not expect short-integer with 
> 'Accept-Application' header, skipping.
> 2003-06-20 11:47:40 [2] WARNING: Skipping faulty header.
> 2003-06-20 11:47:40 [2] WARNING: Did not expect short-integer with 
> 'Accept-Application' header, skipping.
> 2003-06-20 11:47:40 [2] WARNING: Skipping faulty header.
> 2003-06-20 11:47:40 [2] WARNING: Did not expect short-integer with 
> 'Accept-Application' header, skipping.
> 2003-06-20 11:47:40 [2] WARNING: Skipping faulty header.
> 2003-06-20 11:47:40 [2] DEBUG: WSP: decoded headers:
> 2003-06-20 11:47:40 [2] DEBUG: Accept: */*
> 2003-06-20 11:47:40 [2] DEBUG: Proxy-Authorization: Basic d2FwOndhcA==
> 2003-06-20 11:47:40 [2] DEBUG: Accept-Language: en
> 2003-06-20 11:47:40 [2] DEBUG: Accept-Charset: us-ascii
> 2003-06-20 11:47:40 [2] DEBUG: Accept-Charset: iso-8859-1
> 2003-06-20 11:47:40 [2] DEBUG: Accept-Charset: utf-8
> 2003-06-20 11:47:40 [2] DEBUG: Accept-Charset: iso-10646-ucs-2
> 2003-06-20 11:47:40 [2] DEBUG: Profile: 
> http://wap.sonyericssonmobile.com/UAprof/T68R201.xml
> 2003-06-20 11:47:40 [2] DEBUG: User-Agent: SonyEricssonT68/R201A
> 2003-06-20 11:47:40 [2] DEBUG: Connection: Encoding-Version
> 2003-06-20 11:47:40 [2] DEBUG: Encoding-Version: 1.3
> 2003-06-20 11:47:40 [2] DEBUG: WSP: End of decoded headers.
> 2003-06-20 11:47:40 [2] DEBUG: WSP 0: New state CONNECTING
> 2003-06-20 11:47:40 [6] DEBUG: WTP: resp_machine 0, state 
> INVOKE_RESP_WAIT, event TR-Invoke.res.
> 2003-06-20 11:47:40 [6] DEBUG: WTP 0: New state RESULT_WAIT
> 2003-06-20 11:47:40 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTING, event S-Connect.res
> 2003-06-20 11:47:40 [2] DEBUG: WSP 0: New state CONNECTING_2
> 2003-06-20 11:47:40 [6] DEBUG: WTP: resp_machine 0, state RESULT_WAIT, 
> event TR-Result.req.
> 2003-06-20 11:47:40 [6] DEBUG: WTP: begin_sar_result(): data len = 25
> 2003-06-20 11:47:40 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
> 2003-06-20 11:47:40 [6] DEBUG: WTP 0: New state RESULT_RESP_WAIT
> 2003-06-20 11:47:40 [11] DEBUG: boxc_receiver: got wdp from wapbox
> 2003-06-20 11:47:40 [7] DEBUG: udp: sending message
> 2003-06-20 11:47:41 [6] DEBUG: datagram received
> 2003-06-20 11:47:41 [12] DEBUG: send_msg: sending msg to boxc: <(null)>
> 2003-06-20 11:47:41 [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-20 11:47:41 [6] DEBUG: WTP: resp_machine 0, state 
> RESULT_RESP_WAIT, event RcvAck.
> 2003-06-20 11:47:41 [6] DEBUG: WTP 0: New state LISTEN
> 2003-06-20 11:47:41 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTING_2, event TR-Result.cnf
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0: New state CONNECTED
> 2003-06-20 11:47:41 [6] DEBUG: WTP: Destroying WTPRespMachine 
> 0x8151e10 (0)
> 2003-06-20 11:47:41 [6] DEBUG: datagram received
> 2003-06-20 11:47:41 [12] DEBUG: send_msg: sending msg to boxc: <(null)>
> 2003-06-20 11:47:41 [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-20 11:47:41 [6] DEBUG: WTP: Created WTPRespMachine 0x8151e10 (1)
> 2003-06-20 11:47:41 [6] DEBUG: WTP: resp_machine 1, state LISTEN, 
> event RcvInvoke.
> 2003-06-20 11:47:41 [6] DEBUG: WTP 1: New state INVOKE_RESP_WAIT
> 2003-06-20 11:47:41 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTED, event TR-Invoke.ind
> 2003-06-20 11:47:41 [2] DEBUG: WSP: method 1, state NULL_METHOD, event 
> TR-Invoke.ind
> 2003-06-20 11:47:41 [2] DEBUG: WSP: decoding headers:
> 2003-06-20 11:47:41 [2] DEBUG: Octet string at 0x8151fa0:
> 2003-06-20 11:47:41 [2] DEBUG:   len:  67
> 2003-06-20 11:47:41 [2] DEBUG:   size: 68
> 2003-06-20 11:47:41 [2] DEBUG:   immutable: 0
> 2003-06-20 11:47:41 [2] DEBUG:   data: 61 70 70 6c 69 63 61 74   applicat
> 2003-06-20 11:47:41 [2] DEBUG:   data: 69 6f 6e 2f 76 6e 64 2e   ion/vnd.
> 2003-06-20 11:47:41 [2] DEBUG:   data: 77 61 70 2e 6d 6d 73 2d   wap.mms-
> 2003-06-20 11:47:41 [2] DEBUG:   data: 6d 65 73 73 61 67 65 00   message.
> 2003-06-20 11:47:41 [2] DEBUG:   data: 80 61 70 70 6c 69 63 61   .applica
> 2003-06-20 11:47:41 [2] DEBUG:   data: 74 69 6f 6e 2f 76 6e 64   tion/vnd
> 2003-06-20 11:47:41 [2] DEBUG:   data: 2e 77 61 70 2e 6d 6d 73   .wap.mms
> 2003-06-20 11:47:41 [2] DEBUG:   data: 2d 6d 65 73 73 61 67 65   -message
> 2003-06-20 11:47:41 [2] DEBUG:   data: 00 bd 80                  ...
> 2003-06-20 11:47:41 [2] DEBUG: Octet string dump ends.
> 2003-06-20 11:47:41 [2] WARNING: Did not expect short-integer with 
> 'Cache-Control' header, skipping.
> 2003-06-20 11:47:41 [2] WARNING: Skipping faulty header.
> 2003-06-20 11:47:41 [2] DEBUG: WSP: decoded headers:
> 2003-06-20 11:47:41 [2] DEBUG: Content-Type: 
> application/vnd.wap.mms-message
> 2003-06-20 11:47:41 [2] DEBUG: Accept: application/vnd.wap.mms-message
> 2003-06-20 11:47:41 [2] DEBUG: WSP: End of decoded headers.
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0/1: New method state HOLDING
> 2003-06-20 11:47:41 [2] DEBUG: WSP: method 1, state HOLDING, event 
> Release
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0/1: New method state REQUESTING
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0: New state CONNECTED
> 2003-06-20 11:47:41 [7] DEBUG: XXX after normalize: (null)
> 2003-06-20 11:47:41 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTED, event S-MethodInvoke.res
> 2003-06-20 11:47:41 [2] DEBUG: WSP: method 1, state REQUESTING, event 
> S-MethodInvoke.res
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0/1: New method state PROCESSING
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0: New state CONNECTED
> 2003-06-20 11:47:41 [6] DEBUG: WTP: resp_machine 1, state 
> INVOKE_RESP_WAIT, event TR-Invoke.res.
> 2003-06-20 11:47:41 [6] DEBUG: WTP 1: New state RESULT_WAIT
> 2003-06-20 11:47:41 [7] DEBUG: Started thread 10 (gwlib/fdset.c:poller)
> 2003-06-20 11:47:41 [7] DEBUG: Started thread 11 
> (gwlib/http.c:write_request_thread)
> 2003-06-20 11:47:41 [11] DEBUG: HTTP: Opening connection to 
> `edited:80' (fd=32).
> 2003-06-20 11:47:41 [11] DEBUG: Socket connecting
> 2003-06-20 11:47:41 [10] DEBUG: Get info about connecting socket
> 2003-06-20 11:47:41 [10] DEBUG: HTTP: Sending request:
> 2003-06-20 11:47:41 [10] DEBUG: Octet string at 0x8153fb0:
> 2003-06-20 11:47:41 [10] DEBUG:   len:  844
> 2003-06-20 11:47:41 [10] DEBUG:   size: 845
> 2003-06-20 11:47:41 [10] DEBUG:   immutable: 0
> 2003-06-20 11:47:41 [10] DEBUG:   data: 50 4f 53 54 20 2f 20 48   POST 
> / H
> 2003-06-20 11:47:41 [10] DEBUG:   data: 54 54 50 2f 31 2e 31 0d   
> TTP/1.1.
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0a 48 6f 73 74 3a 20 38   
> .Host: 8
> 2003-06-20 11:47:41 [10] DEBUG:   data: 31 2e 39 35 2e 31 36 30   
> 1.95.160
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2e 34 33 0d 0a 41 63 63   
> .43..Acc
> 2003-06-20 11:47:41 [10] DEBUG:   data: 65 70 74 2d 4c 61 6e 67   
> ept-Lang
> 2003-06-20 11:47:41 [10] DEBUG:   data: 75 61 67 65 3a 20 65 6e   
> uage: en
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74   
> ..Accept
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74   
> -Charset
> 2003-06-20 11:47:41 [10] DEBUG:   data: 3a 20 75 73 2d 61 73 63   : 
> us-asc
> 2003-06-20 11:47:41 [10] DEBUG:   data: 69 69 0d 0a 41 63 63 65   
> ii..Acce
> 2003-06-20 11:47:41 [10] DEBUG:   data: 70 74 2d 43 68 61 72 73   
> pt-Chars
> 2003-06-20 11:47:41 [10] DEBUG:   data: 65 74 3a 20 69 73 6f 2d   et: 
> iso-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 38 38 35 39 2d 31 0d 0a   
> 8859-1..
> 2003-06-20 11:47:41 [10] DEBUG:   data: 41 63 63 65 70 74 2d 43   
> Accept-C
> 2003-06-20 11:47:41 [10] DEBUG:   data: 68 61 72 73 65 74 3a 20   harset:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 75 74 66 2d 38 0d 0a 41   
> utf-8..A
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 63 65 70 74 2d 43 68   
> ccept-Ch
> 2003-06-20 11:47:41 [10] DEBUG:   data: 61 72 73 65 74 3a 20 69   
> arset: i
> 2003-06-20 11:47:41 [10] DEBUG:   data: 73 6f 2d 31 30 36 34 36   
> so-10646
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 75 63 73 2d 32 0d 0a   
> -ucs-2..
> 2003-06-20 11:47:41 [10] DEBUG:   data: 50 72 6f 66 69 6c 65 3a   
> Profile:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 20 68 74 74 70 3a 2f 2f    
> http://
> 2003-06-20 11:47:41 [10] DEBUG:   data: 77 61 70 2e 73 6f 6e 79   
> wap.sony
> 2003-06-20 11:47:41 [10] DEBUG:   data: 65 72 69 63 73 73 6f 6e   
> ericsson
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6d 6f 62 69 6c 65 2e 63   
> mobile.c
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6f 6d 2f 55 41 70 72 6f   
> om/UApro
> 2003-06-20 11:47:41 [10] DEBUG:   data: 66 2f 54 36 38 52 32 30   
> f/T68R20
> 2003-06-20 11:47:41 [10] DEBUG:   data: 31 2e 78 6d 6c 0d 0a 55   
> 1.xml..U
> 2003-06-20 11:47:41 [10] DEBUG:   data: 73 65 72 2d 41 67 65 6e   
> ser-Agen
> 2003-06-20 11:47:41 [10] DEBUG:   data: 74 3a 20 53 6f 6e 79 45   t: 
> SonyE
> 2003-06-20 11:47:41 [10] DEBUG:   data: 72 69 63 73 73 6f 6e 54   
> ricssonT
> 2003-06-20 11:47:41 [10] DEBUG:   data: 36 38 2f 52 32 30 31 41   
> 68/R201A
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 43 6f 6e 74 65 6e   
> ..Conten
> 2003-06-20 11:47:41 [10] DEBUG:   data: 74 2d 54 79 70 65 3a 20   t-Type:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 61 70 70 6c 69 63 61 74   
> applicat
> 2003-06-20 11:47:41 [10] DEBUG:   data: 69 6f 6e 2f 76 6e 64 2e   
> ion/vnd.
> 2003-06-20 11:47:41 [10] DEBUG:   data: 77 61 70 2e 6d 6d 73 2d   
> wap.mms-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6d 65 73 73 61 67 65 0d   
> message.
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0a 41 63 63 65 70 74 3a   
> .Accept:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 20 61 70 70 6c 69 63 61    
> applica
> 2003-06-20 11:47:41 [10] DEBUG:   data: 74 69 6f 6e 2f 76 6e 64   
> tion/vnd
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2e 77 61 70 2e 6d 6d 73   
> .wap.mms
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 6d 65 73 73 61 67 65   
> -message
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74   
> ..Accept
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74   
> -Charset
> 2003-06-20 11:47:41 [10] DEBUG:   data: 3a 20 49 53 4f 2d 38 38   : 
> ISO-88
> 2003-06-20 11:47:41 [10] DEBUG:   data: 35 39 2d 32 0d 0a 41 63   
> 59-2..Ac
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 65 70 74 2d 43 68 61   
> cept-Cha
> 2003-06-20 11:47:41 [10] DEBUG:   data: 72 73 65 74 3a 20 49 53   
> rset: IS
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 33   
> O-8859-3
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74   
> ..Accept
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74   
> -Charset
> 2003-06-20 11:47:41 [10] DEBUG:   data: 3a 20 49 53 4f 2d 38 38   : 
> ISO-88
> 2003-06-20 11:47:41 [10] DEBUG:   data: 35 39 2d 34 0d 0a 41 63   
> 59-4..Ac
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 65 70 74 2d 43 68 61   
> cept-Cha
> 2003-06-20 11:47:41 [10] DEBUG:   data: 72 73 65 74 3a 20 49 53   
> rset: IS
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 35   
> O-8859-5
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74   
> ..Accept
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74   
> -Charset
> 2003-06-20 11:47:41 [10] DEBUG:   data: 3a 20 49 53 4f 2d 38 38   : 
> ISO-88
> 2003-06-20 11:47:41 [10] DEBUG:   data: 35 39 2d 36 0d 0a 41 63   
> 59-6..Ac
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 65 70 74 2d 43 68 61   
> cept-Cha
> 2003-06-20 11:47:41 [10] DEBUG:   data: 72 73 65 74 3a 20 49 53   
> rset: IS
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 37   
> O-8859-7
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 41 63 63 65 70 74   
> ..Accept
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 43 68 61 72 73 65 74   
> -Charset
> 2003-06-20 11:47:41 [10] DEBUG:   data: 3a 20 49 53 4f 2d 38 38   : 
> ISO-88
> 2003-06-20 11:47:41 [10] DEBUG:   data: 35 39 2d 38 0d 0a 41 63   
> 59-8..Ac
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 65 70 74 2d 43 68 61   
> cept-Cha
> 2003-06-20 11:47:41 [10] DEBUG:   data: 72 73 65 74 3a 20 49 53   
> rset: IS
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4f 2d 38 38 35 39 2d 39   
> O-8859-9
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 58 2d 57 41 50 2d   
> ..X-WAP-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4e 65 74 77 6f 72 6b 2d   
> Network-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 43 6c 69 65 6e 74 2d 49   
> Client-I
> 2003-06-20 11:47:41 [10] DEBUG:   data: 50 3a 20 38 31 2e 39 35   P: 
> 81.95
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2e 31 36 30 2e 31 37 37   
> .160.177
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0d 0a 58 2d 57 41 50 2d   
> ..X-WAP-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 43 6c 69 65 6e 74 2d 53   
> Client-S
> 2003-06-20 11:47:41 [10] DEBUG:   data: 44 55 2d 53 69 7a 65 3a   
> DU-Size:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 20 32 36 31 31 32 30 0d    
> 261120.
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0a 56 69 61 3a 20 57 41   
> .Via: WA
> 2003-06-20 11:47:41 [10] DEBUG:   data: 50 2f 31 2e 31 20 73 68   
> P/1.1 sh
> 2003-06-20 11:47:41 [10] DEBUG:   data: 69 6e 79 2e 6d 61 67 74   
> iny.magt
> 2003-06-20 11:47:41 [10] DEBUG:   data: 69 67 73 6d 2e 67 65 20   igsm.ge
> 2003-06-20 11:47:41 [10] DEBUG:   data: 28 4b 61 6e 6e 65 6c 2f   
> (Kannel/
> 2003-06-20 11:47:41 [10] DEBUG:   data: 63 76 73 2d 32 30 30 33   
> cvs-2003
> 2003-06-20 11:47:41 [10] DEBUG:   data: 30 36 32 30 29 0d 0a 58   
> 0620)..X
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 57 41 50 2d 47 61 74   
> -WAP-Gat
> 2003-06-20 11:47:41 [10] DEBUG:   data: 65 77 61 79 3a 20 4b 61   
> eway: Ka
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6e 6e 65 6c 2f 63 76 73   
> nnel/cvs
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 32 30 30 33 30 36 32   
> -2003062
> 2003-06-20 11:47:41 [10] DEBUG:   data: 30 0d 0a 58 2d 57 41 50   
> 0..X-WAP
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 53 65 73 73 69 6f 6e   
> -Session
> 2003-06-20 11:47:41 [10] DEBUG:   data: 2d 49 44 3a 20 30 0d 0a   -ID: 
> 0..
> 2003-06-20 11:47:41 [10] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d   
> Content-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4c 65 6e 67 74 68 3a 20   Length:
> 2003-06-20 11:47:41 [10] DEBUG:   data: 36 32 0d 0a 0d 0a 8c 80   
> 62......
> 2003-06-20 11:47:41 [10] DEBUG:   data: 98 33 2d 38 65 65 38 00   
> .3-8ee8.
> 2003-06-20 11:47:41 [10] DEBUG:   data: 8d 90 85 04 3e f2 bd c7   
> ....>...
> 2003-06-20 11:47:41 [10] DEBUG:   data: 89 01 81 97 39 39 35 39   
> ....9959
> 2003-06-20 11:47:41 [10] DEBUG:   data: 39 31 38 32 34 31 38 2f   
> 9182418/
> 2003-06-20 11:47:41 [10] DEBUG:   data: 54 59 50 45 3d 50 4c 4d   
> TYPE=PLM
> 2003-06-20 11:47:41 [10] DEBUG:   data: 4e 00 8a 80 88 04 81 02   
> N.......
> 2003-06-20 11:47:41 [10] DEBUG:   data: 0e 10 8f 81 94 81 86 81   
> ........
> 2003-06-20 11:47:41 [10] DEBUG:   data: 90 81 84 a3               ....
> 2003-06-20 11:47:41 [10] DEBUG: Octet string dump ends.
> 2003-06-20 11:47:41 [10] DEBUG: HTTP: Status line: <HTTP/1.0 200 OK>
> 2003-06-20 11:47:41 [10] DEBUG: HTTP: Received response:
> 2003-06-20 11:47:41 [10] DEBUG: Octet string at 0x8153fb0:
> 2003-06-20 11:47:41 [10] DEBUG:   len:  83
> 2003-06-20 11:47:41 [10] DEBUG:   size: 84
> 2003-06-20 11:47:41 [10] DEBUG:   immutable: 0
> 2003-06-20 11:47:41 [10] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d   
> Content-
> 2003-06-20 11:47:41 [10] DEBUG:   data: 74 79 70 65 3a 20 61 70   
> type: ap
> 2003-06-20 11:47:41 [10] DEBUG:   data: 70 6c 69 63 61 74 69 6f   
> plicatio
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6e 2f 76 6e 64 2e 77 61   
> n/vnd.wa
> 2003-06-20 11:47:41 [10] DEBUG:   data: 70 2e 6d 6d 73 2d 6d 65   
> p.mms-me
> 2003-06-20 11:47:41 [10] DEBUG:   data: 73 73 61 67 65 0d 0a 43   
> ssage..C
> 2003-06-20 11:47:41 [10] DEBUG:   data: 6f 6e 74 65 6e 74 2d 6c   
> ontent-l
> 2003-06-20 11:47:41 [10] DEBUG:   data: 65 6e 67 74 68 3a 20 31   
> ength: 1
> 2003-06-20 11:47:41 [10] DEBUG:   data: 34 0d 0a 0d 0a 8c 81 98   
> 4.......
> 2003-06-20 11:47:41 [10] DEBUG:   data: 33 2d 38 65 65 38 00 8d   
> 3-8ee8..
> 2003-06-20 11:47:41 [10] DEBUG:   data: 90 92 84                  ...
> 2003-06-20 11:47:41 [10] DEBUG: Octet string dump ends.
> 2003-06-20 11:47:41 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTED, event S-MethodResult.req
> 2003-06-20 11:47:41 [2] DEBUG: WSP: method 1, state PROCESSING, event 
> S-MethodResult.req
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0/1: New method state REPLYING
> 2003-06-20 11:47:41 [2] DEBUG: WSP 0: New state CONNECTED
> 2003-06-20 11:47:41 [6] DEBUG: WTP: resp_machine 1, state RESULT_WAIT, 
> event TR-Result.req.
> 2003-06-20 11:47:41 [6] DEBUG: WTP: begin_sar_result(): data len = 51
> 2003-06-20 11:47:41 [6] DEBUG: WTP: dispath_to_wdp(): psn = 0
> 2003-06-20 11:47:41 [6] DEBUG: WTP 1: New state RESULT_RESP_WAIT
> 2003-06-20 11:47:41 [11] DEBUG: boxc_receiver: got wdp from wapbox
> 2003-06-20 11:47:41 [7] DEBUG: udp: sending message
> 2003-06-20 11:47:42 [6] DEBUG: datagram received
> 2003-06-20 11:47:42 [12] DEBUG: send_msg: sending msg to boxc: <(null)>
> 2003-06-20 11:47:42 [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-20 11:47:42 [6] DEBUG: WTP: resp_machine 1, state 
> RESULT_RESP_WAIT, event RcvAck.
> 2003-06-20 11:47:42 [6] DEBUG: WTP 1: New state LISTEN
> 2003-06-20 11:47:42 [6] DEBUG: WTP: Destroying WTPRespMachine 
> 0x8151e10 (1)
> 2003-06-20 11:47:42 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTED, event TR-Result.cnf
> 2003-06-20 11:47:42 [2] DEBUG: WSP: method 1, state REPLYING, event 
> TR-Result.cnf
> 2003-06-20 11:47:42 [2] DEBUG: WSP 0/1: New method state NULL_METHOD
> 2003-06-20 11:47:42 [2] DEBUG: Destroying WSPMethodMachine 1
> 2003-06-20 11:47:42 [2] DEBUG: WSP 0: New state CONNECTED
> 2003-06-20 11:47:43 [6] DEBUG: datagram received
> 2003-06-20 11:47:43 [12] DEBUG: send_msg: sending msg to boxc: <(null)>
> 2003-06-20 11:47:43 [12] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2003-06-20 11:47:43 [6] DEBUG: WTP: Created WTPRespMachine 0x8151e10 (2)
> 2003-06-20 11:47:43 [6] DEBUG: WTP: resp_machine 2, state LISTEN, 
> event RcvInvoke.
> 2003-06-20 11:47:43 [6] DEBUG: WTP 2: New state LISTEN
> 2003-06-20 11:47:43 [6] DEBUG: WTP: Destroying WTPRespMachine 
> 0x8151e10 (2)
> 2003-06-20 11:47:43 [2] DEBUG: WSP: machine 0x8152138, state 
> CONNECTED, event TR-Invoke.ind
> 2003-06-20 11:47:43 [2] DEBUG: WSP 0: New state NULL_SESSION
> 2003-06-20 11:47:43 [2] DEBUG: Destroying WSPMachine 0x8152138
> 2003-06-20 11:47:44 [11] DEBUG: boxc_receiver: heartbeat with load 
> value 0 received
>
> Stipe Tolj wrote:
>
>> Hi list,
>>
>> I just commited this to cvs:
>>
>> 2003-06-20  Stipe Tolj  <[email protected]>
>>    * Makefile.in: added compilation of RADIUS related files inside
>> radius/.
>>    * doc/userguide/userguide.xml: new MSISDN provisioning section
>> describing
>>      the use of the RADIUS accounting proxy thread.
>>    * gwlib/cfg.def: removed properietary groups that are *not* used
>> inside
>>      Kannel's tree and added 'radius-acct' group configuration
>> directives.
>>    * gw/wap-appl.c, gw/wapbox.c: added RADIUS accounting proxy
>> related calls.
>>    * radius/*: added RADIUS accounting proxy implemenation.
>>    * test/test_radius_*.c: added some testing applications for the
>> RADIUS
>>      routines.
>>
>> which means we have now a real MSISDN provisioning boarded inside
>> Kannel using a RADIUS accounting proxy thread inside wapbox.
>>
>> See user's guide for guidance.
>>
>> It works here at Wapme for some time inside our MMSC implementation,
>> because we pick the 'From' MMS header using the MSISDN provsioning
>> value provided by the WAP gateway (wapbox) directly.
>>
>> The only thing that needs work on is the MD5 shared secret
>> re-computation to ensure NAS and we are having the same shared secret.
>> Usually I'm aware on how this is done, but it seems I can get this
>> right with our Ascend MAX2000 we have here arround.
>>
>> BTW, we used GNU-radius as the RADIUS server back-end for
>> authentication and account packet forwarding.
>>
>> Any help in getting the damn shared secret re-computation done right
>> is highly welcome.
>>
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.