Hi all,

I would like to compile kannel 1.4.1 with WTLS support.
However openssl coming with RedHat AS5 does not support it.
Anybody knows where I can find rpms for this support?
(I have search on the Internet without success).

Thanks in advance,
Carlos Parada

-----Mensagem original-----
De: Carlos Parada [mailto:[EMAIL PROTECTED] 
Enviada: segunda-feira, 21 de Julho de 2008 12:28
Para: [email protected]
Assunto: wapbox locks

Hi all,

I have a kannel 1.4.1 configuration and I'm performing some stress tests
over it.

As a client I'm using the fakewap binary as follows:
        ./fakewap -g 127.0.0.1 -F -m 10000000 -i 0.05 -c 1 -w
http://127.0.0.1

It works fine for 1 hour or so, however, after some time the client
locks.
In this case when I restart the client the things runs again properly.


fakewap:
Received data (len 39): ____b!___H_X__Apache/2.2.3 (Red Hat)___
Received data (len 30): _________Encoding-Version_1.2_
2008-07-21 10:34:33 [4253] [0] INFO: Timeout while receiving from
socket.


Kannel:
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: machine 0xad1c8700, state
NULL_SESSION, event TR-Invoke.ind
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: decoding headers:
2008-07-21 10:34:23 [4218] [1] DEBUG: Octet string at 0xad1caa98:
2008-07-21 10:34:23 [4218] [1] DEBUG:   len:  2
2008-07-21 10:34:23 [4218] [1] DEBUG:   size: 3
2008-07-21 10:34:23 [4218] [1] DEBUG:   immutable: 0
2008-07-21 10:34:23 [4218] [1] DEBUG:   data: 80 80
..
2008-07-21 10:34:23 [4218] [1] DEBUG: Octet string dump ends.
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: decoded headers:
2008-07-21 10:34:23 [4218] [1] DEBUG: Accept: */*
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: End of decoded headers.
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP 16393: New state CONNECTING
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP: resp_machine 49177, state
INVOKE_RESP_WAIT, event TR-Invoke.res.
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP 49177: New state RESULT_WAIT
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: machine 0xad1c8700, state
CONNECTING, event S-Connect.res
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: Mapping `Encoding-Version',
WSP 1.2 to 0xffffffff.
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP 16393: New state CONNECTING_2
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP: resp_machine 49177, state
RESULT_WAIT, event TR-Result.req.
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP 49177: New state
RESULT_RESP_WAIT
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP: resp_machine 49177, state
RESULT_RESP_WAIT, event RcvAck.
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP 49177: New state LISTEN
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP: Destroying WTPRespMachine
0xacf5d060 (49177)
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP: machine 0xad1c8700, state
CONNECTING_2, event TR-Result.cnf
2008-07-21 10:34:23 [4218] [1] DEBUG: WSP 16393: New state CONNECTED
2008-07-21 10:34:23 [4218] [6] DEBUG: WTP_RESP: wrong version,
abortingtransaction
(... kannel stops ...)


However, sometimes kannel stops and even restarting the client it does
not work.
Actually, the server does not accept any connection anymore until it is
restarted.
When this happen the kannel logs show the following. 


fakewap:
Received data (len 39): ____b!___H_X__Apache/2.2.3 (Red Hat)___
Received data (len 30): _________Encoding-Version_1.2_
2008-07-21 11:30:53 [4253] [0] INFO: Timeout while receiving from
socket.


Kannel:
2008-07-21 10:40:40 [4218] [16] DEBUG:   data: 72 65 69 74 6f 73 20 72
65 73 65 72 76 61 64 6f   reitos reservado
2008-07-21 10:40:40 [4218] [16] DEBUG:   data: 73 2e 20 0a 3c 2f 70 3e
0a 0a 3c 2f 64 69 76 3e   s. .</p>..</div>
2008-07-21 10:40:40 [4218] [16] DEBUG:   data: 0a 20 0a 3c 2f 62 6f 64
79 3e 0a 3c 2f 68 74 6d   . .</body>.</htm
2008-07-21 10:40:40 [4218] [16] DEBUG:   data: 6c 3e 0a 0a
l>..
2008-07-21 10:40:40 [4218] [16] DEBUG: Octet string dump ends.
2008-07-21 10:40:44 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:40:44 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:40:44 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:44 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:40:44 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:48 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:40:48 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:40:48 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:48 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:40:48 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:52 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:40:52 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:40:52 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:52 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:40:52 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:56 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:40:56 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:40:56 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:40:56 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:40:56 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:41:00 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:41:00 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:41:00 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:41:00 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:41:00 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:41:04 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:41:04 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:41:04 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:41:04 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:41:04 [4218] [6] DEBUG: WTP 56812: New state RESULT_WAIT
2008-07-21 10:41:08 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:41:08 [4218] [6] DEBUG: WTP: resp_machine 56812, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:41:08 [4218] [1] DEBUG: WSP: machine 0xacf7b658, state
CONNECTED, event TR-Abort.ind
2008-07-21 10:41:08 [4218] [1] DEBUG: WSP: method 56812, state
PROCESSING, event TR-Abort.ind
2008-07-21 10:41:08 [4218] [1] DEBUG: WSP 18942/56812: New method state
NULL_METHOD
2008-07-21 10:41:08 [4218] [1] DEBUG: Destroying WSPMethodMachine 56812
2008-07-21 10:41:08 [4218] [1] DEBUG: WSP 18942: New state CONNECTED
2008-07-21 10:41:08 [4218] [6] DEBUG: WTP 56812: New state LISTEN
2008-07-21 10:41:08 [4218] [6] DEBUG: WTP: Destroying WTPRespMachine
0xacf7b028 (56812)


(after restarting the fakewap the following happens)


2008-07-21 10:42:52 [4218] [16] DEBUG:   data: 73 2e 20 0a 3c 2f 70 3e
0a 0a 3c 2f 64 69 76 3e   s. .</p>..</div>
2008-07-21 10:42:52 [4218] [16] DEBUG:   data: 0a 20 0a 3c 2f 62 6f 64
79 3e 0a 3c 2f 68 74 6d   . .</body>.</htm
2008-07-21 10:42:52 [4218] [16] DEBUG:   data: 6c 3e 0a 0a
l>..
2008-07-21 10:42:52 [4218] [16] DEBUG: Octet string dump ends.
2008-07-21 10:42:56 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:42:56 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:42:56 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:42:56 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:42:56 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:00 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:00 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:00 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:00 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:43:00 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:04 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:04 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:04 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:04 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:43:04 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:08 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:08 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:08 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:08 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:43:08 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:12 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:12 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:12 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:12 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:43:12 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:16 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:16 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:16 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:16 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event RcvAck.
2008-07-21 10:43:16 [4218] [6] DEBUG: WTP 56816: New state RESULT_WAIT
2008-07-21 10:43:20 [4218] [4] DEBUG: Timeout-A elapsed.
2008-07-21 10:43:20 [4218] [6] DEBUG: WTP: resp_machine 56816, state
RESULT_WAIT, event Timeout-A.
2008-07-21 10:43:20 [4218] [1] DEBUG: WSP: machine 0xacf7d120, state
CONNECTED, event TR-Abort.ind
2008-07-21 10:43:20 [4218] [1] DEBUG: WSP: method 56816, state
PROCESSING, event TR-Abort.ind
2008-07-21 10:43:20 [4218] [1] DEBUG: WSP 18944/56816: New method state
NULL_METHOD
2008-07-21 10:43:20 [4218] [1] DEBUG: Destroying WSPMethodMachine 56816
2008-07-21 10:43:20 [4218] [1] DEBUG: WSP 18944: New state CONNECTED
2008-07-21 10:43:20 [4218] [6] DEBUG: WTP 56816: New state LISTEN
2008-07-21 10:43:20 [4218] [6] DEBUG: WTP: Destroying WTPRespMachine
0x86b9998 (56816)


Anybody knows what the problem could be and how to solve it. Is that a
kannel known bug?
I have seen a thread in the kannel mailing list with a similar problem
in 2001 and 2002.
However there is no clear answer about that (in this case it could not
be a PPP problem).


Regards,
Carlos Parada




Reply via email to