Hello,

On 11/3/10 1:16 PM, Olle E. Johansson wrote:
Hello friends,

Is there any way from the outside (like from MI) I can check the existing 
TCP/TLS connections?
there is a rpc command where you get info about tcp, using it with sercmd looks like:

sercmd> core.tcp_info
{
    readers: 4
    max_connections: 2048
    opened_connections: 1
    write_queued_bytes: 0
}

For tls you can get more details with another rpc command:

sercmd> tls.list
{
    id: 215
    timeout: 2747
    src_ip: 1.2.3.4
    src_port: 3845
    dst_ip: 2.3.4.5
    dst_port: 5061
cipher: RC4-SHA SSLv3 Kx=RSA Au=RSA Enc=RC4(128) Mac=SHA1
    ct_wq_size: 0
    enc_rd_buf: 0
    flags: 0
    state: established
}

Can I drop them somehow?
I am not aware of such function and it is not listed by RPC interface.

Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to